Exemplo n.º 1
0
 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>();
 }
Exemplo n.º 2
0
 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>();
 }