| | |
| | | { |
| | | #region 窗帘更新 |
| | | var onoffString = updataFunction.GetAttrState(FunctionAttributeKey.OnOff); |
| | | var percentAttr = updataFunction.GetAttribute(FunctionAttributeKey.Percent); |
| | | if(percentAttr != null) |
| | | { |
| | | onoffString = percentAttr.curValue.ToString() == "0" ? "off" : "on"; |
| | | } |
| | | |
| | | if (onoffString == "stop") |
| | | { |
| | | return; |
| | |
| | | #endregion |
| | | } |
| | | //更新毫米波传感器状态 |
| | | else if(SPK.SenesorMegahealth == updataFunction.spk) |
| | | else if(SPK.SenesorMegahealth == updataFunction.spk || SPK.SensorMmvPose == updataFunction.spk) |
| | | { |
| | | if (cTag == updataFunction.sid + "_SenesorMegahealth_Status") |
| | | { |