Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
EnergyUsingObject
addBattery
EnergyUsingObject.addBattery C# (CSharp) Method
EnergyUsingObject Class Documentation
Show file
Open project: FIU-SCIS-Senior-Projects/SmartBuilding4
addBattery()
public
method
Adds the battery to batteryList
public
addBattery
(
Battery,
bat
) :
void
bat
Battery,
Bat. the Battery to add
return
void
public void addBattery(Battery bat) { powerSupply.getBatteryList().Add(bat); }
EnergyUsingObject
Awake
ReceiveEnergy
Start
Update
addBattery
connectToPlugLoad
disconnectFromPlugLoad
getBatteryEnergyAt
getConnectedPlugLoad
getEnergyUsagePerSec
getIsEnergySupplied
getIsPluggedIn
getIsPoweredOn
getIsUsingBattery
getNumBatteries
getTotalEnergyUsage
hasPower
powerOff
powerOn
removeBatteryAt
setBatteryEnergyAt
startSupplyingEnergy
startUsingBattery
stopSupplyingEnergy
stopUsingBattery
toggleSupplyingEnergy