123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- syntax = "v1"
- import (
- "dtgateway/dtgateway.api"
- )
- @server(
- prefix: api/dtgateway/v1
- group: dtgateway
- middleware: DataSign
- )
- service dtgateway {
- @doc "查询working uf信息"
- @handler WorkingUf
- get /working-uf/info (DcWorkingReq) returns (CommonResponse)
-
- @doc "查询working uf信息"
- @handler WorkingUfByCycle
- get /working-uf/cycle (WorkingUfByCycleReq) returns (CommonResponse)
-
- @doc "查询working ro信息"
- @handler WorkingRo
- get /working-ro/info (DcWorkingReq) returns (CommonResponse)
-
- @doc "查询working chest信息"
- @handler WorkingChest
- get /working-chest/info (DcWorkingReq) returns (CommonResponse)
-
- @doc "查询working pump信息"
- @handler WorkingPump
- get /working-pump/info (DcWorkingReq) returns (CommonResponse)
-
- @doc "查询working valve信息"
- @handler WorkingValve
- get /working-valve/info (DcWorkingReq) returns (CommonResponse)
-
- @doc "秒级单点数据批量入库"
- @handler ItemHistoryDataMultiAdd
- post /item-history/multi-add (MultiAddItemHistoryDataReq) returns (CommonResponse)
-
- @doc "点位历史数据查询"
- @handler ItemHistoryDataList
- get /item-history/list (ItemHistoryDataListReq) returns (CommonResponse)
-
- @doc "按时间点位历史数据查询"
- @handler ItemHistoryDataInfo
- get /item-history/info (ItemHistoryDataByTimeReq) returns (CommonResponse)
-
- @doc "按时间点位历史数据最大值最小值查询"
- @handler ItemHistoryDataMaxMin
- get /item-history/max-min (ItemHistoryDataMaxMinByTimeReq) returns (CommonResponse)
-
- @doc "点位查询时间内第一个和最后一个值"
- @handler ItemHistoryDataFirstLast
- get /item-history/first-last (ItemHistoryDataByTimeReq) returns (CommonResponse)
-
- @doc "最新变化值点位数据"
- @handler ChangeTypeItemData
- get /item-change/info (ItemHistoryDataByTimeReq) returns (CommonResponse)
- }
|