Package net.solarnetwork.node.service
Interface DatumDataSource
- All Superinterfaces:
DeviceInfoProvider,net.solarnetwork.service.Identifiable
- All Known Implementing Classes:
LocationDatumDataSource
API for collecting
NodeDatum objects from some device.- Version:
- 2.0
- Author:
- matt
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringAnEventtopic for when aNodeDatumhas been read, sampled, or in some way captured by aDatumDataSource.Fields inherited from interface net.solarnetwork.service.Identifiable
GROUP_UID_PROPERTY, UID_PROPERTY -
Method Summary
Modifier and TypeMethodDescriptionGet the class supported by this DataSource.Read the current value from the data source, returning as an unpersistedNodeDatumobject.Methods inherited from interface net.solarnetwork.node.service.DeviceInfoProvider
canPublishDeviceInfo, deviceInfo, deviceInfoSourceIdMethods inherited from interface net.solarnetwork.service.Identifiable
getDisplayName, getGroupUid, getUid
-
Field Details
-
EVENT_TOPIC_DATUM_CAPTURED
AnEventtopic for when aNodeDatumhas been read, sampled, or in some way captured by aDatumDataSource. TheDatumEvents.DATUM_PROPERTYproperty will be set to the datum instance that was captured. In addition, theDatum.DATUM_TYPE_PROPERTYproperty shall be populated with the name of the core class name of the datum type.- Since:
- 1.2
- See Also:
-
-
Method Details