Java Mine
ContentsIndexHome
PreviousUpNext
Sensor.Sensor Constructor (int, eSensorApplication, String, double, int, int, int)

/ 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 /

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. (Default: 2) 

/  

/  

/  

/  

/  

/  

/  

/

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