JLChen
2021-03-12 9c8a5408b707322bc195b5dbce07aa30bd539cc7
HDL_ON/UI/UI2/4-PersonalCenter/AddDevice/AddMiniRemoteControlDirection4Page.cs
@@ -62,7 +62,8 @@
            bodyFrameLayout.BackgroundColor = UI.CSS.CSS_Color.MainBackgroundColor;
            //添加接收蓝牙反馈的事件
            HdlAndroidBluetoothLogic.Current.AddReceiveEvent(this.BluetoothReceiveEvent);
            HdlBluetoothLogic.Current.AddReceiveEvent(this.BluetoothReceiveEvent);
            //添加云端反馈事件
            HdlCloudReceiveLogic.Current.AddCloudReceiveEvent("AddMiniRemoteControlDirection4Page", this.CloudReceiveEvent);
@@ -258,9 +259,7 @@
        #endregion
        #region ■ 发送账号和密码给蓝牙_______________
#if __IOS__
#endif
#if __Android__
        /// <summary>
        /// 发送账号和密码给蓝牙
        /// </summary>
@@ -269,9 +268,8 @@
            //获取发送到蓝牙的数据
            var sendData = this.GetSendToBluetoothData();
            //不等待
            HdlAndroidBluetoothLogic.Current.SendData(sendData);
            HdlBluetoothLogic.Current.SendData(sendData);
        }
#endif
        #endregion
@@ -394,7 +392,7 @@
        public override void CloseFormBefore()
        {
            //摧毁蓝牙
            HdlAndroidBluetoothLogic.Current.Dispone();
            HdlBluetoothLogic.Current.Dispone();
            HdlCloudReceiveLogic.Current.RemoveCloudReceiveEvent("AddMiniRemoteControlDirection4Page");
            base.CloseFormBefore();