wxr
2020-10-14 6c8946b21635246355ec41f216426783685a14b2
HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs
@@ -212,7 +212,7 @@
            {
                btnClose.IsSelected = false;
                curtain.trait_on_off.value = "off";
                //Control.Send(CommandType_A.write, curtain);
                curtain.percent = 0;
                System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>();
                d.Add("on_off",curtain.trait_on_off.value.ToString());
                Control.SendWriteCommand(curtain, d);
@@ -226,7 +226,7 @@
            {
                btnOpen.IsSelected = false;
                curtain.trait_on_off.value = "on";
                //Control.Send(CommandType_A.write, curtain);
                curtain.percent = 100;
                System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>();
                d.Add("on_off", curtain.trait_on_off.value.ToString());
                Control.SendWriteCommand(curtain, d);