mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-02-04 07:52:39 +00:00
24 lines
453 B
C++
24 lines
453 B
C++
/**
|
|
* @copyright Utilitech AS 2023
|
|
* License: Fair Source
|
|
*
|
|
*/
|
|
|
|
#ifndef _IEC62056_21_H
|
|
#define _IEC62056_21_H
|
|
|
|
#include "Arduino.h"
|
|
#include "AmsData.h"
|
|
#include "Timezone.h"
|
|
|
|
class IEC6205621 : public AmsData {
|
|
public:
|
|
IEC6205621(const char* payload, Timezone* tz);
|
|
|
|
private:
|
|
String extract(String payload, String obis);
|
|
double extractDouble(String payload, String obis);
|
|
float extractFloat(String payload, String obis);
|
|
};
|
|
#endif
|