| | |
| | | } |
| | | } |
| | | } |
| | | else if (spk == SPK.MusicStandard|| spk == SPK.AvMusic) |
| | | else if (spk == SPK.MusicStandard || spk == SPK.AvMusic) |
| | | { |
| | | list.AddRange(attributes); |
| | | list.Add(new FunctionAttributes |
| | | { |
| | | key = FunctionAttributeKey.OnOff, |
| | | curValue = string.Empty, |
| | | }); |
| | | list.Add(new FunctionAttributes |
| | | { |
| | | key = FunctionAttributeKey.Volume, |
| | | curValue = string.Empty, |
| | | }); |
| | | list.Add(new FunctionAttributes |
| | | { |
| | | key = FunctionAttributeKey.SongName, |
| | | curValue = string.Empty, |
| | | }); |
| | | |
| | | } |
| | | else if (spk == SPK.ElectricalTvHisense) |
| | | { |
| | |
| | | |
| | | switch (attr.key) |
| | | { |
| | | |
| | | case FunctionAttributeKey.SongName: |
| | | case FunctionAttributeKey.Volume: |
| | | case FunctionAttributeKey.SetVolume: |
| | | case FunctionAttributeKey.Signal: |
| | | case FunctionAttributeKey.OnOff: |
| | |
| | | /// </summary> |
| | | public const string Signal = "signal"; |
| | | |
| | | /// <summary> |
| | | /// 音乐音量 |
| | | /// </summary> |
| | | public const string Volume = "volume"; |
| | | /// <summary> |
| | | /// 歌曲名 |
| | | /// </summary> |
| | | public const string SongName = "song_name"; |
| | | /// <summary> |
| | | /// 列表名 |
| | | /// </summary> |
| | | public const string PlaylistName = "playlist_name"; |
| | | /// <summary> |
| | | /// 播放路径 |
| | | /// </summary> |
| | | public const string Url = "url"; |
| | | |
| | | |
| | | } |
| | | /// <summary> |
| | | /// 设备功能oid |