Class AggregateConfigurationNode

    • Constructor Detail

      • AggregateConfigurationNode

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

      • getTreatUncertainAsBad

        public Boolean getTreatUncertainAsBad()
                                       throws com.plccom.opc.ua.common.ServiceFaultException,
                                              com.plccom.opc.ua.common.ServiceResultException
        Returns the attribute TREAT_UNCERTAIN_AS_BAD from cache or directly from connected ua server
        Returns:
        the value attribute
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setTreatUncertainAsBad

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

        public com.plccom.opc.ua.builtintypes.UnsignedByte getPercentDataBad()
                                                                      throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                             com.plccom.opc.ua.common.ServiceResultException
        Returns the attribute PERCENT_DATA_BAD from cache or directly from connected ua server
        Returns:
        the value attribute
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setPercentDataBad

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

        public com.plccom.opc.ua.builtintypes.UnsignedByte getPercentDataGood()
                                                                       throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                              com.plccom.opc.ua.common.ServiceResultException
        Returns the attribute PERCENT_DATA_GOOD from cache or directly from connected ua server
        Returns:
        the value attribute
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setPercentDataGood

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

        public Boolean getUseSlopedExtrapolation()
                                          throws com.plccom.opc.ua.common.ServiceFaultException,
                                                 com.plccom.opc.ua.common.ServiceResultException
        Returns the attribute USE_SLOPED_EXTRAPOLATION from cache or directly from connected ua server
        Returns:
        the value attribute
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setUseSlopedExtrapolation

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