summaryrefslogtreecommitdiff
path: root/Layout/LayoutSurveyFailure.h
blob: 473fd9f5611a3e4e2df984727e852e4cbde77088 (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
#ifndef __LAYOUTSURVEYFAILURE_H__
#define __LAYOUTSURVEYFAILURE_H__

#include "Layout.h"

class LayoutSurveyFailure : public Layout {
    public:
        LayoutSurveyFailure(DOGS102* lcd);
        ~LayoutSurveyFailure();

        void display();
        void updateId(uint32_t id);
        void updateRate(std::string rate);
        void updatePower(uint32_t power);
        void updateInfo(std::string msg);

    private:
        Label _lTitle;
        Label _lId;
        Label _lDr;
        Label _lPwr;
        Label _lSw1;
        Label _lSw2;

        Field _fId;
        Field _fDr;
        Field _fPwr;
        Field _fMsg1;
        Field _fMsg2;
        Field _fInfo;
};

#endif