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