Class Sensor

    • Constructor Detail

      • Sensor

        public Sensor​(org.netxms.base.NXCPMessage msg,
                      NXCSession session)
        Object constructor from message
        Parameters:
        msg -
        session -
    • Method Detail

      • isAllowedOnMap

        public boolean isAllowedOnMap()
        Description copied from class: AbstractObject
        If this method returns true object is allowed to be on custom network map. Default implementation always returns false.
        Overrides:
        isAllowedOnMap in class AbstractObject
        Returns:
        true if object is allowed to be on custom network map
      • isAlarmsVisible

        public boolean isAlarmsVisible()
        Description copied from class: AbstractObject
        If this method returns true object can have visible alarms. Default implementation always returns false.
        Overrides:
        isAlarmsVisible in class AbstractObject
        Returns:
        true if object can contain visible alarms
      • getVendor

        public final String getVendor()
        Returns:
        the vendor
      • getSerialNumber

        public final String getSerialNumber()
        Returns:
        the serialNumber
      • getFlags

        public int getFlags()
        Description copied from interface: PollingTarget
        Get object flags.
        Specified by:
        getFlags in interface PollingTarget
        Returns:
        the flags
      • getMacAddress

        public org.netxms.base.MacAddress getMacAddress()
        Returns:
        the macAddress
      • getFrameCount

        public int getFrameCount()
        Returns:
        the frameCount
      • getSignalStrenght

        public int getSignalStrenght()
        Returns:
        the signalStrenght
      • getFrequency

        public int getFrequency()
        Returns:
        the frequency
      • getDeviceClass

        public int getDeviceClass()
        Returns:
        the deviceClass
      • getCommProtocol

        public int getCommProtocol()
        Returns:
        the commProtocol
      • getDeviceAddress

        public String getDeviceAddress()
        Returns:
        the deviceAddress
      • getMetaType

        public String getMetaType()
        Returns:
        the metaType
      • getDescription

        public String getDescription()
        Returns:
        the description
      • getLastConnectionTime

        public Date getLastConnectionTime()
        Returns:
        the lastConnectionTime
      • getProxyId

        public long getProxyId()
        Returns:
        the proxyId
      • getSignalNoise

        public int getSignalNoise()
        Returns:
        the signalNoise
      • getConfig

        public SensorConfig getConfig()
        Returns:
        the config
      • getIfXTablePolicy

        public int getIfXTablePolicy()
        Description copied from interface: PollingTarget
        Get ifXTable usage policy.
        Specified by:
        getIfXTablePolicy in interface PollingTarget
        Returns:
        ifXTable usage policy