Package com.blukii.sdk.config.datatype
Class SensorIntervals
java.lang.Object
com.blukii.sdk.config.datatype.SensorIntervals
This class represents data type
SensorIntervals
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Gets the interval of measuring (notification and recording).int
Gets the interval of transferring recorded sensor valuesvoid
setMeasureInterval
(int measureInterval) Sets the interval of measuring (notification and recording).void
setTransferInterval
(int transferInterval) Sets the interval of transferring recorded sensor valuestoString()
int
validate()
Validates the values contained in this object.
-
Constructor Details
-
SensorIntervals
public SensorIntervals()
-
-
Method Details
-
getMeasureInterval
public int getMeasureInterval()Gets the interval of measuring (notification and recording).- Returns:
- interval sensor read interval
-
setMeasureInterval
public void setMeasureInterval(int measureInterval) Sets the interval of measuring (notification and recording).- Parameters:
measureInterval
- internal sensor read interval
-
getTransferInterval
public int getTransferInterval()Gets the interval of transferring recorded sensor values- Returns:
- interval of transferring recorded sensor values
-
setTransferInterval
public void setTransferInterval(int transferInterval) Sets the interval of transferring recorded sensor values- Parameters:
transferInterval
- interval of transferring recorded sensor values
-
validate
public int validate()Validates the values contained in this object.This can be used when you create an object, to verify the values set.
- Returns:
- a state from
Validation
-
equals
-
toString
-