| | |
| | | package response |
| | | |
| | | import ( |
| | | "apsClient/conf" |
| | | "apsClient/model" |
| | | "apsClient/model/common" |
| | | ) |
| | |
| | | Order *model.Order |
| | | Procedure *model.Procedures |
| | | |
| | | Position int //当前任务在设备第几个位置 |
| | | Channel int32 //当前任务在设备第几个通道 |
| | | AllProcedures []string |
| | | CurrentProcedureIndex int |
| | | CanStarted bool //是否可以开始生产 |
| | | } |
| | | |
| | | type TaskResponse struct { |
| | | Tasks []*TaskData |
| | | TaskCount int64 |
| | | Workers []*common.ProcedureWorker `json:"workers"` // 人员列表 |
| | | Tasks []*TaskData //任务列表 |
| | | TaskCount int64 //任务数量 |
| | | Workers []*common.ProcedureWorker `json:"workers"` // 人员列表 |
| | | Prompt conf.Prompt //提示语 |
| | | ChannelAmount int //通道数量 |
| | | } |
| | | |
| | | type Config struct { |
| | |
| | | CountDownMinute int64 //倒计时 分 |
| | | ShowCountDown bool //是否展示倒计时 |
| | | } |
| | | |
| | | type Message struct { |
| | | Event string |
| | | Data interface{} |
| | | } |