云平台接口第二次提交

master
xjl 4 months ago
parent 49c471369d
commit 803cc739ba

@ -311,11 +311,11 @@ public class CloudClientMgr
EmeterEnergyChangeService emeterEnergyChangeService = AppInfo.Container.Resolve<EmeterEnergyChangeService>();
List<EmeterEnergy> emeterEnergy = emeterEnergyService.QueryListByClause(u=>u.UploadFlag==0, 7,i => i.UploadTime,
OrderByType.Asc);
OrderByType.Desc);
emeterEnergy = emeterEnergy.OrderBy(p => p.Code).ToList();
var emeterEnergyChange = emeterEnergyChangeService.QueryListByClause(u => u.UploadFlag == 0, 7, i => i.UploadTime,
OrderByType.Asc);
OrderByType.Desc);
emeterEnergyChange = emeterEnergyChange.OrderBy(p => p.Code).ToList();
@ -369,11 +369,11 @@ public class CloudClientMgr
EmeterEnergyChangeService emeterEnergyChangeService = AppInfo.Container.Resolve<EmeterEnergyChangeService>();
List<EmeterEnergy> emeterEnergy = emeterEnergyService.QueryListByClause(u => u.UploadFlag == 0, 7, i => i.UploadTime,
OrderByType.Asc);
OrderByType.Desc);
emeterEnergy = emeterEnergy.OrderBy(p => p.Code).ToList();
var emeterEnergyChange = emeterEnergyChangeService.QueryListByClause(u => u.UploadFlag == 0, 7, i => i.UploadTime,
OrderByType.Asc);
OrderByType.Desc);
emeterEnergyChange = emeterEnergyChange.OrderBy(p => p.Code).ToList();
@ -427,7 +427,7 @@ public class CloudClientMgr
_dateTime7 = DateTime.Now;
var emeterEnergy = emeterHourEnergyService.QueryListByClause(u => u.UploadFlag == 0, 14, i => i.Time,
OrderByType.Asc);
OrderByType.Desc);
emeterEnergy = emeterEnergy.OrderBy(p => p.Code).ToList();
var emeterEnergy1= emeterEnergy.Where(p => p.Type==1).ToList();
@ -494,7 +494,7 @@ public class CloudClientMgr
EmeterDayEnergyService emeterDayEnergyService = AppInfo.Container.Resolve<EmeterDayEnergyService>();
var emeterEnergy = emeterDayEnergyService.QueryListByClause(u => u.UploadFlag == 0, 14, i => i.Time,
OrderByType.Asc);
OrderByType.Desc);
emeterEnergy = emeterEnergy.OrderBy(p => p.Code).ToList();
var emeterEnergy1 = emeterEnergy.Where(p => p.Type == 1).ToList();
@ -561,7 +561,7 @@ public class CloudClientMgr
_dateTime9 = DateTime.Now;
var emeterEnergy = emeterHourEnergyService.QueryListByClause(u => u.Type == 1, 7, i => i.Time,
OrderByType.Asc);
OrderByType.Desc);
float hc = emeterEnergy.Sum(e => e.Value);
StaHourEnergyVal meterEnergyKwh = new()
{
@ -594,7 +594,7 @@ public class CloudClientMgr
_dateTime10 = DateTime.Now;
var emeterEnergy = emeterDayEnergyService.QueryListByClause(u => u.Type == 1, 7, i => i.Time,
OrderByType.Asc);
OrderByType.Desc);
float dc = emeterEnergy.Sum(e => e.Value);
@ -631,7 +631,7 @@ public class CloudClientMgr
ExStationDayRunResultService exStationDayRunResultService = AppInfo.Container.Resolve<ExStationDayRunResultService>();
var exStationDayRunResult = exStationDayRunResultService.QueryByClause(u => u.Id !=0, i => i.CreatedTime,
OrderByType.Asc);
OrderByType.Desc);
StaDayOpeEnergyVal staDayOpeEnergyVal = new()
{
@ -668,7 +668,7 @@ public class CloudClientMgr
_dateTime2 = DateTime.Now;
var emeterEnergy = emeterDayEnergyService.QueryListByClause(u => u.Type == 1, 7, i => i.Time,
OrderByType.Asc);
OrderByType.Desc);
float hc = emeterEnergy.Sum(e => e.Value);
ElecPriceModelVersionDetailServices elecPriceModelVersionDetailServices = AppInfo.Container.Resolve<ElecPriceModelVersionDetailServices>();

Loading…
Cancel
Save