The chat responses are generated using Generative AI technology for intuitive search and may not be entirely accurate. They are not intended as professional advice. For full details, including our use rights, privacy practices and potential export control restrictions, please refer to our Generative AI Service Terms of Use and Generative AI Service Privacy Information. As this is a test version, please let us know if something irritating comes up. Like you get recommended a chocolate fudge ice cream instead of an energy managing application. If that occurs, please use the feedback button in our contact form!
Skip to content
Lifecycle Twin API

Create and manage various objects in the Lifecycle Twin.

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"
      ]
    }
  ]
}