gxc
2019-12-25 944b87b6bcccb095cd73f13f4410fb20faf48f74
ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceDetailInfo.cs
@@ -162,6 +162,8 @@
                BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor
            };
            bodyFrameLayout.AddChidren(infoFL);
            var rectCornerID = HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight;
            infoFL.SetCornerWithSameRadius(Application.GetRealHeight(50), rectCornerID);
            var tipBtn = new Button
            {
@@ -223,7 +225,7 @@
                functionTypeRow.ClickBtn.MouseUpEventHandler += (sender, e) =>
                {
                    var DfunctionType = device.CommonDevice.DfunctionType;
                    //功能类型的翻译名字
                    int nowSelectNo = 1;
                    string strType = string.Empty;
@@ -247,9 +249,10 @@
                    listText.Add(Language.StringByID(R.MyInternationalizationString.uSwitch));//开关
                    listText.Add(Language.StringByID(R.MyInternationalizationString.uLight));//灯光
                    listText.Add(Language.StringByID(R.MyInternationalizationString.uSocket1));//插座
                    var title = Language.StringByID(R.MyInternationalizationString.uSelectFunctionType);//标题:选择功能类型
                                                                                               //标题:选择功能类型
                    var title = Language.StringByID(R.MyInternationalizationString.uSelectFunctionType);
                    var form = new BottomDialogSelectForm();
                    var form = new BottomItemSelectForm();
                    form.AddForm(title, listText, nowSelectNo);
                    form.FinishSelectEvent += (selectNo) =>
                    {
@@ -271,19 +274,19 @@
                    };
                };
                sharedRow = new DeviceInfoRow(723);
                sharedRow.Init();
                sharedRow.SetTipTitle($"{Language.StringByID(R.MyInternationalizationString.Share)} : ");
                sharedRow.SetTitle("2人");
                infoFL.AddChidren(sharedRow);
                //sharedRow = new DeviceInfoRow(723);
                //sharedRow.Init();
                //sharedRow.SetTipTitle($"{Language.StringByID(R.MyInternationalizationString.Share)} : ");
                //sharedRow.SetTitle("2人");
                //infoFL.AddChidren(sharedRow);
            }
            else
            {
                sharedRow = new DeviceInfoRow(585);
                sharedRow.Init();
                sharedRow.SetTipTitle($"{Language.StringByID(R.MyInternationalizationString.Share)} : ");
                sharedRow.SetTitle("2人");
                infoFL.AddChidren(sharedRow);
                //sharedRow = new DeviceInfoRow(585);
                //sharedRow.Init();
                //sharedRow.SetTipTitle($"{Language.StringByID(R.MyInternationalizationString.Share)} : ");
                //sharedRow.SetTitle("2人");
                //infoFL.AddChidren(sharedRow);
            }
            var confirmBtn = new CommonForm.CompleteButton(962, 907, 127);