old mode 100644
new mode 100755
File was renamed from Home0630/Shared/Phone/UserCenter/CommonBase/Logic/HdlGatewayReceiveLogic.cs |
| | |
| | | using System.Collections.Generic;
|
| | | using System.Text;
|
| | | using Newtonsoft.Json.Linq;
|
| | | using Shared.Common; |
| | | using ZigBee.Device;
|
| | |
|
| | | namespace Shared.Phone.UserCenter
|
| | |
| | | if (locadevice.Type == DeviceType.ColorTemperatureLight)
|
| | | {
|
| | | //此属性表明当前色温
|
| | | ((ColorTemperatureLight)locadevice).ColorTemperature = report.DeviceStatusReport.AttriBute[0].AttriButeData;
|
| | | int value = report.DeviceStatusReport.AttriBute[0].AttriButeData != 0 ? 1000000 / report.DeviceStatusReport.AttriBute[0].AttriButeData : 0;
|
| | | ((ColorTemperatureLight)locadevice).ColorTemperature = value;
|
| | | }
|
| | | //已经接收到状态
|
| | | locadevice.HadReadDeviceStatu = true;
|
| | |
| | | HdlThreadLogic.Current.RunMain(() => |
| | | { |
| | | //提示门锁已经失效 |
| | | new Tip() { MaxWidth = 150, Text = Language.StringByID(R.MyInternationalizationString.NormallyClosed), Direction = AMPopTipDirection.None, CloseTime = 1 }.Show(CommonPage.Instance); |
| | | new Tip() { MaxWidth = 150, Text = Language.StringByID(R.MyInternationalizationString.NormallyClosed), Direction = AMPopTipDirection.None, CloseTime = 1 }.Show(Common.CommonPage.Instance);
|
| | | |
| | | //更新门锁涉及的常开/常关的界面 |
| | | if (UserCenter.DoorLock.DoorLockCommonInfo.UpdateCurrentDoorlockAction != null) |