Class AbstractOPCUtilities
java.lang.Object
com.inductiveautomation.ignition.common.script.builtin.AbstractOPCUtilities
- Direct Known Subclasses:
ClientOpcUtilities
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbrowseServer
(String opcServer, String nodeId) protected abstract List<AbstractOPCUtilities.PyOPCTag>
browseServerImpl
(String serverName, String nodeId) getServers
(org.python.core.PyObject[] pyArgs, String[] keywords) getServersImpl
(boolean includeDisabled) getServerState
(String opcServer) protected abstract String
getServerStateImpl
(String opcServer) boolean
isServerEnabled
(String serverName) protected abstract boolean
isServerEnabledImpl
(String serverName) readValues
(String opcServer, String[] itemPaths) protected abstract List<QualifiedValue>
readValuesImpl
(List<ServerNodeId> nodes) void
setServerEnabled
(String serverName, boolean enabled) protected abstract void
setServerEnabledImpl
(String serverName, boolean enabled) writeValue
(org.python.core.PyObject[] pyArgs, String[] keywords) writeValues
(org.python.core.PyObject[] pyArgs, String[] keywords) protected abstract List<QualityCode>
writeValuesImpl
(List<ServerNodeId> nodes, List<Object> objects, List<String> indexRanges)
-
Constructor Details
-
AbstractOPCUtilities
public AbstractOPCUtilities()
-
-
Method Details
-
readValue
- Throws:
Exception
-
readValues
- Throws:
Exception
-
writeValue
public QualityCode writeValue(org.python.core.PyObject[] pyArgs, String[] keywords) throws Exception - Throws:
Exception
-
writeValues
public QualityCode[] writeValues(org.python.core.PyObject[] pyArgs, String[] keywords) throws Exception - Throws:
Exception
-
getServerState
- Throws:
Exception
-
getServers
public List<String> getServers(org.python.core.PyObject[] pyArgs, String[] keywords) throws Exception - Throws:
Exception
-
browseServer
public List<AbstractOPCUtilities.PyOPCTag> browseServer(String opcServer, String nodeId) throws Exception - Throws:
Exception
-
setServerEnabled
- Throws:
Exception
-
isServerEnabled
- Throws:
Exception
-
readValuesImpl
- Throws:
Exception
-
writeValuesImpl
protected abstract List<QualityCode> writeValuesImpl(List<ServerNodeId> nodes, List<Object> objects, List<String> indexRanges) throws Exception - Throws:
Exception
-
getServerStateImpl
- Throws:
Exception
-
getServersImpl
- Throws:
Exception
-
browseServerImpl
protected abstract List<AbstractOPCUtilities.PyOPCTag> browseServerImpl(String serverName, String nodeId) throws Exception - Throws:
Exception
-
setServerEnabledImpl
- Throws:
Exception
-
isServerEnabledImpl
- Throws:
Exception
-