Skip to content

Commit

Permalink
Merge pull request #117 from PepperDash/routing-feedback-implementation
Browse files Browse the repository at this point in the history
Routing feedback implementation
  • Loading branch information
ndorin authored May 23, 2024
2 parents 38d7c80 + d429c5a commit 532d89a
Show file tree
Hide file tree
Showing 175 changed files with 8,154 additions and 7,963 deletions.
7 changes: 3 additions & 4 deletions src/NvxEpi/Abstractions/Dante/IDanteAudio.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
using System.Text;
using Crestron.SimplSharp;

namespace NvxEpi.Abstractions.Dante
namespace NvxEpi.Abstractions.Dante;

public interface IDanteAudio : INvxDeviceWithHardware
{
public interface IDanteAudio : INvxDeviceWithHardware
{
}
}
9 changes: 4 additions & 5 deletions src/NvxEpi/Abstractions/Device/IDeviceId.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
namespace NvxEpi.Abstractions.Device
namespace NvxEpi.Abstractions.Device;

public interface IDeviceId
{
public interface IDeviceId
{
int DeviceId { get; }
}
int DeviceId { get; }
}
9 changes: 4 additions & 5 deletions src/NvxEpi/Abstractions/Device/IDeviceMode.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
using PepperDash.Essentials.Core;

namespace NvxEpi.Abstractions.Device
namespace NvxEpi.Abstractions.Device;

public interface IDeviceMode
{
public interface IDeviceMode
{
IntFeedback DeviceMode { get; }
}
IntFeedback DeviceMode { get; }
}
9 changes: 4 additions & 5 deletions src/NvxEpi/Abstractions/Device/IMulticastAddress.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
using PepperDash.Essentials.Core;

namespace NvxEpi.Abstractions.Device
namespace NvxEpi.Abstractions.Device;

public interface IMulticastAddress
{
public interface IMulticastAddress
{
StringFeedback MulticastAddress { get; }
}
StringFeedback MulticastAddress { get; }
}
9 changes: 4 additions & 5 deletions src/NvxEpi/Abstractions/Device/ITransmitterReceiver.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
namespace NvxEpi.Abstractions.Device
namespace NvxEpi.Abstractions.Device;

public interface ITransmitterReceiver : IDeviceMode
{
public interface ITransmitterReceiver : IDeviceMode
{
bool IsTransmitter { get; }
}
bool IsTransmitter { get; }
}
9 changes: 4 additions & 5 deletions src/NvxEpi/Abstractions/Hardware/INvx35XHardware.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
using Crestron.SimplSharpPro.DM.Streaming;

namespace NvxEpi.Abstractions.Hardware
namespace NvxEpi.Abstractions.Hardware;

public interface INvx35XHardware : INvxHardware
{
public interface INvx35XHardware : INvxHardware
{
new DmNvx35x Hardware { get; }
}
new DmNvx35x Hardware { get; }
}
9 changes: 4 additions & 5 deletions src/NvxEpi/Abstractions/Hardware/INvx36XHardware.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
using Crestron.SimplSharpPro.DM.Streaming;

namespace NvxEpi.Abstractions.Hardware
namespace NvxEpi.Abstractions.Hardware;

public interface INvx36XHardware : INvxHardware
{
public interface INvx36XHardware : INvxHardware
{
new DmNvx36x Hardware { get; }
}
new DmNvx36x Hardware { get; }
}
9 changes: 4 additions & 5 deletions src/NvxEpi/Abstractions/Hardware/INvxD3XHardware.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
using Crestron.SimplSharpPro.DM.Streaming;

namespace NvxEpi.Abstractions.Hardware
namespace NvxEpi.Abstractions.Hardware;

public interface INvxD3XHardware : INvxHardware
{
public interface INvxD3XHardware : INvxHardware
{
new DmNvxD3x Hardware { get; }
}
new DmNvxD3x Hardware { get; }
}
9 changes: 4 additions & 5 deletions src/NvxEpi/Abstractions/Hardware/INvxD8XHardware.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
using Crestron.SimplSharpPro.DM.Streaming;

namespace NvxEpi.Abstractions.Hardware
namespace NvxEpi.Abstractions.Hardware;

public interface INvxD8XHardware : INvxHardware
{
public interface INvxD8XHardware : INvxHardware
{
new DmNvxD80Ioav Hardware { get; }
}
new DmNvxD80Ioav Hardware { get; }
}
9 changes: 4 additions & 5 deletions src/NvxEpi/Abstractions/Hardware/INvxE3XHardware.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
using Crestron.SimplSharpPro.DM.Streaming;

namespace NvxEpi.Abstractions.Hardware
namespace NvxEpi.Abstractions.Hardware;

public interface INvxE3XHardware : INvxHardware
{
public interface INvxE3XHardware : INvxHardware
{
new DmNvxE3x Hardware { get; }
}
new DmNvxE3x Hardware { get; }
}
9 changes: 4 additions & 5 deletions src/NvxEpi/Abstractions/Hardware/INvxE76XHardware.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
using Crestron.SimplSharpPro.DM.Streaming;

namespace NvxEpi.Abstractions.Hardware
namespace NvxEpi.Abstractions.Hardware;

public interface INvxE76XHardware : INvxHardware
{
public interface INvxE76XHardware : INvxHardware
{
new DmNvxE760x Hardware { get; }
}
new DmNvxE760x Hardware { get; }
}
17 changes: 8 additions & 9 deletions src/NvxEpi/Abstractions/Hardware/INvxHardware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@
using NvxEpi.Abstractions.Device;
using PepperDash.Core;

namespace NvxEpi.Abstractions.Hardware
namespace NvxEpi.Abstractions.Hardware;

public interface INvxHardware
{
public interface INvxHardware
{
DmNvxBaseClass Hardware { get; }
}
DmNvxBaseClass Hardware { get; }
}

public interface INvxDirector
{
DmXioDirectorBase Hardware { get; }
}
public interface INvxDirector
{
DmXioDirectorBase Hardware { get; }
}
25 changes: 12 additions & 13 deletions src/NvxEpi/Abstractions/HdmiInput/IHdmiInput.cs
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
using Crestron.SimplSharp;
using PepperDash.Essentials.Core;

namespace NvxEpi.Abstractions.HdmiInput
namespace NvxEpi.Abstractions.HdmiInput;

public interface IHdmiInput : INvxDeviceWithHardware
{
public interface IHdmiInput : INvxDeviceWithHardware
{
ReadOnlyDictionary<uint, IntFeedback> HdcpCapability { get; }
ReadOnlyDictionary<uint, BoolFeedback> SyncDetected { get; }
ReadOnlyDictionary<uint, StringFeedback> CurrentResolution { get; }
ReadOnlyDictionary<uint, IntFeedback> HdcpCapability { get; }
ReadOnlyDictionary<uint, BoolFeedback> SyncDetected { get; }
ReadOnlyDictionary<uint, StringFeedback> CurrentResolution { get; }

ReadOnlyDictionary<uint, StringFeedback> HdcpCapabilityString { get; }
ReadOnlyDictionary<uint, StringFeedback> HdcpCapabilityString { get; }

ReadOnlyDictionary<uint, StringFeedback> HdcpSupport { get; }
ReadOnlyDictionary<uint, IntFeedback> AudioChannels { get; }
ReadOnlyDictionary<uint, StringFeedback> HdcpSupport { get; }
ReadOnlyDictionary<uint, IntFeedback> AudioChannels { get; }

ReadOnlyDictionary<uint, StringFeedback> AudioFormat { get; }
ReadOnlyDictionary<uint, StringFeedback> AudioFormat { get; }

ReadOnlyDictionary<uint, StringFeedback> ColorSpace { get; }
ReadOnlyDictionary<uint, StringFeedback> ColorSpace { get; }

ReadOnlyDictionary<uint, StringFeedback> HdrType { get; }
}
ReadOnlyDictionary<uint, StringFeedback> HdrType { get; }
}
15 changes: 7 additions & 8 deletions src/NvxEpi/Abstractions/HdmiOutput/IHdmiOutput.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
using NvxEpi.Abstractions.Hardware;
using PepperDash.Essentials.Core;

namespace NvxEpi.Abstractions.HdmiOutput
namespace NvxEpi.Abstractions.HdmiOutput;

public interface IHdmiOutput : INvxDeviceWithHardware
{
public interface IHdmiOutput : INvxDeviceWithHardware
{
BoolFeedback DisabledByHdcp { get; }
IntFeedback HorizontalResolution { get; }
StringFeedback EdidManufacturer { get; }
BoolFeedback DisabledByHdcp { get; }
IntFeedback HorizontalResolution { get; }
StringFeedback EdidManufacturer { get; }

StringFeedback OutputResolution { get; }
}
StringFeedback OutputResolution { get; }
}
11 changes: 5 additions & 6 deletions src/NvxEpi/Abstractions/HdmiOutput/IVideowallMode.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
using NvxEpi.Abstractions.Hardware;
using PepperDash.Essentials.Core;

namespace NvxEpi.Abstractions.HdmiOutput
namespace NvxEpi.Abstractions.HdmiOutput;

public interface IVideowallMode : IHdmiOutput
{
public interface IVideowallMode : IHdmiOutput
{
IntFeedback VideowallMode { get; }
IntFeedback VideoAspectRatioMode { get; }
}
IntFeedback VideowallMode { get; }
IntFeedback VideoAspectRatioMode { get; }
}
9 changes: 4 additions & 5 deletions src/NvxEpi/Abstractions/INvx35xDeviceWithHardware.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
using NvxEpi.Abstractions.Hardware;

namespace NvxEpi.Abstractions
namespace NvxEpi.Abstractions;

public interface INvx35XDeviceWithHardware : INvxDeviceWithHardware, INvx35XHardware
{
public interface INvx35XDeviceWithHardware : INvxDeviceWithHardware, INvx35XHardware
{

}

}
13 changes: 6 additions & 7 deletions src/NvxEpi/Abstractions/INvx36XDeviceWithHardware.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
using NvxEpi.Abstractions.Hardware;

namespace NvxEpi.Abstractions
namespace NvxEpi.Abstractions;

/*
public interface INvx36XDeviceWithHardware : INvxDeviceWithHardware, INvx36XHardware
{
/*
public interface INvx36XDeviceWithHardware : INvxDeviceWithHardware, INvx36XHardware
{
}
*/
}
}
*/
7 changes: 3 additions & 4 deletions src/NvxEpi/Abstractions/INvxD3XDeviceWithHardware.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
using NvxEpi.Abstractions.Hardware;

namespace NvxEpi.Abstractions
namespace NvxEpi.Abstractions;

public interface INvxD3XDeviceWithHardware : INvxDeviceWithHardware, INvxD3XHardware
{
public interface INvxD3XDeviceWithHardware : INvxDeviceWithHardware, INvxD3XHardware
{

}
}
9 changes: 4 additions & 5 deletions src/NvxEpi/Abstractions/INvxDevice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@
using PepperDash.Core;
using PepperDash.Essentials.Core;

namespace NvxEpi.Abstractions
namespace NvxEpi.Abstractions;

public interface INvxDevice : IRoutingInputsOutputs,
IHasFeedback, IOnline, ITransmitterReceiver, IKeyName, IDeviceId
{
public interface INvxDevice : IRoutingInputsOutputs,
IHasFeedback, IOnline, ITransmitterReceiver, IKeyName, IDeviceId
{

}
}
9 changes: 4 additions & 5 deletions src/NvxEpi/Abstractions/INvxDeviceWithHardware.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
using NvxEpi.Abstractions.Hardware;
using PepperDash.Essentials.Core;

namespace NvxEpi.Abstractions
namespace NvxEpi.Abstractions;

public interface INvxDeviceWithHardware : INvxDevice, INvxHardware
{
public interface INvxDeviceWithHardware : INvxDevice, INvxHardware
{

}

}
7 changes: 3 additions & 4 deletions src/NvxEpi/Abstractions/INvxE3xDeviceWithHardware.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
using NvxEpi.Abstractions.Hardware;

namespace NvxEpi.Abstractions
namespace NvxEpi.Abstractions;

public interface INvxE3XDeviceWithHardware : INvxDeviceWithHardware, INvxE3XHardware
{
public interface INvxE3XDeviceWithHardware : INvxDeviceWithHardware, INvxE3XHardware
{

}
}
11 changes: 5 additions & 6 deletions src/NvxEpi/Abstractions/InputSwitching/ICurrentAudioInput.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
using NvxEpi.Abstractions.Hardware;
using PepperDash.Essentials.Core;

namespace NvxEpi.Abstractions.InputSwitching
namespace NvxEpi.Abstractions.InputSwitching;

public interface ICurrentAudioInput : INvxDeviceWithHardware
{
public interface ICurrentAudioInput : INvxDeviceWithHardware
{
StringFeedback CurrentAudioInput { get; }
IntFeedback CurrentAudioInputValue { get; }
}
StringFeedback CurrentAudioInput { get; }
IntFeedback CurrentAudioInputValue { get; }
}
11 changes: 5 additions & 6 deletions src/NvxEpi/Abstractions/InputSwitching/ICurrentDanteInput.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
using NvxEpi.Abstractions.Dante;
using PepperDash.Essentials.Core;

namespace NvxEpi.Abstractions.InputSwitching
namespace NvxEpi.Abstractions.InputSwitching;

public interface ICurrentDanteInput : IDanteAudio
{
public interface ICurrentDanteInput : IDanteAudio
{
StringFeedback CurrentDanteInput { get; }
IntFeedback CurrentDanteInputValue { get; }
}
StringFeedback CurrentDanteInput { get; }
IntFeedback CurrentDanteInputValue { get; }
}
Loading

0 comments on commit 532d89a

Please sign in to comment.