wei
2020-11-27 1293fea19c6a2b558986856e301d5218c1979692
HDL_ON/UI/UI2/1-HomePage/HomePage.cs
@@ -136,9 +136,8 @@
                {
                    System.Threading.Tasks.Task.Run(() =>
                        {
                            DriverLayer.Control.Ins.OpenUdp(6000);
                            //DB_ResidenceData.residenceData.GatewayType = 0;
                            //DriverLayer.Control.Ins.SearchLoaclGateway();
                            DB_ResidenceData.residenceData.GatewayType = 0;
                            DriverLayer.Control.Ins.SearchLoaclGateway();
                        });
                };
#endif
@@ -350,7 +349,8 @@
            System.Threading.Tasks.Task.Run(() =>
            {
                //DriverLayer.Control.Ins.SearchLoaclGateway();
                DB_ResidenceData.residenceData.GatewayType = 0;
                DriverLayer.Control.Ins.SearchLoaclGateway();
            });
        }
@@ -703,14 +703,14 @@
                            btnPower.IsSelected = false;
                            Music.SendMethod.Pause(a31player);
                            a31player.A31PlayStatus.status = "pause";
                            a31player.trait_on_off.curValue = "off";
                            a31player.trait_on_off.value = "off";
                        }
                        else
                        {
                            btnPower.IsSelected = true;
                            Music.SendMethod.Play(a31player);
                            a31player.A31PlayStatus.status = "play";
                            a31player.trait_on_off.curValue = "on";
                            a31player.trait_on_off.value = "on";
                        }
                        UpdataFunctionStates(a31player);
                    };