| | |
| | | { |
| | | if (A31MusicModel.Current.palyLists.Count == 0) |
| | | { |
| | | SendMethod.mMethod.GetPalyList(A31MusicModel.Current.functionMusic); |
| | | SendMethod.Current.GetPalyList(A31MusicModel.Current.functionMusic); |
| | | |
| | | } |
| | | } |
| | |
| | | { |
| | | try |
| | | { |
| | | SendMethod.mMethod.EditDeviceName(A31MusicModel.Current.functionMusic.deviceId,playerName); |
| | | SendMethod.Current.EditDeviceName(A31MusicModel.Current.functionMusic.deviceId,playerName); |
| | | } |
| | | catch { } |
| | | |
| | |
| | | ///我的列表事件 |
| | | myListView.clickBtn.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | A31MyList a31MyList = new A31MyList(); |
| | | MainPage.BasePageView.AddChidren(a31MyList); |
| | | a31MyList.Show(); |
| | | a31MyList.UpdateSelectedFile(); |
| | | MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |
| | | //A31MyList a31MyList = new A31MyList(); |
| | | //MainPage.BasePageView.AddChidren(a31MyList); |
| | | //a31MyList.Show(); |
| | | //a31MyList.UpdateSelectedFile(); |
| | | //MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |
| | | |
| | | System.Threading.Tasks.Task.Run(() => |
| | | { |
| | | try |
| | | { |
| | | |
| | | //HDL_ON.DriverLayer.Control.Ins.GetMusicDirectory(device); |
| | | var palyListName = Music.SendMethod.Current.GetListName(A31MusicModel.Current.functionMusic); |
| | | var palyList = Music.SendMethod.Current.GetListMusic(A31MusicModel.Current.functionMusic, "hdl_special"); |
| | | List<string> musicNameList = new List<string>(); |
| | | for (int i = 0; i < palyList.songs.Count; i++) |
| | | { |
| | | var music = palyList.songs[i]; |
| | | musicNameList.Add(music.name); |
| | | } |
| | | Application.RunOnMainThread(() => |
| | | { |
| | | UI2.Intelligence.Automation.PublicInterface publicInterface = new UI2.Intelligence.Automation.PublicInterface(); |
| | | publicInterface.FrameOrVv(this, musicNameList, new List<string> { "123" }, palyList.group, (index) => |
| | | { |
| | | |
| | | |
| | | }, false); |
| | | |
| | | }); |
| | | } |
| | | catch { } |
| | | |
| | | }); |
| | | }; |
| | | |
| | | |