Example #1
0
 /// <summary>
 /// Camera of the Park
 /// </summary>
 /// <param name="open">nput time to enter the garage</param>
 /// <param name="close">input time to go  to park</param>
 /// <param name="brand">input car brand</param>
 /// <param name="number">input car number</param>
 /// <param name="color">input car color</param>
 private static void Camera(DateTime open, DateTime close,
                            BrandsCar brand, string number, ConsoleColor color)
 {
     _camera = new Camera(open, close, brand, number, color);
     _camera.Security(_camera, _yourCar);
     Console.WriteLine(_camera);
 }
Example #2
0
        /// <summary>
        ///This functions we geting park incoming car informations
        /// </summary>
        /// <param name="open">input time to enter the garage</param>
        /// <param name="close">input time to go  to park</param>
        /// <param name="brand">input car brand</param>
        /// <param name="number">input car number</param>
        /// <param name="color">input car color</param>
        public static void InformationParkIncomingCar(DateTime open, DateTime close,
                                                      BrandsCar brand, string number, ConsoleColor color)
        {
            Console.WriteLine("\t-------See the security guards-------\n");
            Camera(open, close, brand, number, color);

            _wallet = new Wallet();
            Console.WriteLine(_wallet);
        }
Example #3
0
 public Camera(DateTime openData, DateTime closeData,
               BrandsCar carBrand, string numberCar, ConsoleColor color)
 {
     Camera.openData   = openData;
     CloseData         = closeData;
     this.cameraNumber = numberCar;
     this.carmeraColor = color;
     this.cameraBrand  = carBrand;
 }
Example #4
0
 /// <summary>
 ///  This functions we geting client car informations
 /// </summary>
 /// <param name="brand">client car brand</param>
 /// <param name="number">client car license plates</param>
 /// <param name="color">client car color</param>
 public static void ClieantCar(BrandsCar brand, string number, ConsoleColor color)
 {
     Console.WriteLine("\t-------See the clients-------\n");
     _yourCar = new Car(brand, number, color);
     Table();
 }
Example #5
0
 public Car(BrandsCar carBrand, string numberCar, ConsoleColor color)
 {
     this.carBrand  = carBrand;
     this.numberCar = numberCar;
     this.color     = color;
 }