Example of animation definition
C# Classes to serialize to JSON
JSON Sample
{
"Animations": [
{
"Conditions": [
{
"RDSVar": "D-227A (level m3)",
"Type": "Less",
"Value1": 22,
"Value2": null
}
],
"LogicalOperation": "OR",
"AnimationType": "Color",
"Parameters": "{\"Speed\":1.0,\"Color\":\"#00FF00\"}",
"IsBlinked": false
},
{
"Conditions": [
{
"RDSVar": "D-227A (level m3)",
"Type": "Range",
"Value1": 22,
"Value2": 24
}
],
"LogicalOperation": "OR",
"AnimationType": "Color",
"Parameters": "{\"Speed\":5.0,\"Color\":\"#FF9900\"}",
"IsBlinked": true
},
{
"Conditions": [
{
"RDSVar": "D-227A (level m3)",
"Type": "Greater",
"Value1": 24,
"Value2": null
}
],
"LogicalOperation": "OR",
"AnimationType": "Color",
"Parameters": "{\"Speed\":10.0,\"Color\":\"#FF0000\"}",
"IsBlinked": true
}
],
"Models": [
{
"Id": "98cccd8e-feaa-4927-ad86-34db0b7357b9",
"Ids": [
"c5578d57-a838-43f7-b942-0f0e5ddcde12-000c755e"
]
}
]
}