From 8d261008658cfbeadcd283434e621d15fc2e6edf Mon Sep 17 00:00:00 2001 From: xiaocai <1643013940@qq.com> Date: Wed, 5 Jun 2024 15:49:31 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=97=A5=E5=BF=97):=20=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E4=B8=8A=E6=8A=A5=E6=9C=AA=E7=9F=A5=E7=82=B9=E4=BD=8D=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=97=A5=E5=BF=97=E7=BA=A7=E5=88=AB=E4=B8=BA=20WARN?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- driverbox/helper/helper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driverbox/helper/helper.go b/driverbox/helper/helper.go index b0f3fa8..f6df3b7 100644 --- a/driverbox/helper/helper.go +++ b/driverbox/helper/helper.go @@ -96,7 +96,7 @@ func pointValueProcess(deviceData *plugin.DeviceData) error { for i, p := range deviceData.Values { point, ok := CoreCache.GetPointByDevice(deviceData.ID, p.PointName) if !ok { - Logger.Error("unknown point", zap.Any("deviceId", deviceData.ID), zap.Any("pointName", p.PointName)) + Logger.Warn("unknown point", zap.Any("deviceId", deviceData.ID), zap.Any("pointName", p.PointName)) continue } //点位值类型还原