public class CalculateForecast extends XMLRequest implements java.lang.Iterable<ForecastItem>
| Constructor and Description |
|---|
CalculateForecast(int runID,
UC4ObjectName forecastName)
Creates a Forecast of a task.
|
CalculateForecast(UC4ObjectName object,
UC4ObjectName forecastName,
DateTime date,
Time start)
Calculates the Forecast of an object.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<ForecastItem> |
iterator()
Returns an iterator of the forecast list.
|
void |
setPeriodicDayCount(int periodicDayCount)
Sets the number of days for periodical tasks.
|
int |
size() |
void |
useActualEntriesForGroups()
If this method is called the actual entries are used in case of Groups.
|
void |
useERTofGroups()
If this method is called the ERT value is used in case of Groups.
|
void |
useFixedValuesForGroups(int seconds)
If this method is called the a fixed number of seconds is used in case of Groups.
|
getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, sendpublic CalculateForecast(int runID,
UC4ObjectName forecastName)
runID - runID of the taskforecastName - Name of the forecastpublic CalculateForecast(UC4ObjectName object, UC4ObjectName forecastName, DateTime date, Time start)
object - Name of the UC4 objectforecastName - Name of the forecastdate - Logical datestart - Start timepublic void useERTofGroups()
public void useActualEntriesForGroups()
public void useFixedValuesForGroups(int seconds)
seconds - Secondspublic void setPeriodicDayCount(int periodicDayCount)
periodicDayCount - Number of dayspublic java.util.Iterator<ForecastItem> iterator()
iterator in interface java.lang.Iterable<ForecastItem>public int size()