not started state where collector does not switch

This commit is contained in:
2021-07-05 14:26:32 +03:00
parent 4f7f775dd5
commit 1d47154445
2 changed files with 19 additions and 10 deletions

View File

@ -25,6 +25,8 @@ protected:
int week_counter = 0;
int month_counter = 0;
boolean started = false;
void add_month(int from ) ;
void switch_logic(float in , float out);
@ -37,6 +39,7 @@ public:
void add_week(float in , float out) ;
void add(float in , float out) ;
void start(); // fake data before, no switching
String week_data( int at);
String month_data(int at);