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