public class Genco extends Object implements TimeslotModelUpdate
| Modifier and Type | Method and Description |
|---|---|
void |
addCashPosition(CashPosition position) |
WholesaleDataGenco |
findWholesaleDataByTimeslot(Timeslot timeslot)
Finds (or creates one if cannot be found) wholesaleData by the specified
timeslot
|
Broker |
getBroker() |
double |
getCash() |
String |
getId() |
GencoJSON |
getJson() |
ArrayList<WholesaleDataGenco> |
getWholesaleDatasList() |
String |
toString() |
void |
update(int timeslotIndex,
org.joda.time.Instant postedTime) |
public Genco(Broker broker)
public WholesaleDataGenco findWholesaleDataByTimeslot(Timeslot timeslot)
timeslot - public Broker getBroker()
public void addCashPosition(CashPosition position)
public double getCash()
public void update(int timeslotIndex,
org.joda.time.Instant postedTime)
update in interface TimeslotModelUpdatetimeslotIndex - update will be run for this timeslot index.public ArrayList<WholesaleDataGenco> getWholesaleDatasList()
public GencoJSON getJson()
public String getId()
Copyright © 2017 Power TAC. All rights reserved.