From a7676689c179c0e635f98dedc0efd95ba6465d35 Mon Sep 17 00:00:00 2001 From: "apan_youxiang@163.com" Date: Tue, 30 Aug 2022 10:51:42 +0800 Subject: [PATCH] 2 --- models/client_models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/models/client_models.py b/models/client_models.py index 54b686c..6c26a24 100644 --- a/models/client_models.py +++ b/models/client_models.py @@ -31,11 +31,12 @@ class EntityClient(Base): contact_phone = Column(String(50), comment='联系人电话') # 联系人 total_run_time = Column(Integer, comment='总运行时长') # 总运行时长 temperature_control_swich = Column(Integer, comment='温控开关', default=0) - temperature1_control_swich = Column(Integer, comment='温控开关', default=0) light_control_swich = Column(Integer, comment='照明灯控制开关', default=0) fan_control_swich = Column(Integer, comment='风扇控制开关', default=0) temperature_set_value = Column( Float, comment='温度设定值', default=0.0) # 温度设定控温值 + temperature1_set_value = Column( + Float, comment='温度1设定值', default=0.0) # 温度设定控温值 temperature_max_value = Column( Float, comment='温度上限值', default=0.0) # 温度预警上限 temperature_min_value = Column(