Wiki source code of 2.2.4. SENSOR
Last modified by Hyunji Cho on 2022/06/08 10:48
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | (% class="table-bordered" %) | ||
| 2 | |**2.2.4**|(% colspan="3" %)**SENSOR** | ||
| 3 | |**Definition**|(% colspan="3" %)It is an individual SENSOR implemented in cities. It is a sub-concept of CITY OBJECT. | ||
| 4 | |**Examples**|(% colspan="3" %)((( | ||
| 5 | Air pollution sensor | ||
| 6 | |||
| 7 | Portable sensor | ||
| 8 | ))) | ||
| 9 | |(% rowspan="8" %)((( | ||
| 10 | **Fields of entity** | ||
| 11 | |||
| 12 | **(Attributes)** | ||
| 13 | )))|**Attribute**|**Description**|**Type of data** | ||
| 14 | |SENSOR_ID|Sensor code|Integer | ||
| 15 | |Type of sensor| |Varchar | ||
| 16 | |NBS_PROJECT_ID|The NBS project which the sensor aims to monitor|Integer | ||
| 17 | |BUILDING_ID|The building that the sensor is attached to|Integer | ||
| 18 | |STREET_FURNITURE_ID|The street furniture that the sensor is attached to|Integer | ||
| 19 | |LOCATION_ID|Location of the sensor| | ||
| 20 | |other notes/descriptions on this measurement| |Varchar | ||
| 21 | |**Relationships**|(% colspan="3" %)See below diagram | ||
| 22 | |||
| 23 | {{box}}{{velocity}} | ||
| 24 | {{html}} | ||
| 25 | ## Chrome's XSS Auditor blocks the preview action if: | ||
| 26 | ## * the submitted content has an iframe with an external URL | ||
| 27 | ## * the preview action displays the submitted iframe | ||
| 28 | ## The workaround is to make sure the submitted content (the macro markers) don't match the preview HTML. | ||
| 29 | ## See XWIKI-14818: Preview triggers ERR_BLOCKED_BY_XSS_AUDITOR in Chrome | ||
| 30 | #set ($iframe = 'iframe') | ||
| 31 | |||
| 32 | <iframe src="https://embed.kumu.io/bb35510352eb2996fdb0694f2212d02d" width="940" height="600" frameborder="0"></iframe> | ||
| 33 | |||
| 34 | |||
| 35 | {{/html}} | ||
| 36 | {{/velocity}}{{/box}} | ||
| 37 |