陈嘉乐
2021-03-22 551e82d33c9c23442e0ecd320bcfc752f300d9ef
HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs
@@ -334,7 +334,16 @@
        {
            button.MouseUpEventHandler = (sender, e) =>
            {
                new TV().ControlTV(InfraredCode_TV.Power, tV);
                if (DB_ResidenceData.Instance.GatewayType == 1)
                {
                    Dictionary<string, string> d = new Dictionary<string, string>();
                    d.Add("on_off", "");
                    Control.Ins.SendWriteCommand(tV, d);
                }
                else
                {
                    new TV().ControlTV(InfraredCode_TV.Power, tV);
                }
            };
        }