public GSM(string model, string manufacturer, double price = 0, string owner = "", double displaySize = 1, long displayColors = 1, string batteryModel = "NoName", double batteryIdleTime = 1, double batteryHoursTime = 1, Battery.BatteryType batteryType = Battery.BatteryType.LiIon) { this.Model = model; this.Manufacturer = manufacturer; this.Price = price; this.owner = owner; display = new Display(displaySize, displayColors); battery = new Battery(batteryModel, batteryIdleTime, batteryHoursTime, batteryType); }
public Phone(string brand, string model, int price, Battery.BatteryType type, string batteryModel, int batteryCapacity, int batteryIdleTime, int batteryHoursTalk, int?screenWidth, int?screenHeight, int screenColorDepth) : this(brand, model, price, null, type, batteryModel, batteryCapacity, batteryIdleTime, batteryHoursTalk, screenWidth, screenHeight, screenColorDepth) { }