From 6d73bf6e816570291865674bef8bce8972e4de3f Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期三, 01 十二月 2021 16:32:57 +0800 Subject: [PATCH] 2021-12-01-01 --- HDL_ON/UI/UI2/FuntionControlView/Electrical/IrLearnPage.cs | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Electrical/IrLearnPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Electrical/IrLearnPage.cs index 1c95f32..c576ebf 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Electrical/IrLearnPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Electrical/IrLearnPage.cs @@ -45,7 +45,6 @@ var row = new FrameLayout() { - //Width = Application.GetRealWidth(200), Height = Application.GetRealHeight(56), }; contentView.AddChidren(row); @@ -53,11 +52,10 @@ int index = 0; foreach(var attr in device.attributes) { - if(index != 0 && index%3==0) + if (index != 0 && index % 3 == 0) { row = new FrameLayout() { - Width = Application.GetRealWidth(200), Height = Application.GetRealHeight(56), }; contentView.AddChidren(row); @@ -92,7 +90,7 @@ btn.MouseUpEventHandler = (sender, e) => { System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>(); - d.Add(FunctionAttributeKey.Key, attr.key); + d.Add(attr.key, ""); Control.Ins.SendWriteCommand(device, d); new System.Threading.Thread(() => { -- Gitblit v1.8.0