From b0505adb3ea1ba3f1812ee1046499410c8ea57f5 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期一, 18 五月 2020 16:09:46 +0800 Subject: [PATCH] 225552552525 --- ZigbeeApp/Shared/Phone/Device/Logic/Send.cs | 34 +++++++++++++++++++++++++++++++++- 1 files changed, 33 insertions(+), 1 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/Send.cs b/ZigbeeApp/Shared/Phone/Device/Logic/Send.cs old mode 100755 new mode 100644 index 8c89431..c8d17ed --- a/ZigbeeApp/Shared/Phone/Device/Logic/Send.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/Send.cs @@ -180,7 +180,7 @@ }); } ///<summary> - /// 鍒犻櫎閫昏緫 + /// 鍒犻櫎閫昏緫(0鎴愬姛,鍏跺畠鍊�:澶辫触) /// </summary> public static async System.Threading.Tasks.Task<int> DelLogic(int LogicId) { @@ -499,6 +499,15 @@ ["AccountName"] = dictionary["AccountName"], }; + + if (dictionary.ContainsKey("Option4")) + { + accounts1.Add("Option4",dictionary["Option4"]); + } + if (dictionary.ContainsKey("Option2")) + { + accounts1.Add("Option2", int.Parse(dictionary["Option2"])); + } accounts.Add(accounts1); } } @@ -517,6 +526,21 @@ accounts.Add(location); } break; + case 8: + { + var accounts1 = new JObject(); + if (dictionary.ContainsKey("Option4")) + { + accounts1.Add("Option4", dictionary["Option4"]); + } + if (dictionary.ContainsKey("Option2")) + { + accounts1.Add("Option2", int.Parse(dictionary["Option2"])); + } + accounts.Add(accounts1); + } + break; + } } @@ -1113,6 +1137,14 @@ /// <param name="logic">閫昏緫瀵硅薄</param> public static void Zj(bool tag, Common.Logic logic) { + + if (string.IsNullOrEmpty(logic.LogicCustomPushText)) + { + ///榛樿鎺ㄩ�佽嚜瀹氫箟鍐呭 + string str = logic.LogicName + Language.StringByID(R.MyInternationalizationString.defaulttext); + logic.LogicCustomPushText = str; + } + new System.Threading.Thread(() => { if (logic.LogicId != 0) -- Gitblit v1.8.0