From c16ebe7afb157284380ac45908314cebd60b071c Mon Sep 17 00:00:00 2001 From: CZ Date: Mon, 22 Jul 2024 13:22:22 +0800 Subject: [PATCH] =?UTF-8?q?plc=E8=BF=9C=E7=A8=8B=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E6=95=B0=E6=8D=AE=E8=B5=8B=E5=80=BC=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service/Station/MonitorService.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Service/Station/MonitorService.cs b/Service/Station/MonitorService.cs index cb39574..4afa5a1 100644 --- a/Service/Station/MonitorService.cs +++ b/Service/Station/MonitorService.cs @@ -102,10 +102,10 @@ public class MonitorService { PlcSwapModel = new PlcSwapModelResp() { - // ModelState = PlcMgr.PlcToHostData.ModeControl.Value, - // StationInLampSts = PlcMgr.PlcToHostData.LightIn.Value, - // ControlModel = PlcMgr.PlcToHostData.RemoteLocalControlState.Value, - },// + ModelState = ClientMgr.PlcClient.Auto?1010:1000, + //StationInLampSts = ClientMgr.PlcClient. + ControlModel = ClientMgr.PlcClient.Remote?1010:1000, + }, StateInfo = stateInfoList, VehicleInfo = new SwapVehicleResp() {