mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
?
This commit is contained in:
parent
c839cea495
commit
b295f931a3
4 changed files with 44 additions and 3 deletions
|
|
@ -422,6 +422,7 @@ namespace PepperDash.Essentials.Room.Cotija
|
|||
break;
|
||||
var icon = EISC.StringOutput[651 + i].StringValue;
|
||||
var key = EISC.StringOutput[671 + i].StringValue;
|
||||
|
||||
var type = EISC.StringOutput[701 + i].StringValue;
|
||||
|
||||
Debug.Console(0, this, "Adding source {0} '{1}'", key, name);
|
||||
|
|
@ -430,6 +431,7 @@ namespace PepperDash.Essentials.Room.Cotija
|
|||
Name = name,
|
||||
Order = (int)i + 1,
|
||||
SourceKey = key,
|
||||
Type = eSourceListItemType.Route
|
||||
};
|
||||
newSl.Add(key, newSLI);
|
||||
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ namespace PepperDash.Essentials
|
|||
{
|
||||
Parent.AddAction(string.Format(@"/room/{0}/volumes/master/level", Room.Key), new Action<ushort>(u =>
|
||||
(volumeRoom.CurrentVolumeControls as IBasicVolumeWithFeedback).SetVolume(u)));
|
||||
Parent.AddAction(string.Format(@"/room/{0}/volumes/master/mute", Room.Key), new Action(() =>
|
||||
Parent.AddAction(string.Format(@"/room/{0}/volumes/master/muteToggle", Room.Key), new Action(() =>
|
||||
volumeRoom.CurrentVolumeControls.MuteToggle()));
|
||||
volumeRoom.CurrentVolumeDeviceChange += new EventHandler<VolumeDeviceChangeEventArgs>(Room_CurrentVolumeDeviceChange);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue