public abstract class BaseControlHierarchy extends Object implements ControlHierarchyInterface
| Modifier and Type | Field and Description |
|---|---|
protected String |
config |
protected String |
configPath |
protected String |
fileNamePrefix |
protected boolean |
finished |
protected ControlLayer[] |
layers |
protected boolean |
output |
protected String |
outputFile |
protected boolean |
pauseFlag |
protected boolean |
runningFlag |
protected double |
timeRate |
protected int |
type |
protected String |
unitTestString |
| Constructor and Description |
|---|
BaseControlHierarchy() |
| Modifier and Type | Method and Description |
|---|---|
String |
getConfigPath() |
Controller |
getController(int layer,
int system) |
String |
getDelimitedString() |
String |
getFileNamePrefix() |
ControlLayer[] |
getLayers() |
String |
getOutputFile() |
protected String |
getOutputFile(File file,
String date) |
String |
getTime() |
int |
getType() |
String |
getUnitTestString() |
boolean |
isFinished() |
boolean |
isPaused() |
boolean |
isRunning() |
void |
setFinished(boolean finished) |
void |
setOutputFile(String outputFile) |
void |
setPauseFlag(boolean pauseFlag) |
void |
setRunningFlag(boolean runningFlag) |
void |
setTimeRate(double timeRate) |
void |
setType(int type) |
void |
setUnitTestString(String unitTestString) |
void |
setValues(double[] array) |
void |
setValues(String values) |
void |
stop() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, init, iterate, layeredIterate, orderedIterate, pause, post, print, run, setControllerParameter, setControllerParameter, specificProcessing, updateTimeprotected boolean runningFlag
protected boolean pauseFlag
protected String unitTestString
protected String outputFile
protected String config
protected boolean finished
protected ControlLayer[] layers
protected int type
protected boolean output
protected double timeRate
protected String configPath
protected String fileNamePrefix
public ControlLayer[] getLayers()
public void setTimeRate(double timeRate)
public String getTime()
getTime in interface ControlHierarchyInterfacepublic String getConfigPath()
public String getFileNamePrefix()
public int getType()
public void setType(int type)
public String getOutputFile()
public void setOutputFile(String outputFile)
public String getUnitTestString()
public void setUnitTestString(String unitTestString)
public boolean isFinished()
public void setFinished(boolean finished)
public boolean isRunning()
isRunning in interface ControlHierarchyInterfacepublic void setRunningFlag(boolean runningFlag)
setRunningFlag in interface ControlHierarchyInterfacepublic boolean isPaused()
public void setPauseFlag(boolean pauseFlag)
public void stop()
throws Exception
stop in interface ControlHierarchyInterfaceExceptionpublic Controller getController(int layer, int system)
public String getDelimitedString()
public void setValues(String values)
setValues in interface ControlHierarchyInterfacepublic void setValues(double[] array)
setValues in interface ControlHierarchyInterfaceCopyright © 2017. All rights reserved.