| | |
| | | description: common.ProductProcedure 对象 |
| | | procedureId: |
| | | type: string |
| | | processModelNumber: |
| | | description: 工艺模型编号 |
| | | type: string |
| | | startTime: |
| | | type: integer |
| | | status: |
| | | $ref: '#/definitions/model.ProcedureStatus' |
| | | type: object |
| | | model.ProcessModel: |
| | | properties: |
| | | deviceId: |
| | | description: 用于过滤获取nsq消息 |
| | | type: string |
| | | isUpdate: |
| | | description: 前端用 |
| | | type: boolean |
| | | newNumber: |
| | | type: string |
| | | newParamsMap: |
| | | additionalProperties: true |
| | | type: object |
| | | number: |
| | | description: 工艺模型编号 |
| | | type: string |
| | | params: |
| | | type: string |
| | | paramsMap: |
| | | additionalProperties: true |
| | | type: object |
| | | procedure: |
| | | description: 工序 |
| | | type: string |
| | | product: |
| | | description: 产品名称 |
| | | type: string |
| | | type: object |
| | | request.AddPlcBrand: |
| | | properties: |
| | |
| | | type: object |
| | | request.SendProcessParams: |
| | | properties: |
| | | channel: |
| | | type: integer |
| | | procedureId: |
| | | type: integer |
| | | required: |
| | |
| | | type: integer |
| | | data: {} |
| | | msg: |
| | | type: string |
| | | type: object |
| | | response.Message: |
| | | properties: |
| | | data: {} |
| | | event: |
| | | type: string |
| | | type: object |
| | | response.ProcessParams: |
| | |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.TaskCountdown' |
| | | items: |
| | | $ref: '#/definitions/model.ProcessModel' |
| | | type: array |
| | | type: object |
| | | summary: 获取工艺模型列表 |
| | | tags: |
| | |
| | | summary: 任务开始(获取工艺参数) |
| | | tags: |
| | | - Task |
| | | /v1/task/updateProcessParams: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.SendProcessParams' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新工艺参数(进行中的任务) |
| | | tags: |
| | | - Task |
| | | swagger: "2.0" |