public void GetAccumulatorType(Accumulator accumulator)
 {
     Console.WriteLine($"Тип аккумулятора: {accumulator.AccumulatorType}");
 }
 public Telephone(TelephoneFactory factory)
 {
     manufacturer = factory.CreateManufacturer();
     display      = factory.CreateDisplay();
     accumulator  = factory.CreateAccumulator();
 }