From 02ef7fd8315dfa7a5d8d3ddc0d04a3d4625dc0b5 Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期一, 02 九月 2024 16:56:34 +0800 Subject: [PATCH] 增加面板地暖SPK;增加安卓金茂热水器,光伏储能切图 --- HDL_ON/DAL/DriverLayer/Control.cs | 25 +++++++++++++++++++++---- 1 files changed, 21 insertions(+), 4 deletions(-) diff --git a/HDL_ON/DAL/DriverLayer/Control.cs b/HDL_ON/DAL/DriverLayer/Control.cs index ca48600..9da198a 100644 --- a/HDL_ON/DAL/DriverLayer/Control.cs +++ b/HDL_ON/DAL/DriverLayer/Control.cs @@ -1073,7 +1073,7 @@ } else { - MainPage.Log($"灞�鍩熺綉淇℃伅: 鏄庢枃锛�" + receiveObj.BodyDataString); + //MainPage.Log($"灞�鍩熺綉淇℃伅: 鏄庢枃锛�" + receiveObj.BodyDataString); } } @@ -1085,7 +1085,7 @@ { return null; } - MainPage.Log($"澶勭悊灞�鍩熺綉鏁版嵁id:{idMsg.id}"); + //MainPage.Log($"澶勭悊灞�鍩熺綉鏁版嵁id:{idMsg.id}"); } catch (Exception ex) @@ -1359,6 +1359,10 @@ AcstParentPage.UpdateAcstSubInfo(localFunction); AcstSubPage.UpdateStatus(localFunction); break; + case SPK.WaterHeaterJinmao: + AcstParentPage.UpdateAcstSubInfo(localFunction); + + break; case SPK.AirSwitch: AirSwitchPage.UpdataState(localFunction); if (localFunction.GetAttribute(FunctionAttributeKey.Power) != null)//濡傛灉鏄甫鐢甸噺鐨勭┖寮�涔熻鏇存柊鑳芥簮鐣岄潰 @@ -1467,7 +1471,7 @@ } break; - case SPK.HvacFloorHeat: + case SPK.HvacFloorHeat:case SPK.HvacFloorHeatPanel: case SPK.FloorHeatStandard: localFunction.lastState = ""; switch (localFunction.GetAttrState(FunctionAttributeKey.Mode)) @@ -1492,11 +1496,13 @@ FloorHeatingPage.UpdataStates(localFunction); break; case SPK.SensorPm25: + case SPK.SensorPm10: case SPK.SensorCO2: case SPK.SensorTVOC: case SPK.SensorTemperature: case SPK.SensorHumidity: case SPK.SensorHcho: + case SPK.SensorLight: if (localFunction.spk == SPK.SensorTemperature) { HomePage.LoadEvent_RefreshEnvirIndoorTemp(); @@ -1578,7 +1584,7 @@ switch (tempStatus.state) {//0绌猴紝1璧帮紝2璺戯紝3鍧愶紝4璺屽�掞紝5绔� case "0": - localFunction.lastState = Language.StringByID(StringId.SensorNormalState); + localFunction.lastState = Language.StringByID(StringId.wuren); break; case "1": localFunction.lastState = Language.StringByID(StringId.SomeoneIn); @@ -1615,6 +1621,17 @@ case SPK.MusicStandard: //UI.Music.MusicMain.mMusicMain.RefreshView(updateTemp); Console.WriteLine("闊充箰鎾斁鍣ㄦ樉绀虹姸鎬�=======" + revString); + foreach (var music in UI.Music.A31MusicModel.A31MusicModelList)//姣忔鏀跺埌鏁版嵁閮借鏇存柊涓�涓嬫椂闂� + { + if (music.functionMusic.sid == localFunction.sid) + { + music.LastDateTime = DateTime.Now; + } + } + if (UI.Music.A31MusicModel.Current != null) + { + UI.Music.A31MusicModel.Current.LastDateTime = DateTime.Now; + } //wjc break; case SPK.Inverter: -- Gitblit v1.8.0