Exemplo n.º 1
0
 public CheckPlanes(CalculateVelocity cv, CalculateCourse cc, Renedition rr)
 {
     _cc    = cc;
     _cv    = cv;
     _rr    = rr;
     Planes = new List <Plane>();
 }
Exemplo n.º 2
0
        static void Main()
        {
            var receiver          = TransponderReceiverFactory.CreateTransponderDataReceiver();
            CalculateVelocity cv  = new CalculateVelocity();
            CalculateCourse   cc  = new CalculateCourse();
            Renedition        rr  = new Renedition();
            CheckPlanes       As  = new CheckPlanes(cv, cc, rr);
            Airspace          SAs = new Airspace(As);

            var system = new HandleRTD(receiver, SAs);

            while (true)
            {
                Thread.Sleep(5000);
            }
        }
Exemplo n.º 3
0
        public static void RunATM()
        {
            Renedition            ren    = new Renedition();
            DetectSeparationEvent detect = new DetectSeparationEvent();

            var receiver                 = TransponderReceiverFactory.CreateTransponderDataReceiver();
            CalculateVelocity cv         = new CalculateVelocity();
            CalculateCourse   cc         = new CalculateCourse();
            CheckPlanes       As         = new CheckPlanes(cv, cc, ren);
            Airspace          SAs        = new Airspace(As);
            Renedition        renedition = new Renedition(detect, As, SAs);
            Log log = new Log(detect, SAs, As);

            var system = new HandleRTD(receiver, SAs, detect);

            while (true)
            {
                Thread.Sleep(5000);
            }
        }