forked from s_ranjbar/city_retrofit
27 lines
599 B
Python
27 lines
599 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):
|
||
|
return self._time_series_type
|
||
|
|
||
|
@property
|
||
|
def records(self) -> List[Record]:
|
||
|
return self._records
|