HDL Home App 第二版本 旧平台金堂用 正在使用
ZigbeeApp/Shared/Phone/MainPage/ControlForm/Base/DeviceDetailCardCommonForm.cs
@@ -124,13 +124,24 @@
      //白色背景控件
      var frameWhiteBack = new FrameLayout();
      frameWhiteBack.Y = Application.GetRealHeight(115);
      frameWhiteBack.Width = Application.GetRealWidth(this.backFrameWidth);
      frameWhiteBack.Height = Application.GetRealHeight(this.backFrameHeight);
      frameWhiteBack.BackgroundColor = UserCenterColor.Current.White;
      frameWhiteBack.Radius = (uint)Application.GetRealHeight(17);
      frameWhiteBack.Gravity = Gravity.CenterHorizontal;
      bodyFrameLayout.AddChidren(frameWhiteBack);
      bodyFrameLayout.AddChidren(frameWhiteBack);
      if (this.device.Type == DeviceType.TemperatureSensor)
      {
        //获取设备类型
        var deviceEnumInfo = Common.LocalDevice.Current.GetMyDeviceEnumInfo(new List<CommonDevice>() { device });
        //空气质量传感器 ,卡片比较大
        if (deviceEnumInfo.ConcreteType == Common.DeviceConcreteType.AirQualitySensor)
        {
          frameWhiteBack.Y = Application.GetRealHeight(98);
        }
      }
      //设备名称
      this.btnDeviceName = new NormalViewControl(100, 60, true);