|
@@ -15,83 +15,83 @@ 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)
|
|
|
-
|
|
|
+
|
|
|
@doc "appSecret -> 查询列表"
|
|
|
@handler FindAppList
|
|
|
get /app/list (FindAppListReq) returns (CommonResponse)
|
|
|
-
|
|
|
+
|
|
|
@doc "appSecret -> 单个APP信息"
|
|
|
@handler GetAppInfo
|
|
|
get /app/info (GetAppInfoReq) returns (CommonResponse)
|
|
|
-
|
|
|
+
|
|
|
@doc "appSecret -> 创建一个新的记录"
|
|
|
@handler CreateAppInfo
|
|
|
post /app/create (CreateAppInfoReq) returns (CommonResponse)
|
|
|
-
|
|
|
+
|
|
|
@doc "appSecret -> 删除记录"
|
|
|
@handler RemoveAppInfo
|
|
|
post /app/remove (RemoveAppInfoReq) returns (CommonResponse)
|
|
|
-
|
|
|
+
|
|
|
@doc "appSecret -> 禁用"
|
|
|
@handler DisableAppInfo
|
|
|
post /app/disable (DisableAppInfoReq) returns (CommonResponse)
|
|
|
-
|
|
|
+
|
|
|
@doc "appSecret -> 启用"
|
|
|
@handler EnableAppInfo
|
|
|
post /app/enable (EnableAppInfoReq) returns (CommonResponse)
|
|
|
-
|
|
|
+
|
|
|
@doc "appSecret -> 重置secret"
|
|
|
@handler ResetAppSecret
|
|
|
post /app/secret/reset (ResetAppSecretReq) returns (CommonResponse)
|
|
|
-
|
|
|
+
|
|
|
@doc "appSecret -> 有效期设置"
|
|
|
@handler ExpireAppSecret
|
|
|
post /app/secret/expire (ExpireAppSecretReq) returns (CommonResponse)
|
|
|
-
|
|
|
+
|
|
|
@doc "appSecret -> 设置可管理的项目列表"
|
|
|
@handler ResetAppProject
|
|
|
post /app/project/reset (ResetAppProjectReq) returns (CommonResponse)
|