HDL Home App 第二版本 旧平台金堂用 正在使用
黄学彪
2020-12-14 e90209beae6a4e822cecb18e6889f8bda23f630e
ZigbeeApp/Shared/Phone/UserCenter/Gateway/Update/GatewayVirtualDriveInfoForm.cs
@@ -53,7 +53,7 @@
            {
                //创建一个可以展开和收缩的FrameLayout,相当于菜单栏
                var frameTable = new FrameListControl(12);
                frameTable.Height = HdlControlResourse.ListViewRowHeight + listView.rowSpace;
                frameTable.Height = ControlCommonResourse.ListViewRowHeight + listView.rowSpace;
                listView.AddChidren(frameTable);
                //驱动号菜单
@@ -69,11 +69,11 @@
                {
                    btnRight.IsSelected = !btnRight.IsSelected;
                    //变更的高度,默认为列表隐藏
                    int heightValue = HdlControlResourse.ListViewRowHeight + listView.rowSpace;
                    int heightValue = ControlCommonResourse.ListViewRowHeight + listView.rowSpace;
                    if (btnRight.IsSelected == true)
                    {
                        //展开模式时,扩大依据为:它有几个子控件
                        heightValue = frameTable.ChildrenCount * (HdlControlResourse.ListViewRowHeight + frameTable.rowSpace);
                        heightValue = frameTable.ChildrenCount * (ControlCommonResourse.ListViewRowHeight + frameTable.rowSpace);
                    }
                    //自身高度变更
                    frameTable.Height = heightValue;
@@ -95,7 +95,7 @@
                //镜像ID
                var row1 = new FrameRowControl(frameTable.rowSpace / 2);
                row1.LeftOffset = Application.GetRealWidth(167) - HdlControlResourse.XXLeft;
                row1.LeftOffset = Application.GetRealWidth(167) - ControlCommonResourse.XXLeft;
                row1.UseClickStatu = false;
                frameTable.AddChidren(row1);
                row1.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uImageId), 300);
@@ -104,16 +104,16 @@
                //固件版本
                var row2 = new FrameRowControl(frameTable.rowSpace / 2);
                row2.LeftOffset = Application.GetRealWidth(167) - HdlControlResourse.XXLeft;
                row2.LeftOffset = Application.GetRealWidth(167) - ControlCommonResourse.XXLeft;
                row2.UseClickStatu = false;
                frameTable.AddChidren(row2);
                row2.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uFirmwareVersion), 300);
                row2.AddMostRightView(HdlDeviceCommonLogic.Current.AppendVersion(listCode[i].DriveFwVersion), 400);
                row2.AddMostRightView(Common.LocalDevice.Current.AppendVersion(listCode[i].DriveFwVersion), 400);
                row2.AddBottomLine();
                //固件日期
                var row3 = new FrameRowControl(frameTable.rowSpace / 2);
                row3.LeftOffset = Application.GetRealWidth(167) - HdlControlResourse.XXLeft;
                row3.LeftOffset = Application.GetRealWidth(167) - ControlCommonResourse.XXLeft;
                row3.UseClickStatu = false;
                frameTable.AddChidren(row3);
                row3.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uHardwareDate), 300);
@@ -122,7 +122,7 @@
                //硬件版本
                var row4 = new FrameRowControl(frameTable.rowSpace / 2);
                row4.LeftOffset = Application.GetRealWidth(167) - HdlControlResourse.XXLeft;
                row4.LeftOffset = Application.GetRealWidth(167) - ControlCommonResourse.XXLeft;
                row4.UseClickStatu = false;
                frameTable.AddChidren(row4);
                row4.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uHardwareVersion), 300);