From 2f225f5b9ce679e641cdb73b74b41b500921ef02 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期六, 25 十一月 2023 17:11:50 +0800 Subject: [PATCH] 未设置plc允许开始任务 --- model/request/common.go | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/model/request/common.go b/model/request/common.go index c515c4e..2076da7 100644 --- a/model/request/common.go +++ b/model/request/common.go @@ -12,3 +12,18 @@ type SetCurrentDevice struct { CurrentDeviceID string `json:"currentDeviceID,omitempty"` //褰撳墠閫夊畾鐨勭敓浜ц澶� } + +type DeviceConfig struct { + NeedSetProcessParams bool `json:"needSetProcessParams,omitempty"` //鏄惁闇�瑕佽缃伐鑹哄弬鏁� +} + +type ReportWork struct { + ProcedureId uint `json:"procedureId" binding:"required"` //宸ュ簭id + ReportAmount int `json:"reportAmount" binding:"required"` //鎶ュ伐鏁伴噺 + WorkerID string `json:"workerID" binding:"required"` //鎶ュ憡鑰卛d +} + +type ReportWorkList struct { + PageInfo + ProcedureId uint `json:"procedureId" binding:"required"` //宸ュ簭id +} -- Gitblit v1.8.0