Skip to content

Commit

Permalink
Add CONTRL to EdifactFormat Enum (#93)
Browse files Browse the repository at this point in the history
* Add CONTRL to EdifactFormat Enum

* Add artifical key 92 to APERAK

See https://github.com/Hochfrequenz/EDILibrary/blob/master/EDILibrary/EdifactFormatVersion.cs
  • Loading branch information
hf-kklein authored May 9, 2022
1 parent 8707ac8 commit c2a9fd6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/maus/edifact.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class EdifactFormat(str, Enum):

APERAK = "APERAK"
COMDIS = "COMDIS" #: communication dispute
CONTRL = "CONTRL" #: control messages
IFTSTA = "IFTSTA" #: Multimodaler Statusbericht
INSRPT = "INSRPT" #: Prüfbericht
INVOIC = "INVOIC" #: invoice
Expand Down Expand Up @@ -51,6 +52,8 @@ def __str__(self):
"37": EdifactFormat.PARTIN,
"11": EdifactFormat.UTILMD,
"25": EdifactFormat.UTILTS,
"91": EdifactFormat.CONTRL,
"92": EdifactFormat.APERAK,
}


Expand Down

0 comments on commit c2a9fd6

Please sign in to comment.