HDL Home App 第二版本 旧平台金堂用 正在使用
xm
2020-07-31 ecba45c93391066bc30c7bd602c3a7683fbb99a7
ZigbeeApp/Shared/Phone/MainPage/DeviceDetailInfoForm.cs
@@ -104,7 +104,7 @@
            var btnBelongType = new NormalViewControl(700, 62, true);
            btnBelongType.Y = btnPic.Bottom + Application.GetRealHeight(35);
            btnBelongType.Gravity = Gravity.CenterHorizontal;
            btnBelongType.TextID = infoType.BeloneTextId;
            btnBelongType.Text = infoType.BeloneText;
            btnBelongType.TextSize = 15;
            btnBelongType.TextAlignment = TextAlignment.Center;
            listBackControl.frameTable.AddChidren(btnBelongType);
@@ -216,7 +216,7 @@
            var btnBelongType = new NormalViewControl(700, 62, true);
            btnBelongType.Y = btnPic.Bottom + Application.GetRealHeight(35);
            btnBelongType.Gravity = Gravity.CenterHorizontal;
            btnBelongType.TextID = infoType.BeloneTextId;
            btnBelongType.Text = infoType.BeloneText;
            btnBelongType.TextSize = 15;
            btnBelongType.TextAlignment = TextAlignment.Center;
            listBackControl.frameTable.AddChidren(btnBelongType);
@@ -314,11 +314,11 @@
        /// 设备重命名
        /// </summary>
        /// <param name="i_deviceName">deviceName.</param>
        private async void DeviceReName(string i_deviceName, bool closeForm)
        private void DeviceReName(string i_deviceName, bool closeForm)
        {
            //修改MAC名
            string deviceName = i_deviceName.Trim();
            var result = await LocalDevice.Current.ReName(this.device, deviceName);
            var result = LocalDevice.Current.ReName(this.device, deviceName);
            if (result == false)
            {
                return;