From adc5f83146f898cd2743313e619fff47141799f7 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期一, 28 八月 2023 10:46:25 +0800 Subject: [PATCH] 去掉获取工艺参数重试,增加plc写入失败重试 --- 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