blob: 49113cbe58fa5386525b81704516d452a9965f9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
#ifndef __LAYOUTSURVEYSUCCESS_H__
#define __LAYOUTSURVEYSUCCESS_H__
#include "Layout.h"
#include "LoRaHandler.h"
#include "GPSPARSER.h"
class LayoutSurveySuccess : public Layout {
public:
LayoutSurveySuccess(DOGS102* lcd);
~LayoutSurveySuccess();
void display();
void updateId(uint32_t id);
void updateRate(std::string rate);
void updatePower(uint32_t power);
void updateStats(LoRaHandler::LoRaPing ping);
void updateGpsLatitude(GPSPARSER::latitude lat);
void updateGpsLatitude(std::string msg);
void updateGpsLongitude(GPSPARSER::longitude lon);
void updateGpsTime(struct tm time);
void updateInfo(std::string info);
void updateSw1(std::string sw1);
void updateSw2(std::string sw2);
void updateCountdown(uint32_t seconds);
void updatePassFail(uint8_t pass, uint8_t fail);
private:
Label _lId;
Label _lDr;
Label _lPwr;
Label _lUp;
Label _lDown;
Field _fId;
Field _fDr;
Field _fPwr;
Field _fUpRssi;
Field _fUpSnr;
Field _fDownRssi;
Field _fDownSnr;
Field _fGpsLat;
Field _fGpsLon;
Field _fGpsTime;
Field _fInfo;
Field _fSw1;
Field _fSw2;
};
#endif
|