Class OffNormalAlarmNode

    • Constructor Detail

      • OffNormalAlarmNode

        public OffNormalAlarmNode​(UaClient client,
                                  com.plccom.opc.ua.builtintypes.NodeId nodeId)
        default constructor for OffNormalAlarmNode instances
        Parameters:
        client - the client instance
        nodeId - the based nodeid
    • Method Detail

      • getNormalState

        public com.plccom.opc.ua.builtintypes.NodeId getNormalState()
                                                             throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                    com.plccom.opc.ua.common.ServiceResultException
        Returns the attribute NORMAL_STATE from cache or directly from connected ua server
        Returns:
        the NORMAL_STATE attribute
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setNormalState

        public com.plccom.opc.ua.builtintypes.StatusCode setNormalState​(com.plccom.opc.ua.builtintypes.NodeId value)
                                                                 throws com.plccom.opc.ua.common.ServiceResultException
        Sets the attribute NORMAL_STATE of this node at connected ua server and refreshing the nodecache
        Parameters:
        value - the NORMAL_STATE attribute
        Returns:
        a StatusCode object with result of actual operation
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error