summaryrefslogtreecommitdiff
path: root/Layout/LayoutSurveyFailure.h
diff options
context:
space:
mode:
Diffstat (limited to 'Layout/LayoutSurveyFailure.h')
-rw-r--r--Layout/LayoutSurveyFailure.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/Layout/LayoutSurveyFailure.h b/Layout/LayoutSurveyFailure.h
new file mode 100644
index 0000000..473fd9f
--- /dev/null
+++ b/Layout/LayoutSurveyFailure.h
@@ -0,0 +1,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