From 4bee02b398e2b1023c03dad2e71dfd91b301133b Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期三, 06 十二月 2023 20:06:32 +0800 Subject: [PATCH] debug --- constvar/const.go | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/constvar/const.go b/constvar/const.go index e6f9b85..7e0671c 100644 --- a/constvar/const.go +++ b/constvar/const.go @@ -8,6 +8,8 @@ NsqTopicDeviceUpdate = "aps.%v.device.update" //璁惧淇℃伅鏇存敼 NsqTopicPullDataRequest = "aps.%v.pull.data.request" //鎷夊彇鏁版嵁璇锋眰 NsqTopicPullDataResponse = "aps.%v.pull.data.response" //鎷夊彇鏁版嵁鍝嶅簲 + NsqTopicApsClientReportData = "aps.%v.apsClient.report.data" //apsClient涓婃姤鏁版嵁 + NsqTopicSendDashboardData = "aps.%v.apsClient.dashboard" //涓嬪彂dashboard鏁版嵁 ) type PlcStartAddressType int @@ -127,3 +129,10 @@ SystemStatusValueNormal SystemStatusValue = "1" SystemStatusValueUnNormal SystemStatusValue = "2" ) + +type ReportType int //涓婃姤绫诲瀷 + +const ( + ReportTypeSystemDeviceID ReportType = 1 + ReportTypeReportWork ReportType = 2 +) -- Gitblit v1.8.0