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