{
  "custom": {},
  "params": {
    "value": {
      "tagProps": [
        "MCM01",
        "value",
        "value",
        "value",
        "value",
        "value",
        "value",
        "value",
        "value",
        "value"
      ]
    }
  },
  "propConfig": {
    "custom.status": {
      "binding": {
        "config": {
          "fallbackDelay": 2.5,
          "mode": "indirect",
          "references": {
            "MCM": "{view.params.value.tagProps[0]}",
            "fc": "{session.custom.fc}"
          },
          "tagPath": "[{fc}_SCADA_TAG_PROVIDER]System/{MCM}/Alarm Metrics.highestActivePriority"
        },
        "transforms": [
          {
            "expression": "coalesce({value},null)",
            "type": "expression"
          }
        ],
        "type": "tag"
      }
    },
    "params.value": {
      "paramDirection": "input",
      "persistent": true
    }
  },
  "props": {
    "defaultSize": {
      "height": 50,
      "width": 300
    }
  },
  "root": {
    "children": [
      {
        "events": {
          "dom": {
            "onClick": {
              "config": {
                "script": "\tnavigation.navigate_to_page.detailed_view(self, self.view.params.tagProps[0],self.view.params.tagProps[0], self.view.params.tagProps[3])"
              },
              "scope": "G",
              "type": "script"
            }
          }
        },
        "meta": {
          "name": "Label"
        },
        "position": {
          "grow": 1
        },
        "propConfig": {
          "props.style.classes": {
            "binding": {
              "config": {
                "path": "view.custom.status"
              },
              "transforms": [
                {
                  "fallback": "State-Styles/Background-Fill/State5",
                  "inputType": "scalar",
                  "mappings": [
                    {
                      "input": "High",
                      "output": "State-Styles/Background-Fill/State1"
                    },
                    {
                      "input": "Medium",
                      "output": "State-Styles/Background-Fill/State2"
                    },
                    {
                      "input": "Low",
                      "output": "State-Styles/Background-Fill/State3"
                    },
                    {
                      "input": "Diagnostic",
                      "output": "State-Styles/Background-Fill/State4"
                    }
                  ],
                  "outputType": "style-list",
                  "type": "map"
                }
              ],
              "type": "property"
            }
          },
          "props.text": {
            "binding": {
              "config": {
                "path": "view.custom.status"
              },
              "transforms": [
                {
                  "fallback": "HEALTHY",
                  "inputType": "scalar",
                  "mappings": [
                    {
                      "input": "Diagnostic",
                      "output": "DIAGNOSTIC"
                    },
                    {
                      "input": "Low",
                      "output": "HALF WORKFLOW"
                    },
                    {
                      "input": "Medium",
                      "output": "CONTROLLED STOP"
                    },
                    {
                      "input": "High",
                      "output": "UNCONTROLLED STOP"
                    }
                  ],
                  "outputType": "scalar",
                  "type": "map"
                }
              ],
              "type": "property"
            }
          }
        },
        "props": {
          "style": {
            "borderColor": "#555555",
            "borderStyle": "none",
            "cursor": "pointer",
            "marginBottom": 8,
            "marginTop": 8
          },
          "textStyle": {
            "fontSize": 12,
            "textAlign": "center"
          }
        },
        "type": "ia.display.label"
      }
    ],
    "meta": {
      "name": "root"
    },
    "props": {
      "direction": "column"
    },
    "type": "ia.container.flex"
  }
}