Class AuditUpdateStateEventNode
- java.lang.Object
-
- com.plccom.opc.ua.client.application.model.nodes.UaNode
-
- com.plccom.opc.ua.client.application.model.nodes.UaObjectNode
-
- com.plccom.opc.ua.client.application.model.nodes.objects.BaseObjectNode
-
- com.plccom.opc.ua.client.application.model.nodes.objects.BaseEventNode
-
- com.plccom.opc.ua.client.application.model.nodes.objects.AuditEventNode
-
- com.plccom.opc.ua.client.application.model.nodes.objects.AuditUpdateMethodEventNode
-
- com.plccom.opc.ua.client.application.model.nodes.objects.AuditUpdateStateEventNode
-
- Direct Known Subclasses:
AuditProgramTransitionEventNode,ProgramTransitionAuditEventNode
public class AuditUpdateStateEventNode extends AuditUpdateMethodEventNode
PLCcom sdk AuditUpdateStateEventNode Implementation for Opc Ua- Author:
- Indi.An GmbH, www.indi-an.com, support@indi-an.com
-
-
Constructor Summary
Constructors Constructor Description AuditUpdateStateEventNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)default constructor for AuditUpdateStateEventNode instances
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetNewStateId()Returns the attribute NEW_STATE_ID from cache or directly from connected ua serverObjectgetOldStateId()Returns the attribute OLD_STATE_ID from cache or directly from connected ua servercom.plccom.opc.ua.builtintypes.StatusCodesetNewStateId(Object value)Sets the attribute NEW_STATE_ID of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetOldStateId(Object value)Sets the attribute OLD_STATE_ID of this node at connected ua server and refreshing the nodecache-
Methods inherited from class com.plccom.opc.ua.client.application.model.nodes.objects.AuditUpdateMethodEventNode
getInputArguments, getMethodId, setInputArguments, setMethodId
-
Methods inherited from class com.plccom.opc.ua.client.application.model.nodes.objects.AuditEventNode
getActionTimeStamp, getClientAuditEntryId, getClientUserId, getServerId, getStatus, setActionTimeStamp, setClientAuditEntryId, setClientUserId, setServerId, setStatus
-
Methods inherited from class com.plccom.opc.ua.client.application.model.nodes.objects.BaseEventNode
getEventId, getEventType, getLocalTime, getMessage, getReceiveTime, getSeverity, getSourceName, getSourceNode, getTime, setEventId, setEventType, setLocalTime, setMessage, setReceiveTime, setSeverity, setSourceName, setSourceNode, setTime
-
Methods inherited from class com.plccom.opc.ua.client.application.model.nodes.UaObjectNode
browseObjectType, browseVariable, getEventNotifier, readEventNotifier, setEventNotifier, writeEventNotifier
-
Methods inherited from class com.plccom.opc.ua.client.application.model.nodes.UaNode
getBrowseName, getDescription, getDisplayName, getNodeClass, getNodeId, getUserWriteMask, getWriteMask, readBrowseName, readDescription, readDisplayName, readNodeClass, readNodeId, readUserWriteMask, readWriteMask, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setUserWriteMask, setWriteMask, writeBrowseName, writeDescription, writeDisplayName, writeNodeClass, writeNodeId, writeUserWriteMask, writeWriteMask
-
-
-
-
Constructor Detail
-
AuditUpdateStateEventNode
public AuditUpdateStateEventNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)
default constructor for AuditUpdateStateEventNode instances- Parameters:
client- the client instancenodeId- the based nodeid
-
-
Method Detail
-
getOldStateId
public Object getOldStateId() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute OLD_STATE_ID from cache or directly from connected ua server- Returns:
- the OLD_STATE_ID attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setOldStateId
public com.plccom.opc.ua.builtintypes.StatusCode setOldStateId(Object value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the attribute OLD_STATE_ID of this node at connected ua server and refreshing the nodecache- Parameters:
value- the OLD_STATE_ID attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getNewStateId
public Object getNewStateId() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute NEW_STATE_ID from cache or directly from connected ua server- Returns:
- the NEW_STATE_ID attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setNewStateId
public com.plccom.opc.ua.builtintypes.StatusCode setNewStateId(Object value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the attribute NEW_STATE_ID of this node at connected ua server and refreshing the nodecache- Parameters:
value- the NEW_STATE_ID attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
-