Exemple #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="selector">An object used to refer to this port in the IRouting device's ExecuteSwitch method.
 /// May be string, number, whatever</param>
 /// <param name="parent">The IRoutingInputs object this lives on</param>
 /// <param name="funcs">A VideoStatusFuncsWrapper used to assign the callback funcs that will get
 /// the values for the various stats</param>
 public RoutingInputPortWithVideoStatuses(string key,
                                          eRoutingSignalType type, eRoutingPortConnectionType connType, object selector,
                                          IRoutingInputs parent, VideoStatusFuncsWrapper funcs) :
     base(key, type, connType, selector, parent)
 {
     VideoStatus = new VideoStatusOutputs(funcs);
 }
 public VideoStatusOutputs(VideoStatusFuncsWrapper funcs)
 {
     HasVideoStatusFeedback  = new BoolFeedback("HasVideoStatusFeedback", funcs.HasVideoStatusFunc);
     HdcpActiveFeedback      = new BoolFeedback("HdcpActiveFeedback", funcs.HdcpActiveFeedbackFunc);
     HdcpStateFeedback       = new StringFeedback("HdcpStateFeedback", funcs.HdcpStateFeedbackFunc);
     VideoResolutionFeedback = new StringFeedback("VideoResolutionFeedback",
                                                  funcs.VideoResolutionFeedbackFunc);
     VideoSyncFeedback = new BoolFeedback("VideoSyncFeedback", funcs.VideoSyncFeedbackFunc);
 }