Skip to content

IoT Time Series Aggregates Service – 选择

选择语法

可选参数 select 可用于定义要返回的数据。select 参数的值是所请求数据的逗号分隔列表。列表中的值可以是 variable 名称,也可以是使用 variableName.fieldName 语法的聚合字段。可选字段名称如下:

  • countgood
  • countuncertain
  • countbad
  • sum
  • average
  • mintime
  • minvalue
  • maxtime
  • maxvalue
  • firsttime
  • firstvalue
  • lasttime
  • lastvalue
  • sd

如果未指定 select 参数,则返回所有 variables 和字段。如果指定了 variable 但未指定字段名,则返回该 variable 的所有字段。如果 variable 和字段名均已指定,则仅返回该 variable 的指定字段。Variable 名称不区分大小写。


Last update: September 23, 2019