Package net.simplace.sim.io.output
Klasse FWSimOutput
java.lang.Object
net.simplace.sim.io.output.FWSimOutput
- Alle implementierten Schnittstellen:
Runnable
- Bekannte direkte Unterklassen:
FWSimCalibrationOutput
- Autor:
- Andreas Enders
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected FWSimOutputAdapterof the Adapterprotected FWSimIOAdapter.FREQUENCEFrequence of Outputprotected StringName of Outputprotected HashMap<String, FWSimOutputCache> The cache of the outputsprotected JexlRuleScriptRule of Outputprotected FWSimProject.PROJECT_MODEprotected JexlRuleScript -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedFWSimOutput(String aName, FWSimIOAdapter.FREQUENCE aFrequence, FWSimVarMap aVarMap, String aRule, String aResetRule) Constructor from output Element: format likeFWSimOutput(org.jdom2.Element aOutputElement, int aOrderNumber, FWSimVarMap aVarMap, FWSimProject.PROJECT_MODE aProjectMode) Constructor from output Element: format like -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidcalculateStatistics(String aSimulationID) calculate the statisticsprotected voidfinalize()getName()org.jdom2.Elementbooleanvoidinitialize(FWSimVarMap aVarMap) booleanvoidOUTPUT(LocalDateTime aCurrentDate, FWSimVarMap aVarMap, FWSimProject.PROJECT_MODE aCurrentProjectMode) Use this method to put output data to the output queue.voidremoveSimulationCache(FWSimVarMap aVarMap) voidrun()runs writing of data for the attached adaptertoString()voidupdateAdapter(FWSimInterface<?> aInterface, FWSimVarMap aVarMap)
-
Felddetails
-
iName
Name of Output -
iFrequence
Frequence of Output -
iOutputScript
Rule of Output -
iResetScript
-
iAdapter
of the Adapter -
iOutputCache
The cache of the outputs -
iProjectMode
-
-
Konstruktordetails
-
FWSimOutput
public FWSimOutput(org.jdom2.Element aOutputElement, int aOrderNumber, FWSimVarMap aVarMap, FWSimProject.PROJECT_MODE aProjectMode) Constructor from output Element: format like- Parameter:
aOutputElement-aOrderNumber-aVarMap-aProjectMode-
-
FWSimOutput
protected FWSimOutput(String aName, FWSimIOAdapter.FREQUENCE aFrequence, FWSimVarMap aVarMap, String aRule, String aResetRule) Constructor from output Element: format like- Parameter:
aName-aFrequence-aVarMap-aRule-aResetRule-aProjectMode-
-
-
Methodendetails
-
updateAdapter
- Parameter:
aInterface-aVarMap-
-
initialize
- Parameter:
aVarMap-
-
OUTPUT
public void OUTPUT(LocalDateTime aCurrentDate, FWSimVarMap aVarMap, FWSimProject.PROJECT_MODE aCurrentProjectMode) Use this method to put output data to the output queue. The VarMap is filtered for the configuredO output fields and used accordingly- Parameter:
aCurrentDate-aVarMap-aCurrentProjectMode-
-
getName
- Gibt zurück:
- the name
-
getFrequence
- Gibt zurück:
- the frequency the Output is accessed
-
getOutputScript
- Gibt zurück:
- the rule
-
getResetScript
- Gibt zurück:
- the rule
-
hasStatistics
public boolean hasStatistics()- Gibt zurück:
- if a statistics is populated
-
calculateStatistics
calculate the statistics- Parameter:
aSimulationID-
-
removeSimulationCache
- Parameter:
aVarMap-
-
getProjectMode
- Gibt zurück:
- project mode
-
run
public void run()runs writing of data for the attached adapter -
isWriting
public boolean isWriting()- Gibt zurück:
- if Output is still writing or not
-
finalize
-
getAdapter
- Gibt zurück:
- the Adapter of the Output
-
getOutputElement
public org.jdom2.Element getOutputElement() -
toString
-