fix
zhangqian
2023-12-01 8324f872ef3a4d0c978a9b1d062800c6a1701c12
model/request/task.go
@@ -15,7 +15,6 @@
type TaskList struct {
   PageInfo
   TaskMode constvar.TaskMode `json:"taskMode" form:"taskMode"`
   DeviceID string            `json:"deviceID"`
}
type SendProcessParams struct {
@@ -23,14 +22,14 @@
}
type GetProductProgress struct {
   Channel int32 `json:"channel"`
   ProcedureId uint  `json:"procedureId"`
   Channel     int32 `json:"channel"`
}
// ProcessModelList 工艺参数列表请求参数
type ProcessModelList struct {
   PageInfo
   ProcedureId uint   `json:"procedureId" form:"procedureId" binding:"required"` //当前的工序id
   Number      string `json:"number" form:"number"  binding:"required"`          //当前正在使用的工艺参数编号
   ProcedureId uint `json:"procedureId" form:"procedureId" binding:"required"` //当前的工序id
}
// TaskListByChannel 按channel返回任务列表请求参数