diff options
author | Mike Fiore <mfiore@multitech.com> | 2015-11-30 15:50:22 -0600 |
---|---|---|
committer | Mike Fiore <mfiore@multitech.com> | 2015-11-30 15:50:22 -0600 |
commit | 37260f2ccff2793f54bfd291169d2c8d879bbc15 (patch) | |
tree | b908d697eb6f2d1ba2c305eacc3c7c7bb6203122 /Layout/LayoutSweepProgress.h | |
parent | 30b4f15aa70d24ec0a6b6bb1b3f5039c4921cb02 (diff) | |
download | mtdot-box-evb-factory-firmware-37260f2ccff2793f54bfd291169d2c8d879bbc15.tar.gz mtdot-box-evb-factory-firmware-37260f2ccff2793f54bfd291169d2c8d879bbc15.tar.bz2 mtdot-box-evb-factory-firmware-37260f2ccff2793f54bfd291169d2c8d879bbc15.zip |
start work on survey sweep - currently determines rates and power levels to use and prints them out
Diffstat (limited to 'Layout/LayoutSweepProgress.h')
-rw-r--r-- | Layout/LayoutSweepProgress.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Layout/LayoutSweepProgress.h b/Layout/LayoutSweepProgress.h new file mode 100644 index 0000000..82c8081 --- /dev/null +++ b/Layout/LayoutSweepProgress.h @@ -0,0 +1,28 @@ +#ifndef __LAYOUTSWEEPPROGRESS_H__ +#define __LAYOUTSWEEPPROGRESS_H__ + +#include "Layout.h" + +class LayoutSweepProgress : public Layout { + public: + LayoutSweepProgress(DOGS102* lcd); + ~LayoutSweepProgress(); + + void display(); + + void updateProgress(uint8_t complete, uint8_t total); + void updateCountdown(uint32_t seconds); + + private: + Label _lSlash; + Label _lMsg1; + Label _lMsg2; + Label _lMsg3; + + Field _fComplete; + Field _fTotal; + Field _fCountdownLabel; + Field _fCountdown; +}; + +#endif |