mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2026-01-05 20:33:38 +01:00
Added base classes for SystemConfigPara
This commit is contained in:
@@ -8,6 +8,7 @@ InverterAbstract::InverterAbstract(uint64_t serial)
|
||||
_alarmLogParser.reset(new AlarmLogParser());
|
||||
_devInfoParser.reset(new DevInfoParser());
|
||||
_statisticsParser.reset(new StatisticsParser());
|
||||
_systemConfigParaParser.reset(new SystemConfigParaParser());
|
||||
}
|
||||
|
||||
void InverterAbstract::init()
|
||||
@@ -54,6 +55,11 @@ StatisticsParser* InverterAbstract::Statistics()
|
||||
return _statisticsParser.get();
|
||||
}
|
||||
|
||||
SystemConfigParaParser* InverterAbstract::SystemConfigPara()
|
||||
{
|
||||
return _systemConfigParaParser.get();
|
||||
}
|
||||
|
||||
void InverterAbstract::clearRxFragmentBuffer()
|
||||
{
|
||||
memset(_rxFragmentBuffer, 0, MAX_RF_FRAGMENT_COUNT * sizeof(fragment_t));
|
||||
|
||||
Reference in New Issue
Block a user