From a9d1161b1df96e7ddad566335989a1444e433ef5 Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期二, 28 三月 2023 11:54:45 +0800 Subject: [PATCH] 2023年03月28日11:52:02 --- HDL_ON/DAL/DriverLayer/Control.cs | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/HDL_ON/DAL/DriverLayer/Control.cs b/HDL_ON/DAL/DriverLayer/Control.cs index ec10084..652bc0d 100644 --- a/HDL_ON/DAL/DriverLayer/Control.cs +++ b/HDL_ON/DAL/DriverLayer/Control.cs @@ -1071,7 +1071,7 @@ //2021-09-23 鏂板鑾峰彇褰撳墠缃戝叧鏄惁鏈湴鍔犲瘑 Ins.IsLocalEncrypt = device.isLocalEncrypt; //MainPage.Log("缃戝叧鏈湴鍔犲瘑鐘舵�侊細" + device.local_encrypt.ToString()); - + //鐧诲綍缃戝叧Tcp OpenTcpClent(); @@ -1399,7 +1399,7 @@ EnvironmentalPage.LoadEvent_UpdataStatus(localFunction); //A_EnvironmentalDataCenter.LoadEvent_UpdataStatus(localFunction); break; - case SPK.SensorEnvironment: + case SPK.SensorEnvironment:case SPK.SensorEnvironmentHailin: case SPK.SensorEnvironment2: case SPK.SensorEnvironment3: if (localFunction.GetAttributes().Contains(FunctionAttributeKey.Temperature)) @@ -1494,14 +1494,12 @@ //wjc break; case SPK.Inverter: - MainPage.Log("閫嗗彉鍣ㄦ暟鎹洿鏂�"); + case SPK.InverterRst: var status = new Dictionary<string, object> { ["method"] = "status", ["data"] = temp.objects }; - MainPage.Log("閫嗗彉鍣ㄦ暟鎹洿鏂�1"); Application.RunOnMainThread(() => { Inverter.Ins.H5Page.CallJS($"nativeToJs(\'{Newtonsoft.Json.JsonConvert.SerializeObject(status)}\')"); }); - MainPage.Log("閫嗗彉鍣ㄦ暟鎹洿鏂�2"); break; } -- Gitblit v1.8.0