From 4a554a55e9b16b5723d54452d996984990e05efc Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期四, 30 十一月 2023 21:22:22 +0800
Subject: [PATCH] 重构生产进度存储和同步

---
 constvar/const.go |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/constvar/const.go b/constvar/const.go
index e6f9b85..10a507d 100644
--- a/constvar/const.go
+++ b/constvar/const.go
@@ -8,6 +8,7 @@
 	NsqTopicDeviceUpdate              = "aps.%v.device.update"           //璁惧淇℃伅鏇存敼
 	NsqTopicPullDataRequest           = "aps.%v.pull.data.request"       //鎷夊彇鏁版嵁璇锋眰
 	NsqTopicPullDataResponse          = "aps.%v.pull.data.response"      //鎷夊彇鏁版嵁鍝嶅簲
+	NsqTopicApsClientReportData       = "aps.%v.apsClient.report.data"   //apsClient涓婃姤鏁版嵁
 )
 
 type PlcStartAddressType int
@@ -127,3 +128,10 @@
 	SystemStatusValueNormal   SystemStatusValue = "1"
 	SystemStatusValueUnNormal SystemStatusValue = "2"
 )
+
+type ReportType int //涓婃姤绫诲瀷
+
+const (
+	ReportTypeSystemDeviceID ReportType = 1
+	ReportTypeReportWork     ReportType = 2
+)

--
Gitblit v1.8.0