-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add Konzessionsabgabe to Zaehlwerk struct (#220)
* add Konzessionsabgabe to Zaehlwerk struct * apply suggestions * update jsonenums * use `iota +1` => by default the value is invalid go generate * add docstrings --------- Co-authored-by: konstantin <[email protected]>
- Loading branch information
Showing
6 changed files
with
151 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com | ||
|
||
import ( | ||
"github.com/hochfrequenz/go-bo4e/enum/abgabeart" | ||
"github.com/shopspring/decimal" | ||
) | ||
|
||
type Konzessionsabgabe struct { | ||
Satz abgabeart.AbgabeArt | ||
Kosten *decimal.Decimal | ||
Kategorie *string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
package enum |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package abgabeart | ||
|
||
//go:generate stringer --type AbgabeArt | ||
//go:generate jsonenums --type AbgabeArt | ||
type AbgabeArt int | ||
|
||
const ( | ||
// KAS für alle konzessionsvertraglichen Sonderregelungen, die nicht in die Systematik der KAV eingegliedert | ||
KAS AbgabeArt = iota + 1 | ||
//SA: Sondervertragskunden 1 kV, Preis nach § 2 (3) (für Strom 0,11 ct/kWh und für Gas 0,03 ct/kWh) | ||
SA // SA = | ||
//SAS: Kennzeichnung, dass ein abweichender Preis für Sondervertragskunden vorliegt | ||
SAS | ||
//TA: Tarifkunden, für Strom § 2. (2) 1b HT bzw.ET(hohe KA) und für Gas § 2 (2) 2b | ||
TA | ||
//TAS: Kennzeichnung, dass ein abweichender Preis für Tarifkunden vorliegt | ||
TAS | ||
//TK: für Gas nach KAV § 2 (2) 2a bei ausschließlicher Nutzung zum Kochen und Warmwassererzeugung | ||
TK | ||
//TKS: Kennzeichnung, wenn nach KAV § 2 (2) 2a ein anderen Preis zu verwenden ist | ||
TKS | ||
//TS: für Strom mit Schwachlast § 2. (2) 1a NT(niedrige KA, 0,61 ct/kWh) | ||
TS | ||
//TSS: Kennzeichnung, dass ein abweichender Preis für Schwachlast angewendet wird | ||
TSS | ||
) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.