Changes for page Demo for Smart Office, Factory
Last modified by Hera Guo on 2024/11/11 17:08
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 3 removed)
Details
- Page properties
-
- Content
-
... ... @@ -57,7 +57,7 @@ 57 57 58 58 **device:**This section displays the specific information collected by the device, and different types of sensors have different display interfaces 59 59 60 -[[image: 屏幕截图 2024-11-04 134645.png]]60 +[[image:1730699212334-960.png]] 61 61 62 62 First floor: 63 63 ... ... @@ -82,9 +82,8 @@ 82 82 83 83 High Temperature、Low Temperature、High humidity、Low humidity、Low voltage、Device Disconnected 84 84 85 -[[image:1730 854677036-426.png]]85 +[[image:1730699566023-958.png]] 86 86 87 - 88 88 = 4.configuration details = 89 89 90 90 After understanding the architecture and layering of the complete project, we can start configuring it ... ... @@ -93,48 +93,58 @@ 93 93 94 94 === 4.1.1.Data source (Entity aliases) === 95 95 96 - detail:Obtaindata based on dashboard status95 +Asset map: 97 97 97 +[[image:1730709409941-536.png||height="729" width="1440"]] 98 + 99 +detail: 100 + 98 98 [[image:1730709424998-915.png||height="729" width="1436"]] 99 99 100 - Alarm:Obtain alarm information103 +devid: 101 101 105 +[[image:1730709442773-502.png||height="738" width="1434"]] 106 + 107 +State: 108 + 109 +[[image:1730709461297-207.png||height="706" width="1434"]] 110 + 111 +Alarm: 112 + 102 102 [[image:1730709479828-595.png||height="696" width="1435"]] 103 103 104 -Dragino&GXHL,Ltd: Obtain data through asset types115 +Dragino&GXHL,Ltd: 105 105 106 106 [[image:1730709511861-439.png||height="714" width="1435"]] 107 107 108 -Selected Supermarket: Retrieve devices by device type119 +Selected Supermarket: 109 109 110 110 [[image:1730709527720-418.png||height="751" width="1433"]] 111 111 112 -Supermarket Devices:Obtain data through device type123 +Supermarkets: 113 113 114 -[[image:173070955 5797-383.png||height="726" width="1434"]]125 +[[image:1730709542597-321.png||height="734" width="1435"]] 115 115 116 - LHT65N Device:Obtaindata based on devicetype127 +Supermarket Devices: 117 117 118 -[[image:1730 857191863-514.png||height="725" width="1433"]]129 +[[image:1730709555797-383.png||height="726" width="1434"]] 119 119 131 + 120 120 === 4.1.2.Page Configuration === 121 121 122 122 ==== 4.1.2.1、Configure the interface of the third layer Davies. ==== 123 123 136 + 124 124 ==== 4.1.2.2、Configure the interface of the second layer asset ==== 125 125 126 - ===== 4.1.2.2.1Equipment distribution diagram:=====139 +**Equipment distribution diagram:** 127 127 128 128 **Data:** 129 129 130 130 [[image:1730770392454-317.png||height="745" width="1439"]] 131 131 132 - **Appearannce:**In this module, we needto arrange our devices in the correspondingpositions anduse icons to display our devices. Therefore, inthe Appearanceinterface, we need toconfigure them145 +Tooltip function: 133 133 134 -**Tooltip function:**This module displays the current information of the device 135 - 136 -[[image:1730857537965-184.png]] 137 - 138 138 {{code language="none"}} 139 139 var msg = data 140 140 if(msg.Label=="gateway" && msg.type == "gateway"){ ... ... @@ -160,12 +160,8 @@ 160 160 } 161 161 {{/code}} 162 162 163 -(% class="wikigeneratedid" id="HMarkerimagefunctionFF1A" %) 164 -**Marker image function:**This module can display different icons based on different types of sensors and their status to achieve its functionality 172 +==== Marker image function: ==== 165 165 166 -(% class="wikigeneratedid" %) 167 -[[image:1730857750749-240.png]] 168 - 169 169 {{code language="none"}} 170 170 var res 171 171 var msg = data ... ... @@ -255,11 +255,9 @@ 255 255 return res; 256 256 {{/code}} 257 257 258 -(% class="wikigeneratedid" id="H" %) 259 -[[image:1730770875793-351.png]] 263 +==== [[image:1730770875793-351.png]] ==== 260 260 261 -(% class="wikigeneratedid" id="HActions" %) 262 -**Actions:**We need to implement the function of entering the details interface through the corresponding device icon, so in this module, we need to add actions to achieve redirection 265 +==== Actions ==== 263 263 264 264 {{code language="none"}} 265 265 var entitySubType; ... ... @@ -320,21 +320,18 @@ 320 320 321 321 [[image:1730771103096-522.png]] 322 322 323 - ===== 4.1.2.2.2Device List=====326 +Device List 324 324 325 - **Data:**328 +Data: 326 326 327 327 [[image:1730771199343-553.png]] 328 328 329 - **Actions:**Equipment distribution diagram: In this module, functions need to be implemented such as adding devices, editing devices, deleting devices, and jumping to the device details page. Therefore, the following actions need to be added:332 +Actions: 330 330 331 331 [[image:1730771228766-212.png]] 332 332 333 -(% class="wikigeneratedid" id="HEditdeviceFF1A" %) 334 -Edit device:Implementation function: Device editing 336 +==== Edit device: ==== 335 335 336 -[[image:1730771256045-238.png]] 337 - 338 338 {{code language="none"}} 339 339 let $injector = widgetContext.$scope.$injector; 340 340 let customDialog = $injector.get(widgetContext.servicesMap.get('customDialog')); ... ... @@ -431,12 +431,10 @@ 431 431 } 432 432 {{/code}} 433 433 434 -==== ==== 434 +==== [[image:1730771256045-238.png]] ==== 435 435 436 -Delete device: Implementation function: Device deletion436 +Delete device: 437 437 438 -[[image:1730771318657-502.png]] 439 - 440 440 {{code language="none"}} 441 441 let $injector = widgetContext.$scope.$injector; 442 442 let dialogs = $injector.get(widgetContext.servicesMap.get('dialogs')); ... ... @@ -466,11 +466,10 @@ 466 466 467 467 {{/code}} 468 468 467 +[[image:1730771318657-502.png]] 469 469 470 -jump :Implementation function: Jump to the device details page469 +jump 471 471 472 -[[image:1730771386258-676.png]] 473 - 474 474 {{code language="none"}} 475 475 console.log(entityName) 476 476 var entitySubType; ... ... @@ -528,12 +528,10 @@ 528 528 } 529 529 {{/code}} 530 530 531 -==== ==== 528 +==== [[image:1730771386258-676.png]] ==== 532 532 533 -Add device: Implementation function: Add device530 +Add device: 534 534 535 -[[image:1730771441589-122.png]] 536 - 537 537 {{code language="none"}} 538 538 let $injector = widgetContext.$scope.$injector; 539 539 let customDialog = $injector.get(widgetContext.servicesMap.get('customDialog')); ... ... @@ -597,19 +597,19 @@ 597 597 } 598 598 {{/code}} 599 599 600 -==== ==== 595 +==== [[image:1730771441589-122.png]] ==== 601 601 602 -==== =**4.1.2.2.2Asset Alarm:**=====597 +==== Asset Alarm: ==== 603 603 604 - **Data:**599 +Data: 605 605 606 606 [[image:1730771504586-433.png]] 607 607 608 608 ==== 4.1.2.3、Configure the first layer menu interface ==== 609 609 610 - ===== 4.1.2.3.1**Map:**=====605 +**Map:** 611 611 612 - **Data:**607 +Data: 613 613 614 614 [[image:1730710271230-716.png||height="729" width="1427"]] 615 615 ... ... @@ -617,7 +617,7 @@ 617 617 618 618 [[image:1730710850458-781.png||height="770" width="1429"]] 619 619 620 -Select supermarket: Implementation function: Refresh the side page615 +Select supermarket: 621 621 622 622 {{code language="none"}} 623 623 var params = widgetContext.stateController.getStateParams(); ... ... @@ -632,7 +632,7 @@ 632 632 633 633 [[image:1730710875401-848.png||height="767" width="1429"]] 634 634 635 -Supermarket_detail: Implementation function: Jump to the asset details page630 +Supermarket_detail: 636 636 637 637 {{code language="none"}} 638 638 var params = JSON.parse(JSON.stringify(widgetContext.stateController.getStateParams())); ... ... @@ -661,9 +661,8 @@ 661 661 662 662 [[image:1730710395303-672.png||height="771" width="1438"]] 663 663 664 - ===== 4.1.2.3.1Asset List:=====659 +Asset List: 665 665 666 -**Data:** 667 667 668 668 [[image:1730710693066-349.png||height="772" width="1439"]] 669 669
- 1730857191863-514.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.hera - Size
-
... ... @@ -1,1 +1,0 @@ 1 -354.7 KB - Content
- 1730857537965-184.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.hera - Size
-
... ... @@ -1,1 +1,0 @@ 1 -455.1 KB - Content
- 1730857750749-240.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.hera - Size
-
... ... @@ -1,1 +1,0 @@ 1 -285.9 KB - Content