mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-28 20:04:56 +00:00
43 lines
1.2 KiB
C#
43 lines
1.2 KiB
C#
using System;
|
|
|
|
|
|
namespace PepperDash.Essentials.Core
|
|
{
|
|
public class RoutingNumericEventArgs : EventArgs
|
|
{
|
|
|
|
public uint? Output { get; set; }
|
|
public uint? Input { get; set; }
|
|
|
|
public eRoutingSignalType SigType { get; set; }
|
|
public RoutingInputPort InputPort { get; set; }
|
|
public RoutingOutputPort OutputPort { get; set; }
|
|
|
|
public RoutingNumericEventArgs(uint output, uint input, eRoutingSignalType sigType) : this(output, input, null, null, sigType)
|
|
{
|
|
}
|
|
|
|
public RoutingNumericEventArgs(RoutingOutputPort outputPort, RoutingInputPort inputPort,
|
|
eRoutingSignalType sigType)
|
|
: this(null, null, outputPort, inputPort, sigType)
|
|
{
|
|
}
|
|
|
|
public RoutingNumericEventArgs()
|
|
: this(null, null, null, null, 0)
|
|
{
|
|
|
|
}
|
|
|
|
public RoutingNumericEventArgs(uint? output, uint? input, RoutingOutputPort outputPort,
|
|
RoutingInputPort inputPort, eRoutingSignalType sigType)
|
|
{
|
|
OutputPort = outputPort;
|
|
InputPort = inputPort;
|
|
|
|
Output = output;
|
|
Input = input;
|
|
SigType = sigType;
|
|
}
|
|
}
|
|
} |