枪座连接状态取反

master
CZ 3 weeks ago
parent 0491cf5011
commit 174e30d8ea

@ -107,7 +107,7 @@ public class BinInfoService : BaseServices<BinInfo>
var pileUploadRemoteSignal = chargerClient.PileUploadRemoteSignal[(byte)binInfoResp.GunNo]; var pileUploadRemoteSignal = chargerClient.PileUploadRemoteSignal[(byte)binInfoResp.GunNo];
if (pileUploadRemoteSignal!=null) if (pileUploadRemoteSignal!=null)
{ {
binInfoResp.ChargeStationGunHolderStatus = pileUploadRemoteSignal.ChargeStationGunHolderStatus; binInfoResp.ChargeStationGunHolderStatus = !pileUploadRemoteSignal.ChargeStationGunHolderStatus;
} }

Loading…
Cancel
Save