29 lines
503 B
Python
29 lines
503 B
Python
"""
|
|
Record module
|
|
SPDX - License - Identifier: LGPL - 3.0 - or -later
|
|
Copyright © 2021 Project Author Pilar Monsalvete Alvarez de Uribarri pilar.monsalvete@concordia.ca
|
|
"""
|
|
|
|
|
|
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):
|
|
return self._time
|
|
|
|
@property
|
|
def value(self):
|
|
return self._value
|
|
|
|
@property
|
|
def flag(self):
|
|
return self._flag
|