Interface IDSMRTelegramParser contains only 1 method?
StefH opened this issue · 2 comments
StefH commented
The interface https://github.com/RobThree/DSMR.Net/blob/main/DSMRParser/IDSMRTelegramParser.cs contains only 1 method, is this intentional, or forgotten?
RobThree commented
Yes, that is intentional. An IDSMRTelegramParser
should only be able to do one thing, parse a bunch of bytes into a Telegram
. The actual implementation has some overloads or convenience methods that make it easier to use or change it's behaviour based on arguments passed in, but the basic functionality is still just parsing data into a Telegram
.
StefH commented
OK. Clear.