plc远程自动状态数据赋值显示

master
CZ 4 months ago
parent cd91801186
commit c16ebe7afb

@ -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()
{

Loading…
Cancel
Save