From eefdeb6699b19c6b5fdf8addf78242c3e3ed8c1e Mon Sep 17 00:00:00 2001 From: lxw Date: Fri, 14 Jun 2024 14:19:11 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B5=E8=A1=A8=E4=BB=BB=E5=8A=A1bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service/Charger/MyTask/EmeterEnergyRecordTask.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Service/Charger/MyTask/EmeterEnergyRecordTask.cs b/Service/Charger/MyTask/EmeterEnergyRecordTask.cs index 2aa62a5..8fb33ad 100644 --- a/Service/Charger/MyTask/EmeterEnergyRecordTask.cs +++ b/Service/Charger/MyTask/EmeterEnergyRecordTask.cs @@ -40,7 +40,7 @@ public class EmeterEnergyRecordTask : ITask if (chargerClient.Connected) { //充电机工作中,正在充电中 - if (chargerClient.Workstate == 2 && chargerClient.ChargingStatus == 5) + if (chargerClient.Workstate == 2 && chargerClient.ChargingStatus == 1) { string id = DateTime.Now.ToString("yyyyMMddHHmmss"); EmeterEnergy emeterEnergy = new()