Package net.simplace.sim.control
Klasse FWSimulationControlCache
java.lang.Object
net.simplace.sim.io.FWSimCache
net.simplace.sim.control.FWSimulationControlCache
- Alle implementierten Schnittstellen:
FWSimFieldContainer
- Autor:
- lap
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected intthe current count of simulations in that projectprotected intthe current count of update simulations cycle in that projectVon Klasse geerbte Felder net.simplace.sim.io.FWSimCache
iArrayMode, iCache, iFieldcount, iFrequence, iHeaderVariables, iName, iOrderNumber, iVariablesIndexes -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaddProject(String aProjectID) voidadds 1 to the current simulation countvoidadds 1 to the current simulation countvoidadds 1 to the current update simulation countvoidcalculateFractionFinished(long aCompletedTaskCount) org.jdom2.Elementintintorg.jdom2.ElementgetEditFormXML(boolean aEnabled) doubleintintString[]intvoidkeepIterationData(Boolean aKeepFlag) voidvoidvoidputAllVariables(LinkedHashMap<String, FWSimVariable<?>> aFieldMap) voidvoidresets the current simulation count to 0voidresets the current simulation count to 0voidresets the current update simulation count to 0voidsetCalibrationMode(FWSimSession.CALIBRATION_MODE aCalibrationMode) voidsetFractionFinished(double aFractionFinished) voidsetProjectCount(int aProjectCount) voidsetSelectedSimulations(String[] aSelectedSimulations) voidsetSimulationCount(int aSimulationCount) voidstartProject(String aProjectID) org.jdom2.ElementtoXML()Von Klasse geerbte Methoden net.simplace.sim.io.FWSimCache
addVariable, checkCondition, createVariables, getCache, getContentType, getFieldcount, getFieldMap, getFrequence, getInputVariables, getName, getOrderNumber, getOutputVariables, getVariable, getVariableIndex, getVariables, isArrayMode, isConditionCheck, removeVariable, setCacheMap
-
Felddetails
-
iCurrentSimulationCount
protected int iCurrentSimulationCountthe current count of simulations in that project -
iCurrentUpdateSimulationCount
protected int iCurrentUpdateSimulationCountthe current count of update simulations cycle in that project
-
-
Konstruktordetails
-
FWSimulationControlCache
- Parameter:
aSession-
-
-
Methodendetails
-
toXML
public org.jdom2.Element toXML()- Gibt zurück:
- a xml element with all the settings of this component()
-
getCreateFormXML
public org.jdom2.Element getCreateFormXML()- Gibt zurück:
- a xml element with all the settings of this component()
-
getEditFormXML
public org.jdom2.Element getEditFormXML(boolean aEnabled) - Parameter:
aEnabled-- Gibt zurück:
- a xml element with all the settings of this component()
-
keepIterationData
-
keepIterationData
-
getIteration
-
newIteration
public void newIteration() -
resetIteration
public void resetIteration() -
getProjectIDs
-
getProjectCount
public int getProjectCount()- Gibt zurück:
- the project count
-
getFirstProjectID
- Gibt zurück:
- the firstProjectID
-
startProject
- Parameter:
aProjectID- the current ProjectID
-
getCurrentProjectID
- Gibt zurück:
- the currentProjectID
-
getCurrentProjectCount
public int getCurrentProjectCount()- Gibt zurück:
- the currentSimulationCount
-
addProjectCount
public void addProjectCount()adds 1 to the current simulation count -
setProjectCount
public void setProjectCount(int aProjectCount) - Parameter:
aProjectCount-
-
resetProjectCount
public void resetProjectCount()resets the current simulation count to 0 -
getLastProjectID
- Gibt zurück:
- the lastProjectID
-
getPrevProjectID
- Gibt zurück:
- the lastProjectID
-
addProject
-
getSession
- Gibt zurück:
- the session
-
clearProjectIDs
-
getCalibrationMode
-
setCalibrationMode
-
getSelectedSimulations
-
getSelectedSimulationsVar
-
setSelectedSimulations
-
putAllVariables
-
loadProjectData
- Löst aus:
SQLException
-
getControlMap
-
getCurrentSimulationCount
public int getCurrentSimulationCount()- Gibt zurück:
- the currentSimulationCount
-
addSimulationCount
public void addSimulationCount()adds 1 to the current simulation count -
setSimulationCount
public void setSimulationCount(int aSimulationCount) - Parameter:
aSimulationCount-
-
resetSimulationCount
public void resetSimulationCount()resets the current simulation count to 0 -
getUpdateSimulationCount
public int getUpdateSimulationCount()- Gibt zurück:
- the currentSimulationCount
-
addUpdateSimulationCount
public void addUpdateSimulationCount()adds 1 to the current update simulation count -
resetUpdateSimulationCount
public void resetUpdateSimulationCount()resets the current update simulation count to 0 -
getPercentFinished
public int getPercentFinished()- Gibt zurück:
- the percentFinished [0-100]
-
getFractionFinished
public double getFractionFinished()- Gibt zurück:
- the fractionFinished [0-1]
-
setFractionFinished
public void setFractionFinished(double aFractionFinished) - Parameter:
aFractionFinished- the finished part of the simulation experiment [0-1]
-
getVarMap
- Gibt zurück:
- number in the order of Components
-
getSynchronizeRule
- Gibt zurück:
-
getSynchronizeFrequence
- Gibt zurück:
-
calculateFractionFinished
public void calculateFractionFinished(long aCompletedTaskCount) - Parameter:
aCompletedTaskCount-
-