|
|
|
@ -170,7 +170,6 @@ namespace WebStarter.Controllers.Ammeter
|
|
|
|
|
//TODO::
|
|
|
|
|
//每天计算总能耗值,每天计算充电能耗值,每天计算换电能耗值,每天计算其他能耗值,开始时间,结束时间
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region 电能监控/交流电能监控
|
|
|
|
@ -187,7 +186,7 @@ namespace WebStarter.Controllers.Ammeter
|
|
|
|
|
{
|
|
|
|
|
strings.Add(kvp.Code);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//TODO::过滤,确保编码相同只出现一次
|
|
|
|
|
return Result<List<EmeterMinutesEnergy>>.Success(_emeterMinutesEnergyService.QueryListByClause(i => strings.Contains(i.Code)).ToList());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -195,7 +194,7 @@ namespace WebStarter.Controllers.Ammeter
|
|
|
|
|
|
|
|
|
|
#region 电能监控/直流电能监控
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 电能监控/交流电能监控
|
|
|
|
|
/// 电能监控/直流电能监控
|
|
|
|
|
/// </summary>
|
|
|
|
|
[HttpGet("ManualSwap/GetDcCurrentInfo")]
|
|
|
|
|
public Result<List<EmeterMinutesEnergy>> GetDcCurrentInfo()
|
|
|
|
@ -206,7 +205,7 @@ namespace WebStarter.Controllers.Ammeter
|
|
|
|
|
{
|
|
|
|
|
strings.Add(kvp.Code);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//TODO::过滤,确保编码相同只出现一次
|
|
|
|
|
return Result<List<EmeterMinutesEnergy>>.Success(_emeterMinutesEnergyService.QueryListByClause(i => strings.Contains(i.Code)).ToList());
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|