public class MinimumRuntime
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
dirty |
protected int |
fixedValueSeconds |
protected int |
method |
protected static int |
METHOD_ERT |
protected static int |
METHOD_FIX |
protected static int |
METHOD_NONE |
protected int |
percentERT |
Modifier | Constructor and Description |
---|---|
protected |
MinimumRuntime() |
Modifier and Type | Method and Description |
---|---|
MinimumRuntime |
copy()
This method is used to return the copy of the MinimumRuntime Object.
|
int |
getFixedValue()
Returns the fixed value in seconds.
|
int |
getPercentERT()
Returns the correction value in percent for ERT for the minimum runtime.
|
boolean |
isMethodERT()
Returns
true if the estimated runtime method is used. |
boolean |
isMethodFixedValue()
Returns
true if a fixed value is used for the minimum runtime. |
boolean |
isMethodNone()
Returns
true if the minimum runtime is not supervised. |
void |
setMethodERT(int percent)
Selects ERT method to monitor the minimum runtime.
|
void |
setMethodFixedValue(int seconds)
Sets a fixed value for the minimum runtime.
|
void |
setMethodNone()
The minimum runtime is not supervised.
|
protected static final int METHOD_NONE
protected static final int METHOD_FIX
protected static final int METHOD_ERT
protected int method
protected int fixedValueSeconds
protected int percentERT
protected boolean dirty
public void setMethodNone()
public boolean isMethodNone()
true
if the minimum runtime is not supervised.public boolean isMethodFixedValue()
true
if a fixed value is used for the minimum runtime.public boolean isMethodERT()
true
if the estimated runtime method is used.public void setMethodFixedValue(int seconds)
seconds
- Number of seconds for the minimum runtimepublic void setMethodERT(int percent)
The valid estimated runtime at the time of the task's activation is used as the minimum runtime. An action as an ELSE condition must be specified which reacts when runtime falls below the minimum runtime. A correction value in percent may be specified for ERT for the minimum runtime. The determined value is subtracted from the estimated runtime.
percent
- Correction value in percent for ERT for the minimum runtimepublic int getFixedValue()
public int getPercentERT()
public MinimumRuntime copy()