| | |
| | | "response.DeviceListResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "clusterNodeQuantity": { |
| | | "description": "集群节点数量", |
| | | "type": "integer" |
| | | }, |
| | | "clusterStatus": { |
| | | "description": "集群状态", |
| | | "type": "string" |
| | | }, |
| | | "currentDeviceID": { |
| | | "description": "当前选定的生产设备", |
| | | "type": "string" |
| | |
| | | "systemDeviceID": { |
| | | "description": "工控机设备ID", |
| | | "type": "string" |
| | | }, |
| | | "systemDeviceRunSince": { |
| | | "description": "系统运行开始时间戳", |
| | | "type": "integer" |
| | | }, |
| | | "systemDeviceStatus": { |
| | | "description": "设备状态", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/response.SystemDeviceStatus" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "response.SystemDeviceStatus": { |
| | | "type": "integer", |
| | | "enum": [ |
| | | 1, |
| | | 2 |
| | | ], |
| | | "x-enum-comments": { |
| | | "SystemDeviceStatusNormal": "正常", |
| | | "SystemDeviceStatusUnNormal": "异常" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "SystemDeviceStatusNormal", |
| | | "SystemDeviceStatusUnNormal" |
| | | ] |
| | | }, |
| | | "response.TaskCountdown": { |
| | | "type": "object", |
| | | "properties": { |