| | |
| | | using System.Linq; |
| | | using HDL_ON.UI.UI2.FuntionControlView.Aks.Entity; |
| | | using System.Reflection; |
| | | using System.Collections; |
| | | |
| | | namespace HDL_ON.UI.UI2.FuntionControlView.Aks |
| | | { |
| | |
| | | { |
| | | this.remoteControlList = SendMethod.Current.GetRemoteControlLits(this.device.deviceId); |
| | | this.sequencerList = SendMethod.Current.GetSequencerLits(this.device.deviceId); |
| | | TestData(this.remoteControlList); |
| | | } |
| | | catch { } |
| | | finally |
| | |
| | | var deviceTypeList = GetRemoteControlList(); |
| | | ///之前的状态文本 |
| | | string ccurrnetDeviceStr = ""; |
| | | if (indexValue!=-1&& indexValue< deviceTypeList.Count) { |
| | | if (indexValue != -1 && indexValue < deviceTypeList.Count) |
| | | { |
| | | ccurrnetDeviceStr= deviceTypeList[indexValue].name; |
| | | } |
| | | PublicInterface conditionView = new PublicInterface(); |
| | |
| | | } |
| | | |
| | | |
| | | private void TestData(List<RemoteControlEntity> list) |
| | | { |
| | | list.Add(new RemoteControlEntity { deviceId = "33331", rcId = "1", type = 1, name = "播放器" }); |
| | | list.Add(new RemoteControlEntity { deviceId = "33332", rcId = "2", type = 2, name = "功放" }); |
| | | list.Add(new RemoteControlEntity { deviceId = "33333", rcId = "3", type = 3, name = "电视" }); |
| | | list.Add(new RemoteControlEntity { deviceId = "33334", rcId = "4", type = 4, name = "机顶盒" }); |
| | | list.Add(new RemoteControlEntity { deviceId = "33335", rcId = "5", type = 5, name = "投影仪" }); |
| | | list.Add(new RemoteControlEntity { deviceId = "33336", rcId = "6", type = 6, name = "万能遥控器" }); |
| | | } |
| | | |
| | | |
| | | } |
| | | } |