| | |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.SendProcessParams" |
| | | "$ref": "#/definitions/request.GetProductProgress" |
| | | } |
| | | } |
| | | ], |
| | |
| | | "network", |
| | | "db", |
| | | "serf", |
| | | "nsq", |
| | | "cloud", |
| | | "device", |
| | | "process_model", |
| | | "plc_config", |
| | |
| | | "plc_connect" |
| | | ], |
| | | "x-enum-comments": { |
| | | "ProblemCodeCloud": "未连接云端", |
| | | "ProblemCodeDB": "数据库连接错误", |
| | | "ProblemCodeDevice": "未绑定设备", |
| | | "ProblemCodeNetwork": "网络错误", |
| | | "ProblemCodeNsq": "未连接消息队列", |
| | | "ProblemCodePlcAddressList": "plc地址表缺失", |
| | | "ProblemCodePlcConfig": "plc配置缺失", |
| | | "ProblemCodePlcConnect": "plc连接失败", |
| | |
| | | "ProblemCodeNetwork", |
| | | "ProblemCodeDB", |
| | | "ProblemCodeSerf", |
| | | "ProblemCodeNsq", |
| | | "ProblemCodeCloud", |
| | | "ProblemCodeDevice", |
| | | "ProblemCodeProcessModel", |
| | | "ProblemCodePlcConfig", |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.GetProductProgress": { |
| | | "type": "object", |
| | | "properties": { |
| | | "channel": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "request.QueryType": { |
| | | "type": "integer", |
| | | "enum": [ |