黄学彪
2020-12-17 9f326f4000847e6167d8166fa2f6a66f53cb3734
ZigbeeApp/Shared/Phone/UserCenter/Gateway/Update/GatewayVirtualDriveInfoForm.cs
@@ -53,7 +53,7 @@
            {
                //创建一个可以展开和收缩的FrameLayout,相当于菜单栏
                var frameTable = new FrameListControl(12);
                frameTable.Height = ControlCommonResourse.ListViewRowHeight + listView.rowSpace;
                frameTable.Height = HdlControlResourse.ListViewRowHeight + listView.rowSpace;
                listView.AddChidren(frameTable);
                //驱动号菜单
@@ -63,17 +63,17 @@
                rowMenu.AddBottomLine();
                var btnRight = rowMenu.AddMostRightEmptyIcon(58, 58);
                btnRight.UnSelectedImagePath = "Item/Next.png";
                btnRight.UnSelectedImagePath = "Item/RightNext.png";
                btnRight.SelectedImagePath = "Item/Down.png";
                rowMenu.ButtonClickEvent += (sender, e) =>
                {
                    btnRight.IsSelected = !btnRight.IsSelected;
                    //变更的高度,默认为列表隐藏
                    int heightValue = ControlCommonResourse.ListViewRowHeight + listView.rowSpace;
                    int heightValue = HdlControlResourse.ListViewRowHeight + listView.rowSpace;
                    if (btnRight.IsSelected == true)
                    {
                        //展开模式时,扩大依据为:它有几个子控件
                        heightValue = frameTable.ChildrenCount * (ControlCommonResourse.ListViewRowHeight + frameTable.rowSpace);
                        heightValue = frameTable.ChildrenCount * (HdlControlResourse.ListViewRowHeight + frameTable.rowSpace);
                    }
                    //自身高度变更
                    frameTable.Height = heightValue;
@@ -95,7 +95,7 @@
                //镜像ID
                var row1 = new FrameRowControl(frameTable.rowSpace / 2);
                row1.LeftOffset = Application.GetRealWidth(167) - ControlCommonResourse.XXLeft;
                row1.LeftOffset = Application.GetRealWidth(167) - HdlControlResourse.XXLeft;
                row1.UseClickStatu = false;
                frameTable.AddChidren(row1);
                row1.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uImageId), 300);
@@ -104,25 +104,25 @@
                //固件版本
                var row2 = new FrameRowControl(frameTable.rowSpace / 2);
                row2.LeftOffset = Application.GetRealWidth(167) - ControlCommonResourse.XXLeft;
                row2.LeftOffset = Application.GetRealWidth(167) - HdlControlResourse.XXLeft;
                row2.UseClickStatu = false;
                frameTable.AddChidren(row2);
                row2.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uFirmwareVersion), 300);
                row2.AddMostRightView(Common.LocalDevice.Current.AppendVersion(listCode[i].DriveFwVersion), 400);
                row2.AddMostRightView(HdlDeviceCommonLogic.Current.AppendVersion(listCode[i].DriveFwVersion), 400);
                row2.AddBottomLine();
                //固件日期
                var row3 = new FrameRowControl(frameTable.rowSpace / 2);
                row3.LeftOffset = Application.GetRealWidth(167) - ControlCommonResourse.XXLeft;
                row3.LeftOffset = Application.GetRealWidth(167) - HdlControlResourse.XXLeft;
                row3.UseClickStatu = false;
                frameTable.AddChidren(row3);
                row3.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uHardwareDate), 300);
                row3.AddMostRightView("XXXXXXX", 400);
                row3.AddMostRightView("", 400);
                row3.AddBottomLine();
                //硬件版本
                var row4 = new FrameRowControl(frameTable.rowSpace / 2);
                row4.LeftOffset = Application.GetRealWidth(167) - ControlCommonResourse.XXLeft;
                row4.LeftOffset = Application.GetRealWidth(167) - HdlControlResourse.XXLeft;
                row4.UseClickStatu = false;
                frameTable.AddChidren(row4);
                row4.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uHardwareVersion), 300);