From 8dfb8feb32bb5e4e460e23dcde42612a26fa2bcb Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期日, 27 八月 2023 01:11:28 +0800 Subject: [PATCH] fix --- constvar/const.go | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/constvar/const.go b/constvar/const.go index dc2f30e..2ec69ac 100644 --- a/constvar/const.go +++ b/constvar/const.go @@ -38,3 +38,8 @@ func (slf PlcMethod) Valid() bool { return slf == PlcMethodModbusTCP || slf == PlcMethodSerial } + +const ( + PlcCacheKeyFinishNumber = "finish_number" + PlcCacheKeyTotalNumber = "total_number" +) -- Gitblit v1.8.0