| | |
| | | } |
| | | } |
| | | }, |
| | | "/v1/plc/productProgress": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "获取动态数据" |
| | | ], |
| | | "summary": "获取生产进度", |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.ProductProgress" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/v1/plcBrand/add": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/response.ProcessParams" |
| | | } |
| | | "$ref": "#/definitions/response.ProcessParamsResponse" |
| | | } |
| | | } |
| | | } |
| | |
| | | "items": { |
| | | "$ref": "#/definitions/common.ProcedureMaterial" |
| | | } |
| | | }, |
| | | "nextProcedureId": { |
| | | "type": "string" |
| | | }, |
| | | "nextProcedureName": { |
| | | "type": "string" |
| | | }, |
| | | "outputMaterials": { |
| | | "description": "输出物料列表", |
| | |
| | | "value": {} |
| | | } |
| | | }, |
| | | "response.ProcessParamsResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "number": { |
| | | "type": "string" |
| | | }, |
| | | "params": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/response.ProcessParams" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "response.ProductProgress": { |
| | | "type": "object", |
| | | "properties": { |
| | | "finishNumber": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "response.TaskData": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | }, |
| | | "deviceStatus": { |
| | | "type": "string" |
| | | }, |
| | | "nextProcedure": { |
| | | "$ref": "#/definitions/model.Procedures" |
| | | }, |
| | | "order": { |
| | | "$ref": "#/definitions/model.Order" |