Interface AtmosphericDatum
- All Superinterfaces:
net.solarnetwork.domain.datum.AtmosphericDatum,Cloneable,net.solarnetwork.domain.datum.Datum,net.solarnetwork.domain.datum.MutableDatum,MutableNodeDatum,NodeDatum
- All Known Subinterfaces:
DayDatum
- All Known Implementing Classes:
SimpleAtmosphericDatum,SimpleDayDatum
public interface AtmosphericDatum
extends net.solarnetwork.domain.datum.AtmosphericDatum, MutableNodeDatum
Standardized API for atmospheric related datum to implement.
- Version:
- 2.0
- Author:
- matt
-
Field Summary
Fields inherited from interface net.solarnetwork.domain.datum.AtmosphericDatum
ATMOSPHERIC_PRESSURE_KEY, CO2_KEY, DEW_POINT_KEY, HUMIDITY_KEY, IRRADIANCE_KEY, LUX_KEY, RAIN_KEY, SKY_CONDITION_CODES_KEY, SKY_CONDITIONS_KEY, SNOW_KEY, TAG_ATMOSPHERE_INDOOR, TAG_ATMOSPHERE_OUTDOOR, TAG_FORECAST, TEMPERATURE_KEY, VISIBILITY_KEY, WIND_DIRECTION_KEY, WIND_SPEED_KEYFields inherited from interface net.solarnetwork.domain.datum.Datum
DATUM_TYPE_PROPERTY, DATUM_TYPES_PROPERTY, OP_STATE, OP_STATES, REVERSE_ACCUMULATING_SUFFIX_KEY, SOURCE_ID, TIMESTAMPFields inherited from interface net.solarnetwork.node.domain.datum.NodeDatum
TIMESTAMP_UPLOAD -
Method Summary
Modifier and TypeMethodDescriptiondefault voidsetAtmosphericPressure(Integer value) Set the instantaneous atmospheric pressure, in pascals.default voidsetCO2(BigDecimal value) Set the instantaneous CO2 level, in parts-per-million.default voidsetDewPoint(BigDecimal value) Set the instantaneous dew point, in degrees Celsius.default voidsetHumidity(Integer value) Set the instantaneous humidity, as an integer percentage (where 100 represents 100%).default voidsetIrradiance(BigDecimal value) Set the solar irradiance level, in watts / square meter.default voidsetLux(BigDecimal value) Set the instantaneous luminosity level, in lux.default voidSet the rain accumulation, in millimeters.default voidsetSkyConditions(String value) Set a textual description of the sky conditions, e.g.default voidSet the snow accumulation, in millimeters.default voidsetTemperature(BigDecimal value) Set the instantaneous temperature, in degrees Celsius.default voidsetVisibility(Integer value) Set the instantaneous visibility, in meters.default voidsetWindDirection(Integer value) Set the wind direction, in degrees.default voidsetWindSpeed(BigDecimal value) Set the wind speed, in meters / second.Methods inherited from interface net.solarnetwork.domain.datum.AtmosphericDatum
getAtmosphericPressure, getCO2, getDewPoint, getHumidity, getIrradiance, getLux, getRain, getSkyConditions, getSnow, getTemperature, getVisibility, getWindDirection, getWindSpeedMethods inherited from interface net.solarnetwork.domain.datum.Datum
asSampleOperations, asSimpleMap, getKind, getObjectId, getSampleData, getSourceId, getTimestampMethods inherited from interface net.solarnetwork.domain.datum.MutableDatum
asMutableSampleOperationsMethods inherited from interface net.solarnetwork.node.domain.datum.MutableNodeDatum
cloneMethods inherited from interface net.solarnetwork.node.domain.datum.NodeDatum
copyWithId, copyWithSamples, getUploaded
-
Method Details
-
setTemperature
Set the instantaneous temperature, in degrees Celsius.- Parameters:
value- the temperature, in degrees Celsius
-
setDewPoint
Set the instantaneous dew point, in degrees Celsius.- Parameters:
value- the dew point, in degrees Celsius
-
setHumidity
Set the instantaneous humidity, as an integer percentage (where 100 represents 100%).- Parameters:
value- the humidity, as an integer percentage
-
setAtmosphericPressure
Set the instantaneous atmospheric pressure, in pascals.- Parameters:
value- the atmospheric pressure, in pascals
-
setVisibility
Set the instantaneous visibility, in meters.- Parameters:
value- visibility, in meters
-
setSkyConditions
Set a textual description of the sky conditions, e.g. "clear", "cloudy", etc.- Parameters:
value- general sky conditions
-
setWindSpeed
Set the wind speed, in meters / second.- Parameters:
value- the wind speed
-
setWindDirection
Set the wind direction, in degrees.- Parameters:
value- the wind direction
-
setRain
Set the rain accumulation, in millimeters.- Parameters:
value- rain accumulation
-
setSnow
Set the snow accumulation, in millimeters.- Parameters:
value- snow accumulation
-
setIrradiance
Set the solar irradiance level, in watts / square meter.- Parameters:
value- irradiance level
-
setCO2
Set the instantaneous CO2 level, in parts-per-million.- Parameters:
value- the CO2, in parts-per-million
-
setLux
Set the instantaneous luminosity level, in lux.- Parameters:
value- the luminosity, in lux
-