| | |
| | | //返回 |
| | | this.topView.clickBackBtn.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | //清空所有缓存数据 |
| | | AksCommonMethod.Current.ClearData(); |
| | | this.RemoveFromParent(); |
| | | }; |
| | | //设置 |
| | |
| | | MusicPage musicPage = new MusicPage(GetRemoteControl((int)IntType.Player),this.sequencerList); |
| | | this.vv.AddChidren(musicPage); |
| | | musicPage.Show(); |
| | | musicPage.action += (type) => |
| | | musicPage.action += (deviceType) => |
| | | { |
| | | SelectedType(); |
| | | }; |
| | |
| | | GfPage gfPage = new GfPage(GetRemoteControl((int)IntType.HiFi), this.sequencerList); |
| | | this.vv.AddChidren(gfPage); |
| | | gfPage.Show(); |
| | | gfPage.action += (type) => |
| | | gfPage.action += (deviceType) => |
| | | { |
| | | SelectedType(); |
| | | }; |
| | |
| | | TvPage tvPage = new TvPage(GetRemoteControl((int)IntType.TV), this.sequencerList); |
| | | this.vv.AddChidren(tvPage); |
| | | tvPage.Show(); |
| | | tvPage.action += (type) => |
| | | tvPage.action += (deviceType) => |
| | | { |
| | | SelectedType(); |
| | | }; |
| | |
| | | JdhPage jdhPage = new JdhPage(GetRemoteControl((int)IntType.STB), this.sequencerList); |
| | | this.vv.AddChidren(jdhPage); |
| | | jdhPage.Show(); |
| | | jdhPage.action += (type) => |
| | | jdhPage.action += (deviceType) => |
| | | { |
| | | SelectedType(); |
| | | }; |
| | |
| | | TyyPage tyyPage = new TyyPage(GetRemoteControl((int)IntType.Projector), this.sequencerList); |
| | | this.vv.AddChidren(tyyPage); |
| | | tyyPage.Show(); |
| | | tyyPage.action += (type) => |
| | | tyyPage.action += (deviceType) => |
| | | { |
| | | SelectedType(); |
| | | }; |
| | |
| | | YkqPage ykqPage = new YkqPage(GetRemoteControl((int)IntType.Control), this.sequencerList); |
| | | this.vv.AddChidren(ykqPage); |
| | | ykqPage.Show(); |
| | | ykqPage.action += (type) => |
| | | ykqPage.action += (deviceType) => |
| | | { |
| | | SelectedType(); |
| | | }; |
| | |
| | | { |
| | | re = new RemoteControlEntity(); |
| | | } |
| | | re.deviceId = this.device.deviceId; |
| | | //re.deviceId = this.device.deviceId; |
| | | return re; |
| | | } |
| | | |