public ElectronicDevice(string name, int power) { this.Id = Numerator.GetInstance().GetId(); this.Name = name; this.Power = power; }