From 0ee75b88cfe03e46289de0de96e8ed4580c797d3 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 27 九月 2022 14:04:21 +0800 Subject: [PATCH] Merge branch 'Dev-Branch' into dev--wxr --- HDL_ON/DAL/DriverLayer/Control.cs | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/HDL_ON/DAL/DriverLayer/Control.cs b/HDL_ON/DAL/DriverLayer/Control.cs index f27460b..355ef81 100644 --- a/HDL_ON/DAL/DriverLayer/Control.cs +++ b/HDL_ON/DAL/DriverLayer/Control.cs @@ -1247,6 +1247,13 @@ //鏇存柊鐣岄潰鐘舵�� switch (localFunction.spk) { + case SPK.AcstParent: + AcstParentPage.UpdateAcstParentInfo(localFunction); + break; + case SPK.AcstSub: + AcstParentPage.UpdateAcstSubInfo(localFunction); + AcstSubPage.UpdateStatus(localFunction); + break; case SPK.AirSwitch: AirSwitchPage.UpdataState(localFunction); if(localFunction.GetAttribute(FunctionAttributeKey.Power)!=null)//濡傛灉鏄甫鐢甸噺鐨勭┖寮�涔熻鏇存柊鑳芥簮鐣岄潰 @@ -1480,6 +1487,10 @@ //Console.WriteLine("闊充箰鎾斁鍣ㄦ樉绀虹姸鎬�======="+ revString); //wjc break; + case SPK.Inverter: + var status = new Dictionary<string, object> { ["method"] = "status", ["data"] = temp.objects }; + Inverter.Ins.H5Page.CallJS($"nativeToJs(\'{Newtonsoft.Json.JsonConvert.SerializeObject(status)}\')"); + break; } HomePage.UpdataFunctionStates(localFunction); -- Gitblit v1.8.0