黄学彪
2020-01-10 985abd7ee6049147119518aa41fb2d08c0cfc40d
ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceGeneralInformationForm.cs
@@ -38,6 +38,12 @@
            this.ClearBodyFrame();
            var listDevice = Common.LocalDevice.Current.GetDevicesByMac(i_deviceMac);
            var oTADevice = Common.LocalDevice.Current.GetOTADevice(i_deviceMac);
            if (listDevice.Count == 0)
            {
                //针对单纯只有一个200端点的设备
                listDevice.Add(oTADevice);
            }
            var listView = new VerticalListControl(12);
            listView.BackgroundColor = UserCenterColor.Current.White;
@@ -76,9 +82,8 @@
                rowImage.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uImageId), 400);
                rowImage.AddMostRightView(otaDevice.ImgTypeId.ToString(), 400);
                rowImage.AddBottomLine();
            }
            }
            var oTADevice = Common.LocalDevice.Current.GetOTADevice(listDevice[0].DeviceAddr);
            if (oTADevice != null)
            {
                //固件版本