电表任务bug

master
lxw 5 months ago
parent 9830115e3e
commit eefdeb6699

@ -40,7 +40,7 @@ public class EmeterEnergyRecordTask : ITask
if (chargerClient.Connected) if (chargerClient.Connected)
{ {
//充电机工作中,正在充电中 //充电机工作中,正在充电中
if (chargerClient.Workstate == 2 && chargerClient.ChargingStatus == 5) if (chargerClient.Workstate == 2 && chargerClient.ChargingStatus == 1)
{ {
string id = DateTime.Now.ToString("yyyyMMddHHmmss"); string id = DateTime.Now.ToString("yyyyMMddHHmmss");
EmeterEnergy emeterEnergy = new() EmeterEnergy emeterEnergy = new()

Loading…
Cancel
Save