Java Mine
ContentsIndexHome
PreviousUpNext
OpenClosedBase Methods

The methods of the OpenClosedBase class are listed here.

 
Name 
Description 
 
This is Create, a member of class OpenClosedBase. 
 
This is getData, a member of class OpenClosedBase. 
 
Returns default configurations for the sensor
@param version The version of the Sensor @param platform The Firmware Generation of your device. i.e. Commercial, Alta, Wifi @return Default configurations for the sensor 
 
This is getMagnet, a member of class OpenClosedBase. 
 
This is getProfileType, a member of class OpenClosedBase. 
 

Allows for the update of the specific type of sensor. @param sens the Sensor object to be updated @param heartBeat How often the sensor communicates with the gateway if no activity recorded. @param awareStateHeartBeat How often the sensor communicates with the gateway while in the Aware State. @param enterAwareStateWhenLoopIs Determines which reading of the sensor will trigger the aware State. Closed = 0, Open = 1, and StateChange = 2. @param timeToReArm The time in seconds after a triggering event that the sensor will wait before re-arming itself. @param failedTransmissionsBeforeLinkMode The number of transmissions the sensor sends without response from... more 
 
This is setData, a member of class OpenClosedBase. 
 
This is setMagnet, a member of class OpenClosedBase. 
 

sets the ReportInterval as minutes on the sensor object the next time this sensor checks in it will update @param sens the Sensor object to be updated @param heartbeat a double value this is represented in minutes so heartbeat equals 1 that is one minute @param sendSensorUpdate a Boolean flag that lets the sensor know if it should send up the new configuration 
Copyright (c) 2022. All rights reserved.
What do you think about this topic? Send feedback!