|
|
|
@ -56,7 +56,7 @@ namespace WebStarter.Controllers.Ammeter
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 统计分析/电能表变化值信息
|
|
|
|
|
/// 删除电能表累计值信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
[HttpGet("TEgEmeterTotalEnergyValue{id}")]
|
|
|
|
|
public Result<bool> DeleteOneEmeterMinutesEnergy(long id)
|
|
|
|
@ -64,7 +64,7 @@ namespace WebStarter.Controllers.Ammeter
|
|
|
|
|
return Result<bool>.Success(_emeterMinutesEnergyService.DeleteById(id));
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 统计分析/电能表变化值信息
|
|
|
|
|
/// 删除电能表累计值信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
[HttpGet("TEgEmeterTotalEnergyValue/BatchDelete")]
|
|
|
|
|
public Result<bool> DeleteMoreEmeterMinutesEnergy(int[] ids)
|
|
|
|
@ -77,7 +77,7 @@ namespace WebStarter.Controllers.Ammeter
|
|
|
|
|
#region 统计分析/电能表变化值信息
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 统计分析/电能表累计值信息
|
|
|
|
|
/// 统计分析/电能表变化值信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
[HttpGet("TEgEmeterRealEnergyValue")]
|
|
|
|
|
public Result<List<EmeterMinutesEnergyChange>> GetEmeterMinutesEnergyChange()
|
|
|
|
@ -86,7 +86,7 @@ namespace WebStarter.Controllers.Ammeter
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 统计分析/电能表变化值信息
|
|
|
|
|
/// 删除电能表变化值信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
[HttpGet("TEgEmeterRealEnergyValue{id}")]
|
|
|
|
|
public Result<bool> DeleteEmeterMinutesEnergyChange(long id)
|
|
|
|
@ -94,7 +94,7 @@ namespace WebStarter.Controllers.Ammeter
|
|
|
|
|
return Result<bool>.Success(_emeterMinutesEnergyChangeService.DeleteById(id));
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 统计分析/电能表变化值信息
|
|
|
|
|
/// 批量删除电能表变化值信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
[HttpGet("TEgEmeterRealEnergyValue/BatchDelete")]
|
|
|
|
|
public Result<bool> DeleteEmeterMinutesEnergyChange(int[] ids)
|
|
|
|
@ -106,7 +106,7 @@ namespace WebStarter.Controllers.Ammeter
|
|
|
|
|
|
|
|
|
|
#region 统计分析/电能表小时能耗值
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 统计分析/电能表变化值信息
|
|
|
|
|
/// 统计分析/电能表小时能耗值
|
|
|
|
|
/// </summary>
|
|
|
|
|
[HttpGet("TEgEmeterHourEnergyValue")]
|
|
|
|
|
public Result<List<EmeterHourEnergy>> GetEmeterHourEnergy()
|
|
|
|
@ -115,7 +115,7 @@ namespace WebStarter.Controllers.Ammeter
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 小时--删除
|
|
|
|
|
/// 删除电能表小时能耗值
|
|
|
|
|
/// </summary>
|
|
|
|
|
[HttpGet("TEgEmeterHourEnergyValue{id}")]
|
|
|
|
|
public Result<bool> DeleteEmeterHourEnergy(long id)
|
|
|
|
@ -123,7 +123,7 @@ namespace WebStarter.Controllers.Ammeter
|
|
|
|
|
return Result<bool>.Success(_emeterHourEnergyService.DeleteById(id));
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 小时--批量删除
|
|
|
|
|
/// 批量删除电能表小时能耗值
|
|
|
|
|
/// </summary>
|
|
|
|
|
[HttpGet("TEgEmeterHourEnergyValue/BatchDelete")]
|
|
|
|
|
public Result<bool> DeleteListEmeterHourEnergy(int[] ids)
|
|
|
|
@ -134,7 +134,7 @@ namespace WebStarter.Controllers.Ammeter
|
|
|
|
|
|
|
|
|
|
#region 统计分析/电能表每天能耗值
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 统计分析/电能表变化值信息
|
|
|
|
|
/// 统计分析/电能表每天能耗值
|
|
|
|
|
/// </summary>
|
|
|
|
|
[HttpGet("TEgEmeterDayEnergyValue")]
|
|
|
|
|
public Result<List<EmeterDayEnergy>> GetEmeterDayEnergy()
|
|
|
|
@ -143,7 +143,7 @@ namespace WebStarter.Controllers.Ammeter
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 小时--删除
|
|
|
|
|
/// 删除电能表每天能耗值
|
|
|
|
|
/// </summary>
|
|
|
|
|
[HttpGet("TEgEmeterDayEnergyValue{id}")]
|
|
|
|
|
public Result<bool> DeleteEmeterDayEnergy(long id)
|
|
|
|
@ -151,7 +151,7 @@ namespace WebStarter.Controllers.Ammeter
|
|
|
|
|
return Result<bool>.Success(_emeterDayEnergyService.DeleteById(id));
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 小时--批量删除
|
|
|
|
|
/// 批量删除电能表每天能耗值
|
|
|
|
|
/// </summary>
|
|
|
|
|
[HttpGet("TEgEmeterDayEnergyValue/BatchDelete")]
|
|
|
|
|
public Result<bool> DeleteListEmeterDayEnergy(int[] ids)
|
|
|
|
@ -162,12 +162,13 @@ namespace WebStarter.Controllers.Ammeter
|
|
|
|
|
|
|
|
|
|
#region 统计分析/换电站分时用电统计信息
|
|
|
|
|
//TODO::
|
|
|
|
|
|
|
|
|
|
//小时计算总能耗值,小时计算充电能耗值,小时计算换电能耗值,小时计算其他能耗值,开始时间,结束时间
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region 统计分析/换电站每天用电统计信息
|
|
|
|
|
//TODO::
|
|
|
|
|
//每天计算总能耗值,每天计算充电能耗值,每天计算换电能耗值,每天计算其他能耗值,开始时间,结束时间
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|