master
lxw 6 months ago
parent eefdeb6699
commit 2d39de72e9

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

Loading…
Cancel
Save