Trend
- Last UpdatedNov 02, 2023
- 1 minute read
This stored procedure is used to retrieve raw trend data, by calling the Trend Business Logic Tier (BLT). The syntax is the same as if the BLT is called directly.
call Trend(<tablename>, <tagnme>, <columnname>, <starttime>, <endtime>, <showFieldTime>)
call Trend ('collect', 'analog.0analog.curval', 'value', 1401580500, 1401582300, 1);
time milliseconds value status fieldTime fieldMilliseconds
|
1401580500 |
0 |
2 |
O |
1401580500 |
0 |
|
1401580560 |
0 |
2 |
O |
1401580560 |
0 |
|
: |
|||||
|
1401582240 |
0 |
2 |
O |
1401582240 |
0 |
|
1401582300 |
0 |
2 |
O |
1401582300 |
0 |