Commit c6cd05a
committed
Use a flat list of measurement metadata
Mimicing the structure of grouped measurements as in `"Foo": {"unit: "u", "Temperature": {"unit": "°C"}}`
leads to confusion as units are assigned to `"Foo":20` values as well as `"Foo" : { "Temperature": 20 }`.
Using a flat structure is less confusing as units for `"Foo"` and `"Foo.Temperature"`
are now defined using two independent property sets.
Signed-off-by: Didier Wenzek <[email protected]>1 parent 25f7220 commit c6cd05a
File tree
2 files changed
+32
-29
lines changed- crates/extensions/c8y_mapper_ext/src
- docs/src/references/mappers
2 files changed
+32
-29
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
100 | 109 | | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | 110 | | |
106 | 111 | | |
107 | 112 | | |
| |||
328 | 333 | | |
329 | 334 | | |
330 | 335 | | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
340 | 341 | | |
341 | 342 | | |
342 | 343 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
399 | | - | |
400 | | - | |
| 399 | + | |
401 | 400 | | |
402 | 401 | | |
403 | 402 | | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
413 | 409 | | |
414 | 410 | | |
415 | 411 | | |
416 | 412 | | |
417 | 413 | | |
418 | 414 | | |
419 | 415 | | |
| 416 | + | |
420 | 417 | | |
421 | 418 | | |
422 | 419 | | |
| |||
434 | 431 | | |
435 | 432 | | |
436 | 433 | | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
| |||
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
451 | 454 | | |
452 | 455 | | |
453 | 456 | | |
454 | | - | |
455 | 457 | | |
456 | 458 | | |
457 | 459 | | |
| |||
0 commit comments