C# Class PlugLoadController

Inheritance: SimObject
ファイルを表示 Open project: FIU-SCIS-Senior-Projects/SmartBuilding4 Class Usage Examples

Public Methods

Method Description
addEuo ( EnergyUsingObject, euo ) : void

Adds the euo.

getAggregateUsage ( ) : float
getAllPlugLoads ( ) : PlugLoadController[],
getEuoList ( ) : List

Gets the euo list.

getIsOn ( ) : bool
getPlugLoad ( ) : PlugLoad,
getTotalEnergyUsed ( ) : float
getTotalUsagePerSec ( ) : float
isEuoConnected ( EnergyUsingObject, euo ) : bool

Ises the euo connected.

remEuo ( EnergyUsingObject, euo ) : void
remEuo ( int index ) : void

Rems the euo.

replaceEuo ( EnergyUsingObject, euo, int index ) : void

Sets the euo.

toggleOnOff ( ) : void
turnOff ( ) : void
turnOn ( ) : void

Private Methods

Method Description
Awake ( ) : void
Start ( ) : void
Update ( ) : void

Method Details

addEuo() public method

Adds the euo.
public addEuo ( EnergyUsingObject, euo ) : void
euo EnergyUsingObject, Euo.
return void

getAggregateUsage() public method

public getAggregateUsage ( ) : float
return float

getAllPlugLoads() public static method

public static getAllPlugLoads ( ) : PlugLoadController[],
return PlugLoadController[],

getEuoList() public method

Gets the euo list.
public getEuoList ( ) : List
return List

getIsOn() public method

public getIsOn ( ) : bool
return bool

getPlugLoad() public method

public getPlugLoad ( ) : PlugLoad,
return PlugLoad,

getTotalEnergyUsed() public method

public getTotalEnergyUsed ( ) : float
return float

getTotalUsagePerSec() public method

public getTotalUsagePerSec ( ) : float
return float

isEuoConnected() public method

Ises the euo connected.
public isEuoConnected ( EnergyUsingObject, euo ) : bool
euo EnergyUsingObject, Euo.
return bool

remEuo() public method

public remEuo ( EnergyUsingObject, euo ) : void
euo EnergyUsingObject,
return void

remEuo() public method

Rems the euo.
public remEuo ( int index ) : void
index int Index.
return void

replaceEuo() public method

Sets the euo.
public replaceEuo ( EnergyUsingObject, euo, int index ) : void
euo EnergyUsingObject, Euo.
index int Index.
return void

toggleOnOff() public method

public toggleOnOff ( ) : void
return void

turnOff() public method

public turnOff ( ) : void
return void

turnOn() public method

public turnOn ( ) : void
return void