From 674cdb5c13bad3598381b81d843b5aeee5798d1f Mon Sep 17 00:00:00 2001 From: Mike Fiore Date: Fri, 20 Nov 2015 08:13:35 -0600 Subject: implement basic single survey mode - still needs sending data packet and data survey file --- Layout/LayoutSurveyFailure.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Layout/LayoutSurveyFailure.h (limited to 'Layout/LayoutSurveyFailure.h') 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 -- cgit v1.2.3