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