Interface HumidityProbe
- All Superinterfaces:
AutoCloseable, Commented, ComprehensiveIdentification, Device, Identified<Identification>, Named, Sensor<Dimensionless>, Serializable
- All Known Implementing Classes:
SimulatedHumidityProbe
Interface for humidity probes.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Nested Class Summary
Nested classes/interfaces inherited from interface Device
Device.Record, Device.Status -
Method Summary
Modifier and TypeMethodDescriptionmeasure(Quantity<Dimensionless> actualHumidity) Measures the humidity given a physical actual humidity.Methods inherited from interface AutoCloseable
closeMethods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, getTraits, setName, setTraitMethods inherited from interface Device
calibrate, calibrate, connect, disconnect, getAccuracy, getCalibrationHistory, getCapabilities, getDeviceStatus, getDisplayUnit, getFirmware, getHistory, getId, getLastCalibration, getLocationDescription, getManufacturer, getMaxRange, getMeasurableQuantities, getMinRange, getModel, getPrecisionDescription, getReadings, getResolution, getSensitivity, getStatus, getValue, isConnected, isEnabled, measure, needsCalibration, setDisplayUnit, setEnabled
-
Method Details
-
getRelativeHumidity
Quantity<Dimensionless> getRelativeHumidity()- Returns:
- the relative humidity in percent (0-100).
-
measure
Measures the humidity given a physical actual humidity. Useful for simulation or calibration.
-