Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

Revision:
20:653923c2f37a
Parent:
19:9bc8fabeddfa
Child:
28:c410a61238bb
--- a/src/ConfigurationHandler/Controls/TimerControl.h	Wed Sep 07 19:40:17 2016 +0000
+++ b/src/ConfigurationHandler/Controls/TimerControl.h	Thu Sep 08 15:01:52 2016 +0000
@@ -15,13 +15,23 @@
 {
 private:
     string          controlFile;        // name of the control file
-    unsigned int    interval;           // interval at which we run
-    unsigned int    priority;           // priority at which we run
+    string          id;                 // identifier
+    string          name;               // friendly name
+    unsigned int    priority;           // control priority
+    unsigned int    dayOfWeek;          // days of the week
+    unsigned int    startWeek;          // starting week 
+    unsigned int    freq;
+    struct tod {
+        unsigned int start;
+        unsigned int interval;
+    }; 
+
 public:
     TimerControl() {};
     ~TimerControl() {
         printf("\r%s destructor invoked\n", __func__);
     }
+    // load a control from the control file
     bool Load(string filename);
     string getControlFile(void) {
         return controlFile;