public NCDController (IExternalSource external) { External = (NCDExternalSource) external; CurrentInputState = new Dictionary<byte, IEnumerable<bool>>(); CurrentOutputState = new Dictionary<byte, IEnumerable<bool>>(); OutputStack = new Stack<ushort>(); InputStack = new Stack<ushort>(); EndpointCoupleDictionary = new Dictionary<Tuple<byte, byte>, Couple>(); }
public NCDController(IExternalSource external) { External = (NCDExternalSource)external; CurrentInputState = new Dictionary <byte, IEnumerable <bool> >(); CurrentOutputState = new Dictionary <byte, IEnumerable <bool> >(); OutputStack = new Stack <ushort>(); InputStack = new Stack <ushort>(); EndpointCoupleDictionary = new Dictionary <Tuple <byte, byte>, Couple>(); }