| | |
| | | $ref: '#/definitions/common.ProcedureWorker' |
| | | type: array |
| | | type: object |
| | | conf.Prompt: |
| | | properties: |
| | | safeProduce: |
| | | type: string |
| | | type: object |
| | | constvar.PlcMethod: |
| | | enum: |
| | | - modbusTCP |
| | |
| | | procedure: |
| | | $ref: '#/definitions/model.Procedures' |
| | | type: object |
| | | response.TaskResponse: |
| | | properties: |
| | | channelAmount: |
| | | description: 通道数量 |
| | | type: integer |
| | | prompt: |
| | | allOf: |
| | | - $ref: '#/definitions/conf.Prompt' |
| | | description: 提示语 |
| | | taskCount: |
| | | description: 任务数量 |
| | | type: integer |
| | | tasks: |
| | | description: 任务列表 |
| | | items: |
| | | $ref: '#/definitions/response.TaskData' |
| | | type: array |
| | | workers: |
| | | description: 人员列表 |
| | | items: |
| | | $ref: '#/definitions/common.ProcedureWorker' |
| | | type: array |
| | | type: object |
| | | info: |
| | | contact: {} |
| | | paths: |
| | |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.TaskData' |
| | | $ref: '#/definitions/response.TaskResponse' |
| | | type: object |
| | | summary: 获取任务 |
| | | tags: |