mirror of
https://github.com/naruxde/revpimodio2.git
synced 2025-11-09 06:13:53 +01:00
21 lines
543 B
Python
21 lines
543 B
Python
# -*- coding: utf-8 -*-
|
|
"""Bildet die Summary-Sektion von piCtory ab."""
|
|
__author__ = "Sven Sager"
|
|
__copyright__ = "Copyright (C) 2018 Sven Sager"
|
|
__license__ = "LGPLv3"
|
|
|
|
|
|
class Summary(object):
|
|
"""Bildet die Summary-Sektion der config.rsc ab."""
|
|
|
|
__slots__ = "inptotal", "outtotal"
|
|
|
|
def __init__(self, summary: dict):
|
|
"""
|
|
Instantiiert die RevPiSummary-Klasse.
|
|
|
|
:param summary: piCtory Summaryinformationen
|
|
"""
|
|
self.inptotal = summary["inpTotal"]
|
|
self.outtotal = summary["outTotal"]
|