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