Beispiel #1
0
        private void fillGasVehicle()
        {
            string vehicleLicensePlate = m_UI.GetVehicleLicensePlate();

            Gasoline.eGasType eVehicleGasTypeToFill = m_UI.GetGasTypeToFill();
            float             amountToAdd           = m_UI.GetEnergyAmountToAdd();

            m_Data.FillGas(vehicleLicensePlate, eVehicleGasTypeToFill, amountToAdd);
            m_UI.PrintMsg("\nFill Gas Successfully \n");
        }