{
  "custom": {
    "EX_Type": "UNKNOWN",
    "VFD_Type": "UNKNOWN",
    "color": "#C2C2C2",
    "device_type": "Diverter",
    "start_color": "#C2C2C2",
    "state": "UNKNOWN",
    "stop_color": "#C2C2C2",
    "type": "UNKNOWN"
  },
  "params": {
    "tagProps": [
      "System/MCM04/Diverter/PS10_5_DIV1",
      "heasdf",
      "value",
      "value",
      "value",
      "value",
      "value",
      "value",
      "value",
      "value"
    ]
  },
  "propConfig": {
    "custom.EX_Type": {
      "binding": {
        "config": {
          "fallbackDelay": 2.5,
          "mode": "indirect",
          "references": {
            "0": "{view.params.tagProps[0]}",
            "fc": "{session.custom.fc}"
          },
          "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/EX_Type"
        },
        "transforms": [
          {
            "expression": "coalesce({value},\"UNKNOWN\")",
            "type": "expression"
          }
        ],
        "type": "tag"
      },
      "persistent": true
    },
    "custom.VFD_Type": {
      "binding": {
        "config": {
          "fallbackDelay": 2.5,
          "mode": "indirect",
          "references": {
            "0": "{view.params.tagProps[0]}",
            "fc": "{session.custom.fc}"
          },
          "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/VFD_Type"
        },
        "transforms": [
          {
            "expression": "coalesce({value},\"UNKNOWN\")",
            "type": "expression"
          }
        ],
        "type": "tag"
      },
      "persistent": true
    },
    "custom.color": {
      "binding": {
        "config": {
          "fallbackDelay": 2.5,
          "mode": "indirect",
          "references": {
            "0": "{view.params.tagProps[0]}",
            "fc": "{session.custom.fc}",
            "type": "{view.custom.type}"
          },
          "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/{type}/Color"
        },
        "transforms": [
          {
            "expression": "coalesce({value},0)",
            "type": "expression"
          },
          {
            "fallback": "#000000",
            "inputType": "scalar",
            "mappings": [
              {
                "input": 0,
                "output": "#C2C2C2"
              },
              {
                "input": 1,
                "output": "#FF0000"
              },
              {
                "input": 2,
                "output": "#FFA500"
              },
              {
                "input": 3,
                "output": "#0008FF"
              },
              {
                "input": 4,
                "output": "#00FF00"
              },
              {
                "input": 5,
                "output": "#FFF700"
              },
              {
                "input": 6,
                "output": "#87CEEB"
              },
              {
                "input": 7,
                "output": "#90EE90"
              },
              {
                "input": 8,
                "output": "#964B00"
              },
              {
                "input": 9,
                "output": "#FFFFFF"
              },
              {
                "input": 10,
                "output": "#000000"
              },
              {
                "input": 11,
                "output": "#8B0000"
              },
              {
                "input": 12,
                "output": "#808080"
              },
              {
                "input": 13,
                "output": "#8B8000"
              },
              {
                "input": 14,
                "output": "#006400"
              },
              {
                "input": 15,
                "output": "#FFFFC5"
              },
              {
                "input": 16,
                "output": "#00008B"
              },
              {
                "input": 17,
                "output": "#FF7276"
              },
              {
                "input": 18,
                "output": "#556B2F"
              },
              {
                "input": 19,
                "output": "#B43434"
              },
              {
                "input": 20,
                "output": "#4682B4"
              },
              {
                "input": 21,
                "output": "#FFD700"
              }
            ],
            "outputType": "color",
            "type": "map"
          }
        ],
        "type": "tag"
      },
      "persistent": true
    },
    "custom.device_type": {
      "binding": {
        "config": {
          "path": "view.params.tagProps[0]"
        },
        "transforms": [
          {
            "code": "\tpath \u003d str(value)\n\tpath_upper \u003d path.upper()\n\tpath_parts \u003d [p.upper() for p in path.split(\"/\")]\n\t\n\tif \"PALLETBUILD\" in path_upper:\n\t    return \"PalletBuild\"\n\tif \"/NC/\" in path_upper:\n\t    return \"NC\"\n\n\tif \"CHUTE_JR\" in path_upper:\n\t    return \"Chute_JR\"\n\telif \"EPC\" in path_upper:\n\t    return \"EPC\"\n\telif \"JR\" in path_upper:\n\t    return \"JR-PB\"\n\telif \"SS_PB\" in path_upper or \"SS-PB\" in path_upper:\n\t    return \"SS-Button\"\n\telif \"S_PB\" in path_upper or \"S-PB\" in path_upper:\n\t    return \"Button\"\n\t\n\tif \"VFD\" in path_upper:\n\t    return \"VFD\"\n\telif \"EXTENDO\" in path_upper:\n\t    return \"EXTENDO\"\n\telif \"TIPPER\" in path_upper:\n\t    return \"TIPPER\"\n\telif \"INDUCTION\" in path_upper:\n\t    return \"Induction\"\n\telif \"CMC/CONVEYORS\" in path_upper:\n\t    return \"Conveyor\"\n\t\n\t# Simple checks\n\tif \"D2C\" in path_upper:\n\t    return \"D2C\"\n\tif \"/DIV/\" in path_upper:\n\t    return \"DIV\"\n\tif \"_DIV\" in path_upper:\n   \t\treturn \"Diverter\"\n\tif \"CHUTE\" in path_upper:\n\t    return \"Chute\"\n\tif \"PMM\" in path_upper:\n\t    return \"PMM\"\n\tif \"_TPE\" in path_upper or  \"_JPE\" in path_upper:\n   \t \treturn \"JPE\"\n\tif \"_PE\" in path_upper or \"_FPE\" in path_upper:\n\t\treturn \"PE\"\n\t# IO_BLOCK devices\n\t\n\tif \"DPM\" in path_upper:\n\t    return \"DPM\"\n\telif \"FIO\" in path_upper:\n\t    return \"FIO\"\n\telif \"HUB\" in path_upper:\n\t    return \"HUB\"\n\telif \"SIO\" in path_upper:\n\t    return \"SIO\"\n\t\n\t# MCM device\n\tif len(path_parts) \u003e\u003d 2:\n\t    if path_parts[0] \u003d\u003d \"SYSTEM\" and \"MCM\" in path_parts[1]:\n\t        if len(path_parts) \u003c\u003d 3:\n\t            return \"MCM\"\n\t        elif len(path_parts) \u003d\u003d 3 and path_parts[1] in path_parts[2]:\n\t            return \"MCM\"\n\t\n\treturn \"UNKNOWN\"",
            "type": "script"
          }
        ],
        "type": "property"
      },
      "persistent": true
    },
    "custom.start_color": {
      "binding": {
        "config": {
          "fallbackDelay": 2.5,
          "mode": "indirect",
          "references": {
            "0": "{view.params.tagProps[0]}",
            "fc": "{session.custom.fc}"
          },
          "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Start/Color"
        },
        "transforms": [
          {
            "expression": "coalesce({value},0)",
            "type": "expression"
          },
          {
            "fallback": "#000000",
            "inputType": "scalar",
            "mappings": [
              {
                "input": 0,
                "output": "#C2C2C2"
              },
              {
                "input": 1,
                "output": "#FF0000"
              },
              {
                "input": 2,
                "output": "#FFA500"
              },
              {
                "input": 3,
                "output": "#0008FF"
              },
              {
                "input": 4,
                "output": "#00FF00"
              },
              {
                "input": 5,
                "output": "#FFF700"
              },
              {
                "input": 6,
                "output": "#87CEEB"
              },
              {
                "input": 7,
                "output": "#90EE90"
              },
              {
                "input": 8,
                "output": "#964B00"
              },
              {
                "input": 9,
                "output": "#FFFFFF"
              },
              {
                "input": 10,
                "output": "#000000"
              },
              {
                "input": 11,
                "output": "#8B0000"
              },
              {
                "input": 12,
                "output": "#808080"
              },
              {
                "input": 13,
                "output": "#8B8000"
              },
              {
                "input": 14,
                "output": "#006400"
              },
              {
                "input": 15,
                "output": "#FFFFC5"
              },
              {
                "input": 16,
                "output": "#00008B"
              },
              {
                "input": 17,
                "output": "#FF7276"
              },
              {
                "input": 18,
                "output": "#556B2F"
              },
              {
                "input": 19,
                "output": "#B43434"
              },
              {
                "input": 20,
                "output": "#4682B4"
              },
              {
                "input": 21,
                "output": "#FFD700"
              }
            ],
            "outputType": "color",
            "type": "map"
          }
        ],
        "type": "tag"
      },
      "persistent": true
    },
    "custom.state": {
      "binding": {
        "config": {
          "fallbackDelay": 2.5,
          "mode": "indirect",
          "references": {
            "0": "{view.params.tagProps[0]}",
            "fc": "{session.custom.fc}"
          },
          "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/State"
        },
        "transforms": [
          {
            "expression": "coalesce({value},\"bruh\")",
            "type": "expression"
          },
          {
            "fallback": "UNKNOWN",
            "inputType": "scalar",
            "mappings": [
              {
                "input": 0,
                "output": "Closed"
              },
              {
                "input": 1,
                "output": "Actuated"
              },
              {
                "input": 2,
                "output": "Communication Faulted"
              },
              {
                "input": 3,
                "output": "Conveyor Running In Maintenance Mode"
              },
              {
                "input": 4,
                "output": "Disabled"
              },
              {
                "input": 5,
                "output": "Disconnected"
              },
              {
                "input": 6,
                "output": "Stopped"
              },
              {
                "input": 7,
                "output": "Enabled Not Running"
              },
              {
                "input": 8,
                "output": "Encoder Fault"
              },
              {
                "input": 9,
                "output": "Energy Management"
              },
              {
                "input": 10,
                "output": "ESTOP Was Actuated"
              },
              {
                "input": 11,
                "output": "EStopped"
              },
              {
                "input": 12,
                "output": "EStopped Locally"
              },
              {
                "input": 13,
                "output": "Extended Faulted"
              },
              {
                "input": 14,
                "output": "Full"
              },
              {
                "input": 15,
                "output": "Gaylord Start Pressed"
              },
              {
                "input": 16,
                "output": "Jam Fault"
              },
              {
                "input": 17,
                "output": "Jammed"
              },
              {
                "input": 18,
                "output": "Loading Allowed"
              },
              {
                "input": 19,
                "output": "Loading Not Allowed"
              },
              {
                "input": 20,
                "output": "Low Air Pressure Fault Was Present"
              },
              {
                "input": 21,
                "output": "Maintenance Mode"
              },
              {
                "input": 22,
                "output": "Conveyor Stopped In Maintenance Mode"
              },
              {
                "input": 23,
                "output": "Motor Faulted"
              },
              {
                "input": 24,
                "output": "Motor Was Faulted"
              },
              {
                "input": 25,
                "output": "Normal"
              },
              {
                "input": 26,
                "output": "Off Inactive"
              },
              {
                "input": 27,
                "output": "Open"
              },
              {
                "input": 28,
                "output": "PLC Ready To Run"
              },
              {
                "input": 29,
                "output": "Package Release Pressed"
              },
              {
                "input": 30,
                "output": "Power Branch Was Faulted"
              },
              {
                "input": 31,
                "output": "Pressed"
              },
              {
                "input": 32,
                "output": "Ready To Receive"
              },
              {
                "input": 33,
                "output": "Running"
              },
              {
                "input": 34,
                "output": "Started"
              },
              {
                "input": 35,
                "output": "Stopped"
              },
              {
                "input": 36,
                "output": "System Started"
              },
              {
                "input": 37,
                "output": "Unknown"
              },
              {
                "input": 38,
                "output": "VFD Fault"
              },
              {
                "input": 39,
                "output": "Conveyor Running In Power Saving Mode"
              },
              {
                "input": 40,
                "output": "Conveyor Jogging In Maintenance Mode"
              },
              {
                "input": 41,
                "output": "VFD Reset Required"
              },
              {
                "input": 42,
                "output": "Jam Reset Push Button Pressed"
              },
              {
                "input": 43,
                "output": "Start Push Button Pressed"
              },
              {
                "input": 44,
                "output": "Stop Push Button Pressed"
              },
              {
                "input": 45,
                "output": "No Container"
              },
              {
                "input": 46,
                "output": "Ready To Be Enabled"
              },
              {
                "input": 47,
                "output": "Half Full"
              },
              {
                "input": 48,
                "output": "Enabled"
              },
              {
                "input": 66,
                "output": "Inch And Store Mode"
              },
              {
                "input": 49,
                "output": "Tipper Faulted"
              },
              {
                "input": 50,
                "output": "Diverted"
              },
              {
                "input": 51,
                "output": "Retracted"
              }
            ],
            "outputType": "scalar",
            "type": "map"
          }
        ],
        "type": "tag"
      },
      "persistent": true
    },
    "custom.stop_color": {
      "binding": {
        "config": {
          "fallbackDelay": 2.5,
          "mode": "indirect",
          "references": {
            "0": "{view.params.tagProps[0]}",
            "fc": "{session.custom.fc}"
          },
          "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Stop/Color"
        },
        "transforms": [
          {
            "expression": "coalesce({value},0)",
            "type": "expression"
          },
          {
            "fallback": "#000000",
            "inputType": "scalar",
            "mappings": [
              {
                "input": 0,
                "output": "#C2C2C2"
              },
              {
                "input": 1,
                "output": "#FF0000"
              },
              {
                "input": 2,
                "output": "#FFA500"
              },
              {
                "input": 3,
                "output": "#0008FF"
              },
              {
                "input": 4,
                "output": "#00FF00"
              },
              {
                "input": 5,
                "output": "#FFF700"
              },
              {
                "input": 6,
                "output": "#87CEEB"
              },
              {
                "input": 7,
                "output": "#90EE90"
              },
              {
                "input": 8,
                "output": "#964B00"
              },
              {
                "input": 9,
                "output": "#FFFFFF"
              },
              {
                "input": 10,
                "output": "#000000"
              },
              {
                "input": 11,
                "output": "#8B0000"
              },
              {
                "input": 12,
                "output": "#808080"
              },
              {
                "input": 13,
                "output": "#8B8000"
              },
              {
                "input": 14,
                "output": "#006400"
              },
              {
                "input": 15,
                "output": "#FFFFC5"
              },
              {
                "input": 16,
                "output": "#00008B"
              },
              {
                "input": 17,
                "output": "#FF7276"
              },
              {
                "input": 18,
                "output": "#556B2F"
              },
              {
                "input": 19,
                "output": "#B43434"
              },
              {
                "input": 20,
                "output": "#4682B4"
              },
              {
                "input": 21,
                "output": "#FFD700"
              }
            ],
            "outputType": "color",
            "type": "map"
          }
        ],
        "type": "tag"
      },
      "persistent": true
    },
    "custom.type": {
      "binding": {
        "config": {
          "fallbackDelay": 2.5,
          "mode": "indirect",
          "references": {
            "0": "{view.params.tagProps[0]}",
            "fc": "{session.custom.fc}"
          },
          "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Button_Type"
        },
        "transforms": [
          {
            "expression": "coalesce({value},0)",
            "type": "expression"
          },
          {
            "fallback": "UNKNOWN",
            "inputType": "scalar",
            "mappings": [
              {
                "input": 5,
                "output": "Chute_JR"
              },
              {
                "input": 4,
                "output": "GS"
              },
              {
                "input": 3,
                "output": "PR"
              },
              {
                "input": 2,
                "output": "Start"
              },
              {
                "input": 1,
                "output": "JR"
              },
              {
                "input": 6,
                "output": "Enable"
              }
            ],
            "outputType": "scalar",
            "type": "map"
          }
        ],
        "type": "tag"
      },
      "persistent": true
    },
    "params.tagProps": {
      "paramDirection": "input",
      "persistent": true
    }
  },
  "props": {
    "defaultSize": {
      "width": 400
    }
  },
  "root": {
    "children": [
      {
        "children": [
          {
            "children": [
              {
                "meta": {
                  "name": "Label"
                },
                "position": {
                  "grow": 1
                },
                "propConfig": {
                  "props.text": {
                    "binding": {
                      "config": {
                        "expression": "\u0027Source ID: \u0027 + {view.params.tagProps[0]}"
                      },
                      "type": "expr"
                    }
                  }
                },
                "props": {
                  "style": {
                    "color": "#FFFF",
                    "fontFamily": "Arial",
                    "fontSize": 14,
                    "fontWeight": "bold",
                    "paddingLeft": 10
                  }
                },
                "type": "ia.display.label"
              },
              {
                "events": {
                  "dom": {
                    "onClick": {
                      "config": {
                        "script": "\tsystem.perspective.closeDock(\u0027Docked-East\u0027)"
                      },
                      "scope": "G",
                      "type": "script"
                    }
                  }
                },
                "meta": {
                  "name": "Icon",
                  "tooltip": {
                    "enabled": true,
                    "style": {
                      "cursor": "pointer"
                    },
                    "text": "Close faceplate"
                  }
                },
                "props": {
                  "path": "material/close",
                  "style": {
                    "cursor": "pointer",
                    "marginBottom": 5,
                    "marginLeft": 5,
                    "marginRight": 5,
                    "marginTop": 5
                  }
                },
                "type": "ia.display.icon"
              }
            ],
            "meta": {
              "name": "FlexContainer"
            },
            "position": {
              "basis": "30px",
              "shrink": 0
            },
            "props": {
              "style": {
                "overflow": "hidden"
              }
            },
            "type": "ia.container.flex"
          },
          {
            "children": [
              {
                "children": [
                  {
                    "children": [
                      {
                        "meta": {
                          "name": "Label"
                        },
                        "position": {
                          "basis": "32px",
                          "display": false
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "expression": "if({../AlarmTable.props.params.length_of_table_data} \u003d 0, True, False)"
                              },
                              "enabled": false,
                              "type": "expr"
                            }
                          }
                        },
                        "props": {
                          "style": {
                            "classes": "Labels/Label_1",
                            "marginTop": 20
                          },
                          "text": "No Active Alarms"
                        },
                        "type": "ia.display.label"
                      },
                      {
                        "meta": {
                          "name": "AlarmStatusTable"
                        },
                        "position": {
                          "basis": "400px",
                          "grow": 1
                        },
                        "propConfig": {
                          "props.columns.active.displayPath.enabled": {
                            "binding": {
                              "config": {
                                "expression": "if({view.custom.device_type} \u003d \"VFD\", True , False)"
                              },
                              "type": "expr"
                            }
                          },
                          "props.filters.active.conditions.displayPath": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "code": "\tVFD_TO_TPE_MAPPING \u003d {\n\t\t\"PS1_1_VFD1\": [\"PS1_2_TPE1\"],\n\t\t\"PS1_2_VFD1\": [\"PS1_2_TPE2\"],\n\t\t\"PS1_3_VFD1\": [\"PS1_4_TPE1\"],\n\t\t\"PS1_4_VFD1\": [\"PS1_4_TPE2\"],\n\t\t\"PS2_1_VFD1\": [\"PS2_2_TPE1\"],\n\t\t\"PS2_2_VFD1\": [\"PS2_2_TPE2\"],\n\t\t\"PS2_4_VFD1\": [\"PS2_5_TPE1\"],\n\t\t\"PS2_5_VFD1\": [\"PS2_5_TPE2\"],\n\t\t\"PS3_4_VFD1\": [\"PS3_5_TPE1\"],\n\t\t\"PS3_5_VFD1\": [\"PS3_5_TPE2\"],\n\t\t\"PS3_8_VFD1\": [\"PS3_9_TPE1\"],\n\t\t\"PS3_9_VFD1\": [\"PS3_9_TPE2\"],\n\t\t\"PS3_11_VFD1\": [\"PS3_12_TPE1\"],\n\t\t\"PS3_12_VFD1\": [\"PS3_12_TPE2\"],\n\t\t\"PS4_1_VFD1\": [\"PS4_2_TPE1\"],\n\t\t\"PS4_2_VFD1\": [\"PS4_2_TPE2\"],\n\t\t\"PS4_3_VFD1\": [\"PS4_4_TPE1\"], \n\t\t\"PS4_4_VFD1\": [\"PS4_4_TPE2\"],\n\t\t\"PS4_9_VFD1\": [\"PS4_10_TPE1\"],\n\t\t\"PS4_10_VFD1\": [\"PS4_10_TPE2\"],\n\t\t\"PS4_13_VFD1\": [\"PS4_14_TPE1\"],\n\t\t\"PS5_1_VFD1\": [\"PS5_2_TPE1\"],\n\t\t\"PS5_2_VFD1\": [\"PS5_2_TPE2\"],\n\t\t\"PS5_3_VFD1\": [\"PS5_4_TPE1\"],\n\t\t\"PS5_4_VFD1\": [\"PS5_4_TPE2\"],\n\t\t\"PS5_6_VFD1\": [\"PS5_7_TPE1\"],\n\t\t\"PS5_7_VFD1\": [\"PS5_8_TPE1\"],\n\t\t\"PS5_8_VFD1\": [\"PS5_8_TPE2\"],\n\t\t\"PS5_9_VFD1\": [\"PS5_10_TPE1\"],\n\t\t\"PS5_10_VFD1\": [\"PS5_10_TPE2\"],\n\t\t\"PS5_11_VFD1\": [\"PS5_12_TPE1\"],\n\t\t\"PS5_12_VFD1\": [\"PS5_12_TPE2\"],\n\t\t\"PS6_1_VFD1\": [\"PS6_2_TPE1\"],\n\t\t\"PS6_2_VFD1\": [\"PS6_2_TPE2\"],\n\t\t\"PS6_3_VFD1\": [\"PS6_4_TPE1\"],\n\t\t\"PS6_4_VFD1\": [\"PS6_4_TPE2\"],\n\t\t\"PS6_6_VFD1\": [\"PS6_7_TPE1\"],\n\t\t\"PS6_7_VFD1\": [\"PS6_8_TPE1\"],\n\t\t\"PS6_8_VFD1\": [\"PS6_8_TPE2\"],\n\t\t\"PS6_9_VFD1\": [\"PS6_10_TPE1\"],\n\t\t\"PS6_10_VFD1\": [\"PS6_10_TPE2\"],\n\t\t\"PS6_11_VFD1\": [\"PS6_12_TPE1\"],\n\t\t\"PS6_12_VFD1\": [\"PS6_12_TPE2\"],\n\t\t\"PS7_1_VFD1\": [\"PS7_2_TPE1\"],\n\t\t\"PS7_2_VFD1\": [\"PS7_2_TPE2\"],\n\t\t\"PS7_3_VFD1\": [\"PS7_4_TPE1\"],\n\t\t\"PS7_4_VFD1\": [\"PS7_4_TPE2\"],\n\t\t\"PS7_11_VFD1\": [\"PS7_12_TPE1\"],\n\t\t\"PS7_12_VFD1\": [\"PS7_12_TPE2\"],\n\t\t\"PS7_13_VFD1\": [\"PS7_14_TPE1\"],\n\t\t\"PS7_14_VFD1\": [\"PS7_14_TPE2\"],\n\t\t\"UL1_10A_VFD1\": [\"UL1_11_TPE1\"],\n\t\t\"UL1_11_VFD1\": [\"UL1_11_TPE2\"],\n\t\t\"UL2_5_VFD1\": [\"UL2_6_TPE1\"],\n\t\t\"UL2_6_VFD1\": [\"UL2_6_TPE2\"],\n\t\t\"UL3_3_VFD1\": [\"UL3_4_TPE1\"],\n\t\t\"UL3_4_VFD1\": [\"UL3_4_TPE2\"],\n\t\t\"UL4_10A_VFD1\": [\"UL4_11_TPE1\"],\n\t\t\"UL4_11_VFD1\": [\"UL4_11_TPE2\"],\n\t\t\"UL5_5_VFD1\": [\"UL5_6_TPE1\"],\n\t\t\"UL5_6_VFD1\": [\"UL5_6_TPE2\"],\n\t\t\"UL6_3_VFD1\": [\"UL6_4_TPE1\"],\n\t\t\"UL6_4_VFD1\": [\"UL6_4_TPE2\"],\n\t\t\"UL7_10A_VFD1\": [\"UL7_11_TPE1\"],\n\t\t\"UL7_11_VFD1\": [\"UL7_11_TPE2\"],\n\t\t\"UL8_4_VFD1\": [\"UL8_5_TPE1\"],\n\t\t\"UL8_5_VFD1\": [\"UL8_5_TPE2\"],\n\t\t\"UL9_5_VFD1\": [\"UL9_6_TPE1\"],\n\t\t\"UL9_6_VFD1\": [\"UL9_6_TPE2\"],\n\t\t\"UL10_8_VFD1\": [\"UL10_9_TPE1\"],\n\t\t\"UL10_9_VFD1\": [\"UL10_9_TPE2\"],\n\t\t\"UL11_10A_VFD1\": [\"UL11_11_TPE1\"],\n\t\t\"UL11_11_VFD1\": [\"UL11_11_TPE2\"],\n\t\t\"UL12_5_VFD1\": [\"UL12_6_TPE1\"],\n\t\t\"UL12_6_VFD1\": [\"UL12_6_TPE2\"],\n\t\t\"UL13_9A_VFD1\": [\"UL13_10_TPE1\"],\n\t\t\"UL13_10_VFD1\": [\"UL13_10_TPE2\"],\n\t\t\"UL14_6_VFD1\": [\"UL14_7_TPE1\"],\n\t\t\"UL14_7_VFD1\": [\"UL14_7_TPE2\"],\n\t\t\"UL15_5_VFD1\": [\"UL15_6_TPE1\"],\n\t\t\"UL15_6_VFD1\": [\"UL15_6_TPE2\"],\n\t\t\"UL16_5_VFD1\": [\"UL16_6_TPE1\"],\n\t\t\"UL16_6_VFD1\": [\"UL16_6_TPE2\"],\n\t\t\"UL17_6_VFD1\": [\"UL17_7_TPE1\"],\n\t\t\"UL17_7_VFD1\": [\"UL17_7_TPE2\"],\n\t\t\"UL18_6_VFD1\": [\"UL18_7_TPE1\"],\n\t\t\"UL18_7_VFD1\": [\"UL18_7_TPE2\"],\n\t\t\"UL18_11_VFD1\": [\"UL18_12_TPE1\"],\n\t\t\"UL18_12_VFD1\": [\"UL18_12_TPE2\"],\n\t\t\"UL18_13A_VFD1\": [\"UL18_14_TPE1\"],\n\t\t\"UL18_14_VFD1\": [\"UL18_14_TPE2\"],\n\t\t\"UL19_3_VFD1\": [\"UL19_4_TPE1\"],\n\t\t\"UL19_4_VFD1\": [\"UL19_4_TPE2\"],\n\t\t\"UL20_5_VFD1\": [\"UL20_6_TPE1\"],\n\t\t\"UL20_6_VFD1\": [\"UL20_6_TPE2\"],\n\t\t\"UL21_5_VFD1\": [\"UL21_6_TPE1\"],\n\t\t\"UL21_6_VFD1\": [\"UL21_6_TPE2\"],\n\t\t\"UL21_12_VFD1\": [\"UL21_13_TPE1\"],\n\t\t\"UL21_13_VFD1\": [\"UL21_13_TPE2\"],\n\t\t\"UL21_14A_VFD1\": [\"UL21_15_TPE1\"],\n\t\t\"UL21_15_VFD1\": [\"UL21_15_TPE2\"],\n\t\t\"BYAB_10_VFD1\": [\"BYAB_10_TPE2\"],\n\t\t\"BYAB_11_VFD1\": [\"BYAB_12_TPE1\"],\n\t\t\"BYAB_12_VFD1\": [\"BYAB_12_TPE2\"],\n\t\t\"BYAB_3_VFD1\": [\"BYAB_4_TPE1\"],\n\t\t\"BYAB_4_VFD1\": [\"BYAB_4_TPE2\"],\n\t\t\"BYAB_5_VFD1\": [\"BYAB_6_TPE1\"],\n\t\t\"BYAB_6_VFD1\": [\"BYAB_6_TPE2\"],\n\t\t\"BYAB_9_VFD1\": [\"BYAB_10_TPE1\"],\n\t\t\"BYAC_10_VFD1\": [\"BYAC_11_TPE1\"],\n\t\t\"BYAC_11_VFD1\": [\"BYAC_11_TPE2\"],\n\t\t\"BYAC_4_VFD1\": [\"BYAC_5_TPE1\"],\n\t\t\"BYAC_5_VFD1\": [\"BYAC_5_TPE2\"],\n\t\t\"BYAC_6_VFD1\": [\"BYAC_7_TPE1\"],\n\t\t\"BYAC_7_VFD1\": [\"BYAC_7_TPE2\"],\n\t\t\"BYAD_4_VFD1\": [\"BYAD_5_TPE1\"],\n\t\t\"BYAD_5_VFD1\": [\"BYAD_5_TPE2\"],\n\t\t\"BYAD_6_VFD1\": [\"BYAD_7_TPE1\"],\n\t\t\"BYAD_7_VFD1\": [\"BYAD_7_TPE2\"],\n\t\t\"BYBA_11_VFD1\": [\"BYBA_10_TPE2\"],\n\t\t\"BYBA_12_VFD1\": [\"BYBA_13_TPE1\"],\n\t\t\"BYBA_13_VFD1\": [\"BYBA_13_TPE2\"],\n\t\t\"BYBA_14_VFD1\": [\"BYBA_15_TPE1\"],\n\t\t\"BYBA_15_VFD1\": [\"BYBA_15_TPE2\"],\n\t\t\"BYBA_5_VFD1\": [\"BYBA_6_TPE1\"],\n\t\t\"BYBA_6_VFD1\": [\"BYBA_6_TPE2\"],\n\t\t\"BYBA_7_VFD1\": [\"BYBA_8_TPE1\"],\n\t\t\"BYBA_8_VFD1\": [\"BYBA_8_TPE2\"],\n\t\t\"BYBC_5_VFD1\": [\"BYBC_6_TPE1\"],\n\t\t\"BYBC_6_VFD1\": [\"BYBC_6_TPE2\"],\n\t\t\"BYBC_7_VFD1\": [\"BYBC_8_TPE1\"],\n\t\t\"BYBC_8_VFD1\": [\"BYBC_8_TPE2\"],\n\t\t\"BYBD_11_VFD1\": [\"BYBD_12_TPE1\"],\n\t\t\"BYBD_12_VFD1\": [\"BYBD_12_TPE2\"],\n\t\t\"BYBD_8_VFD1\": [\"BYBD_9_TPE1\"],\n\t\t\"BYBD_9_VFD1\": [\"BYBD_9_TPE2\"],\n\t\t\"BYCA_4_VFD1\": [\"BYCA_5_TPE1\"],\n\t\t\"BYCA_5_VFD1\": [\"BYCA_5_TPE2\"],\n\t\t\"BYCA_8_VFD1\": [\"BYCA_9_TPE1\"],\n\t\t\"BYCA_9_VFD1\": [\"BYCA_9_TPE2\"],\n\t\t\"BYCB_4_VFD1\": [\"BYCB_5_TPE1\"],\n\t\t\"BYCB_5_VFD1\": [\"BYCB_5_TPE2\"],\n\t\t\"BYCB_6_VFD1\": [\"BYCB_7_TPE1\"],\n\t\t\"BYCB_7_VFD1\": [\"BYCB_7_TPE2\"],\n\t\t\"BYCD_3_VFD1\": [\"BYCD_4_TPE1\"],\n\t\t\"BYCD_4_VFD1\": [\"BYCD_4_TPE2\"],\n\t\t\"BYCD_6_VFD1\": [\"BYCD_7_TPE1\"],\n\t\t\"BYCD_7_VFD1\": [\"BYCD_7_TPE2\"],\n\t\t\"BYDA_5_VFD1\": [\"BYDA_6_TPE1\"],\n\t\t\"BYDA_6_VFD1\": [\"BYDA_6_TPE2\"],\n\t\t\"BYDA_7_VFD1\": [\"BYDA_8_TPE1\"],\n\t\t\"BYDA_8_VFD1\": [\"BYDA_8_TPE2\"],\n\t\t\"BYDB_10_VFD1\": [\"BYDB_11_TPE1\"],\n\t\t\"BYDB_11_VFD1\": [\"BYDB_11_TPE2\"],\n\t\t\"BYDB_12_VFD1\": [\"BYDB_13_TPE1\"],\n\t\t\"BYDB_13_VFD1\": [\"BYDB_13_TPE2\"],\n\t\t\"BYDC_12_VFD1\": [\"BYDC_13_TPE1\"],\n\t\t\"BYDC_13_VFD1\": [\"BYDC_13_TPE2\"],\n\t\t\"BYDC_5_VFD1\": [\"BYDC_6_TPE1\"],\n\t\t\"BYDC_6_VFD1\": [\"BYDC_6_TPE2\"],\n\t\t\"BYDC_7_VFD1\": [\"BYDC_8_TPE1\"],\n\t\t\"BYDC_8_VFD1\": [\"BYDC_8_TPE2\"],\n\t}\n\t\n\tif(value \u003d\u003d \"VFD\"):\n\t\tpath \u003d self.view.params.tagProps[0]\n\t\tparts \u003d str(path).split(\"/\")\n\t\tname \u003d parts[-1]\n\t\t\n\t\t# Check if VFD is in mapping\n\t\tif name in VFD_TO_TPE_MAPPING:\n\t\t\t# Use specific TPE name to avoid cross-matching\n\t\t\ttpe_name \u003d VFD_TO_TPE_MAPPING[name][0]\n\t\t\ttpe_parts \u003d tpe_name.split(\"_\")\n\t\t\tprefix \u003d \"_\".join(tpe_parts[:-1])\n\t\t\ttpe_suffix \u003d tpe_parts[-1]  # e.g., \"TPE1\"\n\t\t\t\n\t\t\treturn (\n\t\t\t\tprefix + \"_\" + tpe_suffix + \"*,\" +\n\t\t\t\tprefix + \"_JPE*,\" +\n\t\t\t\tprefix + \"_BDS*,\" +\n\t\t\t\tprefix + \"_PE*,\"  +\n\t\t\t\tprefix + \"_TS*,\"  +\n\t\t\t\tprefix + \"_VFD*\"\n\t\t\t)\n\t\telse:\n\t\t\t# Default: use VFD\u0027s own prefix\n\t\t\tname_parts \u003d name.split(\"_\")\n\t\t\tprefix \u003d \"_\".join(name_parts[:-1])\n\t\t\t\n\t\t\treturn (\n\t\t\t\tprefix + \"_TPE*,\" +\n\t\t\t\tprefix + \"_JPE*,\" +\n\t\t\t\tprefix + \"_BDS*,\" +\n\t\t\t\tprefix + \"_PE*,\"  +\n\t\t\t\tprefix + \"_TS*,\"  +\n\t\t\t\tprefix + \"_VFD*\"\n\t\t\t)\n\telse:\n\t\treturn \"\"",
                                  "type": "script"
                                }
                              ],
                              "type": "property"
                            }
                          },
                          "props.filters.active.text": {
                            "binding": {
                              "config": {
                                "expression": "if({view.custom.device_type} \u003d \"VFD\", \"\", {view.params.tagProps[0]})"
                              },
                              "type": "expr"
                            }
                          }
                        },
                        "props": {
                          "columns": {
                            "active": {
                              "ackTime": {
                                "width": 30
                              },
                              "activeTime": {
                                "width": 70
                              },
                              "displayPath": {
                                "width": 50
                              },
                              "name": {
                                "width": 50
                              },
                              "priority": {
                                "enabled": false
                              },
                              "source": {
                                "enabled": false
                              },
                              "state": {
                                "enabled": false
                              }
                            }
                          },
                          "filters": {
                            "active": {
                              "conditions": {},
                              "priorities": {
                                "critical": false,
                                "high": false,
                                "low": false,
                                "medium": false
                              },
                              "states": {
                                "clearUnacked": false
                              }
                            }
                          },
                          "pager": {
                            "enabled": false,
                            "initialOption": 100
                          },
                          "refreshRate": 30000,
                          "toolbar": {
                            "enabled": false
                          }
                        },
                        "type": "ia.display.alarmstatustable"
                      }
                    ],
                    "meta": {
                      "name": "Active_tab"
                    },
                    "props": {
                      "direction": "column"
                    },
                    "type": "ia.container.flex"
                  },
                  {
                    "children": [
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "events": {
                                  "component": {
                                    "onActionPerformed": {
                                      "config": {
                                        "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Start_PB\"\n\tsystem.tag.writeBlocking([tag_path],[True])\n\ttag_path2 \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/JR_PB\"\n\tsystem.tag.writeBlocking([tag_path2],[True])\n\ttag_path3 \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/GS_PB\"\n\tsystem.tag.writeBlocking([tag_path3],[True])\n\ttag_path4 \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Enable_Chute_PB\"\n\tsystem.tag.writeBlocking([tag_path4],[True])"
                                      },
                                      "scope": "G",
                                      "type": "script"
                                    }
                                  }
                                },
                                "meta": {
                                  "name": "Button",
                                  "tooltip": {
                                    "enabled": true
                                  }
                                },
                                "position": {
                                  "basis": "80px",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "meta.tooltip.text": {
                                    "binding": {
                                      "config": {
                                        "expression": "if({this.props.enabled},{this.props.text} +\u0027 Button\u0027,\"You do not have Maintenance or Administrator role!\")"
                                      },
                                      "type": "expr"
                                    }
                                  },
                                  "props.enabled": {
                                    "binding": {
                                      "config": {
                                        "expression": "if({this.props.text} \u003d \"ENABLE\" || {this.props.text} \u003d \"JAM RESET\",\r\n   true,\r\n   indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 \r\n   || indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0\r\n)\r\n"
                                      },
                                      "type": "expr"
                                    }
                                  },
                                  "props.image.icon.color": {
                                    "binding": {
                                      "config": {
                                        "path": "view.custom.type"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#000000",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "Start",
                                              "output": "#FFFFFF"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  },
                                  "props.image.icon.path": {
                                    "binding": {
                                      "config": {
                                        "path": "view.custom.type"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "PR",
                                              "output": "material/not_started"
                                            },
                                            {
                                              "input": "Start",
                                              "output": "material/not_started"
                                            },
                                            {
                                              "input": "JR",
                                              "output": "material/sync_problem"
                                            },
                                            {
                                              "input": "GS",
                                              "output": "material/not_started"
                                            },
                                            {
                                              "input": "Chute_JR",
                                              "output": "material/sync_problem"
                                            }
                                          ],
                                          "outputType": "scalar",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  },
                                  "props.style.backgroundColor": {
                                    "binding": {
                                      "config": {
                                        "path": "view.custom.color"
                                      },
                                      "type": "property"
                                    }
                                  },
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "path": "view.custom.type"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "UNKNOWN",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "PR",
                                              "output": "PR ENABLE"
                                            },
                                            {
                                              "input": "Start",
                                              "output": "START"
                                            },
                                            {
                                              "input": "JR",
                                              "output": "JAM RESET"
                                            },
                                            {
                                              "input": "GS",
                                              "output": "ENABLE"
                                            },
                                            {
                                              "input": "Chute_JR",
                                              "output": "CHUTE JAM RESET"
                                            },
                                            {
                                              "input": "Enable",
                                              "output": "ENABLE"
                                            }
                                          ],
                                          "outputType": "scalar",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  },
                                  "props.textStyle.color": {
                                    "binding": {
                                      "config": {
                                        "path": "view.custom.type"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#000000",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "Start",
                                              "output": "#FFFFFF"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "image": {
                                    "icon": {}
                                  },
                                  "style": {
                                    "classes": "Background-Styles/Controller"
                                  }
                                },
                                "type": "ia.input.button"
                              }
                            ],
                            "meta": {
                              "name": "Reset Jam"
                            },
                            "position": {
                              "basis": "35px"
                            },
                            "propConfig": {
                              "position.display": {
                                "binding": {
                                  "config": {
                                    "path": "view.custom.type"
                                  },
                                  "transforms": [
                                    {
                                      "fallback": true,
                                      "inputType": "scalar",
                                      "mappings": [
                                        {
                                          "input": "UNKNOWN",
                                          "output": false
                                        }
                                      ],
                                      "outputType": "scalar",
                                      "type": "map"
                                    }
                                  ],
                                  "type": "property"
                                }
                              }
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel",
                                "padding": ""
                              }
                            },
                            "type": "ia.container.flex"
                          },
                          {
                            "children": [
                              {
                                "events": {
                                  "component": {
                                    "onActionPerformed": {
                                      "config": {
                                        "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Commands/bBlockHost1\"\n\tsystem.tag.writeBlocking([tag_path],[True])\n\ttag_name2 \u003d self.view.params.tagProps[0]\n\ttag_path2 \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name2+\"/Commands/bBlock\"\n\tsystem.tag.writeBlocking([tag_path2],[True])"
                                      },
                                      "scope": "G",
                                      "type": "script"
                                    }
                                  }
                                },
                                "meta": {
                                  "name": "Button",
                                  "tooltip": {
                                    "enabled": true
                                  }
                                },
                                "position": {
                                  "basis": "80px",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "meta.tooltip.text": {
                                    "binding": {
                                      "config": {
                                        "expression": "if({this.props.enabled},{this.props.text} +\u0027 Button\u0027,\"You do not have Maintenance or Administrator role!\")"
                                      },
                                      "type": "expr"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#C3C3C3",
                                    "classes": "Background-Styles/Controller",
                                    "color": "#000000"
                                  },
                                  "text": "BLOCK"
                                },
                                "type": "ia.input.button"
                              }
                            ],
                            "meta": {
                              "name": "Block"
                            },
                            "position": {
                              "basis": "35px"
                            },
                            "propConfig": {
                              "position.display": {
                                "binding": {
                                  "config": {
                                    "path": "view.custom.device_type"
                                  },
                                  "transforms": [
                                    {
                                      "fallback": false,
                                      "inputType": "scalar",
                                      "mappings": [
                                        {
                                          "input": "Chute",
                                          "output": true
                                        },
                                        {
                                          "input": "Induction",
                                          "output": true
                                        }
                                      ],
                                      "outputType": "scalar",
                                      "type": "map"
                                    }
                                  ],
                                  "type": "property"
                                }
                              }
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel",
                                "padding": ""
                              }
                            },
                            "type": "ia.container.flex"
                          },
                          {
                            "children": [
                              {
                                "events": {
                                  "component": {
                                    "onActionPerformed": {
                                      "config": {
                                        "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Commands/bUnblockHost1\"\n\tsystem.tag.writeBlocking([tag_path],[True])\n\ttag_name2 \u003d self.view.params.tagProps[0]\n\ttag_path2 \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name2+\"/Commands/bUnblock\"\n\tsystem.tag.writeBlocking([tag_path2],[True])"
                                      },
                                      "scope": "G",
                                      "type": "script"
                                    }
                                  }
                                },
                                "meta": {
                                  "name": "Button",
                                  "tooltip": {
                                    "enabled": true
                                  }
                                },
                                "position": {
                                  "basis": "80px",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "meta.tooltip.text": {
                                    "binding": {
                                      "config": {
                                        "expression": "if({this.props.enabled},{this.props.text} +\u0027 Button\u0027,\"You do not have Maintenance or Administrator role!\")"
                                      },
                                      "type": "expr"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#C3C3C3",
                                    "classes": "Background-Styles/Controller",
                                    "color": "#000000"
                                  },
                                  "text": "UNBLOCK"
                                },
                                "type": "ia.input.button"
                              }
                            ],
                            "meta": {
                              "name": "Unblock"
                            },
                            "position": {
                              "basis": "35px"
                            },
                            "propConfig": {
                              "position.display": {
                                "binding": {
                                  "config": {
                                    "path": "view.custom.device_type"
                                  },
                                  "transforms": [
                                    {
                                      "fallback": false,
                                      "inputType": "scalar",
                                      "mappings": [
                                        {
                                          "input": "Chute",
                                          "output": true
                                        },
                                        {
                                          "input": "Induction",
                                          "output": true
                                        }
                                      ],
                                      "outputType": "scalar",
                                      "type": "map"
                                    }
                                  ],
                                  "type": "property"
                                }
                              }
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel",
                                "padding": ""
                              }
                            },
                            "type": "ia.container.flex"
                          },
                          {
                            "children": [
                              {
                                "events": {
                                  "component": {
                                    "onActionPerformed": {
                                      "config": {
                                        "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Start_PB\"\n\tsystem.tag.writeBlocking([tag_path],[True])\n\ttag_name2 \u003d self.view.params.tagProps[0]\n\ttag_path2 \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name2+\"/Commands/bStart\"\n\tsystem.tag.writeBlocking([tag_path2],[True])"
                                      },
                                      "scope": "G",
                                      "type": "script"
                                    }
                                  }
                                },
                                "meta": {
                                  "name": "Button",
                                  "tooltip": {
                                    "enabled": true
                                  }
                                },
                                "position": {
                                  "basis": "80px",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "meta.tooltip.text": {
                                    "binding": {
                                      "config": {
                                        "expression": "if({this.props.enabled},{this.props.text} +\u0027 Button\u0027,\"You do not have Maintenance or Administrator role!\")"
                                      },
                                      "type": "expr"
                                    }
                                  },
                                  "props.style.backgroundColor": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Start_PB_Color"
                                      },
                                      "transforms": [
                                        {
                                          "expression": "coalesce({value},\"#006400\")",
                                          "type": "expression"
                                        },
                                        {
                                          "fallback": "#006400",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": 0,
                                              "output": "#C2C2C2"
                                            },
                                            {
                                              "input": 1,
                                              "output": "#FF0000"
                                            },
                                            {
                                              "input": 2,
                                              "output": "#FFA500"
                                            },
                                            {
                                              "input": 3,
                                              "output": "#0008FF"
                                            },
                                            {
                                              "input": 4,
                                              "output": "#00FF00"
                                            },
                                            {
                                              "input": 5,
                                              "output": "#FFF700"
                                            },
                                            {
                                              "input": 6,
                                              "output": "#87CEEB"
                                            },
                                            {
                                              "input": 7,
                                              "output": "#90EE90"
                                            },
                                            {
                                              "input": 8,
                                              "output": "#964B00"
                                            },
                                            {
                                              "input": 9,
                                              "output": "#FFFFFF"
                                            },
                                            {
                                              "input": 10,
                                              "output": "#000000"
                                            },
                                            {
                                              "input": 11,
                                              "output": "#8B0000"
                                            },
                                            {
                                              "input": 12,
                                              "output": "#808080"
                                            },
                                            {
                                              "input": 13,
                                              "output": "#8B8000"
                                            },
                                            {
                                              "input": 14,
                                              "output": "#006400"
                                            },
                                            {
                                              "input": 15,
                                              "output": "#FFFFC5"
                                            },
                                            {
                                              "input": 16,
                                              "output": "#00008B"
                                            },
                                            {
                                              "input": 17,
                                              "output": "#FF7276"
                                            },
                                            {
                                              "input": 18,
                                              "output": "#556B2F"
                                            },
                                            {
                                              "input": 19,
                                              "output": "#B43434"
                                            },
                                            {
                                              "input": 20,
                                              "output": "#4682B4"
                                            },
                                            {
                                              "input": 21,
                                              "output": "#FFD700"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  }
                                },
                                "props": {
                                  "image": {
                                    "icon": {
                                      "path": "material/not_started"
                                    }
                                  },
                                  "style": {
                                    "classes": "Background-Styles/Controller"
                                  },
                                  "text": "START"
                                },
                                "type": "ia.input.button"
                              }
                            ],
                            "meta": {
                              "name": "Start"
                            },
                            "position": {
                              "basis": "35px"
                            },
                            "propConfig": {
                              "position.display": {
                                "binding": {
                                  "config": {
                                    "path": "view.custom.device_type"
                                  },
                                  "transforms": [
                                    {
                                      "fallback": false,
                                      "inputType": "scalar",
                                      "mappings": [
                                        {
                                          "input": "MCM",
                                          "output": true
                                        },
                                        {
                                          "input": "Induction",
                                          "output": true
                                        },
                                        {
                                          "input": "Conveyor",
                                          "output": true
                                        }
                                      ],
                                      "outputType": "scalar",
                                      "type": "map"
                                    }
                                  ],
                                  "type": "property"
                                }
                              }
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel",
                                "padding": ""
                              }
                            },
                            "type": "ia.container.flex"
                          },
                          {
                            "children": [
                              {
                                "events": {
                                  "component": {
                                    "onActionPerformed": {
                                      "config": {
                                        "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Stop_PB\"\n\tsystem.tag.writeBlocking([tag_path],[True])\n\ttag_name2 \u003d self.view.params.tagProps[0]\n\ttag_path2 \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name2+\"/Commands/bNormal_stop\"\n\tsystem.tag.writeBlocking([tag_path2],[True])"
                                      },
                                      "scope": "G",
                                      "type": "script"
                                    }
                                  }
                                },
                                "meta": {
                                  "name": "Button",
                                  "tooltip": {
                                    "enabled": true
                                  }
                                },
                                "position": {
                                  "basis": "80px",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "meta.tooltip.text": {
                                    "binding": {
                                      "config": {
                                        "expression": "if({this.props.enabled},{this.props.text} +\u0027 Button\u0027,\"You do not have Maintenance or Administrator role!\")"
                                      },
                                      "type": "expr"
                                    }
                                  },
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Stop_PB"
                                      },
                                      "transforms": [
                                        {
                                          "expression": "coalesce({value},0)",
                                          "type": "expression"
                                        },
                                        {
                                          "fallback": "STOP",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": 1,
                                              "output": "STOPPED"
                                            }
                                          ],
                                          "outputType": "scalar",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  }
                                },
                                "props": {
                                  "image": {
                                    "icon": {
                                      "path": "material/stop_circle"
                                    }
                                  },
                                  "style": {
                                    "backgroundColor": "#FF0000",
                                    "classes": "Background-Styles/Controller"
                                  }
                                },
                                "type": "ia.input.button"
                              }
                            ],
                            "meta": {
                              "name": "Stop"
                            },
                            "position": {
                              "basis": "35px"
                            },
                            "propConfig": {
                              "position.display": {
                                "binding": {
                                  "config": {
                                    "path": "view.custom.device_type"
                                  },
                                  "transforms": [
                                    {
                                      "fallback": false,
                                      "inputType": "scalar",
                                      "mappings": [
                                        {
                                          "input": "MCM",
                                          "output": true
                                        },
                                        {
                                          "input": "Induction",
                                          "output": true
                                        },
                                        {
                                          "input": "Conveyor",
                                          "output": true
                                        }
                                      ],
                                      "outputType": "scalar",
                                      "type": "map"
                                    }
                                  ],
                                  "type": "property"
                                }
                              }
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel",
                                "padding": ""
                              }
                            },
                            "type": "ia.container.flex"
                          },
                          {
                            "children": [
                              {
                                "events": {
                                  "component": {
                                    "onActionPerformed": {
                                      "config": {
                                        "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Motor_Fault_Reset_PB\"\n\tsystem.tag.writeBlocking([tag_path],[True])"
                                      },
                                      "scope": "G",
                                      "type": "script"
                                    }
                                  }
                                },
                                "meta": {
                                  "name": "Button",
                                  "tooltip": {
                                    "enabled": true
                                  }
                                },
                                "position": {
                                  "basis": "80px",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "meta.tooltip.text": {
                                    "binding": {
                                      "config": {
                                        "expression": "if({this.props.enabled},{this.props.text} +\u0027 Button\u0027,\"You do not have Maintenance or Administrator role!\")"
                                      },
                                      "type": "expr"
                                    }
                                  },
                                  "props.enabled": {
                                    "binding": {
                                      "config": {
                                        "expression": "indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 || indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0"
                                      },
                                      "type": "expr"
                                    }
                                  },
                                  "props.style.backgroundColor": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Motor_Fault_Reset_PB_Color"
                                      },
                                      "transforms": [
                                        {
                                          "expression": "coalesce({value},\"#FFF700\")",
                                          "type": "expression"
                                        },
                                        {
                                          "fallback": "#FFF700",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": 0,
                                              "output": "#C2C2C2"
                                            },
                                            {
                                              "input": 1,
                                              "output": "#FF0000"
                                            },
                                            {
                                              "input": 2,
                                              "output": "#FFA500"
                                            },
                                            {
                                              "input": 3,
                                              "output": "#0008FF"
                                            },
                                            {
                                              "input": 4,
                                              "output": "#00FF00"
                                            },
                                            {
                                              "input": 5,
                                              "output": "#FFF700"
                                            },
                                            {
                                              "input": 6,
                                              "output": "#87CEEB"
                                            },
                                            {
                                              "input": 7,
                                              "output": "#90EE90"
                                            },
                                            {
                                              "input": 8,
                                              "output": "#964B00"
                                            },
                                            {
                                              "input": 9,
                                              "output": "#FFFFFF"
                                            },
                                            {
                                              "input": 10,
                                              "output": "#000000"
                                            },
                                            {
                                              "input": 11,
                                              "output": "#8B0000"
                                            },
                                            {
                                              "input": 12,
                                              "output": "#808080"
                                            },
                                            {
                                              "input": 13,
                                              "output": "#8B8000"
                                            },
                                            {
                                              "input": 14,
                                              "output": "#006400"
                                            },
                                            {
                                              "input": 15,
                                              "output": "#FFFFC5"
                                            },
                                            {
                                              "input": 16,
                                              "output": "#00008B"
                                            },
                                            {
                                              "input": 17,
                                              "output": "#FF7276"
                                            },
                                            {
                                              "input": 18,
                                              "output": "#556B2F"
                                            },
                                            {
                                              "input": 19,
                                              "output": "#B43434"
                                            },
                                            {
                                              "input": 20,
                                              "output": "#4682B4"
                                            },
                                            {
                                              "input": 21,
                                              "output": "#FFD700"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  }
                                },
                                "props": {
                                  "image": {
                                    "icon": {
                                      "color": "#000000",
                                      "path": "material/refresh"
                                    }
                                  },
                                  "style": {
                                    "classes": "Background-Styles/Controller"
                                  },
                                  "text": "MOTOR FAULT RESET",
                                  "textStyle": {
                                    "color": "#000000"
                                  }
                                },
                                "type": "ia.input.button"
                              }
                            ],
                            "meta": {
                              "name": "Motor Fault Reset"
                            },
                            "position": {
                              "basis": "35px"
                            },
                            "propConfig": {
                              "position.display": {
                                "binding": {
                                  "config": {
                                    "path": "view.custom.device_type"
                                  },
                                  "transforms": [
                                    {
                                      "fallback": false,
                                      "inputType": "scalar",
                                      "mappings": [
                                        {
                                          "input": "MCM",
                                          "output": true
                                        }
                                      ],
                                      "outputType": "scalar",
                                      "type": "map"
                                    }
                                  ],
                                  "type": "property"
                                }
                              }
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel",
                                "padding": ""
                              }
                            },
                            "type": "ia.container.flex"
                          },
                          {
                            "children": [
                              {
                                "events": {
                                  "component": {
                                    "onActionPerformed": {
                                      "config": {
                                        "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Power_Branch_Fault_Reset_PB\"\n\tsystem.tag.writeBlocking([tag_path],[True])"
                                      },
                                      "scope": "G",
                                      "type": "script"
                                    }
                                  }
                                },
                                "meta": {
                                  "name": "Button",
                                  "tooltip": {
                                    "enabled": true
                                  }
                                },
                                "position": {
                                  "basis": "80px",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "meta.tooltip.text": {
                                    "binding": {
                                      "config": {
                                        "expression": "if({this.props.enabled},{this.props.text} +\u0027 Button\u0027,\"You do not have Maintenance or Administrator role!\")"
                                      },
                                      "type": "expr"
                                    }
                                  },
                                  "props.enabled": {
                                    "binding": {
                                      "config": {
                                        "expression": "indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 || indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0"
                                      },
                                      "type": "expr"
                                    }
                                  },
                                  "props.style.backgroundColor": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Power_Branch_Fault_Reset_PB_Color"
                                      },
                                      "transforms": [
                                        {
                                          "expression": "coalesce({value},\"#FFF700\")",
                                          "type": "expression"
                                        },
                                        {
                                          "fallback": "#FFF700",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": 0,
                                              "output": "#C2C2C2"
                                            },
                                            {
                                              "input": 1,
                                              "output": "#FF0000"
                                            },
                                            {
                                              "input": 2,
                                              "output": "#FFA500"
                                            },
                                            {
                                              "input": 3,
                                              "output": "#0008FF"
                                            },
                                            {
                                              "input": 4,
                                              "output": "#00FF00"
                                            },
                                            {
                                              "input": 5,
                                              "output": "#FFF700"
                                            },
                                            {
                                              "input": 6,
                                              "output": "#87CEEB"
                                            },
                                            {
                                              "input": 7,
                                              "output": "#90EE90"
                                            },
                                            {
                                              "input": 8,
                                              "output": "#964B00"
                                            },
                                            {
                                              "input": 9,
                                              "output": "#FFFFFF"
                                            },
                                            {
                                              "input": 10,
                                              "output": "#000000"
                                            },
                                            {
                                              "input": 11,
                                              "output": "#8B0000"
                                            },
                                            {
                                              "input": 12,
                                              "output": "#808080"
                                            },
                                            {
                                              "input": 13,
                                              "output": "#8B8000"
                                            },
                                            {
                                              "input": 14,
                                              "output": "#006400"
                                            },
                                            {
                                              "input": 15,
                                              "output": "#FFFFC5"
                                            },
                                            {
                                              "input": 16,
                                              "output": "#00008B"
                                            },
                                            {
                                              "input": 17,
                                              "output": "#FF7276"
                                            },
                                            {
                                              "input": 18,
                                              "output": "#556B2F"
                                            },
                                            {
                                              "input": 19,
                                              "output": "#B43434"
                                            },
                                            {
                                              "input": 20,
                                              "output": "#4682B4"
                                            },
                                            {
                                              "input": 21,
                                              "output": "#FFD700"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  }
                                },
                                "props": {
                                  "image": {
                                    "icon": {
                                      "color": "#000000",
                                      "path": "material/power"
                                    }
                                  },
                                  "style": {
                                    "classes": "Background-Styles/Controller"
                                  },
                                  "text": "POWER BRANCH FAULT",
                                  "textStyle": {
                                    "color": "#000000"
                                  }
                                },
                                "type": "ia.input.button"
                              }
                            ],
                            "meta": {
                              "name": "Power Branch Fault Reset"
                            },
                            "position": {
                              "basis": "35px"
                            },
                            "propConfig": {
                              "position.display": {
                                "binding": {
                                  "config": {
                                    "path": "view.custom.device_type"
                                  },
                                  "transforms": [
                                    {
                                      "fallback": false,
                                      "inputType": "scalar",
                                      "mappings": [
                                        {
                                          "input": "MCM",
                                          "output": true
                                        }
                                      ],
                                      "outputType": "scalar",
                                      "type": "map"
                                    }
                                  ],
                                  "type": "property"
                                }
                              }
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel",
                                "padding": ""
                              }
                            },
                            "type": "ia.container.flex"
                          },
                          {
                            "children": [
                              {
                                "events": {
                                  "component": {
                                    "onActionPerformed": {
                                      "config": {
                                        "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Low_Air_Pressure_Reset_PB\"\n\tsystem.tag.writeBlocking([tag_path],[True])"
                                      },
                                      "scope": "G",
                                      "type": "script"
                                    }
                                  }
                                },
                                "meta": {
                                  "name": "Button",
                                  "tooltip": {
                                    "enabled": true
                                  }
                                },
                                "position": {
                                  "basis": "80px",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "meta.tooltip.text": {
                                    "binding": {
                                      "config": {
                                        "expression": "if({this.props.enabled},{this.props.text} +\u0027 Button\u0027,\"You do not have Maintenance or Administrator role!\")"
                                      },
                                      "type": "expr"
                                    }
                                  },
                                  "props.enabled": {
                                    "binding": {
                                      "config": {
                                        "expression": "indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 || indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0"
                                      },
                                      "type": "expr"
                                    }
                                  },
                                  "props.style.backgroundColor": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Low_Air_Pressure_Reset_PB_Color"
                                      },
                                      "transforms": [
                                        {
                                          "expression": "coalesce({value},\"#00008B\")",
                                          "type": "expression"
                                        },
                                        {
                                          "fallback": "#00008B",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": 0,
                                              "output": "#C2C2C2"
                                            },
                                            {
                                              "input": 1,
                                              "output": "#FF0000"
                                            },
                                            {
                                              "input": 2,
                                              "output": "#FFA500"
                                            },
                                            {
                                              "input": 3,
                                              "output": "#0008FF"
                                            },
                                            {
                                              "input": 4,
                                              "output": "#00FF00"
                                            },
                                            {
                                              "input": 5,
                                              "output": "#FFF700"
                                            },
                                            {
                                              "input": 6,
                                              "output": "#87CEEB"
                                            },
                                            {
                                              "input": 7,
                                              "output": "#90EE90"
                                            },
                                            {
                                              "input": 8,
                                              "output": "#964B00"
                                            },
                                            {
                                              "input": 9,
                                              "output": "#FFFFFF"
                                            },
                                            {
                                              "input": 10,
                                              "output": "#000000"
                                            },
                                            {
                                              "input": 11,
                                              "output": "#8B0000"
                                            },
                                            {
                                              "input": 12,
                                              "output": "#808080"
                                            },
                                            {
                                              "input": 13,
                                              "output": "#8B8000"
                                            },
                                            {
                                              "input": 14,
                                              "output": "#006400"
                                            },
                                            {
                                              "input": 15,
                                              "output": "#FFFFC5"
                                            },
                                            {
                                              "input": 16,
                                              "output": "#00008B"
                                            },
                                            {
                                              "input": 17,
                                              "output": "#FF7276"
                                            },
                                            {
                                              "input": 18,
                                              "output": "#556B2F"
                                            },
                                            {
                                              "input": 19,
                                              "output": "#B43434"
                                            },
                                            {
                                              "input": 20,
                                              "output": "#4682B4"
                                            },
                                            {
                                              "input": 21,
                                              "output": "#FFD700"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  }
                                },
                                "props": {
                                  "image": {
                                    "icon": {
                                      "path": "material/waves"
                                    }
                                  },
                                  "style": {
                                    "classes": "Background-Styles/Controller"
                                  },
                                  "text": "LOW AIR PRESSURE RESET"
                                },
                                "type": "ia.input.button"
                              }
                            ],
                            "meta": {
                              "name": "Low Air Pressure Reset"
                            },
                            "position": {
                              "basis": "35px"
                            },
                            "propConfig": {
                              "position.display": {
                                "binding": {
                                  "config": {
                                    "path": "view.custom.device_type"
                                  },
                                  "transforms": [
                                    {
                                      "fallback": false,
                                      "inputType": "scalar",
                                      "mappings": [
                                        {
                                          "input": "MCM",
                                          "output": true
                                        }
                                      ],
                                      "outputType": "scalar",
                                      "type": "map"
                                    }
                                  ],
                                  "type": "property"
                                }
                              }
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel",
                                "padding": ""
                              }
                            },
                            "type": "ia.container.flex"
                          },
                          {
                            "children": [
                              {
                                "events": {
                                  "component": {
                                    "onActionPerformed": {
                                      "config": {
                                        "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Jam_Restart_PB\"\n\tsystem.tag.writeBlocking([tag_path],[True])"
                                      },
                                      "scope": "G",
                                      "type": "script"
                                    }
                                  }
                                },
                                "meta": {
                                  "name": "Button",
                                  "tooltip": {
                                    "enabled": true
                                  }
                                },
                                "position": {
                                  "basis": "80px",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "meta.tooltip.text": {
                                    "binding": {
                                      "config": {
                                        "expression": "if({this.props.enabled},{this.props.text} +\u0027 Button\u0027,\"You do not have Maintenance or Administrator role!\")"
                                      },
                                      "type": "expr"
                                    }
                                  },
                                  "props.style.backgroundColor": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Jam_Restart_PB_Color"
                                      },
                                      "transforms": [
                                        {
                                          "expression": "coalesce({value},0)",
                                          "type": "expression"
                                        },
                                        {
                                          "fallback": "#C2C2C2",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": 0,
                                              "output": "#C2C2C2"
                                            },
                                            {
                                              "input": 1,
                                              "output": "#FF0000"
                                            },
                                            {
                                              "input": 2,
                                              "output": "#FFA500"
                                            },
                                            {
                                              "input": 3,
                                              "output": "#0008FF"
                                            },
                                            {
                                              "input": 4,
                                              "output": "#00FF00"
                                            },
                                            {
                                              "input": 5,
                                              "output": "#FFF700"
                                            },
                                            {
                                              "input": 6,
                                              "output": "#87CEEB"
                                            },
                                            {
                                              "input": 7,
                                              "output": "#90EE90"
                                            },
                                            {
                                              "input": 8,
                                              "output": "#964B00"
                                            },
                                            {
                                              "input": 9,
                                              "output": "#FFFFFF"
                                            },
                                            {
                                              "input": 10,
                                              "output": "#000000"
                                            },
                                            {
                                              "input": 11,
                                              "output": "#8B0000"
                                            },
                                            {
                                              "input": 12,
                                              "output": "#808080"
                                            },
                                            {
                                              "input": 13,
                                              "output": "#8B8000"
                                            },
                                            {
                                              "input": 14,
                                              "output": "#006400"
                                            },
                                            {
                                              "input": 15,
                                              "output": "#FFFFC5"
                                            },
                                            {
                                              "input": 16,
                                              "output": "#00008B"
                                            },
                                            {
                                              "input": 17,
                                              "output": "#FF7276"
                                            },
                                            {
                                              "input": 18,
                                              "output": "#556B2F"
                                            },
                                            {
                                              "input": 19,
                                              "output": "#B43434"
                                            },
                                            {
                                              "input": 20,
                                              "output": "#4682B4"
                                            },
                                            {
                                              "input": 21,
                                              "output": "#FFD700"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  }
                                },
                                "props": {
                                  "image": {
                                    "icon": {
                                      "color": "#000000",
                                      "path": "material/sync_problem"
                                    }
                                  },
                                  "style": {
                                    "classes": "Background-Styles/Controller"
                                  },
                                  "text": "JAM RESTART",
                                  "textStyle": {
                                    "color": "#000000"
                                  }
                                },
                                "type": "ia.input.button"
                              }
                            ],
                            "meta": {
                              "name": "Jam Restart"
                            },
                            "position": {
                              "basis": "35px"
                            },
                            "propConfig": {
                              "position.display": {
                                "binding": {
                                  "config": {
                                    "path": "view.custom.device_type"
                                  },
                                  "transforms": [
                                    {
                                      "fallback": false,
                                      "inputType": "scalar",
                                      "mappings": [
                                        {
                                          "input": "MCM",
                                          "output": true
                                        }
                                      ],
                                      "outputType": "scalar",
                                      "type": "map"
                                    }
                                  ],
                                  "type": "property"
                                }
                              }
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel",
                                "padding": ""
                              }
                            },
                            "type": "ia.container.flex"
                          },
                          {
                            "children": [
                              {
                                "events": {
                                  "component": {
                                    "onActionPerformed": {
                                      "config": {
                                        "draggable": true,
                                        "id": "Z0DssmYn",
                                        "modal": false,
                                        "overlayDismiss": false,
                                        "resizable": true,
                                        "showCloseIcon": true,
                                        "type": "open",
                                        "viewParams": {
                                          "MCM": "{view.params.tagProps[0]}"
                                        },
                                        "viewPath": "PopUp-Views/SetupMotorSpeeds",
                                        "viewportBound": false
                                      },
                                      "scope": "C",
                                      "type": "popup"
                                    }
                                  }
                                },
                                "meta": {
                                  "name": "Button",
                                  "tooltip": {
                                    "enabled": true
                                  }
                                },
                                "position": {
                                  "basis": "80px",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "meta.tooltip.text": {
                                    "binding": {
                                      "config": {
                                        "expression": "if({this.props.enabled},{this.props.text} +\u0027 Button\u0027,\"You do not have Maintenance or Administrator role!\")"
                                      },
                                      "type": "expr"
                                    }
                                  },
                                  "props.enabled": {
                                    "binding": {
                                      "config": {
                                        "expression": "indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 || indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0"
                                      },
                                      "type": "expr"
                                    }
                                  },
                                  "props.style.backgroundColor": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Setup_Motor_Speeds"
                                      },
                                      "transforms": [
                                        {
                                          "expression": "coalesce({value},0)",
                                          "type": "expression"
                                        },
                                        {
                                          "fallback": "#FFFFFF",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": 1,
                                              "output": "#AAAAAA"
                                            }
                                          ],
                                          "outputType": "scalar",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  }
                                },
                                "props": {
                                  "image": {
                                    "icon": {
                                      "color": "#000000",
                                      "path": "material/speed"
                                    }
                                  },
                                  "style": {
                                    "classes": "Background-Styles/Controller"
                                  },
                                  "text": "SETUP MOTOR SPEEDS",
                                  "textStyle": {
                                    "color": "#000000"
                                  }
                                },
                                "type": "ia.input.button"
                              }
                            ],
                            "meta": {
                              "name": "Setup Motor Speeds"
                            },
                            "position": {
                              "basis": "35px"
                            },
                            "propConfig": {
                              "position.display": {
                                "binding": {
                                  "config": {
                                    "path": "view.custom.device_type"
                                  },
                                  "transforms": [
                                    {
                                      "fallback": false,
                                      "inputType": "scalar",
                                      "mappings": [
                                        {
                                          "input": "MCM",
                                          "output": true
                                        }
                                      ],
                                      "outputType": "scalar",
                                      "type": "map"
                                    }
                                  ],
                                  "type": "property"
                                }
                              }
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel",
                                "padding": ""
                              }
                            },
                            "type": "ia.container.flex"
                          },
                          {
                            "children": [
                              {
                                "events": {
                                  "component": {
                                    "onActionPerformed": {
                                      "config": {
                                        "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Start_PB\"\n\tsystem.tag.writeBlocking([tag_path],[True])"
                                      },
                                      "scope": "G",
                                      "type": "script"
                                    }
                                  }
                                },
                                "meta": {
                                  "name": "Button",
                                  "tooltip": {
                                    "enabled": true
                                  }
                                },
                                "position": {
                                  "basis": "80px",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "meta.tooltip.text": {
                                    "binding": {
                                      "config": {
                                        "expression": "if({this.props.enabled},{this.props.text} +\u0027 Button\u0027,\"You do not have Maintenance or Administrator role!\")"
                                      },
                                      "type": "expr"
                                    }
                                  },
                                  "props.enabled": {
                                    "binding": {
                                      "config": {
                                        "expression": "indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 || indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0"
                                      },
                                      "type": "expr"
                                    }
                                  },
                                  "props.style.backgroundColor": {
                                    "binding": {
                                      "config": {
                                        "path": "view.custom.start_color"
                                      },
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "image": {
                                    "icon": {
                                      "path": "material/not_started"
                                    }
                                  },
                                  "style": {
                                    "classes": "Background-Styles/Controller"
                                  },
                                  "text": "START"
                                },
                                "type": "ia.input.button"
                              }
                            ],
                            "meta": {
                              "name": "Start_0"
                            },
                            "position": {
                              "basis": "35px"
                            },
                            "propConfig": {
                              "position.display": {
                                "binding": {
                                  "config": {
                                    "path": "view.custom.device_type"
                                  },
                                  "transforms": [
                                    {
                                      "fallback": false,
                                      "inputType": "scalar",
                                      "mappings": [
                                        {
                                          "input": "SS-Button",
                                          "output": true
                                        }
                                      ],
                                      "outputType": "scalar",
                                      "type": "map"
                                    }
                                  ],
                                  "type": "property"
                                }
                              }
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel",
                                "padding": ""
                              }
                            },
                            "type": "ia.container.flex"
                          },
                          {
                            "children": [
                              {
                                "events": {
                                  "component": {
                                    "onActionPerformed": {
                                      "config": {
                                        "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Stop_PB\"\n\tsystem.tag.writeBlocking([tag_path],[True])"
                                      },
                                      "scope": "G",
                                      "type": "script"
                                    }
                                  }
                                },
                                "meta": {
                                  "name": "Button",
                                  "tooltip": {
                                    "enabled": true
                                  }
                                },
                                "position": {
                                  "basis": "80px",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "meta.tooltip.text": {
                                    "binding": {
                                      "config": {
                                        "expression": "if({this.props.enabled},{this.props.text} +\u0027 Button\u0027,\"You do not have Maintenance or Administrator role!\")"
                                      },
                                      "type": "expr"
                                    }
                                  },
                                  "props.enabled": {
                                    "binding": {
                                      "config": {
                                        "expression": "indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 || indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0"
                                      },
                                      "type": "expr"
                                    }
                                  },
                                  "props.style.backgroundColor": {
                                    "binding": {
                                      "config": {
                                        "path": "view.custom.stop_color"
                                      },
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "image": {
                                    "icon": {
                                      "path": "material/stop_circle"
                                    }
                                  },
                                  "style": {
                                    "classes": "Background-Styles/Controller"
                                  },
                                  "text": "STOP"
                                },
                                "type": "ia.input.button"
                              }
                            ],
                            "meta": {
                              "name": "Stop_0"
                            },
                            "position": {
                              "basis": "35px"
                            },
                            "propConfig": {
                              "meta.visible": {
                                "binding": {
                                  "config": {
                                    "expression": "if(indexOf({view.params.tagProps[0]}, \"SS_PB\") \u003e\u003d 0, true, false)\r\n"
                                  },
                                  "type": "expr"
                                }
                              },
                              "position.display": {
                                "binding": {
                                  "config": {
                                    "path": "view.custom.device_type"
                                  },
                                  "transforms": [
                                    {
                                      "fallback": false,
                                      "inputType": "scalar",
                                      "mappings": [
                                        {
                                          "input": "SS-Button",
                                          "output": true
                                        }
                                      ],
                                      "outputType": "scalar",
                                      "type": "map"
                                    }
                                  ],
                                  "type": "property"
                                }
                              }
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel",
                                "padding": ""
                              }
                            },
                            "type": "ia.container.flex"
                          },
                          {
                            "children": [
                              {
                                "events": {
                                  "component": {
                                    "onActionPerformed": {
                                      "config": {
                                        "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Enable_Chute_PB\"\n\tsystem.tag.writeBlocking([tag_path],[True])\n\ttag_path2 \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/GS_PB\"\n\tsystem.tag.writeBlocking([tag_path2],[True])\t"
                                      },
                                      "scope": "G",
                                      "type": "script"
                                    }
                                  }
                                },
                                "meta": {
                                  "name": "Button",
                                  "tooltip": {
                                    "enabled": true
                                  }
                                },
                                "position": {
                                  "basis": "80px",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "meta.tooltip.text": {
                                    "binding": {
                                      "config": {
                                        "expression": "if({this.props.enabled},{this.props.text} +\u0027 Button\u0027,\"You do not have Maintenance or Administrator role!\")"
                                      },
                                      "type": "expr"
                                    }
                                  },
                                  "props.enabled": {
                                    "binding": {
                                      "config": {
                                        "expression": "indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 || indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0"
                                      },
                                      "type": "expr"
                                    }
                                  },
                                  "props.style.backgroundColor": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}",
                                          "type": "{view.custom.button_type}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/{type}/Color"
                                      },
                                      "transforms": [
                                        {
                                          "expression": "coalesce({value},0)",
                                          "type": "expression"
                                        },
                                        {
                                          "fallback": "#000000",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": 0,
                                              "output": "#C2C2C2"
                                            },
                                            {
                                              "input": 1,
                                              "output": "#FF0000"
                                            },
                                            {
                                              "input": 2,
                                              "output": "#FFA500"
                                            },
                                            {
                                              "input": 3,
                                              "output": "#0008FF"
                                            },
                                            {
                                              "input": 4,
                                              "output": "#00FF00"
                                            },
                                            {
                                              "input": 5,
                                              "output": "#FFF700"
                                            },
                                            {
                                              "input": 6,
                                              "output": "#87CEEB"
                                            },
                                            {
                                              "input": 7,
                                              "output": "#90EE90"
                                            },
                                            {
                                              "input": 8,
                                              "output": "#964B00"
                                            },
                                            {
                                              "input": 9,
                                              "output": "#FFFFFF"
                                            },
                                            {
                                              "input": 10,
                                              "output": "#000000"
                                            },
                                            {
                                              "input": 11,
                                              "output": "#8B0000"
                                            },
                                            {
                                              "input": 12,
                                              "output": "#808080"
                                            },
                                            {
                                              "input": 13,
                                              "output": "#8B8000"
                                            },
                                            {
                                              "input": 14,
                                              "output": "#006400"
                                            },
                                            {
                                              "input": 15,
                                              "output": "#FFFFC5"
                                            },
                                            {
                                              "input": 16,
                                              "output": "#00008B"
                                            },
                                            {
                                              "input": 17,
                                              "output": "#FF7276"
                                            },
                                            {
                                              "input": 18,
                                              "output": "#556B2F"
                                            },
                                            {
                                              "input": 19,
                                              "output": "#B43434"
                                            },
                                            {
                                              "input": 20,
                                              "output": "#4682B4"
                                            },
                                            {
                                              "input": 21,
                                              "output": "#FFD700"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  },
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "path": "view.custom.type"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "UNKNOWN",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": 2,
                                              "output": "ENABLE"
                                            },
                                            {
                                              "input": 1,
                                              "output": "GAYLORD START"
                                            },
                                            {
                                              "input": 4,
                                              "output": "ENABLE"
                                            }
                                          ],
                                          "outputType": "scalar",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "image": {
                                    "icon": {
                                      "color": "#0B0B0B"
                                    }
                                  },
                                  "style": {
                                    "classes": "Background-Styles/Controller"
                                  },
                                  "textStyle": {
                                    "color": "#000000"
                                  }
                                },
                                "type": "ia.input.button"
                              }
                            ],
                            "meta": {
                              "name": "Enable"
                            },
                            "position": {
                              "basis": "35px"
                            },
                            "propConfig": {
                              "meta.visible": {
                                "binding": {
                                  "config": {
                                    "fallbackDelay": 2.5,
                                    "mode": "indirect",
                                    "references": {
                                      "0": "{view.params.tagProps[0]}",
                                      "fc": "{session.custom.fc}"
                                    },
                                    "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Chute_Type"
                                  },
                                  "transforms": [
                                    {
                                      "expression": "coalesce({value},{view.params.forceFaultStatus},0)",
                                      "type": "expression"
                                    },
                                    {
                                      "fallback": false,
                                      "inputType": "scalar",
                                      "mappings": [
                                        {
                                          "input": 1,
                                          "output": true
                                        },
                                        {
                                          "input": 2,
                                          "output": true
                                        },
                                        {
                                          "input": 4,
                                          "output": true
                                        }
                                      ],
                                      "outputType": "scalar",
                                      "type": "map"
                                    }
                                  ],
                                  "type": "tag"
                                }
                              },
                              "position.display": {
                                "binding": {
                                  "config": {
                                    "path": "view.custom.device_type"
                                  },
                                  "transforms": [
                                    {
                                      "fallback": false,
                                      "inputType": "scalar",
                                      "mappings": [
                                        {
                                          "input": "D2C",
                                          "output": true
                                        },
                                        {
                                          "input": "PB_CHUTE",
                                          "output": true
                                        }
                                      ],
                                      "outputType": "scalar",
                                      "type": "map"
                                    }
                                  ],
                                  "type": "property"
                                }
                              }
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel",
                                "padding": ""
                              }
                            },
                            "type": "ia.container.flex"
                          },
                          {
                            "children": [
                              {
                                "events": {
                                  "component": {
                                    "onActionPerformed": {
                                      "config": {
                                        "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Enable_PB\"\n\tsystem.tag.writeBlocking([tag_path],[True])"
                                      },
                                      "scope": "G",
                                      "type": "script"
                                    }
                                  }
                                },
                                "meta": {
                                  "name": "Button",
                                  "tooltip": {
                                    "enabled": true
                                  }
                                },
                                "position": {
                                  "basis": "80px",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "meta.tooltip.text": {
                                    "binding": {
                                      "config": {
                                        "expression": "if({this.props.enabled},{this.props.text} +\u0027 Button\u0027,\"You do not have Maintenance or Administrator role!\")"
                                      },
                                      "type": "expr"
                                    }
                                  },
                                  "props.enabled": {
                                    "binding": {
                                      "config": {
                                        "expression": "indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 || indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0"
                                      },
                                      "type": "expr"
                                    }
                                  },
                                  "props.style.backgroundColor": {
                                    "binding": {
                                      "config": {
                                        "path": "this.props.text"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#C2C2C2",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "ENABLED",
                                              "output": "#00FF00"
                                            },
                                            {
                                              "input": "DISABLED",
                                              "output": "#FF0000"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  },
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Enable_PB"
                                      },
                                      "transforms": [
                                        {
                                          "expression": "coalesce({value},0)",
                                          "type": "expression"
                                        },
                                        {
                                          "fallback": "DISABLE",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": 1,
                                              "output": "ENABLE"
                                            }
                                          ],
                                          "outputType": "scalar",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  }
                                },
                                "props": {
                                  "image": {
                                    "icon": {
                                      "path": "material/sync_problem"
                                    }
                                  },
                                  "style": {
                                    "classes": "Background-Styles/Controller"
                                  }
                                },
                                "type": "ia.input.button"
                              }
                            ],
                            "meta": {
                              "name": "Reset Jam_0"
                            },
                            "position": {
                              "basis": "35px"
                            },
                            "propConfig": {
                              "position.display": {
                                "binding": {
                                  "config": {
                                    "path": "view.custom.device_type"
                                  },
                                  "transforms": [
                                    {
                                      "fallback": false,
                                      "inputType": "scalar",
                                      "mappings": [
                                        {
                                          "input": "TIPPER",
                                          "output": true
                                        }
                                      ],
                                      "outputType": "scalar",
                                      "type": "map"
                                    }
                                  ],
                                  "type": "property"
                                }
                              }
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel",
                                "padding": ""
                              }
                            },
                            "type": "ia.container.flex"
                          },
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "Label"
                                },
                                "position": {
                                  "basis": "32px"
                                },
                                "props": {
                                  "text": "Commands",
                                  "textStyle": {
                                    "color": "#060606"
                                  }
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "children": [
                                  {
                                    "children": [
                                      {
                                        "meta": {
                                          "name": "Speed_At_60Hz_30rev"
                                        },
                                        "position": {
                                          "basis": "50px",
                                          "grow": 1
                                        },
                                        "propConfig": {
                                          "props.text": {
                                            "binding": {
                                              "config": {
                                                "path": "parent.custom.type"
                                              },
                                              "type": "property"
                                            }
                                          }
                                        },
                                        "props": {
                                          "style": {
                                            "padding": 20
                                          },
                                          "textStyle": {
                                            "color": "#7D7D7D"
                                          }
                                        },
                                        "type": "ia.display.label"
                                      },
                                      {
                                        "events": {
                                          "component": {
                                            "onActionPerformed": {
                                              "config": {
                                                "script": "\n\tvfdType \u003d \"[\" + self.session.custom.fc + \"_SCADA_TAG_PROVIDER]\" + self.view.params.tagProps[0] + \"/VFD_Type\"\n\tprop \u003d \"\"\n\t\n\tvfdTypeVal \u003d system.tag.readBlocking([vfdType])[0].value\n\t\n\tif vfdTypeVal \u003d\u003d 1:\n\t\tprop \u003d \"Speed_At_30rev\"\n\telse:\n\t\tprop \u003d \"Speed_At_60Hz\"\n\t\t\n\tpropHzRev \u003d \"[\" + self.session.custom.fc + \"_SCADA_TAG_PROVIDER]\" + self.view.params.tagProps[0] + \"/\" + prop\n\tvalue \u003d self.props.value\n\tsystem.tag.writeAsync([propHzRev], [value])\n\t\t\n\t"
                                              },
                                              "scope": "G",
                                              "type": "script"
                                            }
                                          }
                                        },
                                        "meta": {
                                          "name": "NumericEntryField"
                                        },
                                        "position": {
                                          "basis": "150px"
                                        },
                                        "propConfig": {
                                          "custom.mcm": {
                                            "binding": {
                                              "config": {
                                                "path": "view.params.tagProps[0]"
                                              },
                                              "transforms": [
                                                {
                                                  "code": "\tmcm \u003d value.rsplit(\u0027/\u0027, -1)[1]\n\treturn \"System/\" + mcm + \"/\" + mcm",
                                                  "type": "script"
                                                }
                                              ],
                                              "type": "property"
                                            }
                                          },
                                          "props.enabled": {
                                            "binding": {
                                              "config": {
                                                "fallbackDelay": 2.5,
                                                "mode": "indirect",
                                                "references": {
                                                  "fc": "{session.custom.fc}",
                                                  "mcm": "{this.custom.mcm}"
                                                },
                                                "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{mcm}/Setup_Motor_Speeds"
                                              },
                                              "overlayOptOut": true,
                                              "transforms": [
                                                {
                                                  "expression": "coalesce({value},0)",
                                                  "type": "expression"
                                                }
                                              ],
                                              "type": "tag"
                                            }
                                          },
                                          "props.value": {
                                            "binding": {
                                              "config": {
                                                "fallbackDelay": 2.5,
                                                "mode": "indirect",
                                                "references": {
                                                  "0": "{view.params.tagProps[0]}",
                                                  "fc": "{session.custom.fc}",
                                                  "type": "{parent.custom.type}"
                                                },
                                                "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/{type}/"
                                              },
                                              "overlayOptOut": true,
                                              "transforms": [
                                                {
                                                  "expression": "coalesce({value},0)",
                                                  "type": "expression"
                                                }
                                              ],
                                              "type": "tag"
                                            }
                                          }
                                        },
                                        "props": {
                                          "inputBounds": {
                                            "maximum": 1000,
                                            "minimum": 0
                                          }
                                        },
                                        "type": "ia.input.numeric-entry-field"
                                      }
                                    ],
                                    "meta": {
                                      "name": "Property"
                                    },
                                    "position": {
                                      "basis": "200px"
                                    },
                                    "propConfig": {
                                      "custom.type": {
                                        "binding": {
                                          "config": {
                                            "path": "view.custom.VFD_Type"
                                          },
                                          "transforms": [
                                            {
                                              "fallback": "Speed_At_60hz",
                                              "inputType": "scalar",
                                              "mappings": [
                                                {
                                                  "input": 1,
                                                  "output": "Speed_At_30rev"
                                                }
                                              ],
                                              "outputType": "scalar",
                                              "type": "map"
                                            }
                                          ],
                                          "type": "property"
                                        }
                                      }
                                    },
                                    "type": "ia.container.flex"
                                  }
                                ],
                                "meta": {
                                  "name": "Speed_At_60Hz_30rev"
                                },
                                "position": {
                                  "basis": "46px"
                                },
                                "props": {
                                  "direction": "column"
                                },
                                "type": "ia.container.flex"
                              },
                              {
                                "children": [
                                  {
                                    "children": [
                                      {
                                        "meta": {
                                          "name": "Cycle_Time_Factor"
                                        },
                                        "position": {
                                          "basis": "50px",
                                          "grow": 1
                                        },
                                        "props": {
                                          "style": {
                                            "padding": 20
                                          },
                                          "text": "Cycle Time Factor",
                                          "textStyle": {
                                            "color": "#7D7D7D"
                                          }
                                        },
                                        "type": "ia.display.label"
                                      },
                                      {
                                        "events": {
                                          "component": {
                                            "onActionPerformed": {
                                              "config": {
                                                "script": "\tpropMaintMode \u003d  \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+ self.view.params.tagProps[0] + \"/Cycle_Time_Factor\"\n\tvalue \u003d self.props.value\n\tsystem.tag.writeAsync([propMaintMode], [value])"
                                              },
                                              "scope": "G",
                                              "type": "script"
                                            }
                                          }
                                        },
                                        "meta": {
                                          "name": "NumericEntryField"
                                        },
                                        "position": {
                                          "basis": "150px"
                                        },
                                        "propConfig": {
                                          "props.enabled": {
                                            "binding": {
                                              "config": {
                                                "expression": "indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 || indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0"
                                              },
                                              "type": "expr"
                                            }
                                          },
                                          "props.value": {
                                            "binding": {
                                              "config": {
                                                "fallbackDelay": 2.5,
                                                "mode": "indirect",
                                                "references": {
                                                  "0": "{view.params.tagProps[0]}",
                                                  "fc": "{session.custom.fc}"
                                                },
                                                "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Cycle_Time_Factor"
                                              },
                                              "transforms": [
                                                {
                                                  "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"VFD\"\n\tif not show:\n\t\treturn value\n\treturn value",
                                                  "type": "script"
                                                }
                                              ],
                                              "type": "tag"
                                            }
                                          }
                                        },
                                        "props": {
                                          "inputBounds": {
                                            "maximum": 1000,
                                            "minimum": 0
                                          }
                                        },
                                        "type": "ia.input.numeric-entry-field"
                                      }
                                    ],
                                    "meta": {
                                      "name": "Property"
                                    },
                                    "position": {
                                      "basis": "200px"
                                    },
                                    "type": "ia.container.flex"
                                  }
                                ],
                                "meta": {
                                  "name": "Cycle_Time_Factor"
                                },
                                "position": {
                                  "basis": "46px"
                                },
                                "props": {
                                  "direction": "column"
                                },
                                "type": "ia.container.flex"
                              }
                            ],
                            "meta": {
                              "name": "Commands"
                            },
                            "position": {
                              "basis": "200px"
                            },
                            "propConfig": {
                              "position.display": {
                                "binding": {
                                  "config": {
                                    "path": "view.custom.device_type"
                                  },
                                  "transforms": [
                                    {
                                      "fallback": false,
                                      "inputType": "scalar",
                                      "mappings": [
                                        {
                                          "input": "VFD",
                                          "output": true
                                        }
                                      ],
                                      "outputType": "scalar",
                                      "type": "map"
                                    }
                                  ],
                                  "type": "property"
                                }
                              }
                            },
                            "props": {
                              "alignContent": "flex-start",
                              "direction": "column"
                            },
                            "type": "ia.container.flex"
                          },
                          {
                            "children": [
                              {
                                "events": {
                                  "component": {
                                    "onActionPerformed": {
                                      "config": {
                                        "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\tpropMaintMode \u003d \"[\" + self.session.custom.fc + \"_SCADA_TAG_PROVIDER]\" + tag_name + \"/Maintenance/Maintenance_Mode\"\n\t\n\t# Determine desired value\n\tinMaintenanceMode \u003d (self.props.text \u003d\u003d \"Activate Maintenance Mode\")\n\t\n\t# Write the value\n\tsystem.tag.writeBlocking([propMaintMode], [inMaintenanceMode])"
                                      },
                                      "scope": "G",
                                      "type": "script"
                                    }
                                  }
                                },
                                "meta": {
                                  "name": "Maintenance"
                                },
                                "position": {
                                  "basis": "34px"
                                },
                                "propConfig": {
                                  "props.enabled": {
                                    "binding": {
                                      "config": {
                                        "expression": "indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 || indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0"
                                      },
                                      "type": "expr"
                                    }
                                  },
                                  "props.style.backgroundColor": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Maintenance/Maintenance_Mode"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#000000",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": false,
                                              "output": "#0000FF"
                                            },
                                            {
                                              "input": true,
                                              "output": "#7E5A5A"
                                            }
                                          ],
                                          "outputType": "scalar",
                                          "type": "map"
                                        },
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"VFD\"\n\tif not show:\n\t\treturn value\n\treturn \"#7E5A5A\" if value \u003d\u003d False else \"#0000FF\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  },
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Maintenance/Maintenance_Mode"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"VFD\"\n\tif not show:\n\t\treturn value\n\treturn \"Activate Maintenance Mode\" if value \u003d\u003d False else \"Disable Maintenance Mode\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "marginBottom": 10
                                  }
                                },
                                "type": "ia.input.button"
                              },
                              {
                                "children": [
                                  {
                                    "children": [
                                      {
                                        "meta": {
                                          "name": "Label"
                                        },
                                        "position": {
                                          "basis": "50px"
                                        },
                                        "props": {
                                          "text": "FPM",
                                          "textStyle": {
                                            "color": "#7D7D7D"
                                          }
                                        },
                                        "type": "ia.display.label"
                                      },
                                      {
                                        "events": {
                                          "component": {
                                            "onActionPerformed": {
                                              "config": {
                                                "script": "\tpropMaintMode \u003d  \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+ self.view.params.tagProps[0] + \"/Maintenance/Speed_FPM\"\n\tvalue \u003d self.props.value\n\tsystem.tag.writeAsync([propMaintMode], [value])"
                                              },
                                              "scope": "G",
                                              "type": "script"
                                            }
                                          }
                                        },
                                        "meta": {
                                          "name": "NumericEntryField"
                                        },
                                        "position": {
                                          "basis": "150px"
                                        },
                                        "propConfig": {
                                          "props.enabled": {
                                            "binding": {
                                              "config": {
                                                "fallbackDelay": 2.5,
                                                "mode": "indirect",
                                                "references": {
                                                  "0": "{view.params.tagProps[0]}",
                                                  "fc": "{session.custom.fc}"
                                                },
                                                "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Maintenance/Maintenance_Mode"
                                              },
                                              "transforms": [
                                                {
                                                  "expression": "if(\r\n  indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 || \r\n  indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0,\r\n  {value},\r\n  false\r\n)\r\n",
                                                  "type": "expression"
                                                },
                                                {
                                                  "expression": "if(isNull({value}), false, {value})",
                                                  "type": "expression"
                                                }
                                              ],
                                              "type": "tag"
                                            }
                                          },
                                          "props.value": {
                                            "binding": {
                                              "config": {
                                                "fallbackDelay": 2.5,
                                                "mode": "indirect",
                                                "references": {
                                                  "0": "{view.params.tagProps[0]}",
                                                  "fc": "{session.custom.fc}"
                                                },
                                                "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Maintenance/Speed_FPM"
                                              },
                                              "transforms": [
                                                {
                                                  "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"VFD\"\n\tif not show:\n\t\treturn value\n\treturn value",
                                                  "type": "script"
                                                }
                                              ],
                                              "type": "tag"
                                            }
                                          }
                                        },
                                        "props": {
                                          "inputBounds": {
                                            "maximum": 1000,
                                            "minimum": 0
                                          }
                                        },
                                        "type": "ia.input.numeric-entry-field"
                                      }
                                    ],
                                    "meta": {
                                      "name": "FPM"
                                    },
                                    "position": {
                                      "basis": "65px",
                                      "shrink": 0
                                    },
                                    "props": {
                                      "justify": "center",
                                      "style": {
                                        "marginBottom": 10
                                      }
                                    },
                                    "type": "ia.container.flex"
                                  },
                                  {
                                    "events": {
                                      "component": {
                                        "onActionPerformed": {
                                          "config": {
                                            "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Maintenance/Start_PB_Pressed\"\n\tsystem.tag.writeBlocking([tag_path],[True])"
                                          },
                                          "scope": "G",
                                          "type": "script"
                                        }
                                      }
                                    },
                                    "meta": {
                                      "name": "Start"
                                    },
                                    "position": {
                                      "basis": "80px",
                                      "shrink": 0
                                    },
                                    "propConfig": {
                                      "props.enabled": {
                                        "binding": {
                                          "config": {
                                            "fallbackDelay": 2.5,
                                            "mode": "indirect",
                                            "references": {
                                              "0": "{view.params.tagProps[0]}",
                                              "fc": "{session.custom.fc}"
                                            },
                                            "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Maintenance/Maintenance_Mode"
                                          },
                                          "transforms": [
                                            {
                                              "expression": "coalesce(\r\n  {value},\r\n  {view.params.forceFaultStatus},\r\n  False\r\n) \u0026\u0026 (\r\n  indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 ||\r\n  indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0\r\n)",
                                              "type": "expression"
                                            }
                                          ],
                                          "type": "tag"
                                        }
                                      },
                                      "props.style.backgroundColor": {
                                        "binding": {
                                          "config": {
                                            "path": "this.props.text"
                                          },
                                          "transforms": [
                                            {
                                              "fallback": "#5DFF61",
                                              "inputType": "scalar",
                                              "mappings": [
                                                {
                                                  "input": "START",
                                                  "output": "#00CA05"
                                                }
                                              ],
                                              "outputType": "color",
                                              "type": "map"
                                            }
                                          ],
                                          "type": "property"
                                        }
                                      },
                                      "props.text": {
                                        "binding": {
                                          "config": {
                                            "fallbackDelay": 2.5,
                                            "mode": "indirect",
                                            "references": {
                                              "0": "{view.params.tagProps[0]}",
                                              "fc": "{session.custom.fc}"
                                            },
                                            "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Maintenance/Start_PB_Pressed"
                                          },
                                          "transforms": [
                                            {
                                              "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"VFD\"\n\tif not show:\n\t\treturn value\n\treturn \"STARTED\" if value \u003d\u003d True else \"START\"",
                                              "type": "script"
                                            }
                                          ],
                                          "type": "tag"
                                        }
                                      }
                                    },
                                    "props": {
                                      "style": {
                                        "marginBottom": 10
                                      }
                                    },
                                    "type": "ia.input.button"
                                  },
                                  {
                                    "events": {
                                      "component": {
                                        "onActionPerformed": {
                                          "config": {
                                            "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Maintenance/Stop_PB_Pressed\"\n\tsystem.tag.writeBlocking([tag_path],[True])"
                                          },
                                          "scope": "G",
                                          "type": "script"
                                        }
                                      }
                                    },
                                    "meta": {
                                      "name": "Stop"
                                    },
                                    "position": {
                                      "basis": "80px",
                                      "shrink": 0
                                    },
                                    "propConfig": {
                                      "props.enabled": {
                                        "binding": {
                                          "config": {
                                            "fallbackDelay": 2.5,
                                            "mode": "indirect",
                                            "references": {
                                              "0": "{view.params.tagProps[0]}",
                                              "fc": "{session.custom.fc}"
                                            },
                                            "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Maintenance/Maintenance_Mode"
                                          },
                                          "transforms": [
                                            {
                                              "expression": "coalesce(\r\n  {value},\r\n  {view.params.forceFaultStatus},\r\n  False\r\n) \u0026\u0026 (\r\n  indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 ||\r\n  indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0\r\n)",
                                              "type": "expression"
                                            }
                                          ],
                                          "type": "tag"
                                        }
                                      },
                                      "props.style.backgroundColor": {
                                        "binding": {
                                          "config": {
                                            "path": "this.props.text"
                                          },
                                          "transforms": [
                                            {
                                              "fallback": "#FF4545",
                                              "inputType": "scalar",
                                              "mappings": [
                                                {
                                                  "input": "STOP",
                                                  "output": "#E60000"
                                                }
                                              ],
                                              "outputType": "color",
                                              "type": "map"
                                            }
                                          ],
                                          "type": "property"
                                        }
                                      },
                                      "props.text": {
                                        "binding": {
                                          "config": {
                                            "fallbackDelay": 2.5,
                                            "mode": "indirect",
                                            "references": {
                                              "0": "{view.params.tagProps[0]}",
                                              "fc": "{session.custom.fc}"
                                            },
                                            "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Maintenance/Buttons_State"
                                          },
                                          "transforms": [
                                            {
                                              "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"VFD\"\n\tif not show:\n\t\treturn value\n\treturn \"STOPPED\" if value \u003d\u003d 2 else \"STOP\"",
                                              "type": "script"
                                            }
                                          ],
                                          "type": "tag"
                                        }
                                      }
                                    },
                                    "props": {
                                      "style": {
                                        "marginBottom": 10
                                      }
                                    },
                                    "type": "ia.input.button"
                                  },
                                  {
                                    "events": {
                                      "dom": {
                                        "onMouseDown": {
                                          "config": {
                                            "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\tspeedFPM \u003d self.parent.getChild(\"FPM\").getChild(\"NumericEntryField\").props.value\n\tif (speedFPM !\u003d 0):\t\n\t\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Maintenance/Jog_PB_Pressed\"\n\t\tsystem.tag.writeBlocking([tag_path],[True])"
                                          },
                                          "scope": "G",
                                          "type": "script"
                                        },
                                        "onMouseUp": {
                                          "config": {
                                            "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\tspeedFPM \u003d self.parent.getChild(\"FPM\").getChild(\"NumericEntryField\").props.value\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Maintenance/Jog_PB_Pressed\"\n\tsystem.tag.writeBlocking([tag_path],[False])"
                                          },
                                          "scope": "G",
                                          "type": "script"
                                        }
                                      }
                                    },
                                    "meta": {
                                      "name": "Jog"
                                    },
                                    "position": {
                                      "basis": "80px",
                                      "shrink": 0
                                    },
                                    "propConfig": {
                                      "props.enabled": {
                                        "binding": {
                                          "config": {
                                            "fallbackDelay": 2.5,
                                            "mode": "indirect",
                                            "references": {
                                              "0": "{view.params.tagProps[0]}",
                                              "fc": "{session.custom.fc}"
                                            },
                                            "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Maintenance/Maintenance_Mode"
                                          },
                                          "transforms": [
                                            {
                                              "expression": "coalesce(\r\n  {value},\r\n  {view.params.forceFaultStatus},\r\n  False\r\n) \u0026\u0026 (\r\n  indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 ||\r\n  indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0\r\n)",
                                              "type": "expression"
                                            }
                                          ],
                                          "type": "tag"
                                        }
                                      },
                                      "props.style.backgroundColor": {
                                        "binding": {
                                          "config": {
                                            "path": "this.props.text"
                                          },
                                          "transforms": [
                                            {
                                              "fallback": "#47FFFF",
                                              "inputType": "scalar",
                                              "mappings": [
                                                {
                                                  "input": "JOG",
                                                  "output": "#009090"
                                                }
                                              ],
                                              "outputType": "color",
                                              "type": "map"
                                            }
                                          ],
                                          "type": "property"
                                        }
                                      },
                                      "props.text": {
                                        "binding": {
                                          "config": {
                                            "fallbackDelay": 2.5,
                                            "mode": "indirect",
                                            "references": {
                                              "0": "{view.params.tagProps[0]}",
                                              "fc": "{session.custom.fc}"
                                            },
                                            "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Maintenance/Jog_PB_Pressed"
                                          },
                                          "transforms": [
                                            {
                                              "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"VFD\"\n\tif not show:\n\t\treturn value\n\treturn \"JOGGING\" if value \u003d\u003d 1 else \"JOG\"",
                                              "type": "script"
                                            }
                                          ],
                                          "type": "tag"
                                        }
                                      }
                                    },
                                    "props": {
                                      "style": {
                                        "marginBottom": 10
                                      }
                                    },
                                    "type": "ia.input.button"
                                  },
                                  {
                                    "events": {
                                      "component": {
                                        "onActionPerformed": {
                                          "config": {
                                            "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Maintenance/Direction_PB_Pressed\"\n\tdirection \u003d system.tag.readBlocking([tag_path])[0].value\n\tsystem.tag.writeBlocking([tag_path], [not direction])"
                                          },
                                          "scope": "G",
                                          "type": "script"
                                        }
                                      }
                                    },
                                    "meta": {
                                      "name": "Direction"
                                    },
                                    "position": {
                                      "basis": "80px",
                                      "shrink": 0
                                    },
                                    "propConfig": {
                                      "props.enabled": {
                                        "binding": {
                                          "config": {
                                            "fallbackDelay": 2.5,
                                            "mode": "indirect",
                                            "references": {
                                              "0": "{view.params.tagProps[0]}",
                                              "fc": "{session.custom.fc}"
                                            },
                                            "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Maintenance/Maintenance_Mode"
                                          },
                                          "transforms": [
                                            {
                                              "expression": "coalesce(\r\n  {value},\r\n  {view.params.forceFaultStatus},\r\n  False\r\n) \u0026\u0026 (\r\n  indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 ||\r\n  indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0\r\n)",
                                              "type": "expression"
                                            }
                                          ],
                                          "type": "tag"
                                        }
                                      },
                                      "props.text": {
                                        "binding": {
                                          "config": {
                                            "fallbackDelay": 2.5,
                                            "mode": "indirect",
                                            "references": {
                                              "0": "{view.params.tagProps[0]}",
                                              "fc": "{session.custom.fc}"
                                            },
                                            "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Maintenance/Direction"
                                          },
                                          "transforms": [
                                            {
                                              "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"VFD\"\n\tif not show:\n\t\treturn value\n\treturn \"DIRECTION FORWARDS\" if value \u003d\u003d True else \"DIRECTION BACKWARDS\"",
                                              "type": "script"
                                            }
                                          ],
                                          "type": "tag"
                                        }
                                      }
                                    },
                                    "props": {
                                      "style": {
                                        "backgroundColor": "#095ECD",
                                        "marginBottom": 10
                                      }
                                    },
                                    "type": "ia.input.button"
                                  }
                                ],
                                "custom": {
                                  "errorMessage": ""
                                },
                                "meta": {
                                  "name": "FlexContainer"
                                },
                                "position": {
                                  "basis": "500px",
                                  "grow": 1
                                },
                                "props": {
                                  "direction": "column"
                                },
                                "type": "ia.container.flex"
                              }
                            ],
                            "meta": {
                              "name": "Maintenance"
                            },
                            "position": {
                              "basis": "400px",
                              "grow": 1
                            },
                            "propConfig": {
                              "position.display": {
                                "binding": {
                                  "config": {
                                    "path": "view.custom.device_type"
                                  },
                                  "transforms": [
                                    {
                                      "fallback": false,
                                      "inputType": "scalar",
                                      "mappings": [
                                        {
                                          "input": "VFD",
                                          "output": true
                                        }
                                      ],
                                      "outputType": "scalar",
                                      "type": "map"
                                    }
                                  ],
                                  "type": "property"
                                }
                              }
                            },
                            "props": {
                              "direction": "column",
                              "style": {
                                "marginTop": -40,
                                "overflow": "visible"
                              }
                            },
                            "type": "ia.container.flex"
                          },
                          {
                            "children": [
                              {
                                "events": {
                                  "component": {
                                    "onActionPerformed": {
                                      "config": {
                                        "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Commands/bEnable\"\n\tsystem.tag.writeBlocking([tag_path],[True])"
                                      },
                                      "scope": "G",
                                      "type": "script"
                                    }
                                  }
                                },
                                "meta": {
                                  "name": "Button",
                                  "tooltip": {
                                    "enabled": true
                                  }
                                },
                                "position": {
                                  "basis": "80px",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "meta.tooltip.text": {
                                    "binding": {
                                      "config": {
                                        "expression": "if({this.props.enabled},{this.props.text} +\u0027 Button\u0027,\"You do not have Maintenance or Administrator role!\")"
                                      },
                                      "type": "expr"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#7DFF7D",
                                    "classes": "Background-Styles/Controller",
                                    "color": "#000000"
                                  },
                                  "text": "ENABLE"
                                },
                                "type": "ia.input.button"
                              }
                            ],
                            "meta": {
                              "name": "Enable_ind"
                            },
                            "position": {
                              "basis": "35px"
                            },
                            "propConfig": {
                              "position.display": {
                                "binding": {
                                  "config": {
                                    "path": "view.custom.device_type"
                                  },
                                  "transforms": [
                                    {
                                      "fallback": false,
                                      "inputType": "scalar",
                                      "mappings": [
                                        {
                                          "input": "Induction",
                                          "output": true
                                        }
                                      ],
                                      "outputType": "scalar",
                                      "type": "map"
                                    }
                                  ],
                                  "type": "property"
                                }
                              }
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel",
                                "padding": ""
                              }
                            },
                            "type": "ia.container.flex"
                          },
                          {
                            "children": [
                              {
                                "events": {
                                  "component": {
                                    "onActionPerformed": {
                                      "config": {
                                        "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Commands/bDisable\"\n\tsystem.tag.writeBlocking([tag_path],[True])"
                                      },
                                      "scope": "G",
                                      "type": "script"
                                    }
                                  }
                                },
                                "meta": {
                                  "name": "Button",
                                  "tooltip": {
                                    "enabled": true
                                  }
                                },
                                "position": {
                                  "basis": "80px",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "meta.tooltip.text": {
                                    "binding": {
                                      "config": {
                                        "expression": "if({this.props.enabled},{this.props.text} +\u0027 Button\u0027,\"You do not have Maintenance or Administrator role!\")"
                                      },
                                      "type": "expr"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#FF8F94",
                                    "classes": "Background-Styles/Controller",
                                    "color": "#FFFFFF"
                                  },
                                  "text": "DISABLE"
                                },
                                "type": "ia.input.button"
                              }
                            ],
                            "meta": {
                              "name": "Disable"
                            },
                            "position": {
                              "basis": "35px"
                            },
                            "propConfig": {
                              "position.display": {
                                "binding": {
                                  "config": {
                                    "path": "view.custom.device_type"
                                  },
                                  "transforms": [
                                    {
                                      "fallback": false,
                                      "inputType": "scalar",
                                      "mappings": [
                                        {
                                          "input": "Induction",
                                          "output": true
                                        }
                                      ],
                                      "outputType": "scalar",
                                      "type": "map"
                                    }
                                  ],
                                  "type": "property"
                                }
                              }
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel",
                                "padding": ""
                              }
                            },
                            "type": "ia.container.flex"
                          },
                          {
                            "children": [
                              {
                                "events": {
                                  "component": {
                                    "onActionPerformed": {
                                      "config": {
                                        "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc + \"_SCADA_TAG_PROVIDER]\" + tag_name + \"/PEC_Override_PB\"\n\tsystem.tag.writeBlocking([tag_path], [True])"
                                      },
                                      "scope": "G",
                                      "type": "script"
                                    }
                                  }
                                },
                                "meta": {
                                  "name": "Button",
                                  "tooltip": {
                                    "enabled": true
                                  }
                                },
                                "position": {
                                  "basis": "80px",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "meta.tooltip.text": {
                                    "binding": {
                                      "config": {
                                        "expression": "if({this.props.enabled},{this.props.text} +\u0027 Button\u0027,\"You do not have Maintenance or Administrator role!\")"
                                      },
                                      "type": "expr"
                                    }
                                  },
                                  "props.enabled": {
                                    "binding": {
                                      "config": {
                                        "expression": "indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 || indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0"
                                      },
                                      "type": "expr"
                                    }
                                  },
                                  "props.style.backgroundColor": {
                                    "binding": {
                                      "config": {
                                        "path": "this.props.text"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#C06BFF",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "PEC OVERRIDE: OFF",
                                              "output": "#CC00FF"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "classes": "Background-Styles/Controller"
                                  },
                                  "text": "PEC OVERRIDE"
                                },
                                "type": "ia.input.button"
                              }
                            ],
                            "meta": {
                              "name": "PEC Override"
                            },
                            "position": {
                              "basis": "35px"
                            },
                            "propConfig": {
                              "position.display": {
                                "binding": {
                                  "config": {
                                    "path": "view.custom.EX_Type"
                                  },
                                  "transforms": [
                                    {
                                      "fallback": false,
                                      "inputType": "scalar",
                                      "mappings": [
                                        {
                                          "input": 0,
                                          "output": true
                                        }
                                      ],
                                      "outputType": "scalar",
                                      "type": "map"
                                    }
                                  ],
                                  "type": "property"
                                }
                              }
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel",
                                "padding": ""
                              }
                            },
                            "type": "ia.container.flex"
                          },
                          {
                            "children": [
                              {
                                "events": {
                                  "component": {
                                    "onActionPerformed": {
                                      "config": {
                                        "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc + \"_SCADA_TAG_PROVIDER]\" + tag_name + \"/Extendo_Faults_Reset_PB\"\n\tsystem.tag.writeBlocking([tag_path], [True])"
                                      },
                                      "scope": "G",
                                      "type": "script"
                                    }
                                  }
                                },
                                "meta": {
                                  "name": "Button",
                                  "tooltip": {
                                    "enabled": true
                                  }
                                },
                                "position": {
                                  "basis": "80px",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "meta.tooltip.text": {
                                    "binding": {
                                      "config": {
                                        "expression": "if({this.props.enabled},{this.props.text} +\u0027 Button\u0027,\"You do not have Maintenance or Administrator role!\")"
                                      },
                                      "type": "expr"
                                    }
                                  },
                                  "props.enabled": {
                                    "binding": {
                                      "config": {
                                        "expression": "indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 || indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0"
                                      },
                                      "type": "expr"
                                    }
                                  },
                                  "props.style.backgroundColor": {
                                    "binding": {
                                      "config": {
                                        "path": "this.props.text"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#FF9191",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "EXTENDO FAULT RESET",
                                              "output": "#FF0000"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "classes": "Background-Styles/Controller"
                                  },
                                  "text": "EXTEBDO FAULTS RESET"
                                },
                                "type": "ia.input.button"
                              }
                            ],
                            "meta": {
                              "name": "Extendo Fault Reset"
                            },
                            "position": {
                              "basis": "35px"
                            },
                            "propConfig": {
                              "position.display": {
                                "binding": {
                                  "config": {
                                    "path": "view.custom.EX_Type"
                                  },
                                  "transforms": [
                                    {
                                      "fallback": false,
                                      "inputType": "scalar",
                                      "mappings": [
                                        {
                                          "input": 0,
                                          "output": true
                                        }
                                      ],
                                      "outputType": "scalar",
                                      "type": "map"
                                    }
                                  ],
                                  "type": "property"
                                }
                              }
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel",
                                "padding": ""
                              }
                            },
                            "type": "ia.container.flex"
                          },
                          {
                            "events": {
                              "component": {
                                "onActionPerformed": {
                                  "config": {
                                    "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\tpropMaintMode \u003d \"[\" + self.session.custom.fc + \"_SCADA_TAG_PROVIDER]\" + tag_name + \"/Maintenance_Mode\"\n\t\n\t# Determine desired value\n\tinMaintenanceMode \u003d (self.props.text \u003d\u003d \"Activate Maintenance Mode\")\n\t\n\t# Write the value\n\tsystem.tag.writeBlocking([propMaintMode], [inMaintenanceMode])"
                                  },
                                  "scope": "G",
                                  "type": "script"
                                }
                              }
                            },
                            "meta": {
                              "name": "Diverter Maintenance"
                            },
                            "position": {
                              "basis": "34px"
                            },
                            "propConfig": {
                              "position.display": {
                                "binding": {
                                  "config": {
                                    "path": "view.custom.device_type"
                                  },
                                  "transforms": [
                                    {
                                      "fallback": false,
                                      "inputType": "scalar",
                                      "mappings": [
                                        {
                                          "input": "Diverter",
                                          "output": true
                                        }
                                      ],
                                      "outputType": "scalar",
                                      "type": "map"
                                    }
                                  ],
                                  "type": "property"
                                }
                              },
                              "props.enabled": {
                                "binding": {
                                  "config": {
                                    "expression": "indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 || indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0"
                                  },
                                  "type": "expr"
                                }
                              },
                              "props.style.backgroundColor": {
                                "binding": {
                                  "config": {
                                    "fallbackDelay": 2.5,
                                    "mode": "indirect",
                                    "references": {
                                      "0": "{view.params.tagProps[0]}",
                                      "fc": "{session.custom.fc}"
                                    },
                                    "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Maintenance_Mode"
                                  },
                                  "transforms": [
                                    {
                                      "fallback": "#000000",
                                      "inputType": "scalar",
                                      "mappings": [
                                        {
                                          "input": false,
                                          "output": "#0000FF"
                                        },
                                        {
                                          "input": true,
                                          "output": "#7E5A5A"
                                        }
                                      ],
                                      "outputType": "scalar",
                                      "type": "map"
                                    },
                                    {
                                      "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"DIV\"\n\tif not show:\n\t\treturn value\n\treturn \"#7E5A5A\" if value \u003d\u003d False else \"#0000FF\"",
                                      "type": "script"
                                    }
                                  ],
                                  "type": "tag"
                                }
                              },
                              "props.text": {
                                "binding": {
                                  "config": {
                                    "fallbackDelay": 2.5,
                                    "mode": "indirect",
                                    "references": {
                                      "0": "{view.params.tagProps[0]}",
                                      "fc": "{session.custom.fc}"
                                    },
                                    "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Maintenance_Mode"
                                  },
                                  "transforms": [
                                    {
                                      "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"Diverter\"\n\tif not show:\n\t\treturn value\n\treturn \"Activate Maintenance Mode\" if value \u003d\u003d False else \"Disable Maintenance Mode\"",
                                      "type": "script"
                                    }
                                  ],
                                  "type": "tag"
                                }
                              }
                            },
                            "props": {
                              "style": {
                                "marginBottom": 10
                              }
                            },
                            "type": "ia.input.button"
                          },
                          {
                            "children": [
                              {
                                "events": {
                                  "component": {
                                    "onActionPerformed": {
                                      "config": {
                                        "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc + \"_SCADA_TAG_PROVIDER]\" + tag_name + \"/Extend_PB_Pressed\"\n\t\n\tcurrent_value \u003d system.tag.readBlocking([tag_path])[0].value\n\n\tsystem.tag.writeBlocking([tag_path], [not current_value])"
                                      },
                                      "scope": "G",
                                      "type": "script"
                                    }
                                  }
                                },
                                "meta": {
                                  "name": "Button",
                                  "tooltip": {
                                    "enabled": true
                                  }
                                },
                                "position": {
                                  "basis": "80px",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "meta.tooltip.text": {
                                    "binding": {
                                      "config": {
                                        "expression": "if({this.props.enabled},{this.props.text} +\u0027 Button\u0027,\"You do not have Maintenance or Administrator role!\")"
                                      },
                                      "type": "expr"
                                    }
                                  },
                                  "props.enabled": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Maintenance_Mode"
                                      },
                                      "type": "tag"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#C3C3C3",
                                    "classes": "Background-Styles/Controller",
                                    "color": "#000000"
                                  },
                                  "text": "EXTEND"
                                },
                                "type": "ia.input.button"
                              }
                            ],
                            "meta": {
                              "name": "EXTEND"
                            },
                            "position": {
                              "basis": "35px"
                            },
                            "propConfig": {
                              "position.display": {
                                "binding": {
                                  "config": {
                                    "path": "view.custom.device_type"
                                  },
                                  "transforms": [
                                    {
                                      "fallback": false,
                                      "inputType": "scalar",
                                      "mappings": [
                                        {
                                          "input": "Diverter",
                                          "output": true
                                        }
                                      ],
                                      "outputType": "scalar",
                                      "type": "map"
                                    }
                                  ],
                                  "type": "property"
                                }
                              }
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel",
                                "padding": ""
                              }
                            },
                            "type": "ia.container.flex"
                          },
                          {
                            "children": [
                              {
                                "events": {
                                  "component": {
                                    "onActionPerformed": {
                                      "config": {
                                        "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc + \"_SCADA_TAG_PROVIDER]\" + tag_name + \"/Retract_PB_Pressed\"\n\t\n\tcurrent_value \u003d system.tag.readBlocking([tag_path])[0].value\n\n\tsystem.tag.writeBlocking([tag_path], [not current_value])"
                                      },
                                      "scope": "G",
                                      "type": "script"
                                    }
                                  }
                                },
                                "meta": {
                                  "name": "Button",
                                  "tooltip": {
                                    "enabled": true
                                  }
                                },
                                "position": {
                                  "basis": "80px",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "meta.tooltip.text": {
                                    "binding": {
                                      "config": {
                                        "expression": "if({this.props.enabled},{this.props.text} +\u0027 Button\u0027,\"You do not have Maintenance or Administrator role!\")"
                                      },
                                      "type": "expr"
                                    }
                                  },
                                  "props.enabled": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Maintenance_Mode"
                                      },
                                      "type": "tag"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#C3C3C3",
                                    "classes": "Background-Styles/Controller",
                                    "color": "#000000"
                                  },
                                  "text": "RETRACT"
                                },
                                "type": "ia.input.button"
                              }
                            ],
                            "meta": {
                              "name": "RETRACT"
                            },
                            "position": {
                              "basis": "35px"
                            },
                            "propConfig": {
                              "position.display": {
                                "binding": {
                                  "config": {
                                    "path": "view.custom.device_type"
                                  },
                                  "transforms": [
                                    {
                                      "fallback": false,
                                      "inputType": "scalar",
                                      "mappings": [
                                        {
                                          "input": "Diverter",
                                          "output": true
                                        }
                                      ],
                                      "outputType": "scalar",
                                      "type": "map"
                                    }
                                  ],
                                  "type": "property"
                                }
                              }
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel",
                                "padding": ""
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "FlexContainer_0"
                        },
                        "position": {
                          "basis": "100px",
                          "grow": 1
                        },
                        "props": {
                          "direction": "column",
                          "style": {
                            "gap": 6,
                            "paddingBottom": 20,
                            "paddingLeft": 10,
                            "paddingRight": 10,
                            "paddingTop": 13
                          }
                        },
                        "type": "ia.container.flex"
                      }
                    ],
                    "meta": {
                      "name": "Commands_tab"
                    },
                    "position": {
                      "tabIndex": 2
                    },
                    "props": {
                      "direction": "column",
                      "style": {
                        "paddingTop": 1
                      }
                    },
                    "type": "ia.container.flex"
                  },
                  {
                    "children": [
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "NameField"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "NAME"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "DeviceName"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "path": "view.params.tagProps[0]"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\ttry:\n\t    if self.view.custom.device_type \u003d\u003d \"Chute\" and len(self.view.params.tagProps) \u003e 1:\n\t        return self.view.params.tagProps[1]\n\texcept:\n\t    pass\n\treturn value.rsplit(\u0027/\u0027, 1)[-1]",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#FFFFFF",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Name"
                            },
                            "position": {
                              "basis": "35px"
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel",
                                "overflow": "hidden"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "FlexContainer_0"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "NameField"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "BUTTON LIGHT"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "PB_Light"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.style.backgroundColor": {
                                    "binding": {
                                      "config": {
                                        "path": "view.custom.color"
                                      },
                                      "type": "property"
                                    }
                                  },
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "path": "view.custom.color"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "ON",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "#C2C2C2",
                                              "output": "OFF"
                                            },
                                            {
                                              "input": "#556B2F",
                                              "output": "OFF"
                                            },
                                            {
                                              "input": "#006400",
                                              "output": "OFF"
                                            }
                                          ],
                                          "outputType": "scalar",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  },
                                  "textStyle": {
                                    "color": "#000000"
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Name"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Button Light"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.type"
                              },
                              "transforms": [
                                {
                                  "fallback": true,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "UNKNOWN",
                                      "output": false
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "NameField"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "STATE"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "State"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "path": "view.custom.state"
                                      },
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  },
                                  "textStyle": {
                                    "color": "#000000"
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel",
                                "overflow": "hidden"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "State"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "VFD",
                                      "output": true
                                    },
                                    {
                                      "input": "EXTENDO",
                                      "output": true
                                    },
                                    {
                                      "input": "Tipper",
                                      "output": true
                                    },
                                    {
                                      "input": "MCM",
                                      "output": true
                                    },
                                    {
                                      "input": "Diverter",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column",
                          "style": {
                            "overflow": "hidden"
                          }
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "NameField"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "COMMUNICATION FAULTED"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "PB_Light"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"VFD\", \"EXTENDO\", \"TIPPER\", \"FIO\", \"SIO\", \"DPM\"\n\n\tif not show:\n\t\treturn value\n\n\treturn \"FAULTED\" if value \u003d\u003d True else \"NOT FAULTED\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  },
                                  "props.textStyle.color": {
                                    "binding": {
                                      "config": {
                                        "path": "this.props.text"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#000000",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "NOT FAULTED",
                                              "output": "#008000"
                                            },
                                            {
                                              "input": "FAULTED",
                                              "output": "#FF0000"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Communication Faulted"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "VFD",
                                      "output": true
                                    },
                                    {
                                      "input": "EXTENDO",
                                      "output": true
                                    },
                                    {
                                      "input": "DPM",
                                      "output": true
                                    },
                                    {
                                      "input": "TIPPER",
                                      "output": true
                                    },
                                    {
                                      "input": "FIO",
                                      "output": true
                                    },
                                    {
                                      "input": "SIO",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "Name"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "FULL"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "Full"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Full"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"Chute\", \"PE\", \"DIV\"\n\n\tif not show:\n\t\treturn value\n\n\treturn \"FULL\" if value \u003d\u003d True else \"NOT FULL\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  },
                                  "props.textStyle.color": {
                                    "binding": {
                                      "config": {
                                        "path": "this.props.text"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#000000",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "FULL",
                                              "output": "#0008FF"
                                            },
                                            {
                                              "input": "NOT FULL",
                                              "output": "#008000"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Full"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "Chute",
                                      "output": true
                                    },
                                    {
                                      "input": "DIV",
                                      "output": true
                                    },
                                    {
                                      "input": "PE",
                                      "output": true
                                    },
                                    {
                                      "input": "NC",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "Name"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "HALF FULL"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "Half Full"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Half_Full"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"Chute\", \"DIV\"\n\n\tif not show:\n\t\treturn value\n\n\treturn \"HALF FULL\" if value \u003d\u003d False else \"NOT HALF FULL\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  },
                                  "props.textStyle.color": {
                                    "binding": {
                                      "config": {
                                        "path": "this.props.text"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#000000",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "HALF FULL",
                                              "output": "#FFF000"
                                            },
                                            {
                                              "input": "NOT HALF FULL",
                                              "output": "#008000"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Half Full"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "Chute",
                                      "output": true
                                    },
                                    {
                                      "input": "DIV",
                                      "output": true
                                    },
                                    {
                                      "input": "NC",
                                      "output": null
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "Name"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "JAM"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "Jam"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Jammed"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"Chute\", \"JPE\", \"DIV\"\n\n\tif not show:\n\t\treturn value\n\n\treturn \"JAMMED\" if value \u003d\u003d True else \"NOT JAMMED\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  },
                                  "props.textStyle.color": {
                                    "binding": {
                                      "config": {
                                        "path": "this.props.text"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#000000",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "JAMMED",
                                              "output": "#FF8C00"
                                            },
                                            {
                                              "input": "NOT JAMMED",
                                              "output": "#008000"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Jam"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "Chute",
                                      "output": true
                                    },
                                    {
                                      "input": "DIV",
                                      "output": true
                                    },
                                    {
                                      "input": "JPE",
                                      "output": true
                                    },
                                    {
                                      "input": "NC",
                                      "output": null
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "Name"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "DISABLED"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "Disabled"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Disabled"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"Chute\", \"DIV\"\n\n\tif not show:\n\t\treturn value\n\n\treturn \"DISABLED\" if value \u003d\u003d True else \"NOT DISABLED\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  },
                                  "props.textStyle.color": {
                                    "binding": {
                                      "config": {
                                        "path": "this.props.text"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#000000",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "DISABLED",
                                              "output": "#FF0000"
                                            },
                                            {
                                              "input": "NOT DISABLED",
                                              "output": "#008000"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Disabled"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "Chute",
                                      "output": true
                                    },
                                    {
                                      "input": "DIV",
                                      "output": true
                                    },
                                    {
                                      "input": "NC",
                                      "output": null
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "Name"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "NO CONTAINER"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "No Container"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.style.backgroundColor": {
                                    "binding": {
                                      "config": {
                                        "path": "this.props.text"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#FFFFFF",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "NO CONTAINER",
                                              "output": "#D5D5D5"
                                            },
                                            {
                                              "input": "CONTAINER PRESENT",
                                              "output": "#D5D5D5"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  },
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/No_Container"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"Chute\"\n\n\tif not show:\n\t\treturn value\n\n\treturn \"NO CONTAINER\" if value \u003d\u003d True else \"CONTAINER PRESENT\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  },
                                  "props.textStyle.color": {
                                    "binding": {
                                      "config": {
                                        "path": "this.props.text"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#000000",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "NO CONTAINER",
                                              "output": "#FF4487"
                                            },
                                            {
                                              "input": "CONTAINER PRESENT",
                                              "output": "#008000"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "No Container"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "Chute",
                                      "output": true
                                    },
                                    {
                                      "input": "Chute-EN",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "NameField"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "PMM Fault"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "PB_Light"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/PMM_Fault"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"PMM\"\n\tif not show:\n\t\treturn value\n\treturn \"PMM FAULTED\" if value else \"PMM NOT FAULTED\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  },
                                  "props.textStyle.color": {
                                    "binding": {
                                      "config": {
                                        "path": "this.props.text"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#000000",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "NOT FAULTED",
                                              "output": "#008000"
                                            },
                                            {
                                              "input": "FAULTED",
                                              "output": "#FF0000"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "PMM Fault"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "PMM",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "NameField"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "PMM KWH CONSUMED"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "PB_Light"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/PMM_KWH_Consumed"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"PMM\"\n\n\tif not show:\n\t\treturn value\n\treturn value",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  },
                                  "textStyle": {
                                    "color": "#000000"
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "PMM KWH Consumed"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "PMM",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "NameField"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "PMM TOTAL POWER"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "PB_Light"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/PMM_Total_Power"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"PMM\"\n\n\tif not show:\n\t\treturn value\n\treturn value",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  },
                                  "textStyle": {
                                    "color": "#000000"
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "PMM Total Power"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "PMM",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "NameField"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "PMM MAX TOTAL POWER"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "PB_Light"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/PMM_Max_Total_Power"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"PMM\"\n\n\tif not show:\n\t\treturn value\n\treturn value",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  },
                                  "textStyle": {
                                    "color": "#000000"
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "PMM Max Total Power"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "PMM",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "Name"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "MOTOR"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "Motor Fault"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Motor_Fault"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"MCM\"\n\n\tif not show:\n\t\treturn value\n\n\treturn \"FAULTED\" if value \u003d\u003d True else \"NOT FAULTED\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  },
                                  "props.textStyle.color": {
                                    "binding": {
                                      "config": {
                                        "path": "this.props.text"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#000000",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "FAULTED",
                                              "output": "#FF0000"
                                            },
                                            {
                                              "input": "NOT FAULTED",
                                              "output": "#008000"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Motor Fault"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "MCM",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "Name"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "JAM"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "Jam Fault"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Jam_Fault"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"MCM\"\n\n\tif not show:\n\t\treturn value\n\n\treturn \"PRESENT\" if value \u003d\u003d True else \"NOT PRESENT\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  },
                                  "props.textStyle.color": {
                                    "binding": {
                                      "config": {
                                        "path": "this.props.text"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#000000",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "PRESENT",
                                              "output": "#FFC000"
                                            },
                                            {
                                              "input": "NOT PRESENT",
                                              "output": "#008000"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Jam Fault"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "MCM",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "Name"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "ENCODER"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "Jam Fault"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Encoder_Fault"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"MCM\"\n\n\tif not show:\n\t\treturn value\n\n\treturn \"PRESENT\" if value \u003d\u003d True else \"NOT PRESENT\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  },
                                  "props.textStyle.color": {
                                    "binding": {
                                      "config": {
                                        "path": "this.props.text"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#000000",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "PRESENT",
                                              "output": "#FF0006"
                                            },
                                            {
                                              "input": "NOT PRESENT",
                                              "output": "#008000"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Encoder Fault"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "MCM",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "Name"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "FIRE RELAY"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "Fire Relay De Energized"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Fire_Relay_De_Energized"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"MCM\"\n\n\tif not show:\n\t\treturn value\n\n\treturn \"ENERGIZED\" if value \u003d\u003d True else \"DE-ENERGIZED\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  },
                                  "props.textStyle.color": {
                                    "binding": {
                                      "config": {
                                        "path": "this.props.text"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#000000",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "DE-ENERGIZED",
                                              "output": "#FF0000"
                                            },
                                            {
                                              "input": "ENERGIZED",
                                              "output": "#008000"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Fire Relay De Energized"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "MCM",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "Name"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "ESTOPPED"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "Estopped"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/EStopped"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"MCM\"\n\n\tif not show:\n\t\treturn value\n\n\treturn \"YES\" if value \u003d\u003d True else \"NO\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  },
                                  "props.textStyle.color": {
                                    "binding": {
                                      "config": {
                                        "path": "this.props.text"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#000000",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "YES",
                                              "output": "#FF0000"
                                            },
                                            {
                                              "input": "NO",
                                              "output": "#008000"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Estopped"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "MCM",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "Name"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "ESTOPPED LOCALLY"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "Estopped Locally"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/EStopped_Locally"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"MCM\"\n\n\tif not show:\n\t\treturn value\n\n\treturn \"YES\" if value \u003d\u003d True else \"NO\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  },
                                  "props.textStyle.color": {
                                    "binding": {
                                      "config": {
                                        "path": "this.props.text"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#000000",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "YES",
                                              "output": "#FF0000"
                                            },
                                            {
                                              "input": "NO",
                                              "output": "#008000"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Estopped Locally"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "MCM",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "Name"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "MCM"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "Stopped"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Stopped"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"MCM\"\n\n\tif not show:\n\t\treturn value\n\n\treturn \"STOPPED\" if value \u003d\u003d True else \"STARTED\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  },
                                  "props.textStyle.color": {
                                    "binding": {
                                      "config": {
                                        "path": "this.props.text"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#000000",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "STOPPED",
                                              "output": "#FF0000"
                                            },
                                            {
                                              "input": "STARTED",
                                              "output": "#008000"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Stopped"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "MCM",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "Name"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "NAT SWITCH"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "NAT Switch Fault"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/NAT_Switch_Fault"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"MCM\"\n\t\n\tif not show:\n\t\treturn value\n\t\t\n\treturn \"FAULTED\" if value \u003d\u003d True else \"NOT FAULTED\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  },
                                  "props.textStyle.color": {
                                    "binding": {
                                      "config": {
                                        "path": "this.props.text"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#000000",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "FAULTED",
                                              "output": "#FF0000"
                                            },
                                            {
                                              "input": "NOT FAULTED",
                                              "output": "#008000"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "NAT Switch Fault"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "MCM",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "Name"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "ON UPS BATTERY"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "On UPS Battery"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/On_UPS_Battery"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"MCM\"\n\n\tif not show:\n\t\treturn value\n\n\treturn \"YES\" if value \u003d\u003d True else \"NO\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  },
                                  "props.textStyle.color": {
                                    "binding": {
                                      "config": {
                                        "path": "this.props.text"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#000000",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "YES",
                                              "output": "#FF0000"
                                            },
                                            {
                                              "input": "NO",
                                              "output": "#008000"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "On UPS Battery"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "MCM",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "Name"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "UPS BATTERY"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "UPS Battery Fault"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/UPS_Battery_Fault"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"MCM\"\n\n\tif not show:\n\t\treturn value\n\n\treturn \"FAULTED\" if value \u003d\u003d True else \"NOT FAULTED\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  },
                                  "props.textStyle.color": {
                                    "binding": {
                                      "config": {
                                        "path": "this.props.text"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#000000",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "FAULTED",
                                              "output": "#FF0000"
                                            },
                                            {
                                              "input": "NOT FAULTED",
                                              "output": "#008000"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "UPS Battery Fault"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "MCM",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "Name"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "UPS BATTERY LOW"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "UPS Battery Low"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/UPS_Battery_Low"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"MCM\"\n\n\tif not show:\n\t\treturn value\n\n\treturn \"YES\" if value \u003d\u003d True else \"NO\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  },
                                  "props.textStyle.color": {
                                    "binding": {
                                      "config": {
                                        "path": "this.props.text"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#000000",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "YES",
                                              "output": "#FF0000"
                                            },
                                            {
                                              "input": "NO",
                                              "output": "#008000"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "UPS Battery Low"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "MCM",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "Name"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "UPS"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "UPS Fault"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/UPS_Fault"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"MCM\"\n\n\tif not show:\n\t\treturn value\n\n\treturn \"FAULTED\" if value \u003d\u003d True else \"NOT FAULTED\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  },
                                  "props.textStyle.color": {
                                    "binding": {
                                      "config": {
                                        "path": "this.props.text"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#000000",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "FAULTED",
                                              "output": "#FF0000"
                                            },
                                            {
                                              "input": "NOT FAULTED",
                                              "output": "#008000"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "UPS Fault"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "MCM",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "NameField"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "TIPPER"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "PB_Light"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Tipper_Faulted"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"TIPPER\"\n\n\tif not show:\n\t\treturn value\n\n\treturn \"FAULTED\" if value \u003d\u003d True else \"NOT FAULTED\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  },
                                  "props.textStyle.color": {
                                    "binding": {
                                      "config": {
                                        "path": "this.props.text"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#000000",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "NOT FAULTED",
                                              "output": "#008000"
                                            },
                                            {
                                              "input": "FAULTED",
                                              "output": "#FF0000"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Name"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Tipper Faulted"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "TIPPER",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "NameField"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "DUMPING"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "PB_Light"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Dumping"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"TIPPER\"\n\n\tif not show:\n\t\treturn value\n\n\treturn \"TRUE\" if value \u003d\u003d 1 else \"FALSE\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  },
                                  "props.textStyle.color": {
                                    "binding": {
                                      "config": {
                                        "path": "this.props.text"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#000000",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "FALSE",
                                              "output": "#FF0000"
                                            },
                                            {
                                              "input": "TRUE",
                                              "output": "#008000"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Name"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Dumping"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "TIPPER",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "NameField"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "RUNNING"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "PB_Light"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Running"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"TIPPER\"\n\n\tif not show:\n\t\treturn value\n\n\treturn \"YES\" if value \u003d\u003d True else \"NO\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  },
                                  "props.textStyle.color": {
                                    "binding": {
                                      "config": {
                                        "path": "this.props.text"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#000000",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "NO",
                                              "output": "#FF0000"
                                            },
                                            {
                                              "input": "YES",
                                              "output": "#008000"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Name"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Running"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "TIPPER",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "NameField"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "AUTO MODE"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "PB_Light"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Auto_Mode"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"TIPPER\"\n\n\tif not show:\n\t\treturn value\n\treturn \"YES\" if value \u003d\u003d True else \"NO\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  },
                                  "props.textStyle.color": {
                                    "binding": {
                                      "config": {
                                        "path": "this.props.text"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#000000",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "NO",
                                              "output": "#FF0000"
                                            },
                                            {
                                              "input": "YES",
                                              "output": "#008000"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Name"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Auto Mode"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "TIPPER",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "NameField"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "MANUAL MODE"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "PB_Light"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Manual_Mode"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"TIPPER\"\n\n\tif not show:\n\t\treturn value\n\n\treturn \"YES\" if value \u003d\u003d True else \"NO\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  },
                                  "props.textStyle.color": {
                                    "binding": {
                                      "config": {
                                        "path": "this.props.text"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#000000",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "NO",
                                              "output": "#FF0000"
                                            },
                                            {
                                              "input": "YES",
                                              "output": "#008000"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Name"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Manual Mode"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "TIPPER",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "NameField"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "TIPPER SYSTEM"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "PB_Light"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/System_Fault"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"TIPPER\"\n\n\tif not show:\n\t\treturn value\n\n\treturn \"FAULTED\" if value \u003d\u003d True else \"NOT FAULTED\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  },
                                  "props.textStyle.color": {
                                    "binding": {
                                      "config": {
                                        "path": "this.props.text"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "#000000",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "FAULTED",
                                              "output": "#FF0000"
                                            },
                                            {
                                              "input": "NOT FAULTED",
                                              "output": "#008000"
                                            }
                                          ],
                                          "outputType": "color",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Name"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "System Fault"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "TIPPER",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "NameField"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "FPM"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "FPM"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/FPM"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"VFD\"\n\n\tif not show:\n\t\treturn value\n\n\treturn value",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px"
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel",
                                "overflow": "hidden"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "FPM"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "VFD",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "NameField"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "path": "parent.custom.type"
                                      },
                                      "transforms": [
                                        {
                                          "fallback": "FREQ/VELO",
                                          "inputType": "scalar",
                                          "mappings": [
                                            {
                                              "input": "Frequency",
                                              "output": "FREQUENCY"
                                            },
                                            {
                                              "input": "Velocity",
                                              "output": "VELOCITY"
                                            }
                                          ],
                                          "outputType": "scalar",
                                          "type": "map"
                                        }
                                      ],
                                      "type": "property"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  }
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "Frequency_Velocity"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}",
                                          "type": "{parent.custom.type}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/{type}"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"VFD\"\n\tif not show:\n\t\treturn value\n\n\treturn value",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px"
                            },
                            "propConfig": {
                              "custom.type": {
                                "binding": {
                                  "config": {
                                    "path": "view.custom.VFD_Type"
                                  },
                                  "transforms": [
                                    {
                                      "code": "\tshow \u003d self.parent.parent.getChild(\"Frequency_Velocity\").position.display\n\n\tif not show:\n\t\treturn value\n\n\treturn \"Frequency\" if value \u003d\u003d 0 else \"Velocity\"",
                                      "type": "script"
                                    }
                                  ],
                                  "type": "property"
                                }
                              }
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel",
                                "overflow": "hidden"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Frequency_Velocity"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "VFD",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "NameField"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "AMPERAGE"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "Amperage"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Amperage"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"VFD\"\n\tif not show:\n\t\treturn value\n\n\treturn value",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px"
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel",
                                "overflow": "hidden"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Amperage"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "VFD",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "NameField"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "VOLTAGE"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "Voltage"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Voltage"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"VFD\"\n\tif not show:\n\t\treturn value\n\n\treturn value",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px"
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel",
                                "overflow": "hidden"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Voltage"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "VFD",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "NameField"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "COMMUNICATION FAULT CODE"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "Communication_Fault_Code"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Fault_Code"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.device_type \u003d\u003d \"VFD\"\n\tif not show:\n\t\treturn value\n\n\treturn value",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D5D5D5",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px"
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel",
                                "overflow": "hidden"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Communication_Fault_Code"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "VFD",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "NameField",
                                  "tooltip": {
                                    "text": "Open Fault Code Table"
                                  }
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "VFD FAULT CODE"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "children": [
                                  {
                                    "meta": {
                                      "name": "VFD_Fault_Code",
                                      "tooltip": {
                                        "enabled": true,
                                        "text": "Open Fault Code Table"
                                      }
                                    },
                                    "position": {
                                      "basis": "50%",
                                      "grow": 1
                                    },
                                    "propConfig": {
                                      "props.text": {
                                        "binding": {
                                          "config": {
                                            "fallbackDelay": 2.5,
                                            "mode": "indirect",
                                            "references": {
                                              "0": "{view.params.tagProps[0]}",
                                              "fc": "{session.custom.fc}"
                                            },
                                            "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/VFD_Fault_Code"
                                          },
                                          "transforms": [
                                            {
                                              "code": "\tis_apf \u003d self.view.custom.VFD_Type \u003d\u003d 1\n\t\n\tif is_apf:\n\t\tif value and value !\u003d 0:\n\t\t\treturn \"0x%08X\" % value\n\t\telse:\n\t\t\treturn str(value)\n\telse:\n\t\treturn \"F{:03d}\".format(int(value))",
                                              "type": "script"
                                            }
                                          ],
                                          "type": "tag"
                                        }
                                      }
                                    },
                                    "props": {
                                      "style": {
                                        "backgroundColor": "#D5D5D5",
                                        "classes": "Text-Styles/Ariel-Bold-12pt",
                                        "color": "#0000EE",
                                        "paddingLeft": 10
                                      }
                                    },
                                    "type": "ia.display.label"
                                  },
                                  {
                                    "meta": {
                                      "name": "Icon"
                                    },
                                    "position": {
                                      "basis": "30px"
                                    },
                                    "props": {
                                      "color": "#0000EE",
                                      "path": "material/search",
                                      "style": {
                                        "backgroundColor": "#D5D5D5"
                                      }
                                    },
                                    "type": "ia.display.icon"
                                  }
                                ],
                                "events": {
                                  "dom": {
                                    "onClick": {
                                      "config": {
                                        "script": "\tsystem.perspective.navigate(\n\t    view \u003d \"Main-Views/Fault_Codes\", \n\t    params \u003d {\n\t        \"fault_code\": self.getChild(\"VFD_Fault_Code\").props.text, \n\t        \"type\": self.view.custom.VFD_Type\n\t    }\n\t)\n\tsystem.perspective.closeDock(\"Docked-East\")"
                                      },
                                      "scope": "G",
                                      "type": "script"
                                    }
                                  }
                                },
                                "meta": {
                                  "name": "FlexContainer"
                                },
                                "position": {
                                  "basis": "200px"
                                },
                                "type": "ia.container.flex"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px"
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel",
                                "cursor": "pointer",
                                "overflow": "hidden"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "VFD_Fault_Code"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "VFD",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "NameField",
                                  "tooltip": {
                                    "text": "Open Fault Code Table"
                                  }
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "LAST VFD FAULT CODE"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "children": [
                                  {
                                    "meta": {
                                      "name": "Last_VFD_Fault_Code",
                                      "tooltip": {
                                        "enabled": true,
                                        "text": "Open Fault Code Table"
                                      }
                                    },
                                    "position": {
                                      "basis": "50%",
                                      "grow": 1
                                    },
                                    "propConfig": {
                                      "props.text": {
                                        "binding": {
                                          "config": {
                                            "fallbackDelay": 2.5,
                                            "mode": "indirect",
                                            "references": {
                                              "0": "{view.params.tagProps[0]}",
                                              "fc": "{session.custom.fc}"
                                            },
                                            "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Last_VFD_Fault_Code"
                                          },
                                          "transforms": [
                                            {
                                              "code": "\tis_apf \u003d self.view.custom.VFD_Type \u003d\u003d 1\n\t\n\tif is_apf:\n\t\tif value and value !\u003d 0:\n\t\t\treturn \"0x%08X\" % value\n\t\telse:\n\t\t\treturn str(value)\n\telse:\n\t\treturn \"F{:03d}\".format(int(value))",
                                              "type": "script"
                                            }
                                          ],
                                          "type": "tag"
                                        }
                                      }
                                    },
                                    "props": {
                                      "style": {
                                        "backgroundColor": "#D5D5D5",
                                        "classes": "Text-Styles/Ariel-Bold-12pt",
                                        "color": "#0000EE",
                                        "paddingLeft": 10
                                      }
                                    },
                                    "type": "ia.display.label"
                                  },
                                  {
                                    "meta": {
                                      "name": "Icon"
                                    },
                                    "position": {
                                      "basis": "30px"
                                    },
                                    "props": {
                                      "color": "#0000EE",
                                      "path": "material/search",
                                      "style": {
                                        "backgroundColor": "#D5D5D5"
                                      }
                                    },
                                    "type": "ia.display.icon"
                                  }
                                ],
                                "events": {
                                  "dom": {
                                    "onClick": {
                                      "config": {
                                        "script": "\tsystem.perspective.navigate(\n\t    view \u003d \"Main-Views/Fault_Codes\", \n\t    params \u003d {\n\t        \"fault_code\": self.getChild(\"Last_VFD_Fault_Code\").props.text, \n\t        \"type\": self.view.custom.VFD_Type\n\t    }\n\t)\n\tsystem.perspective.closeDock(\"Docked-East\")"
                                      },
                                      "scope": "G",
                                      "type": "script"
                                    }
                                  }
                                },
                                "meta": {
                                  "name": "FlexContainer"
                                },
                                "position": {
                                  "basis": "200px"
                                },
                                "type": "ia.container.flex"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px"
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel",
                                "cursor": "pointer",
                                "overflow": "hidden"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Last_VFD_Fault_Code"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.device_type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": "VFD",
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "Name"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "AOPEN ACTIVE"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "Aopen Active"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Aopen_Active"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.EX_Type \u003d\u003d 0\n\n\tif not show:\n\t\treturn value\n\n\treturn \"ACTIVE\" if value \u003d\u003d True else \"NOT ACTIVE\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D3D3D3",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  },
                                  "textStyle": {
                                    "color": "#000000"
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Aopen Active"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.EX_Type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": 0,
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "Name"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "FULLY EXTENDED"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "Fully Extended"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Fully_Extended"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.EX_Type \u003d\u003d 0\n\n\tif not show:\n\t\treturn value\n\n\n\treturn \"EXTENDED\" if value \u003d\u003d True else \"NOT EXTENDED\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D3D3D3",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  },
                                  "textStyle": {
                                    "color": "#000000"
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Fully Extended"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.EX_Type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": 0,
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "Name"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "FULLY RETRACTED"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "Fully Retracted"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Fully_Retracted"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.EX_Type \u003d\u003d 0\n\tif not show:\n\t\treturn value\n\n\treturn \"RETRACTED\" if value \u003d\u003d True else \"NOT RETRACTED\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D3D3D3",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  },
                                  "textStyle": {
                                    "color": "#000000"
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Fully Retracted"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.EX_Type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": 0,
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "Name"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "LOADING MODE"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "Loading Mode"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Loading_Mode"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.EX_Type \u003d\u003d 0\n\tif not show:\n\t\treturn value\n\n\n\treturn \"LOADING MODE\" if value \u003d\u003d True else \"NOT IN LOADING MODE\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D3D3D3",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  },
                                  "textStyle": {
                                    "color": "#000000"
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Loading Mode"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.EX_Type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": 0,
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "Name"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "UNLOADING MODE"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "Unloading Mode"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Unloading_Mode"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.EX_Type \u003d\u003d 0\n\tif not show:\n\t\treturn value\n\n\treturn \"IN UNLOADING MODE\" if value \u003d\u003d True else \"NOT IN UNLOADING MODE\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D3D3D3",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  },
                                  "textStyle": {
                                    "color": "#000000"
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Unloading Mode"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.EX_Type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": 0,
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "Name"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "POWER SAVING MODE"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "Unloading Mode"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Power_Saving_Mode"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.EX_Type \u003d\u003d 0\n\tif not show:\n\t\treturn value\n\n\n\treturn \"IN POWER SAVING MODE\" if value \u003d\u003d True else \"NOT IN POWER SAVING MODE\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D3D3D3",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  },
                                  "textStyle": {
                                    "color": "#000000"
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Power Saving Mode"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.EX_Type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": 0,
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "Name"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "BELT RUNNING"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "Belt Running"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Belt_Running"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.EX_Type \u003d\u003d 1\n\tif not show:\n\t\treturn value\n\n\n\treturn \"RUNNING\" if value \u003d\u003d True else \"NOT RUNNING\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D3D3D3",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  },
                                  "textStyle": {
                                    "color": "#000000"
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Belt Running"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.EX_Type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": 1,
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "Name"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "READY TO RECEIVE"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "Ready To Receive"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Ready_To_Receive"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.view.custom.EX_Type \u003d\u003d 1\n\n\tif not show:\n\t\treturn value\n\n\n\treturn \"READY\" if value \u003d\u003d True else \"NOT READY\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D3D3D3",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  },
                                  "textStyle": {
                                    "color": "#000000"
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "Ready To Receive"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.EX_Type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": 1,
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "Name"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "OK TO RUN"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "OK To Run"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/OK_To_Run"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.parent.parent.parent.getChild(\"OK To Run\").position.display\n\n\tif not show:\n\t\treturn value\n\n\n\treturn \"OK\" if value \u003d\u003d True else \"NOT OK\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D3D3D3",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  },
                                  "textStyle": {
                                    "color": "#000000"
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "OK To Run"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.EX_Type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": 1,
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "meta": {
                                  "name": "Name"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "props": {
                                  "style": {
                                    "paddingLeft": 20
                                  },
                                  "text": "PLC READY TO RUN"
                                },
                                "type": "ia.display.label"
                              },
                              {
                                "meta": {
                                  "name": "PLC Ready To Run"
                                },
                                "position": {
                                  "basis": "50%",
                                  "grow": 1
                                },
                                "propConfig": {
                                  "props.text": {
                                    "binding": {
                                      "config": {
                                        "fallbackDelay": 2.5,
                                        "mode": "indirect",
                                        "references": {
                                          "0": "{view.params.tagProps[0]}",
                                          "fc": "{session.custom.fc}"
                                        },
                                        "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/PLC_Ready_To_Run"
                                      },
                                      "transforms": [
                                        {
                                          "code": "\tshow \u003d self.parent.parent.parent.getChild(\"PLC Ready To Run\").position.display\n\n\tif not show:\n\t\treturn value\n\n\n\treturn \"READY\" if value \u003d\u003d True else \"NOT READY\"",
                                          "type": "script"
                                        }
                                      ],
                                      "type": "tag"
                                    }
                                  }
                                },
                                "props": {
                                  "style": {
                                    "backgroundColor": "#D3D3D3",
                                    "classes": "Text-Styles/Ariel-Bold-12pt",
                                    "paddingLeft": 10
                                  },
                                  "textStyle": {
                                    "color": "#000000"
                                  }
                                },
                                "type": "ia.display.label"
                              }
                            ],
                            "meta": {
                              "name": "Property"
                            },
                            "position": {
                              "basis": "35px",
                              "shrink": 2
                            },
                            "props": {
                              "style": {
                                "classes": "PopUp-Styles/InfoLabel"
                              }
                            },
                            "type": "ia.container.flex"
                          }
                        ],
                        "meta": {
                          "name": "PLC Ready To Run"
                        },
                        "position": {
                          "basis": "35px"
                        },
                        "propConfig": {
                          "position.display": {
                            "binding": {
                              "config": {
                                "path": "view.custom.EX_Type"
                              },
                              "transforms": [
                                {
                                  "fallback": false,
                                  "inputType": "scalar",
                                  "mappings": [
                                    {
                                      "input": 1,
                                      "output": true
                                    }
                                  ],
                                  "outputType": "scalar",
                                  "type": "map"
                                }
                              ],
                              "type": "property"
                            }
                          }
                        },
                        "props": {
                          "direction": "column"
                        },
                        "type": "ia.container.flex"
                      }
                    ],
                    "meta": {
                      "name": "Info_tab"
                    },
                    "position": {
                      "tabIndex": 1
                    },
                    "props": {
                      "direction": "column",
                      "style": {
                        "margin-left": "",
                        "overflow": "hidden"
                      }
                    },
                    "type": "ia.container.flex"
                  }
                ],
                "meta": {
                  "name": "tabs"
                },
                "position": {
                  "grow": 1
                },
                "propConfig": {
                  "props.tabs": {
                    "binding": {
                      "config": {
                        "path": "view.custom.device_type"
                      },
                      "transforms": [
                        {
                          "code": "\t# This script runs whenever view.custom.type changes\n\tif value \u003d\u003d \"PalletBuild\" or  value \u003d\u003d \"Enable\" or value \u003d\u003d \"PE\" or value \u003d\u003d \"FIO\" or value \u003d\u003d \"SIO\" or value \u003d\u003d \"DPM\":\n\t\treturn [\"Alarms\", \"Info\"]\n\telif value \u003d\u003d \"EPC\":\n\t\treturn [\"Alarms\"]\n\telse:\n\t\treturn [\"Alarms\", \"Info\", \"Commands\"]",
                          "type": "script"
                        }
                      ],
                      "type": "property"
                    }
                  }
                },
                "props": {
                  "currentTabIndex": 2,
                  "menuType": "modern",
                  "tabSize": {
                    "width": 1000
                  },
                  "tabStyle": {
                    "active": {
                      "classes": "",
                      "color": "#FFFFFF",
                      "fontFamily": "Arial",
                      "fontSize": 14,
                      "fontWeight": "bold",
                      "paddingLeft": 10
                    },
                    "inactive": {
                      "classes": "",
                      "color": "#B8B8B8",
                      "fontFamily": "Arial",
                      "fontSize": 14,
                      "fontWeight": "bold",
                      "paddingLeft": 10
                    }
                  }
                },
                "type": "ia.container.tab"
              },
              {
                "children": [
                  {
                    "meta": {
                      "name": "Label"
                    },
                    "position": {
                      "basis": "389px"
                    },
                    "props": {
                      "text": "Show on Detailed View",
                      "textStyle": {
                        "cursor": "pointer",
                        "textAlign": "center"
                      }
                    },
                    "type": "ia.display.label"
                  }
                ],
                "events": {
                  "dom": {
                    "onClick": {
                      "config": {
                        "script": "\timport config.project_config as pc\n\n\tfull_source_id \u003d self.view.params.tagProps[0]\n\t\n\tids \u003d pc.get_project_config()\n\t\n\tpage_id \u003d ids.get(full_source_id)\n\t\n\tpc.navigate_to_url(self, full_source_id, page_id)"
                      },
                      "scope": "G",
                      "type": "script"
                    }
                  }
                },
                "meta": {
                  "name": "FlexContainer"
                },
                "position": {
                  "basis": "40px"
                },
                "propConfig": {
                  "position.display": {
                    "binding": {
                      "config": {
                        "path": "view.params.tagProps[0]"
                      },
                      "type": "property"
                    },
                    "onChange": {
                      "enabled": null,
                      "script": "\timport config.project_config as pc\n\tif pc.get_current_page_id(self) not in [\"MTN6\", \"MTN6_2\"]:\n\t    self.position.display \u003d False\n\telse:\n\t    self.position.display \u003d  True"
                    }
                  }
                },
                "props": {
                  "justify": "center",
                  "style": {
                    "cursor": "pointer"
                  }
                },
                "type": "ia.container.flex"
              }
            ],
            "meta": {
              "name": "FlexContainer_1"
            },
            "position": {
              "basis": "670px",
              "grow": 1
            },
            "props": {
              "direction": "column",
              "style": {
                "border-top": "1px solid white",
                "gap": ""
              }
            },
            "type": "ia.container.flex"
          }
        ],
        "meta": {
          "name": "FlexContainer"
        },
        "position": {
          "basis": "800px",
          "grow": 1
        },
        "props": {
          "direction": "column"
        },
        "type": "ia.container.flex"
      }
    ],
    "meta": {
      "name": "root"
    },
    "props": {
      "direction": "column",
      "style": {
        "classes": "Buttons/Button-Menu"
      }
    },
    "type": "ia.container.flex"
  }
}