Class ShelvedStateMachineNode

    • Constructor Detail

      • ShelvedStateMachineNode

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

      • getUnshelveTime

        public Double getUnshelveTime()
                               throws com.plccom.opc.ua.common.ServiceFaultException,
                                      com.plccom.opc.ua.common.ServiceResultException
        Returns the attribute UNSHELVE_TIME from cache or directly from connected ua server
        Returns:
        the UNSHELVE_TIME attribute
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getSetUnshelveTime

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

        public StateNode getUnshelved()
                               throws com.plccom.opc.ua.common.ServiceResultException
        Returns the unshelved value
        Returns:
        the unshelved value
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getTimedShelved

        public StateNode getTimedShelved()
                                  throws com.plccom.opc.ua.common.ServiceResultException
        Returns the timedShelved value
        Returns:
        the timedShelved value
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getOneShotShelved

        public StateNode getOneShotShelved()
                                    throws com.plccom.opc.ua.common.ServiceResultException
        Returns the oneShotShelved value
        Returns:
        the oneShotShelved value
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getUnshelvedToTimedShelved

        public TransitionNode getUnshelvedToTimedShelved()
                                                  throws com.plccom.opc.ua.common.ServiceResultException
        Returns the unshelvedToTimedShelved value
        Returns:
        the unshelvedToTimedShelved value
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getUnshelvedToOneShotShelved

        public TransitionNode getUnshelvedToOneShotShelved()
                                                    throws com.plccom.opc.ua.common.ServiceResultException
        Returns the unshelvedToOneShotShelved value
        Returns:
        the unshelvedToOneShotShelved value
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getTimedShelvedToUnshelved

        public TransitionNode getTimedShelvedToUnshelved()
                                                  throws com.plccom.opc.ua.common.ServiceResultException
        Returns the timedShelvedToUnshelved value
        Returns:
        the timedShelvedToUnshelved value
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getTimedShelvedToOneShotShelved

        public TransitionNode getTimedShelvedToOneShotShelved()
                                                       throws com.plccom.opc.ua.common.ServiceResultException
        Returns the timedShelvedToOneShotShelved value
        Returns:
        the timedShelvedToOneShotShelved value
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getOneShotShelvedToUnshelved

        public TransitionNode getOneShotShelvedToUnshelved()
                                                    throws com.plccom.opc.ua.common.ServiceResultException
        Returns the oneShotShelvedToUnshelved value
        Returns:
        the oneShotShelvedToUnshelved value
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getOneShotShelvedToTimedShelved

        public TransitionNode getOneShotShelvedToTimedShelved()
                                                       throws com.plccom.opc.ua.common.ServiceResultException
        Returns the oneShotShelvedToTimedShelved value
        Returns:
        the oneShotShelvedToTimedShelved value
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error