| | |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Base" |
| | | "Task" |
| | | ], |
| | | "summary": "任务结束", |
| | | "parameters": [ |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/v1/task/sendProcessParams/{id}": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Task" |
| | | ], |
| | | "summary": "下发工艺参数", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "工序id", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/v1/task/start/{id}": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Base" |
| | | "Task" |
| | | ], |
| | | "summary": "任务开始", |
| | | "parameters": [ |
| | |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/response.ProcessParams" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | |
| | | }, |
| | | "unit": { |
| | | "type": "string" |
| | | }, |
| | | "workOrderId": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "request.ProcedureWorker": { |
| | | "type": "object", |
| | | "properties": { |
| | | "endTime": { |
| | | "type": "integer" |
| | | }, |
| | | "phoneNum": { |
| | | "type": "string" |
| | | }, |
| | | "startTime": { |
| | | "type": "integer" |
| | | }, |
| | | "workerId": { |
| | | "type": "string" |
| | |
| | | "type": "object", |
| | | "properties": { |
| | | "deviceId": { |
| | | "type": "string" |
| | | }, |
| | | "deviceName": { |
| | | "type": "string" |
| | | }, |
| | | "endTime": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "response.ProcessParams": { |
| | | "type": "object", |
| | | "properties": { |
| | | "key": { |
| | | "type": "string" |
| | | }, |
| | | "value": {} |
| | | } |
| | | }, |
| | | "response.TaskData": { |
| | | "type": "object", |
| | | "properties": { |