Files
openvehicle-api/examples/configuration_example/config/test_configuration_example.toml

38 lines
1.0 KiB
TOML
Raw Normal View History

[Configuration]
Version = 100
[[Component]]
Path = "configuration_component_example.sdv"
Class = "Configuration_Example"
2026-03-27 14:12:49 +01:00
[Component.Parameters]
2026-04-07 09:11:36 +02:00
updatableValue = 13
Message = "It's me"
### the following is a valid JSON structure in a muliline string
JSONConfig = """{
"Logging": {
"Sinks": [ { "Type": "Stdout", "Level": "Info" } ]
},
}"""
Id = 42
Pi = 3.1415926
Boolean = true
Array = [ 1, 2, 3 , 5 , 7, 11, 13, 17 ]
Table = { a = 77, b = 1.2, c = "this is a string" }
2026-04-14 17:30:23 +02:00
[[Component]]
Path = "configuration_component_example_02.sdv"
Class = "Configuration_Example_02"
[Component.Parameters]
updatableValue = 13
Message = "It's me"
### the following is a valid JSON structure in a muliline string
JSONConfig = """{
"Logging": {
"Sinks": [ { "Type": "Stdout", "Level": "Info" } ]
},
}"""
Id = 42
Pi = 3.1415926
Boolean = true
Array = [ 1, 2, 3 , 5 , 7, 11, 13, 17 ]
Table = { a = 77, b = 1.2, c = "this is a string" }