查询冷站的属性历史信息
功能介绍
查询冷站的属性历史信息
URI
POST /v1/iotfm/energy-eff/cold-sites/{site_id}/query-property-history-aggregation
| 参数 | 是否必选 | 参数类型 | 描述 |
|---|---|---|---|
| site_id | 是 | String | 冷站ID |
请求参数
| 参数 | 是否必选 | 参数类型 | 描述 |
|---|---|---|---|
| X-Auth-Token | 是 | String | 参数说明:用户Token。通过调用 生成Token 接口获取,接口返回的响应消息头中“X-Subject-Token”就是需要获取的用户Token。 |
| X-Instance-Id | 是 | String | 参数说明:实例ID。通过访问智能设施云平台界面后获取,智能设施云平台资源均为实例级隔离,所有业务接口必须填写正确的实例ID才能被成功调用。 取值范围:长度8-36,只允许大小写字母、数字和-字符的组合。 |
| X-Root-Zone-Id | 否 | String | 参数说明:项目ID。 取值范围:长度不超过24,只允许字母、数字的组合。 |
| 参数 | 是否必选 | 参数类型 | 描述 |
|---|---|---|---|
| start_time | 是 | String | 开始时间,格式为:"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"。 |
| end_time | 否 | String | 结束时间,格式为:"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"。 |
| group_duration | 否 | String | 分组时长,格式为PnDTnHnMn.nS。 |
| properties_keys | 是 | Array of strings | 要查询的属性路径列表。目前支持的属性路径如下: chiller/runningNumber - 冷机已开启台数 chiller/bigRunningNumber - 大冷机已开启台数 chiller/smallRunningNumber - 小冷机已开启台数 chiller/meanRunningLoad - 冷机负载率 chiller/sumActivePower - 冷机总功率 coolingTower/runningNumber - 冷却塔已开启台数 chillerWaterPump/runningNumber - 冷冻泵已开启台数 chillerWaterPump/meanFrequency - 冷冻泵平均频率 secondChillerWaterPump/maxFrequency - 冷冻二次泵最大频率 secondChillerWaterPump/meanFrequency - 冷冻二次泵平均频率 coolDownWaterPump/runningNumber - 冷却泵已开启台数 chilledWaterMainPipe/firstSupplyWaterTemp - 冷冻水总管 一次管供水平均温度 chilledWaterMainPipe/firstReturnWaterTemp - 冷冻水总管 一次管回水平均温度 chilledWaterMainPipe/firstSupplyAndReturnTempDiff - 冷冻水总管 一次管供回水平均温差 chilledWaterMainPipe/firstSupplyWaterPressure - 冷冻水总管 一次管供水平均压力 chilledWaterMainPipe/firstReturnWaterPressure - 冷冻水总管 一次管回水平均压力 chilledWaterMainPipe/firstSupplyAndReturnPressureDiff - 冷冻水总管 一次管供回水平均压差 chilledWaterMainPipe/secondSupplyWaterTemp - 冷冻水总管 二次管供水平均温度 chilledWaterMainPipe/secondReturnWaterTemp - 冷冻水总管 二次管回水平均温度 chilledWaterMainPipe/secondSupplyAndReturnTempDiff - 冷冻水总管 二次管供回水平均温差 chilledWaterMainPipe/firstSecondSupplyWaterTempDiff - 冷冻水总管 一次管与二次管供水温差 chilledWaterMainPipe/firstSecondReturnWaterTempDiff - 冷冻水总管 一次管与二次管回水温差 chilledWaterMainPipe/totalCoolingCapacity - 冷冻水总管 总制冷量 coolDownWaterMainPipe/supplyWaterTemp - 冷却水总管 供水温度 coolDownWaterMainPipe/returnWaterTemp - 冷却水总管 回水温度 coolDownWaterMainPipe/supplyAndReturnTempDiff - 冷却水总管 供回水温差 weather/meanWetTemp - 天气数据 平均湿球温度 weather/meanTemp - 天气数据 平均干球温度 weather/currentUVIntensity - 天气数据 实时光照强度 weather/currentTemp - 天气数据 实时干球温度 weather/currentWetTemp - 天气数据 实时湿球温度 weather/currentHumidity - 天气数据 实时湿度 weather/currentSeasonCode - 天气数据 当前季节模式 calendar/isWorkingDay - 日历数据 是否工作日 |
| limit | 否 | Integer | 分页查询时每页显示的记录数,默认值为10,取值范围为1-10000的整数。 |
响应参数
状态码:200
| 参数 | 参数类型 | 描述 |
|---|---|---|
| X-Request-Id | String | This field is the request ID number for task tracking. Format is request_uuid-timestamp-hostname. |
| 参数 | 参数类型 | 描述 |
|---|---|---|
| site_id | String | 冷站ID。长度不超过36,只允许字母、数字、以及_-等字符的组合。 |
| contents | Array of QueryColdSitePropertiesHistoryItem objects | 冷站备属性上报历史列表 |
| 参数 | 参数类型 | 描述 |
|---|---|---|
| create_time | String | 属性变化时间。 |
| properties | Map<String,Object> | 冷站属性数据。key为属性路径,value为属性值。 |
状态码:400
| 参数 | 参数类型 | 描述 |
|---|---|---|
| X-Request-Id | String | This field is the request ID number for task tracking. Format is request_uuid-timestamp-hostname. |
| 参数 | 参数类型 | 描述 |
|---|---|---|
| error_code | String | 参数说明:错误码。 取值范围:长度8-36。 |
| error_msg | String | 参数说明:错误描述。 取值范围:长度2-512。 |
请求示例
无
响应示例
无
状态码
| 状态码 | 描述 |
|---|---|
| 200 | 查询冷站的属性历史信息响应体 |
| 400 | Error response |