1
wei
2021-03-30 1d25d355cb0efc9685a8ad5c870b5941b95ce9b8
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);
                }
            };
        }