public DetectConflict(CheckCollision checkcollision, IWrite alarm, IWrite log) { _alarm = alarm; _log = log; _checkcollision = checkcollision; _checkcollision.Attach(this); }
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; }
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; }