From 8335bd8f90803331fcbe81135c79ab0edc73f6c7 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期六, 26 八月 2023 19:16:03 +0800 Subject: [PATCH] 修正写入总量 --- 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