Class SfcScriptingFunctionsPyWrapper
java.lang.Object
com.inductiveautomation.sfc.scripting.SfcScriptingFunctionsPyWrapper
- Direct Known Subclasses:
ClientSfcScriptingFunctionsPyWrapper
This is the actual class that is added to the scripting system to implement the SFC functions. It parses friendlier
arguments and calls the actual RPC functions in
SfcRpcFunctions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
cancelChart
(String instanceId) getRunningCharts
(String chartPath) protected abstract String
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) Deprecated.
-
Constructor Details
-
SfcScriptingFunctionsPyWrapper
-
-
Method Details
-
startChart
@Deprecated(forRemoval=false) public String startChart(String chartPath, Map<String, Object> parameters) throws ExceptionDeprecated.- 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
-
getUsername
-