コード例 #1
0
        static void Main(string[] args)
        {
            var fact = new AtmFactory();

            var reciever = TransponderReceiverFactory.CreateTransponderDataReceiver();

            var trackfilter = fact.CreateInstanceTrackFilter(reciever, fact);

            var vehicleFormatter = fact.CreateInstanceAirplaneFormatter();

            var atm = fact.CreateAtm(trackfilter);

            var atmSeperationCondition = fact.CreateInstanceAtmSeparationCondition(atm, 5000, 500);

            var termOutput = fact.CreateInstanceTerminalOutput(vehicleFormatter, atm, atmSeperationCondition);
            var logOutput  = fact.CreateInstanceLogOutput(vehicleFormatter, atmSeperationCondition);

            while (true)
            {
            }
        }