2020-05-16 14:31:26 +00:00
|
|
|
from dsmr_parser.parsers import ValueParser
|
2020-05-12 21:45:16 +00:00
|
|
|
from dsmr_parser.value_types import timestamp
|
|
|
|
|
2020-05-16 14:31:26 +00:00
|
|
|
PG_FAILURE_EVENT = r'0-0:96.7.19'
|
2020-05-12 21:45:16 +00:00
|
|
|
|
2020-05-16 14:31:26 +00:00
|
|
|
PG_HEAD_PARSERS = [ValueParser(int), ValueParser(str)]
|
|
|
|
PG_UNIDENTIFIED_BUFFERTYPE_PARSERS = [ValueParser(str), ValueParser(str)]
|
|
|
|
BUFFER_TYPES = {
|
|
|
|
PG_FAILURE_EVENT: [ValueParser(timestamp), ValueParser(int)]
|
2021-11-28 00:12:32 +00:00
|
|
|
}
|