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, 20 added, 0 removed)
- 1730709382428-730.png
- 1730709409941-536.png
- 1730709424998-915.png
- 1730709442773-502.png
- 1730709461297-207.png
- 1730709479828-595.png
- 1730709511861-439.png
- 1730709527720-418.png
- 1730709542597-321.png
- 1730709555797-383.png
- 1730710271230-716.png
- 1730710395303-672.png
- 1730710693066-349.png
- 1730710850458-781.png
- 1730710875401-848.png
- 1730710949358-671.png
- 1730710990334-601.png
- 1730712335338-750.png
- 1730712473941-913.png
- 1730712539209-554.png
Details
- Page properties
-
- Content
-
... ... @@ -90,6 +90,47 @@ 90 90 91 91 == 4.1 Dashboard configuration details == 92 92 93 +=== 4.1.1.Data source (Entity aliases) === 94 + 95 +Asset map: 96 + 97 +[[image:1730709409941-536.png||height="729" width="1440"]] 98 + 99 +detail: 100 + 101 +[[image:1730709424998-915.png||height="729" width="1436"]] 102 + 103 +devid: 104 + 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 + 113 +[[image:1730709479828-595.png||height="696" width="1435"]] 114 + 115 +Dragino&GXHL,Ltd: 116 + 117 +[[image:1730709511861-439.png||height="714" width="1435"]] 118 + 119 +Selected Supermarket: 120 + 121 +[[image:1730709527720-418.png||height="751" width="1433"]] 122 + 123 +Supermarkets: 124 + 125 +[[image:1730709542597-321.png||height="734" width="1435"]] 126 + 127 +Supermarket Devices: 128 + 129 +[[image:1730709555797-383.png||height="726" width="1434"]] 130 + 131 + 132 +=== 4.1.2.Page Configuration === 133 + 93 93 1、Configure the interface of the third layer Davies. 94 94 95 95 ... ... @@ -98,7 +98,75 @@ 98 98 99 99 3、Configure the first layer menu interface 100 100 142 +Map: 101 101 144 +Data: 145 + 146 +[[image:1730710271230-716.png||height="729" width="1427"]] 147 + 148 +Actions:The map interface has two actions, among which Select supermarket can refresh the device list and related alarms on the right side to enter the location, and Supermarket_detail can jump to the second level physical interface to view the details of the location based on the selected location 149 + 150 +[[image:1730710850458-781.png||height="770" width="1429"]] 151 + 152 +Select supermarket: 153 + 154 +{{code language="none"}} 155 +var params = widgetContext.stateController.getStateParams(); 156 +var selectedSupermarket = params['selectedSupermarket']; 157 +if (selectedSupermarket && selectedSupermarket.entityId.id === entityId.id) { 158 + params['selectedSupermarket'] = null; 159 +} else { 160 + params['selectedSupermarket'] = { entityId: entityId, entityName: entityName, entityLabel: entityLabel }; 161 +} 162 +widgetContext.stateController.updateState(null, params); 163 +{{/code}} 164 + 165 +[[image:1730710875401-848.png||height="767" width="1429"]] 166 + 167 +Supermarket_detail: 168 + 169 +{{code language="none"}} 170 +var params = JSON.parse(JSON.stringify(widgetContext.stateController.getStateParams())); 171 +params['selectedSupermarket'] = { 172 + entityId: entityId, 173 + entityName: entityName, 174 + entityLabel: entityLabel, 175 +}; 176 +params['targetEntityParamName'] = 'selectedSupermarket'; 177 +params['selectedDevice'] = null; 178 + 179 +widgetContext.stateController.openState('svgmap', params); 180 +{{/code}} 181 + 182 +[[image:1730710990334-601.png||height="772" width="1433"]] 183 + 184 +* In this demo, exclusive map icons were set as follows: 185 + 186 +{{code language="none"}} 187 +var res = { 188 + url: images[0], 189 + size: 66 190 +}; 191 +return res; 192 +{{/code}} 193 + 194 +[[image:1730710395303-672.png||height="771" width="1438"]] 195 + 196 +Asset List: 197 + 198 + 199 +[[image:1730710693066-349.png||height="772" width="1439"]] 200 + 201 +Actions:The Assets List interface has an action, which is the same as the Supermarket_details in the Map. You can jump to the second level entity interface to view the details of the selected location based on its location 202 + 203 +[[image:1730712335338-750.png||height="751" width="1423"]] 204 + 205 +[[image:1730712473941-913.png||height="781" width="1422"]] 206 + 207 +All Alarms: 208 + 209 +[[image:1730712539209-554.png||height="764" width="1424"]] 210 + 102 102 == 4.2 Alarm configuration details == 103 103 104 104 == 4.3 Rule chain configuration details ==
- 1730709382428-730.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.hera - Size
-
... ... @@ -1,0 +1,1 @@ 1 +480.8 KB - Content
- 1730709409941-536.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.hera - Size
-
... ... @@ -1,0 +1,1 @@ 1 +451.5 KB - Content
- 1730709424998-915.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.hera - Size
-
... ... @@ -1,0 +1,1 @@ 1 +443.4 KB - Content
- 1730709442773-502.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.hera - Size
-
... ... @@ -1,0 +1,1 @@ 1 +448.3 KB - Content
- 1730709461297-207.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.hera - Size
-
... ... @@ -1,0 +1,1 @@ 1 +458.2 KB - Content
- 1730709479828-595.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.hera - Size
-
... ... @@ -1,0 +1,1 @@ 1 +450.7 KB - Content
- 1730709511861-439.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.hera - Size
-
... ... @@ -1,0 +1,1 @@ 1 +470.0 KB - Content
- 1730709527720-418.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.hera - Size
-
... ... @@ -1,0 +1,1 @@ 1 +475.8 KB - Content
- 1730709542597-321.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.hera - Size
-
... ... @@ -1,0 +1,1 @@ 1 +474.8 KB - Content
- 1730709555797-383.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.hera - Size
-
... ... @@ -1,0 +1,1 @@ 1 +463.2 KB - Content
- 1730710271230-716.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.hera - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.5 MB - Content
- 1730710395303-672.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.hera - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.6 MB - Content
- 1730710693066-349.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.hera - Size
-
... ... @@ -1,0 +1,1 @@ 1 +94.4 KB - Content
- 1730710850458-781.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.hera - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.5 MB - Content
- 1730710875401-848.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.hera - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.0 MB - Content
- 1730710949358-671.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.hera - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.0 MB - Content
- 1730710990334-601.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.hera - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.0 MB - Content
- 1730712335338-750.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.hera - Size
-
... ... @@ -1,0 +1,1 @@ 1 +77.1 KB - Content
- 1730712473941-913.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.hera - Size
-
... ... @@ -1,0 +1,1 @@ 1 +135.9 KB - Content
- 1730712539209-554.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.hera - Size
-
... ... @@ -1,0 +1,1 @@ 1 +131.0 KB - Content