| | |
| | | using System;
|
| | | using Shared.Phone.UserCenter;
|
| | | using System;
|
| | | using System.Collections.Generic;
|
| | | using System.Text;
|
| | | using ZigBee.Device;
|
| | |
| | | /// <returns></returns>
|
| | | public override bool CheckIsOpenStatu(CommonDevice i_device)
|
| | | {
|
| | | return ((Rollershade)i_device).WcdCurrentPositionLiftPercentage > 10;
|
| | | return ((Rollershade)i_device).WcdCurrentPositionLiftPercentage > 0;
|
| | | }
|
| | |
|
| | | #endregion
|
| | |
| | | //检测能否发送获取状态命令
|
| | | if (this.CheckCanSendStatuComand() == true)
|
| | | {
|
| | | Device.DeviceLogic.ReadDeviceAttributeLogic.Instance.SendCurtainStatuComand(this.device);
|
| | | HdlDeviceAttributeLogic.Current.SendCurtainStatuComand(this.device);
|
| | | }
|
| | | if (((Rollershade)this.device).WcdType == -1)
|
| | | {
|