3rd Repo, trying to figure this out.
Fork of SOFT253_Template_Weather_OS_54 by
Measure.cpp@40:ba083993b481, 2017-04-05 (annotated)
- Committer:
- FairyMental
- Date:
- Wed Apr 05 14:48:21 2017 +0000
- Revision:
- 40:ba083993b481
- Child:
- 46:0de1f3c7d118
Splited classes into multiple .cpps / .h files.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
FairyMental | 40:ba083993b481 | 1 | #include "Measure.h" |
FairyMental | 40:ba083993b481 | 2 | |
FairyMental | 40:ba083993b481 | 3 | //Constructor |
FairyMental | 40:ba083993b481 | 4 | Measure::Measure(float f, float h, float p) { |
FairyMental | 40:ba083993b481 | 5 | temperature = f; |
FairyMental | 40:ba083993b481 | 6 | humidity = h; |
FairyMental | 40:ba083993b481 | 7 | pressure = p; |
FairyMental | 40:ba083993b481 | 8 | } |
FairyMental | 40:ba083993b481 | 9 | Measure::Measure() |
FairyMental | 40:ba083993b481 | 10 | { |
FairyMental | 40:ba083993b481 | 11 | temperature = 0; |
FairyMental | 40:ba083993b481 | 12 | humidity = 0; |
FairyMental | 40:ba083993b481 | 13 | pressure = 0; |
FairyMental | 40:ba083993b481 | 14 | } |