| | |
| | | package response |
| | | |
| | | import ( |
| | | "apsClient/model" |
| | | ) |
| | | |
| | | type PageResult struct { |
| | | List interface{} `json:"list"` |
| | | Total int64 `json:"total"` |
| | | Page int `json:"page"` |
| | | PageSize int `json:"pageSize"` |
| | | } |
| | | |
| | | type ListResponse struct { |
| | | Code int `json:"code"` |
| | | Msg string `json:"msg"` |
| | | Data interface{} `json:"data"` |
| | | Count int64 `json:"count"` |
| | | } |
| | | |
| | | type TaskData struct { |
| | | Order *model.Order |
| | | Procedure *model.Procedures |
| | | Config |
| | | } |
| | | |
| | | type Config struct { |
| | | DeviceName string |
| | | DeviceStatus string |
| | | } |
| | | |
| | | type ProcessParamsResponse struct { |
| | | Number string |
| | | Params []ProcessParams |
| | | } |
| | | |
| | | type ProcessParams struct { |
| | | Key string |
| | | Value interface{} |
| | | } |
| | | |
| | | type ProductProgress struct { |
| | | FinishNumber int `json:"finishNumber"` |
| | | TotalNumber int `json:"totalNumber"` |
| | | } |
| | | |
| | | type TaskCountdown struct { |
| | | CountDownHour int64 //倒计时 时 |
| | | CountDownMinute int64 //倒计时 分 |
| | | ShowCountDown bool //是否展示倒计时 |
| | | } |