Changes for page 07 HTTP API
Last modified by Devin Chen on 2025/05/06 11:44
From version 24.1
edited by Devin Chen
on 2025/04/10 13:52
on 2025/04/10 13:52
Change comment:
There is no comment for this version
To version 26.1
edited by Devin Chen
on 2025/05/06 11:44
on 2025/05/06 11:44
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 4 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -432,7 +432,7 @@ 432 432 |groupId|(% colspan="2" %)Group ID (Required) 433 433 |pageSize|(% colspan="2" %)Number of each page, 10 by default 434 434 |pageIndex|(% colspan="2" %)Number of current page, start from 1 435 -|devType|(% colspan="2" %)Device type (0:Box,1:HMI)435 +|devType|(% colspan="2" %)Device type (0:Box, 1:HMI) 436 436 |(% rowspan="15" %)**Return value**|Field name|(% colspan="2" %)Description 437 437 |(% rowspan="11" %)cfgList|monitorId|Tags ID 438 438 |monitorName|Tags name ... ... @@ -597,7 +597,7 @@ 597 597 |groupId|(% colspan="2" %)Group ID (Required) 598 598 |pageSize|(% colspan="2" %)Number of each page, 10 by default 599 599 |pageIndex|(% colspan="2" %)Number of current page, start from 1 600 -|devType|(% colspan="2" %)Device type (0:Box, 1:HMI)600 +|devType|(% colspan="2" %)Device type (0:Box, 1:HMI) 601 601 |(% rowspan="11" %)**Return value**|Field name|(% colspan="2" %)Description 602 602 |(% rowspan="7" %)List|(% colspan="2" %)Real-time data list 603 603 |com|Communication port ID ... ... @@ -712,9 +712,11 @@ 712 712 (% class="table-bordered" %) 713 713 |**acturl**|(% colspan="2" %)we-data/updrealdata 714 714 |**Functions**|(% colspan="2" %)Modify tag data 715 -|(% rowspan="3" %)**Parameters**|Parameter|Description 715 +|(% rowspan="5" %)**Parameters**|Parameter|Description 716 +|boxId|Box ID 716 716 |monitorId|Tag ID 717 717 |value|value 719 +|devType|Device type (0:Box, 1:HMI) 718 718 |**Return value**|(% colspan="2" %)None 719 719 720 720 **Operating procedures** ... ... @@ -726,25 +726,26 @@ 726 726 727 727 **Step2:** Set parameters on Params 728 728 729 -"monitorId":"91541" 731 +boxId:6397578 732 +monitorId:1001 733 +value:66 734 +devType:1 730 730 731 -"value":"60" 732 - 733 733 (% style="text-align:center" %) 734 -[[image: V-BOX HTTP manual_html_5a3153add75ca7b4.png||height="246" width="800" class="img-thumbnail"]]737 +[[image:1746502882467-849.png]] 735 735 736 736 **Step3:** Get sign 737 737 738 -comid=2&compvtkey= 589625dce895454dbff9782c299db156&monitorId=91541&sid=2d7bfd344aa64d8ebc9beea0e4dad8ad&ts=1573897380&value=60&key=f1cd9351930d4e589922edbcf3b09a7c741 +boxId=6397578&comid=128&compvtkey=7e421dd30a394d74b7b9c079e67e272c&devType=1&monitorId=1001&sid=d8c98edd64da40289fef565c94924fe5&ts=171746501715435&value=66&key=f1cd9351930d4e589922edbcf3b09a7c 739 739 740 -MD5 sign: 4 119b1abc9176a187f781bece04a5296743 +MD5 sign: 4802a362fde2ca5053ad79fe4d272200 741 741 742 742 **Step4: **Set common of header 743 743 744 -{" monitorId":"91541","value":"60","sid":"2d7bfd344aa64d8ebc9beea0e4dad8ad","comid":"2","compvtkey":"589625dce895454dbff9782c299db156","ts":"1573897380","sign":"4119b1abc9176a187f781bece04a5296"}747 +{"compvtkey":"7e421dd30a394d74b7b9c079e67e272c","sign":"4802a362fde2ca5053ad79fe4d272200","comid":"128","sid":"d8c98edd64da40289fef565c94924fe5","ts":171746501715435} 745 745 746 746 (% style="text-align:center" %) 747 -[[image: V-BOX HTTP manual_html_59d54a5d886ef614.png||height="244" width="700" class="img-thumbnail"]]750 +[[image:1746503047845-902.png]] 748 748 749 749 **Result** 750 750 ... ... @@ -761,7 +761,7 @@ 761 761 } 762 762 763 763 (% style="text-align:center" %) 764 -[[image: V-BOX HTTP manual_html_590c8dab9e80fd0f.png||height="425" width="700" class="img-thumbnail"]]767 +[[image:1746503002289-932.png]] 765 765 766 766 == **Historical tags name list** == 767 767 ... ... @@ -770,8 +770,9 @@ 770 770 (% class="table-bordered" %) 771 771 |**acturl**|(% colspan="3" %)we-data/monitors 772 772 |**Functions**|(% colspan="3" %)Get a list of historical tags 773 -|(% rowspan="2" %)**Parameters**|Parameter|(% colspan="2" %)Description 774 -|boxId|(% colspan="2" %)VBoxID (Not required) 776 +|(% rowspan="3" %)**Parameters**|Parameter|(% colspan="2" %)Description 777 +|boxId|(% colspan="2" %)Box ID (Not required) 778 +|devType|(% colspan="2" %)Device type (0:Box, 1:HMI) 775 775 |(% rowspan="4" %)**Return value**|Field name|(% colspan="2" %)Description 776 776 |(% rowspan="3" %)list|(% colspan="2" %)Tag list 777 777 |monitorId|tag ID ... ... @@ -974,7 +974,7 @@ 974 974 (% class="table-bordered" %) 975 975 |**acturl**|(% colspan="3" %)we-data/alarmdata 976 976 |**Function**|(% colspan="3" %)Get alarm data 977 -|(% rowspan=" 9" %)**Parameters**|Parameter|(% colspan="2" %)Description981 +|(% rowspan="10" %)**Parameters**|Parameter|(% colspan="2" %)Description 978 978 |boxId|(% colspan="2" %)VBoxID, (Required) 979 979 |monitorBeginTime|(% colspan="2" %)Monitoring start time, (Not required) 980 980 |monitorEndTime|(% colspan="2" %)Monitoring end time, (Not required) ... ... @@ -991,6 +991,7 @@ 991 991 992 992 (Not necessary) 993 993 ))) 998 +|devType|(% colspan="2" %)Device type (0:Box, 1:HMI) 994 994 |(% rowspan="12" %)**Return value**|Field name|(% colspan="2" %)Description 995 995 |(% rowspan="8" %)List|(% colspan="2" %)Alarm data list 996 996 |monitorId|tag ID
- 1746502870811-166.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.DevinChen - Size
-
... ... @@ -1,0 +1,1 @@ 1 +36.4 KB - Content
- 1746502882467-849.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.DevinChen - Size
-
... ... @@ -1,0 +1,1 @@ 1 +36.4 KB - Content
- 1746503002289-932.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.DevinChen - Size
-
... ... @@ -1,0 +1,1 @@ 1 +20.3 KB - Content
- 1746503047845-902.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.DevinChen - Size
-
... ... @@ -1,0 +1,1 @@ 1 +42.1 KB - Content