Klasse FWSimOutput

java.lang.Object
net.simplace.sim.io.output.FWSimOutput
Alle implementierten Schnittstellen:
Runnable
Bekannte direkte Unterklassen:
FWSimCalibrationOutput

public class FWSimOutput extends Object implements Runnable
Autor:
Andreas Enders
  • Felddetails

  • 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

      public void updateAdapter(FWSimInterface<?> aInterface, FWSimVarMap aVarMap)
      Parameter:
      aInterface -
      aVarMap -
    • initialize

      public void initialize(FWSimVarMap aVarMap)
      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

      public String getName()
      Gibt zurück:
      the name
    • getFrequence

      public FWSimIOAdapter.FREQUENCE getFrequence()
      Gibt zurück:
      the frequency the Output is accessed
    • getOutputScript

      public JexlRuleScript getOutputScript()
      Gibt zurück:
      the rule
    • getResetScript

      public JexlRuleScript getResetScript()
      Gibt zurück:
      the rule
    • hasStatistics

      public boolean hasStatistics()
      Gibt zurück:
      if a statistics is populated
    • calculateStatistics

      public void calculateStatistics(String aSimulationID)
      calculate the statistics
      Parameter:
      aSimulationID -
    • removeSimulationCache

      public void removeSimulationCache(FWSimVarMap aVarMap)
      Parameter:
      aVarMap -
    • getProjectMode

      public FWSimProject.PROJECT_MODE getProjectMode()
      Gibt zurück:
      project mode
    • run

      public void run()
      runs writing of data for the attached adapter
      Angegeben von:
      run in Schnittstelle Runnable
      Siehe auch:
    • isWriting

      public boolean isWriting()
      Gibt zurück:
      if Output is still writing or not
    • finalize

      protected void finalize() throws Exception
      Setzt außer Kraft:
      finalize in Klasse Object
      Löst aus:
      Exception
      Siehe auch:
    • getAdapter

      public FWSimOutputAdapter getAdapter()
      Gibt zurück:
      the Adapter of the Output
    • getOutputElement

      public org.jdom2.Element getOutputElement()
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object