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