Compare commits
No commits in common. "ba0af3a12aa71f2e231689a7ca88a5a4b250a9d1" and "483590534a22f22b41269ddf09ccd18fea2aa726" have entirely different histories.
ba0af3a12a
...
483590534a
@ -125,7 +125,6 @@ namespace JiShe.CollectBus.ScheduledMeterReading
|
||||
BrandType = "DDS1980",
|
||||
MeterType = MeterTypeEnum.Ammeter,
|
||||
ProjectID = 1,
|
||||
MeteringPort = 2,
|
||||
});
|
||||
|
||||
ammeterInfos.Add(new DeviceInfo()
|
||||
@ -144,7 +143,6 @@ namespace JiShe.CollectBus.ScheduledMeterReading
|
||||
BrandType = "DDS1980",
|
||||
MeterType = MeterTypeEnum.Ammeter,
|
||||
ProjectID = 1,
|
||||
MeteringPort = 2,
|
||||
});
|
||||
|
||||
//ammeterInfos.Add(new DeviceInfo()
|
||||
@ -288,7 +286,7 @@ namespace JiShe.CollectBus.ScheduledMeterReading
|
||||
FocusId = 95780,
|
||||
ProjectID = 1,
|
||||
TripType = "off",
|
||||
TripTime = $"{DateTime.Now:HH:mm}",
|
||||
TripTime = "14:02",
|
||||
MeterId = 127035,
|
||||
LoopType = "EachDay",
|
||||
EachDayWithout = "周六,周日",
|
||||
@ -308,6 +306,36 @@ namespace JiShe.CollectBus.ScheduledMeterReading
|
||||
EachDayWithout = "周六,周日",
|
||||
TimeDensity = 15,
|
||||
});
|
||||
|
||||
settingInfos.Add(new AmmeterAutoValveControlSetting()
|
||||
{
|
||||
MeterType = MeterTypeEnum.Ammeter,
|
||||
AmmerterAddress = "321410010270",
|
||||
FocusAddress = "322011149",
|
||||
FocusId = 333333,
|
||||
ProjectID = 1,
|
||||
TripType = "on",
|
||||
TripTime = $"{DateTime.Now:HH:mm}",
|
||||
MeterId = 333333,
|
||||
LoopType = "EachDay",
|
||||
EachDayWithout = "周六,周日",
|
||||
TimeDensity = 15,
|
||||
});
|
||||
|
||||
settingInfos.Add(new AmmeterAutoValveControlSetting()
|
||||
{
|
||||
MeterType = MeterTypeEnum.Ammeter,
|
||||
AmmerterAddress = "112410027787",
|
||||
FocusAddress = "322011149",
|
||||
FocusId = 222222,
|
||||
ProjectID = 1,
|
||||
TripType = "on",
|
||||
TripTime = $"{DateTime.Now:HH:mm}",
|
||||
MeterId = 222222,
|
||||
LoopType = "EachDay",
|
||||
EachDayWithout = "周六,周日",
|
||||
TimeDensity = 15,
|
||||
});
|
||||
#else
|
||||
//获取电表阀控配置
|
||||
var settingInfos = await GetAmmeterAutoValveControlSetting(currentTimeStr);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user