2021-10-22 13:13:12 -04:00
|
|
|
"""
|
|
|
|
Record module
|
|
|
|
SPDX - License - Identifier: LGPL - 3.0 - or -later
|
2022-04-08 09:35:33 -04:00
|
|
|
Copyright © 2022 Concordia CERC group
|
|
|
|
Project Coder Pilar Monsalvete Alvarez de Uribarri pilar.monsalvete@concordia.ca
|
2021-10-22 13:13:12 -04:00
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
class Record:
|
|
|
|
"""
|
|
|
|
Record class
|
|
|
|
"""
|
|
|
|
|
|
|
|
def __init__(self, time=None, value=None, flag=None):
|
|
|
|
self._time = time
|
|
|
|
self._value = value
|
|
|
|
self._flag = flag
|
|
|
|
|
|
|
|
@property
|
|
|
|
def time(self):
|
2021-10-25 13:33:08 -04:00
|
|
|
"""
|
|
|
|
Add explanation here
|
|
|
|
:return: add type of variable here
|
|
|
|
"""
|
2021-10-22 13:13:12 -04:00
|
|
|
return self._time
|
|
|
|
|
|
|
|
@property
|
|
|
|
def value(self):
|
2021-10-25 13:33:08 -04:00
|
|
|
"""
|
|
|
|
Add explanation here
|
|
|
|
:return: add type of variable here
|
|
|
|
"""
|
2021-10-22 13:13:12 -04:00
|
|
|
return self._value
|
|
|
|
|
|
|
|
@property
|
|
|
|
def flag(self):
|
2021-10-25 13:33:08 -04:00
|
|
|
"""
|
|
|
|
Add explanation here
|
|
|
|
:return: add type of variable here
|
|
|
|
"""
|
2021-10-22 13:13:12 -04:00
|
|
|
return self._flag
|