现场代码更改-接收到的应答停止充电handler更改

master
CZ 5 months ago
parent 1b119fe381
commit 9830115e3e

@ -26,7 +26,7 @@ namespace HybirdFrameworkServices.Charger.Handler
if (ClientMgr.TryGetClient(ctx.Channel, out var sn, out var client))
{
Log.Info($"receive {msg} from {sn}");
if (msg.Result == 0)
if (msg.Result != 0xff)
{
client.IsCanSendStopCmd = false;
client.IsStopped = true;

Loading…
Cancel
Save