mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-02-12 19:18:05 +00:00
Some error handling
This commit is contained in:
@@ -29,6 +29,8 @@ public:
|
||||
float getValueForHour(int8_t);
|
||||
float getValueForHour(time_t, int8_t);
|
||||
|
||||
int16_t getLastError();
|
||||
|
||||
private:
|
||||
RemoteDebug* debugger;
|
||||
EntsoeConfig* config = NULL;
|
||||
@@ -54,6 +56,8 @@ private:
|
||||
|
||||
float currencyMultiplier = 0;
|
||||
|
||||
int16_t lastError = 0;
|
||||
|
||||
PricesContainer* fetchPrices(time_t);
|
||||
bool retrieve(const char* url, Stream* doc);
|
||||
float getCurrencyMultiplier(const char* from, const char* to);
|
||||
|
||||
Reference in New Issue
Block a user