From 4d14154c36ac5692aadc036eed97fb9f1c410e2a Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期日, 23 五月 2021 14:46:03 +0800 Subject: [PATCH] Merge branch 'WJC' into temp-wxr --- HDL-ON_Android/Assets/Language.ini | 18 + HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs | 2 HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/PirView.cs | 2 HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/DeviceListPage.cs | 2 HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Matching.cs | 250 ++++++++++++++++++++++ HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMethod.cs | 101 +++++--- HDL_ON/DAL/Mqtt/MqttClient.cs | 4 HDL_ON/HDL_ON.projitems | 2 HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TimeView.cs | 2 HDL_ON/UI/UI2/FuntionControlView/Video/View/ShowDialog.cs | 2 HDL_ON/UI/UI2/3-Intelligence/Automation/AddTarget.cs | 2 HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs | 64 ++-- HDL_ON/UI/UI2/3-Intelligence/Automation/AddInputType.cs | 3 HDL-ON_iOS/Resources/Language.ini | 18 + HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs | 12 HDL_ON/UI/UI2/FuntionControlView/Video/VideoMethod.cs | 2 HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/Buttons.cs | 23 +- DLL/IOS/Shared.IOS.JLCountryCode.dll | 0 HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/SetPir.cs | 10 HDL_ON/Entity/Function/Function.cs | 24 ++ HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddButton.cs | 6 HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddControl.cs | 4 HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/LogicTypeTitleView.cs | 2 HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddControlComplete.cs | 14 HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/EditControl.cs | 6 HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs | 26 +- HDL_ON/Common/R.cs | 18 + HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/BrandList.cs | 6 HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirSend.cs | 6 29 files changed, 483 insertions(+), 148 deletions(-) diff --git a/DLL/IOS/Shared.IOS.JLCountryCode.dll b/DLL/IOS/Shared.IOS.JLCountryCode.dll index 064a922..80ddf8b 100644 --- a/DLL/IOS/Shared.IOS.JLCountryCode.dll +++ b/DLL/IOS/Shared.IOS.JLCountryCode.dll Binary files differ diff --git a/HDL-ON_Android/Assets/Language.ini b/HDL-ON_Android/Assets/Language.ini index 1c33e14..f2c2ba9 100644 --- a/HDL-ON_Android/Assets/Language.ini +++ b/HDL-ON_Android/Assets/Language.ini @@ -1411,7 +1411,7 @@ 6006=鐢佃 6007=椋庢墖 6008=鏈洪《鐩� -6009=DVD/EVD/VCD +6009=DVD 6010=鎶曞奖浠� 6011=鑷畾涔� 6012=绾㈠閬ユ帶 @@ -1481,6 +1481,22 @@ 6078=绯荤粺缁存姢涓瓇璇风◢鍚庡啀璇晘 6079=鑾峰彇鏁版嵁澶辫触 6080=鏆傛椂涓嶆敮鎸佽鍔熻兘 +6081=閫夋嫨绾㈠鍝佺墝 +6082=鎽囧ご +6083=浣庨�� +6084=涓�� +6085=楂橀�� +6086=鑷姩 +6087=娓╁害+ +6088=娓╁害- +6089=绌烘皵鍑�鍖栧櫒 +6090=鐑按鍣� +6091=涓嶅瓨鍦ㄧ殑浜у搧 +6092=璁惧涓嶅瓨鍦� +6093=璁惧涓嶅湪绾� +6094=缃戝叧璁惧涓嶅瓨鍦� + + 7000=鏂板缓鑷姩鍖� 7001=缂栬緫鑷姩鍖� diff --git a/HDL-ON_iOS/Resources/Language.ini b/HDL-ON_iOS/Resources/Language.ini index 1c33e14..f2c2ba9 100644 --- a/HDL-ON_iOS/Resources/Language.ini +++ b/HDL-ON_iOS/Resources/Language.ini @@ -1411,7 +1411,7 @@ 6006=鐢佃 6007=椋庢墖 6008=鏈洪《鐩� -6009=DVD/EVD/VCD +6009=DVD 6010=鎶曞奖浠� 6011=鑷畾涔� 6012=绾㈠閬ユ帶 @@ -1481,6 +1481,22 @@ 6078=绯荤粺缁存姢涓瓇璇风◢鍚庡啀璇晘 6079=鑾峰彇鏁版嵁澶辫触 6080=鏆傛椂涓嶆敮鎸佽鍔熻兘 +6081=閫夋嫨绾㈠鍝佺墝 +6082=鎽囧ご +6083=浣庨�� +6084=涓�� +6085=楂橀�� +6086=鑷姩 +6087=娓╁害+ +6088=娓╁害- +6089=绌烘皵鍑�鍖栧櫒 +6090=鐑按鍣� +6091=涓嶅瓨鍦ㄧ殑浜у搧 +6092=璁惧涓嶅瓨鍦� +6093=璁惧涓嶅湪绾� +6094=缃戝叧璁惧涓嶅瓨鍦� + + 7000=鏂板缓鑷姩鍖� 7001=缂栬緫鑷姩鍖� diff --git a/HDL_ON/Common/R.cs b/HDL_ON/Common/R.cs index 0ca8016..68c931e 100644 --- a/HDL_ON/Common/R.cs +++ b/HDL_ON/Common/R.cs @@ -984,10 +984,20 @@ public const int xitongweihuzhong = 6078; public const int huoqushujushibao = 6079; public const int zanshibuzhichigaigongneng = 6080; - - - - + public const int xuanzehongwaipinpai= 6081; + public const int yaotou = 6082; + public const int disu = 6083; + public const int zhongsu = 6084; + public const int gaosu = 6085; + public const int zidong = 6086; + public const int wendujia = 6087; + public const int wendujian = 6088; + public const int kongqijinghauqi = 6089; + public const int reshuiqi = 6090; + public const int bucunzaichanpin = 6091; + public const int shebeibucunzai = 6092; + public const int shebeibuzaixian = 6093; + public const int wangguanshebeibuzaixian = 6094; public const int newAutomation = 7000; public const int editAutomation = 7001; diff --git a/HDL_ON/DAL/Mqtt/MqttClient.cs b/HDL_ON/DAL/Mqtt/MqttClient.cs index ea3195a..be355ed 100644 --- a/HDL_ON/DAL/Mqtt/MqttClient.cs +++ b/HDL_ON/DAL/Mqtt/MqttClient.cs @@ -330,14 +330,14 @@ { var bytes = Securitys.EncryptionService.AesDecryptPayload(e.ApplicationMessage.Payload, tuyaEncryptKey); var revString = Encoding.UTF8.GetString(bytes); - HDL_ON.UI.UI2.PersonalCenter.PirDevice.Method.controldata = revString; + HDL_ON.UI.UI2.PersonalCenter.PirDevice.PirMethod.controldata = revString; } //App璁㈤槄閬ユ帶鍣ㄨ嚜瀛︽寜閿涔犳垚鍔熼�氱煡 else if (topic == $"/user/{DB_ResidenceData.Instance.CurrentRegion.id}/app/thing/event/irCodeStudyDone/up") { var bytes = Securitys.EncryptionService.AesDecryptPayload(e.ApplicationMessage.Payload, tuyaEncryptKey); var revString = Encoding.UTF8.GetString(bytes); - UI.UI2.PersonalCenter.PirDevice.Method.buttondata = revString; + UI.UI2.PersonalCenter.PirDevice.PirMethod.buttondata = revString; } #region 鏁版嵁鏇存柊鎺ㄩ�佷富棰� //appHomeRefresh锛氫綇瀹呮暟鎹埛鏂伴�氱煡 diff --git a/HDL_ON/Entity/Function/Function.cs b/HDL_ON/Entity/Function/Function.cs index ce410b4..644e047 100644 --- a/HDL_ON/Entity/Function/Function.cs +++ b/HDL_ON/Entity/Function/Function.cs @@ -1234,6 +1234,30 @@ /// </summary> public const string TvIr = "ir.tv"; /// <summary> + /// 绾㈠鎶曞奖浠� + /// </summary> + public const string PjtIr = "ir.pjt"; + /// <summary> + /// 绾㈠鏈洪《鐩� + /// </summary> + public const string StbIr = "ir.stb"; + /// <summary> + /// 绾㈠褰辩鏈� + /// </summary> + public const string DvDIr = "ir.dvd"; + /// <summary> + /// 绾㈠绌烘皵鍑�鍖栧櫒 + /// </summary> + public const string PurifierIr = "ir.air_purifier"; + /// <summary> + /// 绾㈠鐑按鍣� + /// </summary> + public const string HeaterIr = " ir.water_heater"; + /// <summary> + /// 绾㈠椋庢墖 + /// </summary> + public const string FanIr = "ir.fan"; + /// <summary> /// 瀹剁數銆侀鎵� /// </summary> public const string ElectricFan = "electrical.fan"; diff --git a/HDL_ON/HDL_ON.projitems b/HDL_ON/HDL_ON.projitems index 4cc5840..ef68471 100644 --- a/HDL_ON/HDL_ON.projitems +++ b/HDL_ON/HDL_ON.projitems @@ -352,7 +352,6 @@ <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\4-PersonalCenter\PirDevice\PirSend.cs" /> <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\4-PersonalCenter\PirDevice\AddControlComplete.cs" /> <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\4-PersonalCenter\PirDevice\View\PatchView.cs" /> - <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\4-PersonalCenter\PirDevice\Method.cs" /> <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\4-PersonalCenter\PirDevice\View\FailView.cs" /> <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\4-PersonalCenter\PirDevice\View\ReplicationView.cs" /> <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\FuntionControlView\Electrical\ClothesHangerSetTimePage.cs" /> @@ -409,6 +408,7 @@ <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\FuntionControlView\Electrical\DvdPage.cs" /> <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\FuntionControlView\Electrical\PjtPage.cs" /> <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\FuntionControlView\Electrical\StbPage.cs" /> + <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\4-PersonalCenter\PirDevice\PirMethod.cs" /> </ItemGroup> <ItemGroup> <Folder Include="$(MSBuildThisFileDirectory)DAL\" /> diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/AddInputType.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/AddInputType.cs index 41b3be7..7fbc2ab 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/AddInputType.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/AddInputType.cs @@ -27,7 +27,7 @@ BackgroundColor = CSS.CSS_Color.viewMiddle, }; this.AddChidren(viewLayout); - #region 鏃堕棿 鍔熻兘 + #region 鏃堕棿 鍔熻兘 瀹ゅ鍙樺寲 //鏃堕棿 LogicView.SelectTypeView timeView = new LogicView.SelectTypeView(); timeView.btnText.TextID = StringId.time; @@ -59,7 +59,6 @@ viewLayout.AddChidren(shiwaiView.FLayoutView()); } #endregion - #region 鎵�鏈夌偣鍑讳簨浠� //鏃堕棿 diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/AddTarget.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/AddTarget.cs index d3bb907..d185e19 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/AddTarget.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/AddTarget.cs @@ -46,7 +46,7 @@ LogicView.SelectTypeView delayView = new LogicView.SelectTypeView(); delayView.frameLayout.Y = sceneView.frameLayout.Bottom; delayView.btnText.TextID = StringId.delayLogic; - delayView.btnIcon.UnSelectedImagePath = "LogicIcon/delayed.png"; + delayView.btnIcon.UnSelectedImagePath = "LogicIcon/time.png"; //viewLayout.AddChidren(delayView.FLayoutView()); #endregion diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs index 0dede77..3de977d 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs @@ -926,7 +926,7 @@ break; case "3": { - targetView.btnIcon.UnSelectedImagePath = "LogicIcon/delayed.png"; + targetView.btnIcon.UnSelectedImagePath = "LogicIcon/time.png"; foreach (var dic in dicList) { string value = dic["value"]; diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs index 461b095..eb9d557 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs @@ -325,13 +325,21 @@ { List<string> deviceStrTypeList = new List<string>(); deviceStrTypeList.Clear(); - var lightjosn = deviceList.Find((device) => device.spk == SPK.LightSwitch || device.spk == SPK.LightDimming || device.spk == SPK.LightCCT || device.spk == SPK.LightRGB || device.spk == SPK.LightRGBW); + var lightjosn = deviceList.Find((device) => + device.spk == SPK.LightSwitch + || device.spk == SPK.LightDimming + || device.spk == SPK.LightCCT + || device.spk == SPK.LightRGB + || device.spk == SPK.LightRGBW); if (lightjosn != null) { deviceStrTypeList.Add(Language.StringByID(StringId.Lights)); } - var curtainjosn = deviceList.Find((device) => device.spk == SPK.CurtainSwitch || device.spk == SPK.CurtainTrietex || device.spk == SPK.CurtainRoller); + var curtainjosn = deviceList.Find((device) => + device.spk == SPK.CurtainSwitch + || device.spk == SPK.CurtainTrietex + || device.spk == SPK.CurtainRoller); if (curtainjosn != null) { deviceStrTypeList.Add(Language.StringByID(StringId.Curtain)); diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/LogicTypeTitleView.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/LogicTypeTitleView.cs index 6a25605..8eea8c9 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/LogicTypeTitleView.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/LogicTypeTitleView.cs @@ -28,7 +28,7 @@ //Y = Application.GetRealHeight(12), X = Application.GetRealWidth(12), Gravity = Gravity.CenterVertical, - IsMoreLines = true, + // IsMoreLines = true, }; /// <summary> /// 鍥炬爣 diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TimeView.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TimeView.cs index e199ffc..a36dc65 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TimeView.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TimeView.cs @@ -203,7 +203,7 @@ { //鍒濆鍖栧垪琛� var hList = new List<string>(); - for (int i = 0; i < 23; i++) + for (int i = 0; i < 24; i++) { if (i < 10) { diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs index a1d1ecd..5f789d2 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs @@ -279,7 +279,6 @@ var jay = jArray[a]; //鏁版嵁杩斿簭鍒楀寲涓篖ogic瀵硅薄 var str = Newtonsoft.Json.JsonConvert.SerializeObject(jay); - Console.WriteLine("鑾峰彇閫昏緫==="+str); var logic = Newtonsoft.Json.JsonConvert.DeserializeObject<Logic>(str); if (logic != null) { @@ -288,38 +287,39 @@ if (if_logic == null) { - //Logic newlogic = new Logic(); - //newlogic.name = logic.name; - //newlogic.userLogicId = logic.userLogicId; - //newlogic.sid = logic.sid; - //newlogic.relation = logic.relation; - //newlogic.enable = logic.enable; - //newlogic.cycle = logic.cycle; - //for (int i = 0; i < logic.input.Count; i++) - //{ - // if (logic.input[i] == null || string.IsNullOrEmpty(logic.input[i].condition_type)) - // { - // //闃叉璋冭瘯杞欢涔变紶涓滆タ涓婃潵; - // //闃叉鏈夌┖瀵硅薄锛� - // //姝e父鎯呭喌涓嬩笉浼氬嚭鐜扮殑鐜拌薄锛� - // continue; - // } - // newlogic.input.Add(logic.input[i]); - //} - //for (int i = 0; i < logic.output.Count; i++) - //{ - // if (logic.output[i] == null || string.IsNullOrEmpty(logic.output[i].target_type)) - // { - // //闃叉璋冭瘯杞欢涔变紶涓滆タ涓婃潵; - // //闃叉鏈夌┖瀵硅薄锛� - // //姝e父鎯呭喌涓嬩笉浼氳鐜拌薄锛� - // continue; - // } - // newlogic.output.Add(logic.output[i]); - //} - + Logic newlogic = new Logic(); + newlogic.name = logic.name; + newlogic.userLogicId = logic.userLogicId; + newlogic.sid = logic.sid; + newlogic.relation = logic.relation; + newlogic.enable = logic.enable; + newlogic.cycle = logic.cycle; + for (int i = 0; i < logic.input.Count; i++) + { + if (logic.input[i] == null || string.IsNullOrEmpty(logic.input[i].condition_type)) + { + //闃叉璋冭瘯杞欢涔变紶涓滆タ涓婃潵; + //闃叉鏈夌┖瀵硅薄锛� + //姝e父鎯呭喌涓嬩笉浼氬嚭鐜扮殑鐜拌薄锛� + continue; + } + newlogic.input.Add(logic.input[i]); + } + for (int i = 0; i < logic.output.Count; i++) + { + if (logic.output[i] == null || string.IsNullOrEmpty(logic.output[i].target_type)) + { + //闃叉璋冭瘯杞欢涔变紶涓滆タ涓婃潵; + //闃叉鏈夌┖瀵硅薄锛� + //姝e父鎯呭喌涓嬩笉浼氳鐜拌薄锛� + continue; + } + newlogic.output.Add(logic.output[i]); + } + newlogic.noticeConfig = logic.noticeConfig; + newlogic.pushConfigs = logic.pushConfigs; //娣诲姞閫昏緫 - Logic.LogicList.Add(logic); + Logic.LogicList.Add(newlogic); } } diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/DeviceListPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/DeviceListPage.cs index 8bb2fcd..db0e205 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/DeviceListPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/DeviceListPage.cs @@ -152,7 +152,7 @@ switch (device.spk) { case SPK.IrModule: - new UI2.PersonalCenter.PirDevice.Method().MainView(this, device,()=> {}); + new UI2.PersonalCenter.PirDevice.PirMethod().MainView(this, device,()=> {}); break; } }; diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddButton.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddButton.cs index 01a45e5..1783c17 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddButton.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddButton.cs @@ -151,7 +151,7 @@ //绉婚櫎娣诲姞鎸夐挳鐣岄潰 this.RemoveFromParent(); //绉婚櫎涔嬪墠鍙兘瀛樺湪鐨勭晫闈� - Method.RemoveView("AddControl"); + PirMethod.RemoveView("AddControl"); //鍔犺浇鏁版嵁鐣岄潰 AddControl addControl = new AddControl(); MainPage.BasePageView.AddChidren(addControl); @@ -161,7 +161,7 @@ else { replication.RemView(); - Method method = new Method(); + PirMethod method = new PirMethod(); method.ErrorShow(null,"娣诲姞澶辫触"); } @@ -176,7 +176,7 @@ public override void RemoveFromParent() { //鍒锋柊鎸囧畾鐣岄潰 - Method.RefreshView("PirMain"); + PirMethod.RefreshView("PirMain"); base.RemoveFromParent(); } } diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddControl.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddControl.cs index b10aae1..fbbb8c7 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddControl.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddControl.cs @@ -143,7 +143,7 @@ //绉婚櫎褰撳墠鐣岄潰 this.RemoveFromParent(); //鍙兘涔嬪墠宸茬粡瀛樺湪璇ョ晫闈� - Method.RemoveView("AddControlComplete"); + PirMethod.RemoveView("AddControlComplete"); AddControlComplete addControlComplete = new AddControlComplete(); MainPage.BasePageView.AddChidren(addControlComplete); addControlComplete.Show(control, false); @@ -162,7 +162,7 @@ View.Buttons buttons = new View.Buttons(); buttons.AddButton2(vv, control.status, (obj) => { - Method.ThreadSend(control, (responsePackNew) => + PirMethod.ThreadSend(control, (responsePackNew) => { var buttonObj = control.status.Find((c) => c.value == obj.value); if (buttonObj != null) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddControlComplete.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddControlComplete.cs index ba1829d..dd7c026 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddControlComplete.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/AddControlComplete.cs @@ -113,11 +113,11 @@ //娣诲姞鎵�鏈夐仴鎺у悕绉板垪琛� list.Add(Pir.currPir.FunctioList[i].name); } - Method method = new Method(); + PirMethod method = new PirMethod(); method.EditControlName(StringId.editName, list, control.name, (name, dialog) => { //鍙戦�佹洿鏂板悕绉板懡浠� - Method.ThreadSend(new Control { deviceId = control.deviceId, name = name }, (responsePackNew) => + PirMethod.ThreadSend(new Control { deviceId = control.deviceId, name = name }, (responsePackNew) => { //鍏抽棴绐楀彛 dialog.Close(); @@ -133,7 +133,7 @@ //鎵�灞炲尯鍩熺偣鍑讳簨浠� quyuPatchView.btnClick.MouseUpEventHandler += (sender, e) => { - Method method = new Method(); + PirMethod method = new PirMethod(); method.ManagementPosition(GetFunction(control.deviceId), () => { //鏇存柊鍖哄煙 @@ -145,12 +145,12 @@ { if (bool_library) {//缁х画娣诲姞搴撶殑閬ユ帶鍣� - Method.RefreshView("PirMain");//鍒锋柊鎸囩偣鐣岄潰 + PirMethod.RefreshView("PirMain");//鍒锋柊鎸囩偣鐣岄潰 this.RemoveFromParent(); } else {//缁х画娣诲姞鑷畾涔夌殑閬ユ帶鍣� - Method method = new Method(); + PirMethod method = new PirMethod(); method.AddControl(this, (controlDevice) => { AddButton addButton = new AddButton(); @@ -164,7 +164,7 @@ saveView.btnClick.MouseUpEventHandler += (sender, e) => { //鍒锋柊鎸囩偣鐣岄潰 - Method.RefreshView("PirMain"); + PirMethod.RefreshView("PirMain"); //绉婚櫎鎵�鏈夌晫闈� MainPage.BasePageView.RemoveViewByTag("PirView"); }; @@ -191,7 +191,7 @@ public override void RemoveFromParent() { //鍒锋柊鎸囧畾鐣岄潰 - Method.RefreshView("PirMain"); + PirMethod.RefreshView("PirMain"); base.RemoveFromParent(); } } diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/BrandList.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/BrandList.cs index 92d6fe4..1299e74 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/BrandList.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/BrandList.cs @@ -18,7 +18,8 @@ string s = brandList[str].brandName; strList.Add(s); } - JLCountrycode.CountryCodeView.Current.ShowSortSelection("閫夋嫨绾㈠鍝佺墝", GetDateList(strList), (countryName) => + var dicList = GetDateList(strList); + JLCountrycode.CountryCodeView.Current.ShowSortSelection(Language.StringByID(StringId.xuanzehongwaipinpai), dicList, (countryName) => { var brandObj = brandList.Find((c) => c.brandName == countryName); @@ -60,6 +61,7 @@ { if (libraryList.Count < 40) { + //闄愬埗40涓簱锛� libraryList.Add(library); } } @@ -68,7 +70,7 @@ } else { - Method method = new Method(); + PirMethod method = new PirMethod(); method.ErrorShow(responsePackNew, ""); } }, id, "鍝佺墝绾㈠鐮佸簱鍒楄〃"); diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/EditControl.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/EditControl.cs index 09c130c..0c14256 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/EditControl.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/EditControl.cs @@ -57,10 +57,10 @@ { list.Add(Pir.currPir.FunctioList[i].name); } - Method method = new Method(); + PirMethod method = new PirMethod(); method.EditControlName(StringId.editName,list, control.name, (name, dialog) => { - Method.ThreadSend(new Control { deviceId = control.deviceId, name = name }, (responsePackNew) => + PirMethod.ThreadSend(new Control { deviceId = control.deviceId, name = name }, (responsePackNew) => { dialog.Close(); editNameFLayout.btnEditText.Text = name; @@ -73,7 +73,7 @@ //閬ユ帶鍣ㄦ墍灞炲尯鍩熼�変腑浜嬩欢 areaFLayout.btnClick.MouseUpEventHandler += (sender, e) => { - Method method = new Method(); + PirMethod method = new PirMethod(); method.ManagementPosition(control, () => { //鏇存柊鍖哄煙 diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Matching.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Matching.cs index 1a97eef..cf58a30 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Matching.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Matching.cs @@ -176,14 +176,13 @@ code = 1; GetBtnText(testBtn, code, spk); }; - //娴嬭瘯Text testBtn.MouseUpEventHandler += (sender, e) => { var library = libraryList[index - 1]; var control = GetControl(spk, testBtn.TextID, library); //鍙戦�佹祴璇曠爜鍛戒护 - Method.ThreadSend(control, (responsePackNew) => { }, "搴撶爜娴嬭瘯", "frame", this, null); + PirMethod.ThreadSend(control, (responsePackNew) => { }, "搴撶爜娴嬭瘯", "frame", this, null); if (code == 3) { //鏍囪鏈�鍚庨偅涓爜 if_bool = true; @@ -216,7 +215,7 @@ { var library = libraryList[index-1]; var control = GetControl(spk, testBtn.TextID, library); - Method method = new Method(); + PirMethod method = new PirMethod(); //鍙戦�佸簱娣诲姞閬ユ帶鍣ㄥ懡浠� method.ThreadAddControl(control, this, (device) => { @@ -295,6 +294,136 @@ } } break; + case SPK.FanIr: + { + switch (textInt) + { + case StringId.dianyuan: + { + key = "on_off"; + value = "on"; + } + break; + case StringId.zhongsu: + { + key = "middle"; + value = ""; + } + break; + case StringId.yaotou: + { + key = "swing"; + value = ""; + } + break; + } + } + break; + case SPK.PjtIr: + { + switch (textInt) + { + case StringId.dianyuan: + { + key = "on_off"; + value = "on"; + } + break; + case StringId.yinliangjia: + { + key = "volume+"; + value = ""; + } + break; + case StringId.yinliangjian: + { + key = "volume-"; + value = ""; + } + break; + } + } + break; + case SPK.StbIr: + { + switch (textInt) + { + case StringId.dianyuan: + { + key = "on_off"; + value = "on"; + } + break; + case StringId.yinliangjia: + { + key = "volume+"; + value = ""; + } + break; + case StringId.yinliangjian: + { + key = "volume-"; + value = ""; + } + break; + } + } + break; + case SPK.DvDIr: + { + + } + break; + case SPK.PurifierIr: + { + switch (textInt) + { + case StringId.dianyuan: + { + key = "on_off"; + value = "on"; + } + break; + case StringId.zidong: + { + key = "auto"; + value = ""; + } + break; + case StringId.jingyin: + { + key = "mute"; + value = "0"; + } + break; + } + } + break; + case SPK.HeaterIr: + { + switch (textInt) + { + case StringId.dianyuan: + { + key = "on_off"; + value = "on"; + } + break; + case StringId.wendujia: + { + key = "temp+"; + value = ""; + } + break; + case StringId.wendujian: + { + key = "temp-"; + value = ""; + } + break; + } + } + break; } AttributesStatus buttonObj = new AttributesStatus(); buttonObj.key = key; @@ -373,6 +502,121 @@ } } break; + case SPK.FanIr: + { + switch (code) + { + case 1: + { + textValue = StringId.dianyuan; + } + break; + case 2: + { + textValue = StringId.zhongsu; + } + break; + case 3: + { + textValue = StringId.yaotou; + } + break; + } + } + break; + case SPK.PjtIr: + { + switch (code) + { + case 1: + { + textValue = StringId.dianyuan; + } + break; + case 2: + { + textValue = StringId.yinliangjia; + } + break; + case 3: + { + textValue = StringId.yinliangjian; + } + break; + } + } + break; + case SPK.StbIr: + { + switch (code) + { + case 1: + { + textValue = StringId.dianyuan; + } + break; + case 2: + { + textValue = StringId.yinliangjia; + } + break; + case 3: + { + textValue = StringId.yinliangjian; + } + break; + } + } + break; + case SPK.DvDIr: + { + + } + break; + case SPK.PurifierIr: + { + switch (code) + { + case 1: + { + textValue = StringId.dianyuan; + } + break; + case 2: + { + textValue = StringId.zidong; + } + break; + case 3: + { + textValue = StringId.jingyin; + } + break; + } + } + break; + case SPK.HeaterIr: + { + switch (code) + { + case 1: + { + textValue = StringId.dianyuan; + } + break; + case 2: + { + textValue = StringId.wendujia; + } + break; + case 3: + { + textValue = StringId.wendujian; + } + break; + } + } + break; } testBtn.TextID = textValue; } diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs index 49bab2e..721151e 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs @@ -61,12 +61,7 @@ }; middFLayout.AddChidren(addDevice); - if (Pir.currPir.FunctioList.Count < 10) - { - //10涓仴鎺у櫒灏变細闅愯棌娣诲姞鍥炬爣 - // middFLayout.AddChidren(addDevice); - addDevice.Visible = true; - } + #endregion #region 鐣岄潰鐐瑰嚮浜嬩欢 @@ -76,7 +71,7 @@ ////鍏抽棴鍒锋柊View锛� vv.EndHeaderRefreshing(); - Method.GetControlList(this, () => + PirMethod.GetControlList(this, () => { Application.RunOnMainThread(() => { @@ -108,7 +103,7 @@ //1=绌鸿皟;2=鐢佃;3=椋庢墖;4=鏈洪《鐩�;5=DVD/EVD/VCD;6=鎶曞奖浠�;7=鑷畾涔�; if (if_value == 7) { - Method method = new Method(); + PirMethod method = new PirMethod(); method.AddControl(this, (control) => { //鎴愬姛鍚庣Щ闄�; @@ -121,7 +116,7 @@ } else { - if (if_value == 3 || if_value == 4 || if_value == 5 || if_value == 6) + if (if_value == 6) { new TipPopView().FlashingBox(Language.StringByID(StringId.zanshibuzhichigaigongneng)); return; @@ -148,13 +143,18 @@ ///鍒濆鍖栫晫闈� UIView(vv); } - /// <summary> /// 鍔犺浇UI鐣岄潰 /// </summary> /// <param name="vv">涓婁笅婊戞帶浠�</param> private void UIView(VerticalRefreshLayout vv) { + if (Pir.currPir.FunctioList.Count < 10) + { + //10涓仴鎺у櫒灏变細闅愯棌娣诲姞鍥炬爣 + // middFLayout.AddChidren(addDevice); + addDevice.Visible = true; + } vv.RemoveAll(); #region 绾㈠瀹濆浘鏍� 鐗堟湰鍙� 鍚嶇О 鐘舵�� FrameLayout fLayout = new FrameLayout @@ -208,7 +208,7 @@ TipPopView tipPopView = new TipPopView(); tipPopView.TipBox(StringId.tip, text, (dialog) => { - Method.ThreadSend(new Control { deviceId=control.deviceId}, (responsePackNew) => + PirMethod.ThreadSend(new Control { deviceId=control.deviceId}, (responsePackNew) => { dialog.Close(); var function = Pir.currPir.FunctioList.Find((c) => c.sid == Function.sid); @@ -313,7 +313,7 @@ { if (tag) { - Method method = new Method(); + PirMethod method = new PirMethod(); method.ErrorShow(responsePackNew, ""); } } @@ -360,7 +360,7 @@ } else { - Method method = new Method(); + PirMethod method = new PirMethod(); method.ErrorShow(responsePackNew, ""); } }, id, "鍝佺墝鍒楄〃"); diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Method.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMethod.cs similarity index 90% rename from HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Method.cs rename to HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMethod.cs index 064080f..f8d4655 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Method.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMethod.cs @@ -6,7 +6,7 @@ namespace HDL_ON.UI.UI2.PersonalCenter.PirDevice { - public class Method + public class PirMethod { /// <summary> @@ -79,22 +79,22 @@ { View.TipView tipView = new View.TipView(); tipView.InputBox(frameLayout, "", (name, frame) => - { - if (Pir.currPir != null && Pir.currPir.FunctioList.Count < 10) - { - Control control = new Control(); - control.name = name; - control.type = "learn"; - control.spk = "ir.learn"; - control.deviceId = Pir.currPir.deviceId; - ThreadAddControl(control, frame, action); - } - else - { - View.TipView tt = new View.TipView(); - tt.TipBox(StringId.tip, StringId.bunengchaoguo10); - } - }, false); + { + if (Pir.currPir != null && Pir.currPir.FunctioList.Count < 10) + { + Control control = new Control(); + control.name = name; + control.type = "learn"; + control.spk = "ir.learn"; + control.deviceId = Pir.currPir.deviceId; + ThreadAddControl(control, frame, action); + } + else + { + View.TipView tt = new View.TipView(); + tt.TipBox(StringId.tip, StringId.bunengchaoguo10); + } + }, false); } /// <summary> @@ -223,7 +223,7 @@ { if (null == PirDevice.Pir.pirDeviceList.Find((c) => c.deviceId == pirJosn.deviceId)) - { + { PirDevice.Pir.pirDeviceList.Add(pirJosn); } } @@ -252,7 +252,7 @@ else { loading.Hide(); - Method method = new Method(); + PirMethod method = new PirMethod(); method.ErrorShow(null, "璇诲彇绾㈠瀹濆垪琛ㄥけ璐�"); } } @@ -329,24 +329,24 @@ public static void GetControlList(FrameLayout frame, Action action, Pir pirDevice) { ThreadSend(new Control { deviceId = pirDevice.deviceId }, (responsePackNew) => - { - var jArray = JArray.Parse(responsePackNew.Data.ToString()); - for (int a = 0; a < jArray.Count; a++) - { - var jay = jArray[a]; - //鏁版嵁杩斿簭鍒楀寲涓篖ogic瀵硅薄 - var str = Newtonsoft.Json.JsonConvert.SerializeObject(jay); - var pirJosn = Newtonsoft.Json.JsonConvert.DeserializeObject<Entity.Function>(str); - if (pirJosn != null) - { - if (null == pirDevice.FunctioList.Find((c) => c.deviceId == pirJosn.deviceId)) - { - pirDevice.FunctioList.Add(pirJosn); - } - } - } - action(); - }, "鑾峰彇閬ユ帶鍣ㄥ垪琛�", "frame", frame, null); + { + var jArray = JArray.Parse(responsePackNew.Data.ToString()); + for (int a = 0; a < jArray.Count; a++) + { + var jay = jArray[a]; + //鏁版嵁杩斿簭鍒楀寲涓篖ogic瀵硅薄 + var str = Newtonsoft.Json.JsonConvert.SerializeObject(jay); + var pirJosn = Newtonsoft.Json.JsonConvert.DeserializeObject<Entity.Function>(str); + if (pirJosn != null) + { + if (null == pirDevice.FunctioList.Find((c) => c.deviceId == pirJosn.deviceId)) + { + pirDevice.FunctioList.Add(pirJosn); + } + } + } + action(); + }, "鑾峰彇閬ユ帶鍣ㄥ垪琛�", "frame", frame, null); } /// <summary> @@ -373,7 +373,7 @@ /// <param name="frame">log鐖舵帶浠�</param> /// <param name="dialog">log鐖舵帶浠�</param> /// <param name="attributesStatus">瀛︿範鎸夐敭</param> - public static void ThreadSend(Control control, Action<ResponsePackNew> action, string str, string view, FrameLayout frame, Dialog dialog, Entity.AttributesStatus attributesStatus=null) + public static void ThreadSend(Control control, Action<ResponsePackNew> action, string str, string view, FrameLayout frame, Dialog dialog, Entity.AttributesStatus attributesStatus = null) { //鍔犺浇log @@ -434,7 +434,7 @@ } else { - Method method = new Method(); + PirMethod method = new PirMethod(); //鑷畾涔夐敊璇彁绀烘枃鏈� string eorroText = ""; if (str == "鍒犻櫎") @@ -565,6 +565,26 @@ } break; + case "14002": + { + str = Language.StringByID(StringId.bucunzaichanpin); + } + break; + case "10805": + { + str = Language.StringByID(StringId.shebeibucunzai); + } + break; + case "14006": + { + str = Language.StringByID(StringId.shebeibuzaixian); + } + break; + case "9": + { + str = Language.StringByID(StringId.wangguanshebeibuzaixian); + } + break; case "2": { str = Language.StringByID(StringId.xitongweihuzhong); @@ -671,13 +691,10 @@ public string id = ""; public List<Objects> objects = new List<Objects>(); public string time_stamp = string.Empty; - - } [Serializable] public class Objects { - public string sid = string.Empty; public string spk = string.Empty; public List<Attributes> attributes = new List<Attributes>(); diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirSend.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirSend.cs index bd3c0d0..ced74cc 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirSend.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirSend.cs @@ -171,13 +171,13 @@ var responsePackNew = RequestServerhomeId(jObject, NewAPI.API_POST_Ir_CodeStudy); if (responsePackNew != null && responsePackNew.Code == "0" && responsePackNew.Data.ToString() != "") { - Method method = new Method(); - Method.buttondata = ""; + PirMethod method = new PirMethod(); + PirMethod.buttondata = ""; cloud = method.MqttDate("鎸夐敭", control.sid, 25); } else { - Method method = new Method(); + PirMethod method = new PirMethod(); method.ErrorShow(responsePackNew, ""); } } diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/SetPir.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/SetPir.cs index 74c6a9e..6d9da0c 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/SetPir.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/SetPir.cs @@ -81,10 +81,10 @@ editNameFLayout.btnClick.MouseUpEventHandler += (sender, e) => { List<string> list = new List<string>(); - Method method = new Method(); + PirMethod method = new PirMethod(); method.EditControlName(StringId.editName, list, Pir.currPir.name, (name, dialog) => { - Method.ThreadSend(new Control { deviceId = Pir.currPir.deviceId, name = name }, (responsePackNew) => + PirMethod.ThreadSend(new Control { deviceId = Pir.currPir.deviceId, name = name }, (responsePackNew) => { dialog.Close(); editNameFLayout.btnEditText.Text = name; @@ -102,7 +102,7 @@ tipPopView.TipBox(StringId.tip, text, (dialog) => { - Method.ThreadSend(new Control { deviceId = Pir.currPir.deviceId }, (responsePackNew) => + PirMethod.ThreadSend(new Control { deviceId = Pir.currPir.deviceId }, (responsePackNew) => { var pir = Pir.pirDeviceList.Find((c) => c.deviceId == Pir.currPir.deviceId); if (pir != null) @@ -111,7 +111,7 @@ } dialog.Close(); this.RemoveFromParent(); - Method.RemoveView("PirMain"); + PirMethod.RemoveView("PirMain"); }, "鍒犻櫎", "dialog", null, dialog); }, () => @@ -131,7 +131,7 @@ public override void RemoveFromParent() { //鍒锋柊PirMain鐣岄潰 - Method.RefreshView("PirMain"); + PirMethod.RefreshView("PirMain"); base.RemoveFromParent(); } diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/Buttons.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/Buttons.cs index 6a79288..139d2a6 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/Buttons.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/Buttons.cs @@ -265,14 +265,14 @@ break; case 5: { - iconPath = "PirIcon/dvd.png"; - deviceNameIndex = StringId.dvd; + iconPath = "PirIcon/projector.png"; + deviceNameIndex = StringId.touyingyi; } break; case 6: { - iconPath = "PirIcon/projector.png"; - deviceNameIndex = StringId.touyingyi; + iconPath = "PirIcon/dvd.png"; + deviceNameIndex = StringId.dvd; } break; case 7: @@ -310,29 +310,28 @@ case 3: { //椋庢墖 - // type = "fan-" + SPK.ElectricFan; + type = "fan-" + SPK.FanIr; } break; case 4: { //鏈洪《鐩� - // type = "set_top_box-" + SPK.ElectricTV; + type = "set_top_box-" + SPK.StbIr; } break; case 5: { - //褰辩鏈� - // type = "dvd-" + SPK.ElectricTV; + //鎶曞奖浠� + type = "projector-" + SPK.PjtIr; } break; case 6: { - //鎶曞奖浠� - // type = "projector-" + SPK.ElectricTV; + //褰辩鏈� + type = "dvd-" + SPK.DvDIr; + } break; - - } return type; } diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/PirView.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/PirView.cs index d2fe09a..109b77c 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/PirView.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/PirView.cs @@ -38,7 +38,7 @@ { Y = Application.GetRealHeight(16), X = Application.GetRealWidth(72), - Width = Application.GetRealWidth(120), + Width = Application.GetRealWidth(120+80), Height = Application.GetRealHeight(20), //Text = pirDevice.name, TextAlignment = TextAlignment.CenterLeft, diff --git a/HDL_ON/UI/UI2/FuntionControlView/Video/VideoMethod.cs b/HDL_ON/UI/UI2/FuntionControlView/Video/VideoMethod.cs index 72536fd..c7d4797 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Video/VideoMethod.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Video/VideoMethod.cs @@ -189,7 +189,7 @@ } else { - Method method = new Method(); + PirMethod method = new PirMethod(); //鑷畾涔夐敊璇彁绀烘枃鏈� string eorroText = ""; if (str == "鑾峰彇鍙瀵硅") diff --git a/HDL_ON/UI/UI2/FuntionControlView/Video/View/ShowDialog.cs b/HDL_ON/UI/UI2/FuntionControlView/Video/View/ShowDialog.cs index 814a7ed..cbb2043 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Video/View/ShowDialog.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Video/View/ShowDialog.cs @@ -130,7 +130,7 @@ Height = Application.GetRealHeight(32), Width = Application.GetRealWidth(82+5), TextColor = MusicColor.SelectedColor, - TextSize =20,//24 + TextSize =18,//24 TextAlignment = TextAlignment.Center, IsBold = true, Text = str1, -- Gitblit v1.8.0