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