Class SfcScriptingFunctionsPyWrapper
java.lang.Object
com.inductiveautomation.sfc.scripting.SfcScriptingFunctionsPyWrapper
Created by carl.gould on 7/22/2014.
This is the actual class that is added to the scripting system to implement the SFC functions. It is more python
friendly than the methods from the SfcScriptingFunctions interface.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancelChart(String instanceId) getRunningCharts(String chartPath) getVariables(String instanceId) voidpauseChart(String instanceId) voidredundantCheckpoint(String instanceId) voidresumeChart(String instanceId) voidsetVariable(String instanceId, String variableName, Object variableValue) voidsetVariable(String instanceId, String stepId, String variableName, Object variableValue) voidsetVariables(String instanceId, String stepId, org.python.core.PyObject variablesMap) voidsetVariables(String instanceId, org.python.core.PyObject variablesMap) startChart(String chartPath, Map<String, Object> parameters)
-
Constructor Details
-
SfcScriptingFunctionsPyWrapper
-
-
Method Details
-
startChart
- Throws:
Exception
-
startChart
public String startChart(String projectName, String chartPath, Map<String, Object> parameters) throws Exception- Throws:
Exception
-
getRunningCharts
- Throws:
Exception
-
getRunningCharts
- Throws:
Exception
-
cancelChart
- Throws:
Exception
-
pauseChart
- Throws:
Exception
-
resumeChart
- Throws:
Exception
-
getVariables
- Throws:
Exception
-
setVariable
-
setVariable
-
setVariables
-
setVariables
-
redundantCheckpoint
- Throws:
Exception
-