HDL Home App 第二版本 旧平台金堂用 正在使用
hxb
2022-08-30 25429f085093d89d543a0b90e30d0d62d1b7dac9
ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceGeneralInformationForm.cs
@@ -63,7 +63,7 @@
            }
            else
            {
                rowName.AddMostRightView(Language.StringByID(myInfoType.ConcreteTextId), 600);
                rowName.AddMostRightView(myInfoType.ConcreteText, 600);
            }
            rowName.AddBottomLine();
@@ -116,8 +116,16 @@
            var rowSerial = new FrameRowControl(listView.rowSpace / 2);
            rowSerial.UseClickStatu = false;
            listView.AddChidren(rowSerial);
            rowSerial.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uSerialNumber), 400);
            rowSerial.AddMostRightView(listDevice[0].SerialNumber != string.Empty ? listDevice[0].SerialNumber : listDevice[0].DeviceAddr, 600);
            rowSerial.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uSerialNumber), 400);
            if (Common.LocalDevice.Current.IsHdlDevice(listDevice[0]) == false)
            {
                //第三方设备固定使用Mac
                rowSerial.AddMostRightView(listDevice[0].DeviceAddr, 600);
            }
            else
            {
                rowSerial.AddMostRightView(listDevice[0].SerialNumber != string.Empty ? listDevice[0].SerialNumber : listDevice[0].DeviceAddr, 600);
            }
            rowSerial.AddBottomLine();
            //MAC
@@ -129,11 +137,15 @@
            rowMac.AddBottomLine();
            //制造商
            string strProtuct = listDevice[0].DriveCode > 0 ? "HDL" : listDevice[0].ManufacturerName;
            string strProtuct = listDevice[0].ManufacturerName;
            if (listDevice[0].DriveCode > 0 || Common.LocalDevice.Current.IsHdlDevice(listDevice[0]) == true)
            {
                strProtuct = "广州河东科技有限公司";
            }
            var rowProtuct = new FrameRowControl(listView.rowSpace / 2);
            rowProtuct.UseClickStatu = false;
            listView.AddChidren(rowProtuct);
            rowProtuct.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uManufacturerName), 400);
            rowProtuct.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uManufacturerName), 600);
            rowProtuct.AddMostRightView(strProtuct, 600);
            listView.AdjustRealHeight(Application.GetRealHeight(23));