The following objects are directly related to the trend
API.
Trend objects differ depending on the item's type of information. They are created by the Áú»¢¶Ä²© server and cannot be modified via the API.
The float trend object has the following properties.
Property | Type | Description |
---|---|---|
clock | timestamp | Timestamp of an hour for which the value was calculated. E. g. timestamp of 04:00:00 means values calculated for period 04:00:00-04:59:59. |
itemid | integer | ID of the related item. |
num | integer | Number of values that were available for the hour. |
value_min | float | Hourly minimum value. |
value_avg | float | Hourly average value. |
value_max | float | Hourly maximum value. |
The integer trend object has the following properties.
Property | Type | Description |
---|---|---|
clock | timestamp | Timestamp of an hour for which the value was calculated. E. g. timestamp of 04:00:00 means values calculated for period 04:00:00-04:59:59. |
itemid | integer | ID of the related item. |
num | integer | Number of values that were available for the hour. |
value_min | integer | Hourly minimum value. |
value_avg | integer | Hourly average value. |
value_max | integer | Hourly maximum value. |