コード例 #1
0
 public void DisconnectBattery(Battery battery)
 {
     _attachedBattery = false;
     _battery         = null;
 }
コード例 #2
0
 public void ConnectBattery(Battery battery)
 {
     _attachedBattery = true;
     _battery         = battery;
 }