private void PowerSupply(IPowerProfile profile) { Battery.PowerSupply(profile); }
public void PowerSupply(IPowerProfile powerProfile) { userInOut.WriteLine("Power supplying with voltage " + powerProfile.Voltage + ", and currency " + powerProfile.OutputCurrency + "\n"); }