mirror of
https://github.com/jwetzell/showbridge-docs.git
synced 2026-09-03 11:18:58 +00:00
add new ID property for processors and routes
This commit is contained in:
@@ -15,7 +15,8 @@ The `float.parse` processor takes a string and parses it as a float with the spe
|
||||
This would parse the string payload as a 32 bit float and set the payload to that value.
|
||||
|
||||
```yaml
|
||||
- type: float.parse
|
||||
- id: parse
|
||||
type: float.parse
|
||||
params:
|
||||
bitSize: 32
|
||||
```
|
||||
|
||||
@@ -15,7 +15,8 @@ The `float.random` processor will set the payload to a random float between the
|
||||
This would generate a random 64-bit float between 1.1 and 1.5 and set the payload to that value.
|
||||
|
||||
```yaml
|
||||
- type: float.random
|
||||
- id: random
|
||||
type: float.random
|
||||
params:
|
||||
bitSize: 64
|
||||
min: 1.0
|
||||
|
||||
Reference in New Issue
Block a user