{
  "custom": {},
  "params": {},
  "props": {
    "defaultSize": {
      "height": 1080,
      "width": 1920
    }
  },
  "root": {
    "children": [
      {
        "custom": {
          "Devices": [
            "PLC01",
            "PLC02",
            "PLC03",
            "PLC06",
            "PLC07",
            "PLC08",
            "PLC09",
            "PLC13",
            "PLC14",
            "PLC15",
            "PLC16",
            "PLC20",
            "PLC21",
            "PLC22",
            "PLC23",
            "PLC25",
            "PLC26",
            "PLC27",
            "PLC28",
            "PLC29",
            "PLC30",
            "PLC31",
            "PLC32",
            "PLC40",
            "PLC41",
            "PLC42",
            "PLC43",
            "PLC47",
            "PLC48",
            "PLC49",
            "PLC51",
            "PLC52",
            "PLC60",
            "PLC64",
            "PLC65",
            "PLC66",
            "PLC69",
            "PLC70",
            "PLC71",
            "PLC80",
            "PLC96",
            "PLC97",
            "PLC99",
            "ARSAW1301",
            "ARSAW1302",
            "ARSAW1303",
            "ARSAW1304",
            "ARSAW1305",
            "ARSAW1306",
            "ARSAW1307",
            "ARSAW1401",
            "ARSAW1402",
            "ARSAW1403",
            "ARSAW1404",
            "ARSAW1405",
            "ARSAW1406",
            "ARSAW1407",
            "ARSAW1501",
            "ARSAW1502",
            "ARSAW1503",
            "ARSAW1504",
            "ARSAW1505",
            "ARSAW1506",
            "ARSAW1507",
            "ARSAW1601",
            "ARSAW1602",
            "ARSAW1603",
            "ARSAW1604",
            "ARSAW1605",
            "ARSAW1606",
            "ARSAW1607",
            "FSC10",
            "SLAM301",
            "SLAM302",
            "SLAM303",
            "SLAM304",
            "SLAM305",
            "SLAM306",
            "SLAM307",
            "SLAM402",
            "SLAM401",
            "RWC4"
          ]
        },
        "meta": {
          "name": "FlexRepeater"
        },
        "position": {
          "basis": "1080px"
        },
        "props": {
          "alignContent": "flex-start",
          "alignItems": "flex-start",
          "elementPosition": {
            "grow": 0,
            "shrink": 0
          },
          "instances": [
            {
              "instancePosition": {},
              "instanceStyle": {
                "classes": "",
                "margin": "5px"
              },
              "tagProps": [
                "PLC01",
                "value",
                "value",
                "value",
                "value",
                "value",
                "value",
                "value",
                "value",
                "value"
              ]
            },
            {
              "instancePosition": {},
              "instanceStyle": {
                "classes": "",
                "margin": "5px"
              },
              "tagProps": [
                "PLC02",
                "value",
                "value",
                "value",
                "value",
                "value",
                "value",
                "value",
                "value",
                "value"
              ]
            },
            {
              "instancePosition": {},
              "instanceStyle": {
                "classes": "",
                "margin": "5px"
              },
              "tagProps": [
                "PLC03",
                "value",
                "value",
                "value",
                "value",
                "value",
                "value",
                "value",
                "value",
                "value"
              ]
            },
            {
              "instancePosition": {},
              "instanceStyle": {
                "classes": "",
                "margin": "5px"
              },
              "tagProps": [
                "PLC09",
                "value",
                "value",
                "value",
                "value",
                "value",
                "value",
                "value",
                "value",
                "value"
              ]
            }
          ],
          "path": "Symbol-Views/Controller-Views/CommandControl",
          "style": {
            "overflow": "visible"
          },
          "wrap": "wrap"
        },
        "type": "ia.display.flex-repeater"
      }
    ],
    "custom": {
      "Devices": [
        "PLC01",
        "PLC02",
        "PLC03",
        "PLC09"
      ],
      "count": "value",
      "delay": 4000
    },
    "events": {
      "system": {
        "onStartup": {
          "config": {
            "script": "\tfc \u003d system.tag.readBlocking([\"Configuration/FC\"])\n\ttag_provider \u003d \"[%s_SCADA_TAG_PROVIDER]\" % (fc[0].value)\n\ttags_to_read \u003d system.tag.readBlocking([tag_provider+\"Configuration/DetailedViews\"])\n\tdevices \u003d system.util.jsonDecode(tags_to_read[0].value)\n\tif devices:\n\t\tinstances \u003d []\n\t\tdashboard_devices \u003d []\n\t\tfor k,v in devices.items():\n\t\t\tdevice_list \u003d v\n\t\t\tfor i in device_list:\n\t\t\t\tdashboard_devices.append(i)\n\t\t\t\tinstances.append({\n\t\t\t\t    \"instanceStyle\": {\n\t\t\t\t      \"classes\": \"\",\n\t\t\t\t      \"margin\": \"5px\"\n\t\t\t\t    },\n\t\t\t\t    \"instancePosition\": {},\n\t\t\t\t    \"tagProps\": [\n\t\t\t\t      i,\n\t\t\t\t      \"value\",\n\t\t\t\t      \"value\",\n\t\t\t\t      \"value\",\n\t\t\t\t      \"value\",\n\t\t\t\t      \"value\",\n\t\t\t\t      \"value\",\n\t\t\t\t      \"value\",\n\t\t\t\t      \"value\",\n\t\t\t\t      \"value\"\n\t\t\t\t    ]\n\t\t\t\t  })\n\t\tsystem.perspective.print(instances)\n\t\tself.custom.Devices \u003d dashboard_devices\n\t\tself.getChild(\"FlexRepeater\").props.instances \u003d instances"
          },
          "scope": "G",
          "type": "script"
        }
      }
    },
    "meta": {
      "name": "root"
    },
    "props": {
      "direction": "column"
    },
    "type": "ia.container.flex"
  }
}