public class PowerInstrument
extends CompositeDataset
| Constructor and Description |
|---|
PowerInstrument() |
| Modifier and Type | Method and Description |
|---|---|
float |
getPower(java.lang.String instrument)
Get the power consumption of an instrument
|
float |
getTotalPower()
Summatory of the power consumption of all the instruments
|
void |
setPower(java.lang.String instrument,
float powerI)
Set the power consumption of a instrument
|
public void setPower(java.lang.String instrument,
float powerI)
instrument - powerI - public float getPower(java.lang.String instrument)
instrument - public float getTotalPower()