From 1c31947fd6902b570e3b9ac9eaab8ad9de58ee19 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期六, 02 九月 2023 15:23:41 +0800 Subject: [PATCH] 获取任务逻辑调整,只获取本设备的工序,由工序反推订单 --- model/response/common.go | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/model/response/common.go b/model/response/common.go index 8a25c70..ff33efc 100644 --- a/model/response/common.go +++ b/model/response/common.go @@ -39,11 +39,13 @@ Value interface{} } -type NetConfig struct { - DeviceName string - DeviceStatus string +type ProductProgress struct { + FinishNumber int `json:"finishNumber"` + TotalNumber int `json:"totalNumber"` } -type ProductProgress struct { - FinishNumber int +type TaskCountdown struct { + CountDownHour int64 //鍊掕鏃� 鏃� + CountDownMinute int64 //鍊掕鏃� 鍒� + ShowCountDown bool //鏄惁灞曠ず鍊掕鏃� } -- Gitblit v1.8.0