namespace PepperDash.Essentials.Core
{
///
/// A RoutingInputPort for devices like DM-TX and DM input cards.
/// Will provide video statistics on connected signals
///
public class RoutingInputPortWithVideoStatuses : RoutingInputPort
{
///
/// Video statuses attached to this port
///
public VideoStatusOutputs VideoStatus { get; private set; }
///
/// Constructor
///
/// An object used to refer to this port in the IRouting device's ExecuteSwitch method.
/// May be string, number, whatever
/// The IRoutingInputs object this lives on
/// A VideoStatusFuncsWrapper used to assign the callback funcs that will get
/// the values for the various stats
public RoutingInputPortWithVideoStatuses(string key,
eRoutingSignalType type, eRoutingPortConnectionType connType, object selector,
IRoutingInputs parent, VideoStatusFuncsWrapper funcs) :
base(key, type, connType, selector, parent)
{
VideoStatus = new VideoStatusOutputs(funcs);
}
}
}