Multi-Cell Device Example

Download

{
  "udrtype": "udr",
  "children": [
    {
      "udrtype": "import",
      "library": "org.esta.lib.intensity.1"
    },
    {
      "udrtype": "import",
      "library": "org.esta.lib.color.1"
    },
    {
      "udrtype": "deviceclass",
      "class": "com.acme.dev.multi-cell-5000.1",
      "description": "Multi Cell 5000",
      "publishdate": "2021-06-23",
      "author": "ACME Corp",
      "children": [
        {
          "udrtype": "scalaritems",
          "children": [
            {
              "udrtype": "scalaritem",
              "class": "org.esta.lib.intensity.1/intensity",
              "id": "dimmer",
              "access": "readwrite",
              "lifetime": "runtime",
              "minimum": 0,
              "maximum": 1,
              "default": 0,
              "count": 20
            },
            {
              "udrtype": "scalaritem",
              "class": "org.esta.lib.color.1/red",
              "id": "red",
              "access": "readwrite",
              "lifetime": "runtime",
              "minimum": 0,
              "maximum": 1,
              "default": 1,
              "count": 20
            },
            {
              "udrtype": "scalaritem",
              "class": "org.esta.lib.color.1/blue",
              "id": "blue",
              "access": "readwrite",
              "lifetime": "runtime",
              "minimum": 0,
              "maximum": 1,
              "default": 1,
              "count": 20
            },
            {
              "udrtype": "scalaritem",
              "class": "org.esta.lib.color.1/blue",
              "id": "blue",
              "access": "readwrite",
              "lifetime": "runtime",
              "minimum": 0,
              "maximum": 1,
              "default": 1,
              "count": 20
            }
          ]
        },
        {
          "udrtype": "structureditems",
          "children": [

          ]
        }
      ]
    }
  ]
}