File was renamed from ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/SafeguardLogControl.cs |
| | |
| | | using System.Collections.Generic; |
| | | using System.Text; |
| | | |
| | | namespace Shared.Phone.UserCenter |
| | | namespace Shared.Phone |
| | | { |
| | | /// <summary> |
| | | /// 安防记录控件 |
| | |
| | | this.frameTable.AddChidren(btnDay); |
| | | |
| | | //线 |
| | | var btnLine = new NormalViewControl(Application.GetRealWidth(904), ControlCommonResourse.BottomLineHeight, false); |
| | | var btnLine = new NormalViewControl(Application.GetRealWidth(904), HdlControlResourse.BottomLineHeight, false); |
| | | btnLine.X = Application.GetRealWidth(29); |
| | | btnLine.Y = Application.GetRealHeight(98); |
| | | btnLine.BackgroundColor = UserCenterColor.Current.ButtomLine; |
| | |
| | | btnRoom.Text = alarmInfo.RoomName; |
| | | rowFrame.AddChidren(btnRoom); |
| | | //设备 |
| | | string mainkeys = Common.LocalDevice.Current.GetDeviceMainKeys(alarmInfo.DeviceAddr, alarmInfo.DeviceEpoint); |
| | | var device = Common.LocalDevice.Current.GetDevice(mainkeys); |
| | | string mainkeys = HdlDeviceCommonLogic.Current.GetDeviceMainKeys(alarmInfo.DeviceAddr, alarmInfo.DeviceEpoint); |
| | | var device = HdlDeviceCommonLogic.Current.GetDevice(mainkeys); |
| | | var btnDevice = new NormalViewControl(271, 58, true); |
| | | btnDevice.X = Application.GetRealWidth(199); |
| | | btnDevice.TextColor = UserCenterColor.Current.TextGrayColor3; |
| | | btnDevice.Text = device == null ? alarmInfo.DeviceName : Common.LocalDevice.Current.GetDeviceEpointName(device); |
| | | btnDevice.Text = device == null ? alarmInfo.DeviceName : HdlDeviceCommonLogic.Current.GetDeviceEpointName(device); |
| | | rowFrame.AddChidren(btnDevice); |
| | | //报警信息 |
| | | var btnMsg = new NormalViewControl(303, 58, true); |