| | |
| | | { |
| | | switch (functionCategory) |
| | | { |
| | | case ShowFunction.FreshAir: |
| | | List<Function> faList = new List<Function>(); |
| | | foreach (var f in FunctionList.List.GetAirFreshList()) |
| | | { |
| | | faList.Add(f); |
| | | } |
| | | Control.Ins.SwtichFunctions(onoff == "on", faList); |
| | | break; |
| | | case ShowFunction.AC: |
| | | List<Function> acList = new List<Function>(); |
| | | foreach(var f in FunctionList.List.GetAcList()) |
| | |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | MainPage.Log($"{functionCategory}全开全关失败:{ex.Message}"); |
| | | MainPage.Log("Error", $"{functionCategory}全开全关失败:{ex.Message}"); |
| | | } |
| | | finally |
| | | { |