diff options
author | Mike Fiore <mfiore@multitech.com> | 2015-11-20 08:13:35 -0600 |
---|---|---|
committer | Mike Fiore <mfiore@multitech.com> | 2015-11-20 08:13:35 -0600 |
commit | 674cdb5c13bad3598381b81d843b5aeee5798d1f (patch) | |
tree | 1d18d592b5df2513036838bc94530648ad36631e /Layout/LayoutSurveyFailure.h | |
parent | 11412cbac7021dd8aee14ac4f1dc25994c9ab45b (diff) | |
download | mtdot-box-evb-factory-firmware-674cdb5c13bad3598381b81d843b5aeee5798d1f.tar.gz mtdot-box-evb-factory-firmware-674cdb5c13bad3598381b81d843b5aeee5798d1f.tar.bz2 mtdot-box-evb-factory-firmware-674cdb5c13bad3598381b81d843b5aeee5798d1f.zip |
implement basic single survey mode - still needs sending data packet and data survey file
Diffstat (limited to 'Layout/LayoutSurveyFailure.h')
-rw-r--r-- | Layout/LayoutSurveyFailure.h | 33 |
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 |