Monnit Mine Java
ContentsIndexHome
PreviousUpNext
Sensor.Sensor Constructor (int, eSensorApplication, String, double)
Syntax
Pascal
C++
Java
PHP
constructor Create(sensorID: Integer; monnitApplication: eSensorApplication; firmwareVersion: String; reportInterval: double);
Parameters 
Description 
int sensorID 
unique identifier of the sensor  
eSensorApplication monnitApplication 
the sensor type such as temperature or humidity  
String firmwareVersion 
the firmware version of the sensor  
double reportInterval 
the heartbeat of the sensor in minutes while not in aware state 

 

Constructor creates new sensor lets you set the heartbeat  

 

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