fix
zhangqian
2023-09-01 163d9e7f1fbf65b9a0e63baac017555b47a28bc4
constvar/const.go
@@ -6,6 +6,7 @@
   NsqTopicSendPlcAddress        = "aps.%v.sendPlcAddress"
   NsqTopicProcessParamsRequest  = "aps.%v.processParams.request"
   NsqTopicProcessParamsResponse = "aps.%v.processParams.response"
   NsqTopicApsProcessParams      = "aps.%v.aps.processParams" //有了新的工艺模型
)
type PlcStartAddressType int
@@ -38,3 +39,8 @@
func (slf PlcMethod) Valid() bool {
   return slf == PlcMethodModbusTCP || slf == PlcMethodSerial
}
const (
   PlcCacheKeyFinishNumber = "finish_number"
   PlcCacheKeyTotalNumber  = "total_number"
)