Java Mine
ContentsIndexHome
PreviousUpNext
Sensor.Sensor Constructor (int, eSensorApplication, String, double, int, int, int)
Syntax
Java
public Sensor(int sensorID, eSensorApplication monnitApplication, String firmwareVersion, double reportInterval, int linkInterval, int retryCount, int recoveryCount) throws Exception;
Parameters 
Description 
int sensorID 
Numerical identifier of the sensor.  
eSensorApplication monnitApplication 
Type of sensor.  
String firmwareVersion 
Firmware version of sensor.  
double reportInterval 
Interval in minutes sensor communicates. (Default: 120)  
int linkInterval 
Interval in minutes sensor scans for gateway in link mode. (Default: 120)  
int retryCount 
Number of attempts to send a message to a gateway. (Default: 2)  
int recoveryCount 
Number of failed sequences before sensor enters link mode.  

 

Presets These Properties 

MonnitApplciationID FirmwareVersion ReportInterval (Default: 120) LinkInterval (Default: 120) RetryCount (Default: 2) RecoveryCount (Default: 2) 

Sets all other properties to default values.

@2015 all rights reserved
What do you think about this topic? Send feedback!