public void ShiftGas(int originCompartment, int destinationCompartment, float volume) { Console.WriteLine("The huge task of creating some lighter-that-air aircraft is underway"); Thread.Sleep(4000); LighterThanAirAircraft aircraft = new LighterThanAirAircraft(new GasPumpManager(), BallastMass, "He", new List<GasCompartment> {new GasCompartment(200, 200), new GasCompartment(200, 100)}, new List<Engine>(), 300, "Blimp", "StratoCruiser", 8000, 120, "00000488"); aircraft.ShiftGas(originCompartment, destinationCompartment, volume); Console.WriteLine("Gas shifted"); }
public void ShiftGas(int originCompartment, int destinationCompartment, float volume) { Console.WriteLine("The huge task of creating some lighter-that-air aircraft is underway"); Thread.Sleep(4000); LighterThanAirAircraft aircraft = new LighterThanAirAircraft(new GasPumpManager(), BallastMass, "He", new List <GasCompartment> { new GasCompartment(200, 200), new GasCompartment(200, 100) }, new List <Engine>(), 300, "Blimp", "StratoCruiser", 8000, 120, "00000488"); aircraft.ShiftGas(originCompartment, destinationCompartment, volume); Console.WriteLine("Gas shifted"); }
public GasCompartment(float capacity, float currentvolume) { _parentAircraft = null; _capacity = capacity; _currentVolume = currentvolume; }
public void GasPumpFixtureSetUp() { lighterThanAirAircraft = new LighterThanAirAircraft(new GasPumpManager(), 200, "HE", new List<GasCompartment> { new GasCompartment(200, 180), new GasCompartment(200, 180) }, new List<Engine>(), 56, "TEST", "TEST Model", 1000, 100, "TEST SN"); }