From 39204d7c369201e24950f27031ae40d1d9147d14 Mon Sep 17 00:00:00 2001 From: CZ Date: Wed, 26 Jun 2024 17:11:05 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8E=B0=E5=9C=BA=E6=B5=8B=E8=AF=95=EF=BC=8C?= =?UTF-8?q?=E5=85=85=E7=94=B5=E6=9C=BA=E7=8A=B6=E6=80=81=E4=B8=8D=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service/Charger/Handler/UploadRemoteSignalDataHandler.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Service/Charger/Handler/UploadRemoteSignalDataHandler.cs b/Service/Charger/Handler/UploadRemoteSignalDataHandler.cs index 1e839cb..b2277ce 100644 --- a/Service/Charger/Handler/UploadRemoteSignalDataHandler.cs +++ b/Service/Charger/Handler/UploadRemoteSignalDataHandler.cs @@ -45,10 +45,10 @@ namespace Service.Charger.Handler //Desc:充电状态;0-未知;1-正在充电;2-无电池;3-禁用;4-充电完成 if (msg.WorkStatus == 1) - BinInfoRepository.Update(i => i.ChargeStatus == msg.WorkStatus, i => i.No == sn); + BinInfoRepository.Update(i => i.ChargeStatus == msg.WorkStatus, i => i.ChargerNo == sn); else if (msg.WorkStatus == 2 || msg.WorkStatus == 0) { - BinInfoRepository.Update(i => i.ChargeStatus == 4, i => i.No == sn); + BinInfoRepository.Update(i => i.ChargeStatus == 4, i => i.ChargerNo == sn); } } }