Skip to content

Implement BO Lastgang + BO LastgangKompakt#295

Merged
hf-kklein merged 17 commits intomasterfrom
lastgangkompakt
Jan 17, 2022
Merged

Implement BO Lastgang + BO LastgangKompakt#295
hf-kklein merged 17 commits intomasterfrom
lastgangkompakt

Conversation

@hf-kklein
Copy link
Copy Markdown
Contributor

@hf-kklein hf-kklein commented Dec 22, 2021

Fixes #188
Fixes #197

@hf-kklein hf-kklein self-assigned this Dec 22, 2021
@hf-kklein hf-kklein requested a review from a team December 22, 2021 11:02
@hf-kklein hf-kklein changed the title Implement BO LastgangKompakt Implement BO Lastgang + BO LastgangKompakt Jan 11, 2022
@hf-kklein hf-kklein removed the request for review from a team January 11, 2022 17:26
@hf-kklein hf-kklein marked this pull request as draft January 11, 2022 17:26
@hf-kklein hf-kklein requested a review from a team January 11, 2022 17:31
@hf-kklein hf-kklein marked this pull request as ready for review January 11, 2022 17:31

#: Marktlokation oder Messlokation
lokationstyp: str = attr.ib(validator=attr.validators.instance_of(Lokationstyp))
# todo: implement a lokations-id + lokationstyp cross check (such that lokationstyp malo checks for valid malo id)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gibt es dafür schon ein Issue?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# optional attributes
#: Versionsnummer des Lastgangs
version: Optional[str] = attr.ib(default=None, validator=attr.validators.optional(attr.validators.instance_of(str)))
#: Die OBIS-Kennzahl für den Wert, die festlegt, welche Größe mit dem Stand gemeldet wird, z.B. '1-0:1.8.1'
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woher kommt denn dieser Docstring? :D
In der Doku hab ich diesen gefunden:

Suggested change
#: Die OBIS-Kennzahl für den Wert, die festlegt, welche Größe mit dem Stand gemeldet wird, z.B. '1-0:1.8.1'
#: Genormte OBIS-Kennzahl zur Kennzeichnung der Messgröße

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

das hatte ich glaube ich aus dem anderen lastgang kopiert.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hab ich extra geschaut, das ist bei beiden Lastgängen der Kommentar. Aber vllt. einfach von woanders wo eine OBIS-Kennzahl genutzt wird.


#: Angabe des Rasters innerhalb aller Tagesvektoren dieses Lastgangs
zeitintervall: Zeitintervall = attr.ib(validator=attr.validators.instance_of(Zeitintervall))
# todo: implement a cross check that this zeitintervall is actually the one used in tagesvektoren
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ticket? ;)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hf-aschloegl and others added 6 commits January 17, 2022 09:46
Co-authored-by: Annika <73470827+hf-aschloegl@users.noreply.github.com>
Co-authored-by: Annika <73470827+hf-aschloegl@users.noreply.github.com>
Co-authored-by: Annika <73470827+hf-aschloegl@users.noreply.github.com>
@hf-kklein hf-kklein merged commit e0eced8 into master Jan 17, 2022
@hf-kklein hf-kklein deleted the lastgangkompakt branch January 17, 2022 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement BO Lastgang Implement BO LastgangKompakt

2 participants