コード例 #1
0
ファイル: Mobile.cs プロジェクト: Anpl-sc/Labs
 private void PowerSupply(IPowerProfile profile)
 {
     Battery.PowerSupply(profile);
 }
コード例 #2
0
ファイル: Battery.cs プロジェクト: Anpl-sc/Labs
 public void PowerSupply(IPowerProfile powerProfile)
 {
     userInOut.WriteLine("Power supplying with voltage " + powerProfile.Voltage + ", and currency " + powerProfile.OutputCurrency + "\n");
 }