gxc
2020-02-28 66a9965c44ecc32a6696abca876ab9d1cd091584
ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceDryContactSettionForm.cs
@@ -42,6 +42,10 @@
        /// 设备具体类型的信息
        /// </summary>
        private DeviceEnumInfo deviceEnumInfo = null;
        /// <summary>
        /// 信息编辑控件
        /// </summary>
        private InformationEditorControl tableContr = null;
        #endregion
@@ -77,15 +81,11 @@
            this.ClearBodyFrame();
            //初始化桌布
            var tableContr = new InformationEditorControl();
            this.tableContr = new InformationEditorControl();
            this.listview = tableContr.InitControl(bodyFrameLayout, Language.StringByID(R.MyInternationalizationString.uDeviceEditor), 562, 1175);
            //初始化设备回路图标
            this.InitDeviceEpointIcon();
            //初始化桌布完成
            tableContr.FinishInitControl(bodyFrameLayout, this.listview);
            tableContr = null;
            //保存
            var btnFinish = new BottomClickButton();
@@ -210,6 +210,8 @@
            this.AddBindRow(listRelayInfo7);
            //添加背光灯行
            this.AddBackLightRow();
            //初始化桌布完成
            tableContr.FinishInitControl(bodyFrameLayout, this.listview);
        }
        #endregion
@@ -250,7 +252,7 @@
            //{
            //    menuCount = 2;
            //}
            var frame = new TopRightMenuControl(menuCount);
            var frame = new TopRightMenuControl(menuCount, 1);
            if (canTest == true)
            {
                //定位
@@ -333,7 +335,7 @@
                            //选择的是传感器输入
                            value = 65535;
                        }
                        var result = await HdlDevicePanelLogic.Current.EditorDryContactFunction((Panel)nowSelectDevice, value);
                        var result = await HdlDevicePanelLogic.Current.EditorDryContactThirdFunction((Panel)nowSelectDevice, value);
                        if (result == true)
                        {
                            //重新初始化菜单行,隐藏或者开放绑定目标菜单
@@ -439,7 +441,8 @@
            frameBorder.Gravity = Gravity.CenterHorizontal;
            frameBorder.Width = Application.GetRealWidth(887);
            frameBorder.Height = Application.GetRealHeight(423);
            frameBorder.BorderWidth = (uint)Application.GetMinRealAverage(3);
            frameBorder.Radius = (uint)Application.GetRealHeight(6);
            frameBorder.BorderWidth = 1;
            frameBorder.BorderColor = 0xffd0d0d0;
            bodyFrameLayout.AddChidren(frameBorder);
@@ -513,7 +516,7 @@
                btnIcon.Name = "btn" + listDevice[i].DeviceEpoint;
                btnIcon.X = defultXX + i * (frame.Height + space);
                btnIcon.Radius = (uint)frame.Height / 2;
                btnIcon.BorderWidth = (uint)Application.GetMinRealAverage(6);
                btnIcon.BorderWidth = 2;
                btnIcon.BorderColor = 0xff979797;
                btnIcon.TextAlignment = TextAlignment.Center;
                btnIcon.TextColor = UserCenterColor.Current.TextGrayColor3;