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 TypeMethodDescriptionvoid
cancelChart
(String instanceId) getRunningCharts
(String chartPath) getVariables
(String instanceId) void
pauseChart
(String instanceId) void
redundantCheckpoint
(String instanceId) void
resumeChart
(String instanceId) void
setVariable
(String instanceId, String variableName, Object variableValue) void
setVariable
(String instanceId, String stepId, String variableName, Object variableValue) void
setVariables
(String instanceId, String stepId, org.python.core.PyObject variablesMap) void
setVariables
(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
-