|
@@ -6,6 +6,7 @@ from pydantic import BaseModel, Field
|
|
|
from app.controllers.equipment.switch import SwitchSet
|
|
|
from app.models.domain.feedback import FeedbackValue
|
|
|
from app.schemas.season import Season
|
|
|
+from app.schemas.equipment import VRFMode
|
|
|
|
|
|
|
|
|
class ThermalMode(str, Enum):
|
|
@@ -38,7 +39,7 @@ class ACATVIInstructionsRequest(BaseModel):
|
|
|
device_id: str
|
|
|
return_air_temperature: Optional[float]
|
|
|
running_status: Optional[bool]
|
|
|
- work_mode: Optional[float]
|
|
|
+ work_mode: VRFMode
|
|
|
current_speed: Optional[str]
|
|
|
current_temperature_set: Optional[float]
|
|
|
space_temperature_target: Optional[float]
|
|
@@ -124,21 +125,21 @@ class Space(BaseModel):
|
|
|
|
|
|
|
|
|
class ACATVASpace(Space):
|
|
|
- space_temperature_target: Optional[float]
|
|
|
+ temperature_target: Optional[float]
|
|
|
vav_default_weight: Optional[float]
|
|
|
vav_temporary_weight: Optional[float]
|
|
|
vav_temporary_update_time: Optional[str]
|
|
|
|
|
|
|
|
|
class ACATAHSpace(Space):
|
|
|
- space_temperature_target: Optional[float]
|
|
|
+ temperature_target: Optional[float]
|
|
|
ahu_default_weight: Optional[float]
|
|
|
ahu_temporary_weight: Optional[float]
|
|
|
ahu_temporary_update_time: Optional[str]
|
|
|
|
|
|
|
|
|
class ACATFUSpace(Space):
|
|
|
- space_realtime_co2: Optional[float]
|
|
|
+ realtime_co2: Optional[float]
|
|
|
|
|
|
|
|
|
class ACATVAInstructionsRequestBase(BaseModel):
|
|
@@ -235,6 +236,10 @@ class ACATFUSwitchSetRequest(SwitchSetRequestBase):
|
|
|
break_end_time: Optional[str]
|
|
|
|
|
|
|
|
|
+class ACATFUCO2SwitchSetRequest(ACATFUSwitchSetRequest):
|
|
|
+ co2_list: List[float]
|
|
|
+
|
|
|
+
|
|
|
class ACATFUSwitchSetResponse(SwitchSetResponseBase):
|
|
|
pass
|
|
|
|