From 35d15855172bb559fc6817745dee672f5e9b8d80 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期五, 25 八月 2023 21:05:26 +0800
Subject: [PATCH] 2秒钟请求一次完成量并存储

---
 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