The Sensor type exposes the following members.

Constructors

  Name Description
Public method Sensor(UInt32, eSensorApplication, String)
Presets these properties MonnitApplicationID FirmwareVersion Sets all other properties to default values
Public method Sensor(UInt32, eSensorApplication, String, Double, Int32, Int32, Int32)
Presets these properties MonnitApplicationID FirmwareVersion You can selectively set these properties ReportInterval (Default: 120) LinkInterval (Default: 120) RetryCount (Default: 2) RecoveryCount (Default: 2) Sets all other properties to default values

Methods

  Name Description
Public method Static member BatteryPercentageHelper(eSensorBattery, Double)
Returns an estimated percent of remaining battery based on pre-configured battery profiles
Public method Static member BatteryPercentageHelper(Double, Double, Double, Double, Double, Double, Double)
Returns an estimated percent of remaining battery based on linear interpolation between defined percentage points
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method ForceConfiguration
Force server held configurations to be sent to the sensor at the next communication cycle.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Public method UpdateLinkInterval
Defines in minutes the interval at which the sensor attempts to link/re-link with the gateway. Link heartbeats greater than 1 hour will be rounded to the nearest hour. Accepted values between 1 and 720 (1 minute to 12 hours)
Public method UpdateRecoveryCount
Sets number of messages sensor sends without acknowledgment from gateway before entering link mode Accepted values between 0 and 10 0 means unlimited (no self healing, power cycling senor will be required if gateway changes channel)
Public method UpdateReportInterval
Defines in minutes the interval at which the sensor communicates with the gateway. Unless triggered to communicate earlier, the sensor will send a data message to the gateway when this many minutes elapse. Accepted values between .017 and 720 (1 second to 12 hours)
Public method UpdateRetryCount
Sets number of RF packets sensor attempts to send a single message to gateway. Accepted values between 0 and 10

Properties

  Name Description
Public property FirmwareVersion
Tracks the version of firmware. Some features are only available on certain firmware versions.
Public property GeneralConfig1Dirty
If set this flag will cause the General Config 1 page to be sent to the sensor Affected Fields: Report Interval, ActiveStateInterval, TransmitIntervalLink
Public property GeneralConfig2Dirty
If set this flag will cause the General Config 2 page to be sent to the sensor Affected Fields: Recovery, RetryCount
Public property MonnitApplication
Identifier of the sensor application type. (Temp/Humidity/etc)
Public property Recovery
Defines the number of failed transmission sets before entering link mode
Public property ReportInterval
Defines in minutes the interval at which the sensor communicates with the gateway. Unless triggered to communicate earlier, the sensor will send a data message to the gateway when this many minutes elapse.
Public property RetryCount
Defines the number of back to back attempts in a transmission set
Public property SensorID
Unique numeric identifier of the sensor.
Public property TransmitIntervalLink
Sets the time between link attempts in link mode. Default: 2

See Also