From 5cd12e73a667fcf0d831b13c4734911743771147 Mon Sep 17 00:00:00 2001 From: WJC <wjc@hdlchina.com.cn> Date: 星期四, 02 一月 2020 11:03:06 +0800 Subject: [PATCH] 2020-01-02-01 --- ZigbeeApp/Shared/Phone/Device/Logic/LogicCommunalPage.cs | 14 +++----------- 1 files changed, 3 insertions(+), 11 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/LogicCommunalPage.cs b/ZigbeeApp/Shared/Phone/Device/Logic/LogicCommunalPage.cs index b70c646..8d5a0a6 100644 --- a/ZigbeeApp/Shared/Phone/Device/Logic/LogicCommunalPage.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/LogicCommunalPage.cs @@ -1984,7 +1984,7 @@ custompushback.MouseUpEventHandler += customclick; custompushRowLayout.MouseUpEventHandler += customclick; bool tag = false;//鏍囪寮�鍏崇姸鎬�; - btnswitch.MouseUpEventHandler += (sender1, e1) => + btnswitch.MouseUpEventHandler +=(sender1, e1) => { btnswitch.IsSelected = !btnswitch.IsSelected; if (btnswitch.IsSelected) @@ -1992,10 +1992,6 @@ tag = true; custompushFrameLayout.Height = Application.GetRealHeight(160); Common.Logic.CurrentLogic.LogicIsCustomPushText = 1; - if (Common.Logic.CurrentLogic.LogicId != 0) - { - Send.Data("娣诲姞/鏇存柊", "/App/HomeLogicConfig", "POST"); - } } else @@ -2003,12 +1999,8 @@ tag = false; custompushFrameLayout.Height = Application.GetRealHeight(0); Common.Logic.CurrentLogic.LogicIsCustomPushText = 0; - if (Common.Logic.CurrentLogic.LogicId != 0) - { - Send.Data("鍒犻櫎", "/App/DelHomeLogicConfig", "POST"); - } - } + Send.Zj(tag,Common.Logic.CurrentLogic); }; if (Common.Logic.CurrentLogic.LogicIsCustomPushText == 0) { @@ -2056,7 +2048,7 @@ Common.Logic.LogicList.Add(Common.Logic.CurrentLogic); if (tag) { - Send.Data("娣诲姞/鏇存柊", "/App/HomeLogicConfig", "POST"); + Send.Zj(tag, Common.Logic.CurrentLogic); } } } -- Gitblit v1.8.0