Java Mine
ContentsIndexHome
PreviousUpNext
Sensor.Sensor Constructor (long, eSensorApplication, String, eFirmwareGeneration, double, int, int, int)
Syntax
Java
public Sensor(long sensorID, eSensorApplication monnitApplication, String firmwareVersion, eFirmwareGeneration platform, double reportInterval, int linkInterval, int retryCount, int recoveryCount) throws Exception;
Parameters 
Description 
long sensorID 
Numerical identifier of the sensor  
eSensorApplication monnitApplication 
Type of sensor  
String firmwareVersion 
Firmware version of sensor  
eFirmwareGeneration platform 
The eFirmwareGeneration of your device  
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. (Default: 2) 

 

Presets these properties 

MonnitApplicationID FirmwareVersion 

Sets all other properties to default values  

 

Copyright (c) 2017. All rights reserved.
What do you think about this topic? Send feedback!