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 TypeMethodDescriptionvoidcancelChart(String instanceId) getRunningCharts(String chartPath) protected abstract StringgetVariables(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) 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
-