Skip to content

Commit

Permalink
Extend COM Zaehlwerk (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
hf-kklein authored Aug 30, 2022
1 parent ab50c5b commit f0bbcff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions com/zaehlwerk.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,9 @@ type Zaehlwerk struct {
Vorkommastellen *int `json:"vorkommastelle,omitempty" validate:"omitempty,min=0"` // Vorkommastellen ist the number of pre-decimal places
Nachkommastellen *int `json:"nachkommastelle,omitempty" validate:"omitempty,min=0"` // Nachkommastellen is the number of post decimal places
Schwachlastfaehig schwachlastfaehigkeit.Schwachlastfaehigkeit `json:"schwachlastfaehig,omitempty"`

AnzahlAblesungen *int `json:"anzahlAblesungen,omitempty"`
// the json tag is different from the field name ("zaehlzeiten" instead of "zaehlzeit") to be consistent with the C# lib: https://github.com/Hochfrequenz/BO4E-dotnet/issues/249
Zaehlzeit *Zaehlzeit `json:"zaehlzeiten,omitempty"`
Konfiguration *string `json:"konfiguration,omitempty"`
}

0 comments on commit f0bbcff

Please sign in to comment.