forked from s_ranjbar/city_retrofit
35 lines
746 B
Python
35 lines
746 B
Python
"""
|
|
Time series module
|
|
SPDX - License - Identifier: LGPL - 3.0 - or -later
|
|
Copyright © 2021 Project Author Pilar Monsalvete Alvarez de Uribarri pilar.monsalvete@concordia.ca
|
|
"""
|
|
|
|
from typing import List
|
|
from city_model_structure.attributes.record import Record
|
|
|
|
|
|
class TimeSeries:
|
|
"""
|
|
TimeSeries class
|
|
"""
|
|
|
|
def __init__(self, time_series_type=None, records=None):
|
|
self._time_series_type = time_series_type
|
|
self._records = records
|
|
|
|
@property
|
|
def time_series_type(self):
|
|
"""
|
|
Add explanation here
|
|
:return: add type of variable here
|
|
"""
|
|
return self._time_series_type
|
|
|
|
@property
|
|
def records(self) -> List[Record]:
|
|
"""
|
|
Add explanation here
|
|
:return: List[Record]
|
|
"""
|
|
return self._records
|