| | |
| | | address: |
| | | description: |- |
| | | PortName string `gorm:"type:varchar(191);comment:端口名称" json:"portName"` |
| | | Frequency int `gorm:"type:int(11);comment:数据更新频率 0-实时更新 1-1次/秒" json:"frequency"` |
| | | Frequency int `gorm:"comment:数据更新频率 0-实时更新 1-1次/秒" json:"frequency"` |
| | | type: string |
| | | baudRate: |
| | | description: 串口波特率, method = serial时 用 |
| | |
| | | address: |
| | | description: |- |
| | | PortName string `gorm:"type:varchar(191);comment:端口名称" json:"portName"` |
| | | Frequency int `gorm:"type:int(11);comment:数据更新频率 0-实时更新 1-1次/秒" json:"frequency"` |
| | | Frequency int `gorm:"comment:数据更新频率 0-实时更新 1-1次/秒" json:"frequency"` |
| | | type: string |
| | | baudRate: |
| | | description: 串口波特率, method = serial时 用 |
| | |
| | | items: |
| | | type: string |
| | | type: array |
| | | canStarted: |
| | | description: 是否可以开始生产 |
| | | type: boolean |
| | | currentProcedureIndex: |
| | | type: integer |
| | | order: |
| | |
| | | summary: 获取任务 |
| | | tags: |
| | | - Task |
| | | /v1/task/get/unStarted: |
| | | get: |
| | | parameters: |
| | | - description: 页码 |
| | | in: query |
| | | name: page |
| | | type: integer |
| | | - description: 每页大小 |
| | | in: query |
| | | name: pageSize |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.TaskData' |
| | | type: object |
| | | summary: 获取未开始的任务 |
| | | tags: |
| | | - Task |
| | | /v1/task/sendProcessParams: |
| | | post: |
| | | parameters: |