mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
Changes from Staging HH.8
This commit is contained in:
parent
43071a4d91
commit
fa94b83d63
2 changed files with 11 additions and 8 deletions
|
|
@ -65,6 +65,13 @@ namespace PepperDash.Essentials {
|
||||||
x++;
|
x++;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
x = 1;
|
||||||
|
foreach (var preset in Dsp.PresetList)
|
||||||
|
{
|
||||||
|
ApiEisc.Eisc.StringInput[ApiMap.presets[x]].StringValue = preset.label;
|
||||||
|
ApiEisc.Eisc.SetSigTrueAction(ApiMap.presets[x], () => Dsp.RunPresetNumber(x));
|
||||||
|
x++;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -93,19 +100,15 @@ namespace PepperDash.Essentials {
|
||||||
public ushort presetString = 2000;
|
public ushort presetString = 2000;
|
||||||
public Dictionary<uint, ushort> channelMuteToggle;
|
public Dictionary<uint, ushort> channelMuteToggle;
|
||||||
public Dictionary<uint, ushort> channelVolume;
|
public Dictionary<uint, ushort> channelVolume;
|
||||||
public Dictionary<uint, ushort> TxOnlineStatus;
|
public Dictionary<uint, ushort> presets;
|
||||||
public Dictionary<uint, ushort> RxOnlineStatus;
|
|
||||||
public Dictionary<uint, ushort> TxVideoSyncStatus;
|
|
||||||
public Dictionary<uint, ushort> InputNames;
|
|
||||||
public Dictionary<uint, ushort> OutputNames;
|
|
||||||
public Dictionary<uint, ushort> OutputRouteNames;
|
|
||||||
|
|
||||||
public EssentialDspApiMap() {
|
public EssentialDspApiMap() {
|
||||||
channelMuteToggle = new Dictionary<uint, ushort>();
|
channelMuteToggle = new Dictionary<uint, ushort>();
|
||||||
channelVolume = new Dictionary<uint, ushort>();
|
channelVolume = new Dictionary<uint, ushort>();
|
||||||
|
presets = new Dictionary<uint, ushort>();
|
||||||
for (uint x = 1; x <= 100; x++) {
|
for (uint x = 1; x <= 100; x++) {
|
||||||
uint tempNum = x;
|
uint tempNum = x;
|
||||||
|
presets[tempNum] = (ushort)(tempNum + 100);
|
||||||
channelMuteToggle[tempNum] = (ushort)(tempNum + 400);
|
channelMuteToggle[tempNum] = (ushort)(tempNum + 400);
|
||||||
channelVolume[tempNum] = (ushort)(tempNum + 200);
|
channelVolume[tempNum] = (ushort)(tempNum + 200);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit 7ff3263f37b9dc74b61f9aa8b385532573afb528
|
Subproject commit c9d5cc34a1ce5e2031a6a52f25a08dbd685c0f21
|
||||||
Loading…
Add table
Add a link
Reference in a new issue