mirror of
https://github.com/naruxde/revpimodio2.git
synced 2025-11-09 06:13:53 +01:00
new project started
This commit is contained in:
19
revpimodio2/summary.py
Normal file
19
revpimodio2/summary.py
Normal file
@@ -0,0 +1,19 @@
|
||||
#
|
||||
# python3-RevPiModIO
|
||||
#
|
||||
# Webpage: https://revpimodio.org/
|
||||
# (c) Sven Sager, License: LGPLv3
|
||||
#
|
||||
# -*- coding: utf-8 -*-
|
||||
"""Bildet die Summary-Sektion von piCtory ab."""
|
||||
|
||||
|
||||
class Summary(object):
|
||||
|
||||
"""Bildet die Summary-Sektion der config.rsc ab."""
|
||||
|
||||
def __init__(self, summary):
|
||||
"""Instantiiert die RevPiSummary-Klasse.
|
||||
@param summary piCtory Summaryinformationen"""
|
||||
self.inptotal = summary["inpTotal"]
|
||||
self.outtotal = summary["outTotal"]
|
||||
Reference in New Issue
Block a user