org.flexiblepower.efi.timeshifter
public class TimeShifterUpdate extends ControlSpaceUpdate
| Constructor and Description |
|---|
TimeShifterUpdate(java.lang.String resourceId,
java.util.Date timestamp,
java.util.Date validFrom,
java.util.Date endBefore,
java.util.List<SequentialProfile> timeshifterProfiles) |
TimeShifterUpdate(java.lang.String resourceId,
java.util.Date timestamp,
java.util.Date validFrom,
java.util.Date endBefore,
SequentialProfile... timeshifterProfiles) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getEndBefore() |
java.util.List<SequentialProfile> |
getTimeShifterProfiles() |
int |
hashCode() |
protected void |
toString(java.lang.StringBuilder sb) |
getValidFromgetResourceId, getResourceMessageId, getTimestamp, toStringpublic TimeShifterUpdate(java.lang.String resourceId,
java.util.Date timestamp,
java.util.Date validFrom,
java.util.Date endBefore,
java.util.List<SequentialProfile> timeshifterProfiles)
resourceId - The resource identifiertimestamp - The moment when this constructor is calledvalidFrom - This timestamp indicates from which moment on this update is valid.endBefore - The moment in time where every sequential profile in the timeShifterProfiles list must be finished.timeshifterProfiles - A list of SequentialProfiles representing one or more energy profiles, in a CommodityForecast
object, that can be allocated sequentially. The forecast profile is used because there can be an
uncertainty in the declared profiles. (e.g. the program a tumble dryer controlled by a sensor does not
have a fixed duration and therefore some uncertainty)public TimeShifterUpdate(java.lang.String resourceId,
java.util.Date timestamp,
java.util.Date validFrom,
java.util.Date endBefore,
SequentialProfile... timeshifterProfiles)
resourceId - The resource identifiertimestamp - The moment when this constructor is calledvalidFrom - This timestamp indicates from which moment on this update is valid.endBefore - The moment in time where every sequential profile in the timeShifterProfiles list must be finished.timeshifterProfiles - A list of SequentialProfiles representing one or more energy profiles, in a CommodityForecast
object, that can be allocated sequentially. The forecast profile is used because there can be an
uncertainty in the declared profiles. (e.g. the program a tumble dryer controlled by a sensor does not
have a fixed duration and therefore some uncertainty)public java.util.List<SequentialProfile> getTimeShifterProfiles()
SequentialProfiles representing one or more energy profiles, in a CommodityForecast
object, that can be allocated sequentially. The forecast profile is used because there can be an
uncertainty in the declared profiles. (e.g. the program a tumble dryer controlled by a sensor does not
have a fixed duration and therefore some uncertainty)public java.util.Date getEndBefore()
public int hashCode()
hashCode in class ControlSpaceUpdatepublic boolean equals(java.lang.Object obj)
equals in class ControlSpaceUpdateprotected void toString(java.lang.StringBuilder sb)
toString in class ControlSpaceUpdate