|
|
@ -102,10 +102,10 @@ public class MonitorService
|
|
|
|
{
|
|
|
|
{
|
|
|
|
PlcSwapModel = new PlcSwapModelResp()
|
|
|
|
PlcSwapModel = new PlcSwapModelResp()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// ModelState = PlcMgr.PlcToHostData.ModeControl.Value,
|
|
|
|
ModelState = ClientMgr.PlcClient.Auto?1010:1000,
|
|
|
|
// StationInLampSts = PlcMgr.PlcToHostData.LightIn.Value,
|
|
|
|
//StationInLampSts = ClientMgr.PlcClient.
|
|
|
|
// ControlModel = PlcMgr.PlcToHostData.RemoteLocalControlState.Value,
|
|
|
|
ControlModel = ClientMgr.PlcClient.Remote?1010:1000,
|
|
|
|
},//
|
|
|
|
},
|
|
|
|
StateInfo = stateInfoList,
|
|
|
|
StateInfo = stateInfoList,
|
|
|
|
VehicleInfo = new SwapVehicleResp()
|
|
|
|
VehicleInfo = new SwapVehicleResp()
|
|
|
|
{
|
|
|
|
{
|
|
|
|