wei
2021-08-20 41995c4cd30ca1c5a814ea0af6f70d3b86368137
HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs
@@ -104,7 +104,6 @@
                        {
                            GetEditState(device, index, view.btnState, null, null, null);
                        }
                    }
                    break;
                //干接点
@@ -161,7 +160,7 @@
                    }
                    break;
                //超声波传感器
                case SPK.SensoruUtrasonic:
                case SPK.SensorUtrasonic:
                    {
                        LogicView.FunTypeView view = new LogicView.FunTypeView();
@@ -203,7 +202,7 @@
                    }
                    break;
                //环境检测传感器
                case SPK.SenesorEnvironment:
                case SPK.SensorEnvironment:
                    {
                        #region 界面
                        ///温度
@@ -366,7 +365,7 @@
                    case SPK.SensorDuiShe:
                    case SPK.SensorPir:
                    case SPK.SensorDoorWindow:
                    case SPK.SensoruUtrasonic:
                    case SPK.SensorUtrasonic:
                        {
                            keyVlaue = "status";
                        }
@@ -537,7 +536,7 @@
               {
                   var value = view.GetValue(key, text);
                   selectedState = device.spk + "_"+ key;
                   AddDictionary(key, value, "integer");
                   AddDictionary(key, value, "integer","in");
                   Save(device,index, edit);
               });
        }
@@ -553,7 +552,7 @@
        private void GetEditState(Entity.Function device, int index, Button button1, Button button2, Button button3, Button button4)
        {
            Input inputs = Logic.currlogic.input[index];
            var dicList = inputs.condition as List<Dictionary<string, string>>;
            var dicList = inputs.condition;
            //清除之前旧数据
            dicSateteList.Clear();
            if (dicList.Count != 0)