diagnosis.py 637 B

12345678910111213141516171819
  1. from enum import Enum
  2. from pydantic import BaseModel
  3. class FaultCategory(BaseModel):
  4. no_problems_found: bool | None = False
  5. control_logic_err: bool | None = False
  6. over_constrained: bool | None = False
  7. insufficient_heating: bool | None = False
  8. insufficient_cooling: bool | None = False
  9. excessive_heating: bool | None = False
  10. excessive_cooling: bool | None = False
  11. controller_err: bool | None = False
  12. sensor_err: bool | None = False
  13. unreasonable_vav_flow_limit: bool | None = False
  14. obj_info_err: bool | None = False
  15. undefined_err: bool | None = True
  16. hardware_err: bool | None = False