예제 #1
0
 public DetectConflict(CheckCollision checkcollision, IWrite alarm, IWrite log)
 {
     _alarm          = alarm;
     _log            = log;
     _checkcollision = checkcollision;
     _checkcollision.Attach(this);
 }
예제 #2
0
 public ControllerDisplay(ITransponderReceiver transponderReceiver, IFilterFlightLimits _filter, IWrite _writer, CheckCollision _compare, IConflictingTracks _conflict, ITrackParsing _parseTracks)
 {
     transponderReceiver.TransponderDataReady += MyReceiver_TransponderDataReady;
     writer      = _writer;
     filter      = _filter;
     compare     = _compare;
     parseTracks = _parseTracks;
     conflict    = _conflict;
 }
예제 #3
0
 public MainReceiver(ITransponderReceiver transponderReceiver, IFilterFlightLimits _filter, IWrite _writer, CheckCollision _checkcollision, ICompareTracks _comparetracks, ITrackParsing _parseTracks)
 {
     transponderReceiver.TransponderDataReady += MyReceiver_TransponderDataReady;
     writer         = _writer;
     filter         = _filter;
     checkcollision = _checkcollision;
     parseTracks    = _parseTracks;
     comparetracks  = _comparetracks;
 }