Ejemplo n.º 1
0
        void DisplayPortInputStreamChangeEvent(EndpointInputStream inputStream, EndpointInputStreamEventArgs args)
        {
            Debug.Console(2, "{0} event {1} stream {2}", Tx.ToString(), inputStream.ToString(), args.EventId.ToString());

            switch (args.EventId)
            {
            case EndpointInputStreamEventIds.SyncDetectedFeedbackEventId:
                DisplayPortVideoSyncFeedback.FireUpdate();
                break;
            }
        }
Ejemplo n.º 2
0
        void InputStreamChangeEvent(EndpointInputStream inputStream, EndpointInputStreamEventArgs args)
        {
            Debug.Console(2, "{0} event {1} stream {2}", Tx.ToString(), inputStream.ToString(), args.EventId.ToString());

            switch (args.EventId)
            {
            case EndpointInputStreamEventIds.HdcpSupportOffFeedbackEventId:
                HdmiInHdcpCapabilityFeedback.FireUpdate();
                break;

            case EndpointInputStreamEventIds.HdcpSupportOnFeedbackEventId:
                HdmiInHdcpCapabilityFeedback.FireUpdate();
                break;

            case EndpointInputStreamEventIds.SyncDetectedFeedbackEventId:
                HdmiVideoSyncFeedback.FireUpdate();
                break;
            }
        }
Ejemplo n.º 3
0
 public void AddTransaction(Transaction Transaction)
 {
     Transactions.Add(Transaction);
     StringifiedTransactions = Transactions.Map(Tx => Tx.ToString()).Reduce(R.Concat, "");
 }
Ejemplo n.º 4
0
 public override string ToString()
 {
     return(Level.ToString() + "," + Tx.ToString() + "," + Ty.ToString());
 }