addReading method
- ScienceSensor sensor,
- int sample,
- Timestamp timestamp,
- double value,
Adds a value to the correct analysis for the sensor and sample.
Implementation
void addReading(ScienceSensor sensor, int sample, Timestamp timestamp, double value) =>
allSamples[sensor]![sample].addReading(timestamp, value);