public override string GetVehicleParamsNeeds() { string whatINeedMsg, wheelsNeedsMsg, energyNeedsMsg; energyNeedsMsg = EnergySource.GetEnergySourceParamsNeeds(); wheelsNeedsMsg = "12 wheels information: Model name, current amount of air"; whatINeedMsg = string.Format( @"Is carrying dangerous materials (True/False) Volume of cargo {0} {1}", energyNeedsMsg, wheelsNeedsMsg); return(whatINeedMsg); }
public override string GetVehicleParamsNeeds() { string whatINeedMsg, wheelsNeedsMsg, energyNeedsMsg; energyNeedsMsg = EnergySource.GetEnergySourceParamsNeeds(); wheelsNeedsMsg = "2 wheels information: Model name, current amount of air"; whatINeedMsg = string.Format( @"License type Engine capacity {0} {1}", energyNeedsMsg, wheelsNeedsMsg); return(whatINeedMsg); }
public override string GetVehicleParamsNeeds() { string whatINeedMsg, wheelsNeedsMsg, energyNeedsMsg; energyNeedsMsg = EnergySource.GetEnergySourceParamsNeeds(); wheelsNeedsMsg = "4 wheels information: Model name, current amount of air"; whatINeedMsg = string.Format( @"Car color Num of doors {0} {1}", energyNeedsMsg, wheelsNeedsMsg); return(whatINeedMsg); }