Halyri - Mobiili
0.9.1
|
Mock of a class that manages an active measurement session on a measurement instrument connested to the mobile device. Currently provides data conforming to the data structure parameters specified in the provided MeasurementInstrumentDto and imitating nomrmal ECG. More...
Public Member Functions | |
MeasurementManager (MeasurementInstrumentDto instrument) | |
Initializes a new mock MeasurementManager instance that provides mock samples conforming to the data parameters specified by the provided instrument. More... | |
void | StartMeasurement () |
Starts generating mock ECG data. MeasurementDataAvailableEvent is fired every time new measurement data sample is available. More... | |
void | StopMeasurement () |
Stops measurement. More... | |
Properties | |
bool | Active [get] |
Events | |
MeasurementDataAvailable | MeasurementDataAvailableEvent |
Mock of a class that manages an active measurement session on a measurement instrument connested to the mobile device. Currently provides data conforming to the data structure parameters specified in the provided MeasurementInstrumentDto and imitating nomrmal ECG.
<author>Veli-Mikko Puupponen</author> Assumes the DataSampleSize to be 1 byte.
MeasurementManager | ( | MeasurementInstrumentDto | instrument | ) |
Initializes a new mock MeasurementManager instance that provides mock samples conforming to the data parameters specified by the provided instrument.
instrument | Instrument used as data parameter source |
void StartMeasurement | ( | ) |
Starts generating mock ECG data. MeasurementDataAvailableEvent is fired every time new measurement data sample is available.
void StopMeasurement | ( | ) |
Stops measurement.