Jelajahi Sumber

update python env and fix a AHU switch bug

highing666 4 tahun lalu
induk
melakukan
d9b2ee3c24

+ 0 - 0
app/api/routers/meetings.py


+ 1 - 1
app/controllers/equipment/ahu/switch.py

@@ -27,7 +27,7 @@ class AHUSwitch(Switch):
                         if not end <= self._now_time <= begin:
                             switch_flag = False
 
-                    if not switch_flag and self._equip.running_status:
+                    if not switch_flag:
                         action = 'off'
                     else:
                         action = 'hold'

+ 0 - 0
app/models/domain/base.py


+ 0 - 0
app/models/meetings/__init__.py


+ 0 - 0
app/models/meetings/attendees.py


+ 0 - 0
app/models/meetings/meeting_info.py


+ 2 - 2
requirements.txt

@@ -12,7 +12,7 @@ Cython==0.29.23
 dnspython==2.1.0
 ecdsa==0.16.1
 email-validator==1.1.2
-fastapi==0.65.1
+fastapi==0.65.2
 fastapi-utils==0.2.1
 flake8==3.9.2
 graphql-core==2.3.2
@@ -60,7 +60,7 @@ scikit-learn==0.24.2
 scipy==1.6.0
 six==1.15.0
 sniffio==1.2.0
-SQLAlchemy==1.4.17
+SQLAlchemy==1.4.18
 starlette==0.14.2
 tencentcloud-sdk-python==3.0.415
 threadpoolctl==2.1.0