From 302c591ca77dd4fb2b6e373d9912b91ee88f89f5 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期三, 23 八月 2023 12:58:56 +0800
Subject: [PATCH] 下发工艺参数时使用nsq获取工艺参数
---
model/response/common.go | 41 +++++++++++++++++++++++++++++++++++++++++
1 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/model/response/common.go b/model/response/common.go
index 7461096..8a25c70 100644
--- a/model/response/common.go
+++ b/model/response/common.go
@@ -1,8 +1,49 @@
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 NetConfig struct {
+ DeviceName string
+ DeviceStatus string
+}
+
+type ProductProgress struct {
+ FinishNumber int
+}
--
Gitblit v1.8.0