| | |
| | | #region 电器 |
| | | |
| | | functionCount = FunctionList.List.GetElectricals().Count; |
| | | functionOnCount = FunctionList.List.GetElectricals().FindAll((obj) => obj.trait_on_off.curValue.ToString() == "on").Count; |
| | | functionOnCount = FunctionList.List.GetElectricals().FindAll((obj) => obj.spk!=SPK.ElectricalTvHisense&&obj.trait_on_off.curValue.ToString() == "on").Count; |
| | | #if DEBUG |
| | | functionCount = 1; |
| | | #endif |
| | |
| | | IsMoreLines = true, |
| | | }; |
| | | functionView.AddChidren(btnName); |
| | | //去掉功能外面开关个数; |
| | | //不需要显示设备开状态数量; |
| | | if (item != ShowFunction.Aks |
| | | && item != ShowFunction.VideoDoorLock |
| | | && item != ShowFunction.Environmental |