Package org.powertac.visualizer.domain
Class WholesaleKPIHolder
- java.lang.Object
-
- org.powertac.visualizer.domain.WholesaleKPIHolder
-
public class WholesaleKPIHolder extends Object
Keeps track of wholesale market, 24 timelots at a time.- Author:
- Jurica Babic, Govert Buijs, Erik Kemperman
-
-
Constructor Summary
Constructors Constructor Description WholesaleKPIHolder()
WholesaleKPIHolder(WholesaleKPIHolder persist, int timeslot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTransaction(MarketTransaction mtx)
double
getCash()
double
getMwh()
double
getPrice()
boolean
isEmpty()
void
resetCurrentValues()
-
-
-
Constructor Detail
-
WholesaleKPIHolder
public WholesaleKPIHolder()
-
WholesaleKPIHolder
public WholesaleKPIHolder(WholesaleKPIHolder persist, int timeslot)
-
-
Method Detail
-
resetCurrentValues
public void resetCurrentValues()
-
addTransaction
public void addTransaction(MarketTransaction mtx)
-
getMwh
public double getMwh()
-
getPrice
public double getPrice()
-
getCash
public double getCash()
-
isEmpty
public boolean isEmpty()
-
-