예제 #1
0
        static void Main(string[] args)
        {
            Renault reno = new Renault("Рено", "Renault LOGAN Active", 499.0);

            Print(reno);

            AutoBase myreno = new MediaNAV(reno, "Навигация");

            Print(myreno);

            AutoBase newmyReno = new SystemSecurity(new MediaNAV(reno, "Навигация"),
                                                    "Безопасность");

            Print(newmyReno);


            Aurus aurus = new Aurus("Аурус", "AURUS Senat", 40499.0);

            Print(aurus);

            AutoBase myaurus = new AudioSystem(aurus, "Аудиосистема");

            Print(myaurus);

            AutoBase nemyaurus = new Сonditioner(aurus, "Кондиционер");

            Print(nemyaurus);
        }
        static void Main(string[] args)
        {
            Renault reno = new Renault("Рено", "Renault LOGAN Active", 499.0);

            Print(reno);
            AutoBase myreno = new MediaNAV(reno, "Навигация");

            Print(myreno);
            AutoBase newmyReno = new SystemSecurity(new MediaNAV(reno, "Навигация"), "Безопасность");

            Print(newmyReno);

            var nisan = new Nisan("Нисан", "Nissan Maxima", 450);

            Print(nisan);
            AutoBase mediaNissan = new AudioSystem(nisan, "Аудиосистема");

            Print(mediaNissan);
            AutoBase AutoMediaNissan = new AutopilotSystem(mediaNissan, "Автопилот");

            Print(AutoMediaNissan);
            AutoBase AutoMediaSecurityNissan = new SystemSecurity(AutoMediaNissan, "Безопасность");

            Print(AutoMediaSecurityNissan);
        }
예제 #3
0
        static void Main(string[] args)
        {
            Renault reno = new Renault("Рено", "Renault LOGAN Active", 499.0);

            Print(reno);
            AutoBase myreno = new MediaNAV(reno, "Навигация");

            Print(myreno);
            AutoBase newmyReno = new SystemSecurity(new MediaNAV(reno, "Навигация"),
                                                    "Безопасность");

            Print(newmyReno);

            Мercedes mers = new Мercedes("Мерседес", "Mercedes E 200 d Premium", 30000.0);

            Print(mers);
            AutoBase mersPlus = new AirBalance(mers, "Аромо");

            Print(mersPlus);
            AutoBase mersPlusPlus = new Acoustics(mersPlus, "Звукоизоляция");

            Print(mersPlusPlus);

            Console.Read();
        }
예제 #4
0
        public static void Main(string[] args)
        {
            Renault reno = new Renault("Рено", "Renault LOGAN Active", 499.0);

            Print(reno);
            AutoBase myreno = new MediaNAV(reno, "Навигация");

            Print(myreno);
            AutoBase newmyReno = new SystemSecurity(new MediaNAV(reno, "Навигация"),
                                                    "Безопасность");

            Print(newmyReno);

            Console.ReadKey();
        }
예제 #5
0
        static void Main(string[] args)
        {
            Renault reno = new Renault("Рено", "Renault LOGAN Active", 499.0);

            Print(reno);
            AutoBase myreno = new MediaNAV(reno, "Навигация");

            Print(myreno);
            AutoBase newmyReno = new SystemSecurity(new MediaNAV(reno, "Навигация"), "Безопасность");

            Print(newmyReno);

            Audi audi = new Audi("Ауди", "Audi A6", 800.0);

            Print(audi);
            AutoBase warmAudi = new HeatedSeats(audi, "Подогрев сидений");

            Print(warmAudi);
            AutoBase remoteControlAudi = new RemoteStart(warmAudi, "Дистанционный запуск");

            Print(remoteControlAudi);
        }
예제 #6
0
        static void Main(string[] args)
        {
            Renault reno = new Renault("Рено", "Renault LOGAN Active", 499.0);

            Print(reno);
            AutoBase myreno = new MediaNAV(reno, "Навигация");

            Print(myreno);
            AutoBase newmyReno = new SystemSecurity(new MediaNAV(reno, "Навигация"), "Безопасность");

            Print(newmyReno);
            Mercedes merc = new Mercedes("Mercedes-Benz", "Mercedes-AMG C190 GT S", 15000.0);

            Print(merc);
            AutoBase merc1 = new SatelliteNavigation(merc, "Спутник");

            Print(merc1);
            AutoBase merc2 = new Tuning(new SatelliteNavigation(merc, "Спутник"), "Корпус");

            Print(merc2);
            Console.ReadKey();
        }
예제 #7
0
        static void Main(string[] args)
        {
            Renault reno = new Renault("RENAULT", "Renault Logan Active", 499.0);

            Print(reno);
            AutoBase myreno = new MediaNAV(reno, "Navigation");

            Print(myreno);
            AutoBase newmyReno = new SystemSecurity(new MediaNAV(reno, "Navigation"), "Security");

            Print(newmyReno);
            Console.WriteLine();

            Audi audi = new Audi("Audi ", "Audi A8 ", 18499.0);

            Print(audi);
            AutoBase myaudi = new AutoAppearance(audi, "Appearance ");

            Print(myaudi);
            AutoBase newmyaudi = new SystemSecurity(new AutoAppearance(audi, "Appearance "), "Security ");

            Print(newmyaudi);
        }