| | |
| | | SystemDeviceStatusUnNormal SystemDeviceStatus = 2 //异常 |
| | | ) |
| | | |
| | | type Device struct { |
| | | DeviceID string `json:"deviceID,omitempty"` |
| | | DeviceName string `json:"deviceName,omitempty"` |
| | | } |
| | | |
| | | type DeviceListResponse struct { |
| | | SystemDeviceID string `json:"systemDeviceID,omitempty"` //工控机设备ID |
| | | CurrentDeviceID string `json:"currentDeviceID,omitempty"` //当前选定的生产设备 |
| | | DeviceIDList []string `json:"deviceIDList,omitempty"` //生产设备id列表 |
| | | DeviceList []*Device `json:"deviceList,omitempty"` //生产设备id列表 |
| | | SystemDeviceStatus SystemDeviceStatus `json:"systemDeviceStatus"` //设备状态 |
| | | ClusterStatus string `json:"clusterStatus"` //集群状态 |
| | | ClusterNodeQuantity int `json:"clusterNodeQuantity"` //集群节点数量 |