devices.py 830 B

12345678910111213141516171819202122
  1. from fastapi import APIRouter, Query
  2. from app.models.domain.devices import ACATAHThermalModeSetResponse, ACATAHSupplyAirTemperatureSetResponse
  3. router = APIRouter()
  4. @router.get('/instructions/acatah/thermal-mode-set', response_model=ACATAHThermalModeSetResponse)
  5. async def get_acatah_thermal_mode_set(
  6. project_id: str = Query(..., max_length=50, regex='^Pj', alias='projectId'),
  7. device_id: str = Query(..., max_length=50, regex='^Eq', alias='equipId')
  8. ):
  9. pass
  10. @router.get('/instructions/acatah/supply-air-temperature-set', response_model=ACATAHSupplyAirTemperatureSetResponse)
  11. async def get_acatah_supply_air_temperature_set(
  12. project_id: str = Query(..., max_length=50, regex='^Pj', alias='projectId'),
  13. device_id: str = Query(..., max_length=50, regex='^Eq', alias='equipId')
  14. ):
  15. pass