{
  "custom": {
    "PLCs": "{\n  \"FSC1\": [\"FSC1\"],\n  \"FSC2\": [\"FSC2\"],\n  \"FSC_Cells\": [\"FSC_Cells\"],\n  \"FSC_Induct_1-4\": [\"FSC_Induct_1-4\"],\n  \"FSC_Induct_5-8\": [\"FSC10\"],\n  \"PLC01\": [\"PLC01\"],\n  \"PLC02\": [\n    \"PLC02\",\n    \"PLC98\"\n  ],\n  \"PLC03\": [\"PLC03\"],\n  \"PLC06\": [\n    \"PLC06\",\n    \"PLC07\"\n  ],\n  \"PLC08\": [\n    \"PLC08\",\n    \"PLC99\"\n  ],\n  \"PLC09\": [\"PLC09\"],\n  \"PLC09_Receiving2\": [\"PLC09_Receiving2\"],\n  \"PLC09_Receiving3\": [\"PLC09_Receiving3\"],\n  \"PLC1000\": [\"PLC1000\"],\n  \"PLC1000_Receiving4\": [\"PLC1000_Receiving4\"],\n  \"PLC1301\": [\"ARSAW1301\"],\n  \"PLC1302\": [\"ARSAW1302\"],\n  \"PLC1303\": [\"ARSAW1303\"],\n  \"PLC1304\": [\"ARSAW1304\"],\n  \"PLC1305\": [\"ARSAW1305\"],\n  \"PLC1306\": [\"ARSAW1306\"],\n  \"PLC1307\": [\"ARSAW1307\"],\n  \"PLC1308\": [\"ARSAW1308\"],\n  \"PLC1309\": [\"ARSAW1309\"],\n  \"PLC1310\": [\"ARSAW1310\"],\n  \"PLC1311\": [\"ARSAW1311\"],\n  \"PLC1312\": [\"ARSAW1312\"],\n  \"PLC13_SC1\": [\"PLC13\"],\n  \"PLC13_SC2\": [\"PLC13_SC2\"],\n  \"PLC14\": [\"PLC14\"],\n  \"PLC1501\": [\"ARSAW1501\"],\n  \"PLC1502\": [\"ARSAW1502\"],\n  \"PLC1503\": [\"ARSAW1503\"],\n  \"PLC1504\": [\"ARSAW1504\"],\n  \"PLC1505\": [\"ARSAW1505\"],\n  \"PLC1506\": [\"ARSAW1506\"],\n  \"PLC1507\": [\"ARSAW1507\"],\n  \"PLC1508\": [\"ARSAW1508\"],\n  \"PLC1509\": [\"ARSAW1509\"],\n  \"PLC1510\": [\"ARSAW1510\"],\n  \"PLC1511\": [\"ARSAW1511\"],\n  \"PLC1512\": [\"ARSAW1512\"],\n  \"PLC15_SC1\": [\"PLC15\"],\n  \"PLC15_SC2\": [\"PLC15_SC2\"],\n  \"PLC16\": [\"PLC16\"],\n  \"PLC20_Tote1-3\": [\"PLC20\"],\n  \"PLC20_Tote4-8\": [\"PLC20_Tote4-8\"],\n  \"PLC21_22\": [\n    \"PLC21\",\n    \"PLC22\"\n  ],\n  \"PLC23\": [\"PLC23\"],\n  \"PLC24\": [\n    \"PLC24\",\n    \"PLC97\"\n  ],\n  \"PLC25\": [\"PLC25\"],\n  \"PLC26\": [\"PLC26\"],\n  \"PLC27\": [\"PLC27\"],\n  \"PLC30\": [\"PLC30\"],\n  \"PLC31\": [\"PLC31\"],\n  \"PLC32\": [\"PLC32\"],\n  \"PLC60\": [\"PLC60\"],\n  \"PLC61\": [\"PLC61\"],\n  \"PLC69\": [\"PLC69\"],\n  \"PLC70\": [\n    \"PLC70\",\n    \"PLC71\"\n  ],\n  \"PLC80_81_82\": [\n    \"PLC80\",\n    \"PLC81\",\n    \"PLC82\"\n  ]\n}",
    "activityLogger": {
      "alt_pageid": "command_control",
      "start_time": {
        "$": [
          "ts",
          192,
          1715227222179
        ],
        "$ts": 1715227222179
      }
    },
    "devices": {
      "ARSAW1301": {
        "area": "AR FLOOR/ARSAW\r\r",
        "name": "ARSAW1301",
        "tagProps": [
          "ARSAW1301",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "ARSAW1302": {
        "area": "AR FLOOR/ARSAW\r\r",
        "name": "ARSAW1302",
        "tagProps": [
          "ARSAW1302",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "ARSAW1303": {
        "area": "AR FLOOR/ARSAW\r\r",
        "name": "ARSAW1303",
        "tagProps": [
          "ARSAW1303",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "ARSAW1304": {
        "area": "AR FLOOR/ARSAW\r\r",
        "name": "ARSAW1304",
        "tagProps": [
          "ARSAW1304",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "ARSAW1305": {
        "area": "AR FLOOR/ARSAW\r\r",
        "name": "ARSAW1305",
        "tagProps": [
          "ARSAW1305",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "ARSAW1306": {
        "area": "AR FLOOR/ARSAW\r\r",
        "name": "ARSAW1306",
        "tagProps": [
          "ARSAW1306",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "ARSAW1307": {
        "area": "AR FLOOR/ARSAW\r\r",
        "name": "ARSAW1307",
        "tagProps": [
          "ARSAW1307",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "ARSAW1308": {
        "area": "AR FLOOR/ARSAW\r\r",
        "name": "ARSAW1308",
        "tagProps": [
          "ARSAW1308",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "ARSAW1309": {
        "area": "AR FLOOR/ARSAW\r\r",
        "name": "ARSAW1309",
        "tagProps": [
          "ARSAW1309",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "ARSAW1310": {
        "area": "AR FLOOR/ARSAW\r\r",
        "name": "ARSAW1310",
        "tagProps": [
          "ARSAW1310",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "ARSAW1311": {
        "area": "AR FLOOR/ARSAW\r\r",
        "name": "ARSAW1311",
        "tagProps": [
          "ARSAW1311",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "ARSAW1312": {
        "area": "AR FLOOR/ARSAW\r\r",
        "name": "ARSAW1312",
        "tagProps": [
          "ARSAW1312",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "ARSAW1501": {
        "area": "AR FLOOR/ARSAW\r\r",
        "name": "ARSAW1501",
        "tagProps": [
          "ARSAW1501",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "ARSAW1502": {
        "area": "AR FLOOR/ARSAW\r\r",
        "name": "ARSAW1502",
        "tagProps": [
          "ARSAW1502",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "ARSAW1503": {
        "area": "AR FLOOR/ARSAW\r\r",
        "name": "ARSAW1503",
        "tagProps": [
          "ARSAW1503",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "ARSAW1504": {
        "area": "AR FLOOR/ARSAW\r\r",
        "name": "ARSAW1504",
        "tagProps": [
          "ARSAW1504",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "ARSAW1505": {
        "area": "AR FLOOR/ARSAW\r\r",
        "name": "ARSAW1505",
        "tagProps": [
          "ARSAW1505",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "ARSAW1506": {
        "area": "AR FLOOR/ARSAW\r\r",
        "name": "ARSAW1506",
        "tagProps": [
          "ARSAW1506",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "ARSAW1507": {
        "area": "AR FLOOR/ARSAW\r\r",
        "name": "ARSAW1507",
        "tagProps": [
          "ARSAW1507",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "ARSAW1508": {
        "area": "AR FLOOR/ARSAW\r\r",
        "name": "ARSAW1508",
        "tagProps": [
          "ARSAW1508",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "ARSAW1509": {
        "area": "AR FLOOR/ARSAW\r\r",
        "name": "ARSAW1509",
        "tagProps": [
          "ARSAW1509",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "ARSAW1510": {
        "area": "AR FLOOR/ARSAW\r\r",
        "name": "ARSAW1510",
        "tagProps": [
          "ARSAW1510",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "ARSAW1511": {
        "area": "AR FLOOR/ARSAW\r\r",
        "name": "ARSAW1511",
        "tagProps": [
          "ARSAW1511",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "ARSAW1512": {
        "area": "AR FLOOR/ARSAW\r\r",
        "name": "ARSAW1512",
        "tagProps": [
          "ARSAW1512",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "FSC1": {
        "area": "/\r\r",
        "name": "FSC1",
        "tagProps": [
          "FSC1",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "FSC10": {
        "area": "OUTBOUND/FSC\r\r",
        "name": "FSC10",
        "tagProps": [
          "FSC10",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "FSC2": {
        "area": "/\r\r",
        "name": "FSC2",
        "tagProps": [
          "FSC2",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "FSC_Cells": {
        "area": "/\r\r",
        "name": "FSC_Cells",
        "tagProps": [
          "FSC_Cells",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "FSC_Induct_1-4": {
        "area": "/\r\r",
        "name": "FSC_Induct_1-4",
        "tagProps": [
          "FSC_Induct_1-4",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC01": {
        "area": "OUTBOUND/SHIP\r\r",
        "name": "PLC01",
        "tagProps": [
          "PLC01",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC02": {
        "area": "OUTBOUND/SHIP\r\r",
        "name": "PLC02",
        "tagProps": [
          "PLC02",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC03": {
        "area": "OUTBOUND/KO \u0026 REJECT\r\r",
        "name": "PLC03",
        "tagProps": [
          "PLC03",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC06": {
        "area": "OUTBOUND/TOTE ROUTER\r\r",
        "name": "PLC06",
        "tagProps": [
          "PLC06",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC07": {
        "area": "OUTBOUND/TOTE ROUTER\r\r",
        "name": "PLC07",
        "tagProps": [
          "PLC07",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC08": {
        "area": "OUTBOUND/TOTE FEED\r\r",
        "name": "PLC08",
        "tagProps": [
          "PLC08",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC09": {
        "area": "INBOUND/RECEIVING\r\r",
        "name": "PLC09",
        "tagProps": [
          "PLC09",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC09_Receiving2": {
        "area": "/\r\r",
        "name": "PLC09_Receiving2",
        "tagProps": [
          "PLC09_Receiving2",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC09_Receiving3": {
        "area": "/\r\r",
        "name": "PLC09_Receiving3",
        "tagProps": [
          "PLC09_Receiving3",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC1000": {
        "area": "INBOUND/RECEIVING\r\r",
        "name": "PLC1000",
        "tagProps": [
          "PLC1000",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC1000_Receiving4": {
        "area": "/\r\r",
        "name": "PLC1000_Receiving4",
        "tagProps": [
          "PLC1000_Receiving4",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC13": {
        "area": "AR FLOOR/ARSAW P2\r\r",
        "name": "PLC13",
        "tagProps": [
          "PLC13",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC13_SC2": {
        "area": "/\r\r",
        "name": "PLC13_SC2",
        "tagProps": [
          "PLC13_SC2",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC14": {
        "area": "/\r\r",
        "name": "PLC14",
        "tagProps": [
          "PLC14",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC15": {
        "area": "AR FLOOR/ARSAW P3\r\r",
        "name": "PLC15",
        "tagProps": [
          "PLC15",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC15_SC2": {
        "area": "/\r\r",
        "name": "PLC15_SC2",
        "tagProps": [
          "PLC15_SC2",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC16": {
        "area": "AR FLOOR/PICK TO REBIN P3\r\r",
        "name": "PLC16",
        "tagProps": [
          "PLC16",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC20": {
        "area": "OUTBOUND/AFE1 TOTE 1-3\r\r",
        "name": "PLC20",
        "tagProps": [
          "PLC20",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC20_Tote4-8": {
        "area": "/\r\r",
        "name": "PLC20_Tote4-8",
        "tagProps": [
          "PLC20_Tote4-8",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC21": {
        "area": "OUTBOUND/AFE TRAY ROUTER\r\r",
        "name": "PLC21",
        "tagProps": [
          "PLC21",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC22": {
        "area": "OUTBOUND/AFE TRAY ROUTER\r\r",
        "name": "PLC22",
        "tagProps": [
          "PLC22",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC23": {
        "area": "OUTBOUND/AFE1 TRAY FEED\r\r",
        "name": "PLC23",
        "tagProps": [
          "PLC23",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC24": {
        "area": "OUTBOUND/AFE1 WALL 1-2\r\r",
        "name": "PLC24",
        "tagProps": [
          "PLC24",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC25": {
        "area": "OUTBOUND/AFE1 WALL 3-4\r\r",
        "name": "PLC25",
        "tagProps": [
          "PLC25",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC26": {
        "area": "OUTBOUND/AFE1 WALL 5-6\r\r",
        "name": "PLC26",
        "tagProps": [
          "PLC26",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC27": {
        "area": "OUTBOUND/AFE1 WALL 7-8\r\r",
        "name": "PLC27",
        "tagProps": [
          "PLC27",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC30": {
        "area": "OUTBOUND/AFE1 PACK 1-4\r\r",
        "name": "PLC30",
        "tagProps": [
          "PLC30",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC31": {
        "area": "OUTBOUND/AFE1 PACK 5-8\r\r",
        "name": "PLC31",
        "tagProps": [
          "PLC31",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC32": {
        "area": "OUTBOUND/AFE1 EMP. TOTE\r\r",
        "name": "PLC32",
        "tagProps": [
          "PLC32",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC60": {
        "area": "OUTBOUND/S.PACKING 1\r\r",
        "name": "PLC60",
        "tagProps": [
          "PLC60",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC61": {
        "area": "OUTBOUND/S.PACKING 2\r\r",
        "name": "PLC61",
        "tagProps": [
          "PLC61",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC69": {
        "area": "OUTBOUND/GIFT WRAP\r\r",
        "name": "PLC69",
        "tagProps": [
          "PLC69",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC70": {
        "area": "OUTBOUND/TRANSSHIP\r\r",
        "name": "PLC70",
        "tagProps": [
          "PLC70",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC71": {
        "area": "OUTBOUND/TRANSSHIP\r\r",
        "name": "PLC71",
        "tagProps": [
          "PLC71",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC80": {
        "area": "OUTBOUND/SMART PACKING\r\r",
        "name": "PLC80",
        "tagProps": [
          "PLC80",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC81": {
        "area": "OUTBOUND/SMART PACKING\r\r",
        "name": "PLC81",
        "tagProps": [
          "PLC81",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC82": {
        "area": "OUTBOUND/SMART PACKING\r\r",
        "name": "PLC82",
        "tagProps": [
          "PLC82",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC97": {
        "area": "SAFETY PLC/\r\r",
        "name": "PLC97",
        "tagProps": [
          "PLC97",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC98": {
        "area": "SAFETY PLC/\r\r",
        "name": "PLC98",
        "tagProps": [
          "PLC98",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      },
      "PLC99": {
        "area": "SAFETY PLC/\r\r",
        "name": "PLC99",
        "tagProps": [
          "PLC99",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value",
          "value"
        ]
      }
    }
  },
  "events": {
    "system": {
      "onShutdown": {
        "config": {
          "script": "\tactivityLog.logger.callLogger(self, \u0027page\u0027)\n\tactivityLog.productMetrics.callLogger(self, \u0027page\u0027)"
        },
        "scope": "G",
        "type": "script"
      },
      "onStartup": {
        "config": {
          "script": "\tself.custom.activityLogger.start_time \u003d system.date.now()"
        },
        "scope": "G",
        "type": "script"
      }
    }
  },
  "params": {
    "page_name": "Command and Control"
  },
  "propConfig": {
    "custom.PLCs": {
      "binding": {
        "config": {
          "fallbackDelay": 2.5,
          "mode": "indirect",
          "references": {
            "fc": "{session.custom.fc}"
          },
          "tagPath": "[{fc}_SCADA_TAG_PROVIDER]Configuration/DetailedViews"
        },
        "type": "tag"
      },
      "persistent": true
    },
    "custom.activityLogger": {
      "persistent": true
    },
    "custom.activityLogger.pageid": {
      "binding": {
        "config": {
          "expression": "{page.props.path}"
        },
        "transforms": [
          {
            "code": "\tif value \u003d\u003d\u0027/\u0027 or value \u003d\u003d \u0027\u0027 or value \u003d\u003d None:\n\t\treturn self.custom.activityLogger.alt_pageid.lower()\n\telse:\n\t\treturn value[1:].lower()",
            "type": "script"
          }
        ],
        "type": "expr"
      }
    },
    "custom.devices": {
      "binding": {
        "config": {
          "path": "view.custom.PLCs"
        },
        "transforms": [
          {
            "code": "\tdevices \u003d system.util.jsonDecode(value)\n\tPLCs \u003d {}\n\tfc \u003d self.session.custom.fc\n\tconfig \u003d system.tag.readBlocking(\u0027[\u0027 + fc + \u0027_SCADA_TAG_PROVIDER]\u0027 + \u0027/Configuration/PLC\u0027)[0].value\n\t\n\tif devices:\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\tdecode \u003d system.util.jsonDecode(config)\n\t\t\t\tif decode:\n\t\t\t\t\tarea \u003d decode[i][\"Area\"]\n\t\t\t\t\tsub_area \u003d decode[i][\"SubArea\"]\n\t\t\t\t\tarea_label \u003d str(area) + \"/\" + str(sub_area) if sub_area else str(area)\n\t\t\t\telse:\n\t\t\t\t\tarea \u003d \"\"\n\t\t\t\t\tarea_label \u003d \"\"\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\tPLCs[i] \u003d {\u0027name\u0027:i,\u0027area\u0027:area_label,\u0027tagProps\u0027:[\n\t\t\t\t\t\t\t\t      i,\n\t\t\t\t\t\t\t\t      \"value\",\n\t\t\t\t\t\t\t\t      \"value\",\n\t\t\t\t\t\t\t\t      \"value\",\n\t\t\t\t\t\t\t\t      \"value\",\n\t\t\t\t\t\t\t\t      \"value\",\n\t\t\t\t\t\t\t\t      \"value\",\n\t\t\t\t\t\t\t\t      \"value\",\n\t\t\t\t\t\t\t\t      \"value\",\n\t\t\t\t\t\t\t\t      \"value\"\n\t\t\t\t\t\t\t\t    ]}\n\t\n\treturn PLCs",
            "type": "script"
          }
        ],
        "type": "property"
      },
      "persistent": true
    },
    "params.page_name": {
      "paramDirection": "input",
      "persistent": true
    }
  },
  "props": {
    "defaultSize": {
      "height": 1080,
      "width": 1920
    }
  },
  "root": {
    "children": [
      {
        "children": [
          {
            "meta": {
              "name": "Label"
            },
            "position": {
              "basis": "300px"
            },
            "propConfig": {
              "position.display": {
                "binding": {
                  "config": {
                    "path": "session.custom.command_auth.enabled"
                  },
                  "type": "property"
                }
              },
              "props.text": {
                "binding": {
                  "config": {
                    "expression": "\u0027Control Enabled Timeout: \u0027 + ({session.custom.command_auth.timeout_sp} - {session.custom.command_auth.auth_timeout}) + \u0027 seconds\u0027"
                  },
                  "type": "expr"
                }
              }
            },
            "props": {
              "style": {
                "color": "#000000",
                "fontFamily": "Arial",
                "fontSize": 14,
                "fontWeight": "bold",
                "marginBottom": 15,
                "marginTop": 15
              }
            },
            "type": "ia.display.label"
          },
          {
            "events": {
              "component": {
                "onActionPerformed": {
                  "config": {
                    "script": "\tif self.session.custom.command_auth.enabled:\n\t\t\tself.session.custom.command_auth.enabled \u003d False\n\telse:\n\t\t#self.session.custom.command_auth.enabled \u003d True\n\t\tsystem.perspective.openPopup(\u0027command-auth\u0027, \u0027PopUp-Views/Command-Authenticate\u0027, showCloseIcon \u003d False, draggable \u003d False, modal \u003d True, overlayDismiss \u003d True)"
                  },
                  "scope": "G",
                  "type": "script"
                }
              }
            },
            "meta": {
              "name": "Button_0",
              "tooltip": {
                "enabled": true
              }
            },
            "position": {
              "basis": "175px"
            },
            "propConfig": {
              "meta.tooltip.text": {
                "binding": {
                  "config": {
                    "expression": "//if({this.props.enabled}, \u0027Re-Authenticate to Enable Command Controls\u0027, \u0027Insufficient Privileges - User Role Required: \u0027 + {session.custom.fc} + \u0027-rme-all\u0027)\r\nif({session.custom.command_auth.enabled},\u0027Click to Disable Controls.\u0027, \u0027Re-Authenticate to Enable Command Controls \\nUser Role Required: \u0027 + {session.custom.fc} + \u0027-rme-all\u0027)"
                  },
                  "type": "expr"
                }
              },
              "props.image.icon.path": {
                "binding": {
                  "config": {
                    "expression": "if({session.custom.command_auth.enabled},\u0027material/lock_open\u0027,\u0027material/lock\u0027)"
                  },
                  "type": "expr"
                }
              },
              "props.text": {
                "binding": {
                  "config": {
                    "expression": "if({session.custom.command_auth.enabled},\u0027Disable Controls\u0027,\u0027Enable Controls\u0027)"
                  },
                  "type": "expr"
                }
              }
            },
            "props": {
              "image": {
                "icon": {}
              },
              "primary": false,
              "style": {
                "marginBottom": 15,
                "marginRight": 5,
                "marginTop": 15
              }
            },
            "type": "ia.input.button"
          }
        ],
        "meta": {
          "name": "FlexContainer"
        },
        "position": {
          "basis": "70px",
          "shrink": 0
        },
        "props": {
          "justify": "flex-end"
        },
        "type": "ia.container.flex"
      },
      {
        "meta": {
          "name": "Table"
        },
        "position": {
          "grow": 1
        },
        "propConfig": {
          "props.data": {
            "binding": {
              "config": {
                "path": "view.custom.devices"
              },
              "transforms": [
                {
                  "code": "\tresults \u003d []\n\tfor row, val in value.items():\n\t\tresults.append({\"plc\": val[\"name\"], \"area\": val[\"area\"],\"status\": {\"tagProps\":val[\"tagProps\"]},\"alarms\": {\"tagProps\":val[\"tagProps\"]},\"actions\": {\"tagProps\":val[\"tagProps\"]}})\n\t\n\tresults.sort(key\u003dlambda item: item[\u0027plc\u0027])\n\treturn results",
                  "type": "script"
                }
              ],
              "type": "property"
            }
          }
        },
        "props": {
          "cells": {
            "style": {
              "borderColor": "#4A4A4A",
              "borderStyle": "solid",
              "borderWidth": 1,
              "fontFamily": "Arial",
              "fontSize": 14,
              "fontWeight": "bold",
              "paddingLeft": 16,
              "paddingRight": 16
            }
          },
          "columns": [
            {
              "align": "center",
              "boolean": "checkbox",
              "dateFormat": "MM/DD/YYYY",
              "editable": false,
              "field": "plc",
              "footer": {
                "align": "center",
                "justify": "left",
                "style": {
                  "classes": ""
                },
                "title": ""
              },
              "header": {
                "align": "center",
                "justify": "left",
                "style": {
                  "borderColor": "#4A4A4A",
                  "borderStyle": "solid",
                  "borderWidth": 1,
                  "classes": "",
                  "color": "#4A4A4A",
                  "fontFamily": "Arial",
                  "fontSize": 14,
                  "fontWeight": "bold",
                  "paddingLeft": 11,
                  "paddingRight": 11
                },
                "title": "PLC"
              },
              "justify": "auto",
              "number": "value",
              "numberFormat": "0,0.##",
              "progressBar": {
                "bar": {
                  "color": "",
                  "style": {
                    "classes": ""
                  }
                },
                "max": 100,
                "min": 0,
                "track": {
                  "color": "",
                  "style": {
                    "classes": ""
                  }
                },
                "value": {
                  "enabled": true,
                  "format": "0,0.##",
                  "justify": "center",
                  "style": {
                    "classes": ""
                  }
                }
              },
              "render": "auto",
              "resizable": false,
              "sort": "none",
              "sortable": true,
              "strictWidth": false,
              "style": {
                "classes": ""
              },
              "toggleSwitch": {
                "color": {
                  "selected": "",
                  "unselected": ""
                }
              },
              "viewParams": {},
              "viewPath": "",
              "visible": true,
              "width": 50
            },
            {
              "align": "center",
              "boolean": "checkbox",
              "dateFormat": "MM/DD/YYYY",
              "editable": false,
              "field": "area",
              "footer": {
                "align": "center",
                "justify": "left",
                "style": {
                  "classes": ""
                },
                "title": ""
              },
              "header": {
                "align": "center",
                "justify": "left",
                "style": {
                  "borderColor": "#4A4A4A",
                  "borderStyle": "solid",
                  "borderWidth": 1,
                  "classes": "",
                  "color": "#4A4A4A",
                  "fontFamily": "Arial",
                  "fontSize": 14,
                  "fontWeight": "bold",
                  "paddingLeft": 11,
                  "paddingRight": 11
                },
                "title": "Area"
              },
              "justify": "auto",
              "number": "value",
              "numberFormat": "0,0.##",
              "progressBar": {
                "bar": {
                  "color": "",
                  "style": {
                    "classes": ""
                  }
                },
                "max": 100,
                "min": 0,
                "track": {
                  "color": "",
                  "style": {
                    "classes": ""
                  }
                },
                "value": {
                  "enabled": true,
                  "format": "0,0.##",
                  "justify": "center",
                  "style": {
                    "classes": ""
                  }
                }
              },
              "render": "auto",
              "resizable": false,
              "sort": "none",
              "sortable": true,
              "strictWidth": false,
              "style": {
                "classes": ""
              },
              "toggleSwitch": {
                "color": {
                  "selected": "",
                  "unselected": ""
                }
              },
              "viewParams": {},
              "viewPath": "",
              "visible": true,
              "width": 50
            },
            {
              "align": "center",
              "boolean": "checkbox",
              "dateFormat": "MM/DD/YYYY",
              "editable": false,
              "field": "status",
              "footer": {
                "align": "center",
                "justify": "left",
                "style": {
                  "classes": ""
                },
                "title": ""
              },
              "header": {
                "align": "center",
                "justify": "left",
                "style": {
                  "borderColor": "#4A4A4A",
                  "borderStyle": "solid",
                  "borderWidth": 1,
                  "classes": "",
                  "color": "#4A4A4A",
                  "fontFamily": "Arial",
                  "fontSize": 14,
                  "fontWeight": "bold",
                  "paddingLeft": 11,
                  "paddingRight": 11
                },
                "title": "Status"
              },
              "justify": "auto",
              "number": "value",
              "numberFormat": "0,0.##",
              "progressBar": {
                "bar": {
                  "color": "",
                  "style": {
                    "classes": ""
                  }
                },
                "max": 100,
                "min": 0,
                "track": {
                  "color": "",
                  "style": {
                    "classes": ""
                  }
                },
                "value": {
                  "enabled": true,
                  "format": "0,0.##",
                  "justify": "center",
                  "style": {
                    "classes": ""
                  }
                }
              },
              "render": "auto",
              "resizable": false,
              "sort": "none",
              "sortable": false,
              "strictWidth": false,
              "style": {
                "classes": ""
              },
              "toggleSwitch": {
                "color": {
                  "selected": "",
                  "unselected": ""
                }
              },
              "viewParams": {},
              "viewPath": "Symbol-Views/Controller-Views/CommandControlStatus",
              "visible": true,
              "width": 75
            },
            {
              "align": "center",
              "boolean": "checkbox",
              "dateFormat": "MM/DD/YYYY",
              "editable": false,
              "field": "alarms",
              "footer": {
                "align": "center",
                "justify": "left",
                "style": {
                  "classes": ""
                },
                "title": ""
              },
              "header": {
                "align": "center",
                "justify": "left",
                "style": {
                  "borderColor": "#4A4A4A",
                  "borderStyle": "solid",
                  "borderWidth": 1,
                  "classes": "",
                  "color": "#4A4A4A",
                  "fontFamily": "Arial",
                  "fontSize": 14,
                  "fontWeight": "bold",
                  "paddingLeft": 11,
                  "paddingRight": 11
                },
                "title": "Active Alarms"
              },
              "justify": "auto",
              "number": "value",
              "numberFormat": "0,0.##",
              "progressBar": {
                "bar": {
                  "color": "",
                  "style": {
                    "classes": ""
                  }
                },
                "max": 100,
                "min": 0,
                "track": {
                  "color": "",
                  "style": {
                    "classes": ""
                  }
                },
                "value": {
                  "enabled": true,
                  "format": "0,0.##",
                  "justify": "center",
                  "style": {
                    "classes": ""
                  }
                }
              },
              "render": "auto",
              "resizable": false,
              "sort": "none",
              "sortable": false,
              "strictWidth": false,
              "style": {
                "classes": ""
              },
              "toggleSwitch": {
                "color": {
                  "selected": "",
                  "unselected": ""
                }
              },
              "viewParams": {},
              "viewPath": "Symbol-Views/Controller-Views/CommandControlAlarms",
              "visible": true,
              "width": "auto"
            },
            {
              "align": "center",
              "boolean": "checkbox",
              "dateFormat": "MM/DD/YYYY",
              "editable": false,
              "field": "actions",
              "footer": {
                "align": "center",
                "justify": "left",
                "style": {
                  "classes": ""
                },
                "title": ""
              },
              "header": {
                "align": "center",
                "justify": "left",
                "style": {
                  "borderColor": "#4A4A4A",
                  "borderStyle": "solid",
                  "borderWidth": 1,
                  "classes": "",
                  "color": "#4A4A4A",
                  "fontFamily": "Arial",
                  "fontSize": 14,
                  "fontWeight": "bold",
                  "paddingLeft": 11,
                  "paddingRight": 11
                },
                "title": "Controls"
              },
              "justify": "auto",
              "number": "value",
              "numberFormat": "0,0.##",
              "progressBar": {
                "bar": {
                  "color": "",
                  "style": {
                    "classes": ""
                  }
                },
                "max": 100,
                "min": 0,
                "track": {
                  "color": "",
                  "style": {
                    "classes": ""
                  }
                },
                "value": {
                  "enabled": true,
                  "format": "0,0.##",
                  "justify": "center",
                  "style": {
                    "classes": ""
                  }
                }
              },
              "render": "view",
              "resizable": false,
              "sort": "none",
              "sortable": false,
              "strictWidth": false,
              "style": {
                "classes": "",
                "textAlign": "center"
              },
              "toggleSwitch": {
                "color": {
                  "selected": "",
                  "unselected": ""
                }
              },
              "viewParams": {},
              "viewPath": "Symbol-Views/Controller-Views/CommandControlActions",
              "visible": true,
              "width": "auto"
            }
          ],
          "dragOrderable": false,
          "pager": {
            "initialOption": 50
          },
          "rows": {
            "height": 44,
            "highlight": {
              "color": "#EEEEEE"
            },
            "striped": {
              "enabled": false
            },
            "style": {
              "backgroundColor": "#FFFFFF",
              "borderColor": "#4A4A4A",
              "borderStyle": "none",
              "borderWidth": 1,
              "classes": "Fonts/BodyText14",
              "color": "#4A4A4A"
            }
          },
          "selection": {
            "enableRowSelection": false
          },
          "style": {
            "borderStyle": "none",
            "margin": 5,
            "overflow": "hidden",
            "overflowX": "hidden",
            "overflowY": "hidden"
          },
          "virtualized": false
        },
        "type": "ia.display.table"
      }
    ],
    "custom": {
      "Devices": [],
      "count": "value",
      "delay": 4000
    },
    "events": {
      "system": {
        "onShutdown": [
          {
            "config": {
              "script": "\tself.session.custom.command_auth.enabled \u003d False"
            },
            "scope": "G",
            "type": "script"
          },
          {
            "config": {
              "script": "\twhid \u003d self.session.custom.fc\n\tsession_id \u003d self.session.props.id\n\tpage_id \u003d self.view.params.page_name\n\tCommands.analytics.send_page_details(whid, session_id, page_id)"
            },
            "scope": "G",
            "type": "script"
          }
        ]
      }
    },
    "meta": {
      "name": "root"
    },
    "props": {
      "direction": "column"
    },
    "type": "ia.container.flex"
  }
}