Wiki source code of 2.3.1. SENSOR_MEASUREMENT
Last modified by Hyunji Cho on 2022/06/08 11:15
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | (% class="table-bordered" %) | ||
| 2 | |**2.3.1.**|(% colspan="3" %)**SENSOR_MEASUREMENT** | ||
| 3 | |**Definition**|(% colspan="3" %)It is a sub-concept of EVENT. An EVENT in which a STATE of SENSOR is recorded | ||
| 4 | |**Examples**|(% colspan="3" %)Sensor reading | ||
| 5 | |(% rowspan="9" %)((( | ||
| 6 | **Fields of entity** | ||
| 7 | |||
| 8 | **(Attributes)** | ||
| 9 | )))|**Attribute**|**Description**|**Type of data** | ||
| 10 | |MEASUREMENT_ID|Measurement code|Integer | ||
| 11 | |PERSON_ID|Reporter| | ||
| 12 | |SENSOR_ID|The sensor which is measured|Integer | ||
| 13 | |METRIC_ID|Metric which this measurement feeds|Integer | ||
| 14 | |Collection date|Date of measurement|Date | ||
| 15 | |Collection time|Time of measurement|Time | ||
| 16 | |The data fields of this measurement|It can be different depending on the types of sensors and aim of measurement| | ||
| 17 | |Description|other notes/descriptions on this measurement|Varchar | ||
| 18 | |**Relationships**|(% colspan="3" %)See below diagram | ||
| 19 | |**Notes**|(% colspan="3" %) | ||
| 20 | |||
| 21 | {{box}}{{velocity}} | ||
| 22 | {{html}} | ||
| 23 | ## Chrome's XSS Auditor blocks the preview action if: | ||
| 24 | ## * the submitted content has an iframe with an external URL | ||
| 25 | ## * the preview action displays the submitted iframe | ||
| 26 | ## The workaround is to make sure the submitted content (the macro markers) don't match the preview HTML. | ||
| 27 | ## See XWIKI-14818: Preview triggers ERR_BLOCKED_BY_XSS_AUDITOR in Chrome | ||
| 28 | #set ($iframe = 'iframe') | ||
| 29 | |||
| 30 | <iframe src="https://embed.kumu.io/e1042b16c8db0a352f4883c8b6153f55" width="940" height="600" frameborder="0"></iframe> | ||
| 31 | |||
| 32 | |||
| 33 | {{/html}} | ||
| 34 | {{/velocity}}{{/box}} | ||
| 35 |