public RegisterCarAirConditioner(Database database, string manufacturer, string model, int volumeCoverage) { this.manufacturer = manufacturer; this.model = model; this.volumeCoverage = volumeCoverage; this.database = database; }
public RegisterStationaryAirConditioner(Database database, string manufacturer, string model, string energyEfficiencyRating, int powerUsage) { this.database = database; this.manufacturer = manufacturer; this.model = model; this.energyEfficiencyRating = energyEfficiencyRating; this.powerUsage = powerUsage; }
public RegisterPlaneAirConditioner(Database database, string manufacturer, string model, int volumeCoverage, string electricityUsed) { this.database = database; this.manufacturer = manufacturer; this.model = model; this.volumeCoverage = volumeCoverage; this.electricityUsed = electricityUsed; }
public Engine(IUserInterface userInterface, Database database) { this.controller = new Controller(database); this.userInterface = userInterface; this.database = database; }
public FindAirConditioner(Database database, string manufacturer, string model) { this.database = database; this.manufacturer = manufacturer; this.model = model; }
public FindReport(Database database, string manufacturer, string model) { this.database = database; this.manufacturer = manufacturer; this.model = model; }
public Controller(Database database) { this.database = database; }
public static void Main() { var database = new Database(); var engine = new Engine(new ConsoleUserInterface(), database); engine.Run(); }
public Status(Database database) { this.database = database; }
public FindAllReportsByManufacturer(Database database, string manufacturer) { this.database = database; this.manufacturer = manufacturer; }