2018-10-12 01:03:05 +02:00
|
|
|
from flask_table import *
|
|
|
|
|
|
|
|
|
|
class timing_and_current_data(Table):
|
2018-10-31 05:37:30 +01:00
|
|
|
"""
|
|
|
|
|
Set up timing and current table columns and title information
|
|
|
|
|
"""
|
2018-10-12 01:03:05 +02:00
|
|
|
parameter = Col('Parameter')
|
|
|
|
|
min = Col('Min')
|
|
|
|
|
max = Col('Max')
|
|
|
|
|
units = Col('Units')
|
|
|
|
|
|
|
|
|
|
class timing_and_current_data_item(object):
|
2018-10-31 05:37:30 +01:00
|
|
|
"""
|
|
|
|
|
Define timing and current data row element
|
|
|
|
|
"""
|
2018-10-12 01:03:05 +02:00
|
|
|
def __init__(self, parameter, min, max, units):
|
|
|
|
|
self.parameter = parameter
|
|
|
|
|
self.min = min
|
|
|
|
|
self.max = max
|
|
|
|
|
self.units = units
|
|
|
|
|
|
|
|
|
|
|