From 163d9e7f1fbf65b9a0e63baac017555b47a28bc4 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期五, 01 九月 2023 21:11:29 +0800 Subject: [PATCH] fix --- constvar/const.go | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/constvar/const.go b/constvar/const.go index dc2f30e..3856612 100644 --- a/constvar/const.go +++ b/constvar/const.go @@ -6,6 +6,7 @@ NsqTopicSendPlcAddress = "aps.%v.sendPlcAddress" NsqTopicProcessParamsRequest = "aps.%v.processParams.request" NsqTopicProcessParamsResponse = "aps.%v.processParams.response" + NsqTopicApsProcessParams = "aps.%v.aps.processParams" //鏈変簡鏂扮殑宸ヨ壓妯″瀷 ) type PlcStartAddressType int @@ -38,3 +39,8 @@ func (slf PlcMethod) Valid() bool { return slf == PlcMethodModbusTCP || slf == PlcMethodSerial } + +const ( + PlcCacheKeyFinishNumber = "finish_number" + PlcCacheKeyTotalNumber = "total_number" +) -- Gitblit v1.8.0