![](/media/cache/profiles/ba5be68d3d541f2ca043d77fc54fe702.jpg.50x50_q85.jpg)
3rd Repo, trying to figure this out.
Fork of SOFT253_Template_Weather_OS_54 by
Measure/Measure.cpp
- Committer:
- niallfrancis
- Date:
- 2017-05-13
- Revision:
- 85:422d0a1b95cf
- Parent:
- 83:0d3572a8a851
File content as of revision 85:422d0a1b95cf:
#include "Measure.h" /** @file : Measure.cpp @authors : Radu Marcu, Jacob Williams, Niall Francis, Arron Burch @section DESCRIPTION This is the Measure class. Each message object stores the values collected from the sensor board (temperature, humidity, pressure). These objects are later stored in the CircularArray. */ // // Measure objects holding data collected from sensor board. // Measure::Measure(float f, float h, float p) { temperature = f; humidity = h; pressure = p; } Measure::Measure() { temperature = 0; humidity = 0; pressure = 0; } Measure::Measure(LocalDate d,float f, float h, float p) { date = d; temperature = f; humidity = h; pressure = p; }