diagnosis.py 486 B

1234567891011121314151617181920
  1. from pydantic import BaseModel
  2. from app.schemas.diagnosis import FaultCategory
  3. from app.schemas.equipment import AHU, FCU, VAVBox
  4. from app.services.transfer import Season
  5. class ThermalComfortDiagnosisRequest(BaseModel):
  6. realtime_temp: float
  7. target_temp: float
  8. season: Season
  9. duration_minutes: float
  10. fcu_list: list[FCU]
  11. vav_list: list[VAVBox]
  12. ahu: AHU | None
  13. known_err: FaultCategory | None
  14. class ThermalComfortDiagnosisResponse(BaseModel):
  15. pass