zhangqian
2023-08-25 35d15855172bb559fc6817745dee672f5e9b8d80
constvar/const.go
@@ -38,3 +38,8 @@
func (slf PlcMethod) Valid() bool {
   return slf == PlcMethodModbusTCP || slf == PlcMethodSerial
}
const (
   PlcCacheKeyFinishNumber = "finish_number"
   PlcCacheKeyTotalNumber  = "total_number"
)