| | |
| | | } |
| | | break; |
| | | //甲醛 |
| | | case SPK.: |
| | | case SPK.SensorHcho: |
| | | { |
| | | ///tvoc |
| | | LogicView.FunTypeView tvocView = new LogicView.FunTypeView(); |
| | | tvocView.btnText.TextID = StringId.tvoc; |
| | | fLayout.AddChidren(tvocView.FLayoutView()); |
| | | |
| | | ///tvoc点击事件 |
| | | tvocView.btnClick.MouseUpEventHandler += (sender, e) => |
| | | ///hcho |
| | | LogicView.FunTypeView hchoView = new LogicView.FunTypeView(); |
| | | hchoView.btnText.TextID = StringId.tvoc; |
| | | fLayout.AddChidren(hchoView.FLayoutView()); |
| | | ///hcho点击事件 |
| | | hchoView.btnClick.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | PmCo2TvocAction(this, device, "tvoc", StringId.tvoc, index, edit); |
| | | PmCo2TvocAction(this, device, "hcho", StringId.Formaldehyde, index, edit); |
| | | |
| | | }; |
| | | } |