From 033f3d5caa704c34806f10f135c9bfe918a36760 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期二, 22 八月 2023 18:36:26 +0800 Subject: [PATCH] 兼容前端字段类型错误 --- constvar/const.go | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/constvar/const.go b/constvar/const.go index 20868e5..c64e44b 100644 --- a/constvar/const.go +++ b/constvar/const.go @@ -11,7 +11,8 @@ type PlcStartAddressType string const ( - PlcStartAddressTypeFinishNumber = "1" + PlcStartAddressTypeFinishNumber = 1 + PlcStartAddressTypeTotalNumber = 2 ) const ( -- Gitblit v1.8.0