| | |
| | | constvar.PlcStartAddressValueType: |
| | | enum: |
| | | - string |
| | | - int |
| | | - int16 |
| | | - int32 |
| | | type: string |
| | | x-enum-varnames: |
| | | - PlcStartAddressValueTypeString |
| | | - PlcStartAddressValueTypeInt |
| | | - PlcStartAddressValueTypeInt16 |
| | | - PlcStartAddressValueTypeInt32 |
| | | constvar.ProblemCode: |
| | | enum: |
| | | - service |
| | |
| | | updatedAt: |
| | | type: string |
| | | type: object |
| | | request.DeviceConfig: |
| | | properties: |
| | | needSetProcessParams: |
| | | description: 是否需要设置工艺参数 |
| | | type: boolean |
| | | type: object |
| | | request.GetProductProgress: |
| | | properties: |
| | | channel: |
| | |
| | | updatedAt: |
| | | type: string |
| | | type: object |
| | | response.Device: |
| | | properties: |
| | | deviceID: |
| | | type: string |
| | | deviceName: |
| | | type: string |
| | | type: object |
| | | response.DeviceListResponse: |
| | | properties: |
| | | clusterNodeQuantity: |
| | |
| | | currentDeviceID: |
| | | description: 当前选定的生产设备 |
| | | type: string |
| | | deviceIDList: |
| | | deviceList: |
| | | description: 生产设备id列表 |
| | | items: |
| | | type: string |
| | | $ref: '#/definitions/response.Device' |
| | | type: array |
| | | systemDeviceID: |
| | | description: 工控机设备ID |
| | |
| | | summary: 更新plc配置 |
| | | tags: |
| | | - Config |
| | | /v1/device/config: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.DeviceConfig' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 设置设备一些配置 |
| | | tags: |
| | | - 设备 |
| | | /v1/device/list: |
| | | get: |
| | | produces: |
| | |
| | | /v1/task/get: |
| | | get: |
| | | parameters: |
| | | - in: query |
| | | name: deviceID |
| | | type: string |
| | | - description: 页码 |
| | | in: query |
| | | name: page |