public static interface AntPlusBikePowerPcc.IMeasurementOutputDataReceiver
Modifier and Type | Method and Description |
---|---|
void |
onNewMeasurementOutputData(long estTimestamp,
java.util.EnumSet<EventFlag> eventFlags,
int numOfDataTypes,
int dataType,
java.math.BigDecimal timeStamp,
java.math.BigDecimal measurementValue)
Receives the data from a MeasurementOutputData event.
|
void onNewMeasurementOutputData(long estTimestamp, java.util.EnumSet<EventFlag> eventFlags, int numOfDataTypes, int dataType, java.math.BigDecimal timeStamp, java.math.BigDecimal measurementValue)
estTimestamp
- The estimated timestamp of when this event was triggered. Useful for correlating multiple events and determining when data was sent for more accurate data records.eventFlags
- Informational flags about the event.numOfDataTypes
- The total number of different data types the power meter intends to send.dataType
- The data type and engineering units applicable to the measurement value.timeStamp
- The timestamp corresponding to the instantaneous measurement value. Units: s. Rollover: Every ~4.4 quadrillion s.measurementValue
- The signed data value sent by the power meter, the data type may be used to infer the type of data being received.Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.