Package org.powertac.common.msg
Class DistributionReport
- java.lang.Object
-
- org.powertac.common.state.XStreamStateLoggable
-
- org.powertac.common.msg.DistributionReport
-
@Domain(fields={"timeslot","totalConsumption","totalProduction"}) public class DistributionReport extends XStreamStateLoggable
Reports total consumption and total production in kwh across all customers in a given timeslot. These are absolute (positive) values.- Author:
- John Collins
-
-
Field Summary
Fields Modifier and Type Field Description protected long
id
-
Constructor Summary
Constructors Constructor Description DistributionReport()
Dummy constructor.DistributionReport(int timeslot, double consumption, double production)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getId()
int
getTimeslot()
double
getTotalConsumption()
double
getTotalProduction()
-
Methods inherited from class org.powertac.common.state.XStreamStateLoggable
readResolve
-
-