| | |
| | | else |
| | | { |
| | | //防止短时间内多次读取设备状态 |
| | | if ((DateTime.Now - ac.LastDateTime).TotalSeconds > CommonPage.ReadDeviceStatuSpan) |
| | | { |
| | | //if ((DateTime.Now - ac.LastDateTime).TotalSeconds > CommonPage.ReadDeviceStatuSpan) |
| | | //{ |
| | | ReadDeviceAttributeLogic.Instance.SendACStatuComand(device.CommonDevice); |
| | | } |
| | | //} |
| | | } |
| | | |
| | | var de = Shared.Common.Room.LoveRoomDeviceUIFilePathList.Find((obj) => obj == device.FileName); |
| | |
| | | Width = Application.GetRealWidth(modeItem_Width - modeItem_X), |
| | | Height = Application.GetRealHeight(modeItem_Height), |
| | | TextColor = ZigbeeColor.Current.GXCTextBlackColor, |
| | | TextID = R.MyInternationalizationString.SelectFanMode, |
| | | TextID = R.MyInternationalizationString.SelectMode, |
| | | TextAlignment = TextAlignment.CenterLeft |
| | | }; |
| | | changeModeFL.AddChidren(changeModeBtn); |