130 lines
3.0 KiB
Plaintext
130 lines
3.0 KiB
Plaintext
{
|
|
"custom": {
|
|
"AlarmSeverity": 1
|
|
},
|
|
"params": {
|
|
"tagpath": "value"
|
|
},
|
|
"propConfig": {
|
|
"custom.AlarmSeverity": {
|
|
"persistent": true
|
|
},
|
|
"params.tagpath": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
}
|
|
},
|
|
"props": {
|
|
"defaultSize": {
|
|
"height": 18,
|
|
"width": 62
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "device"
|
|
},
|
|
"position": {
|
|
"height": 18,
|
|
"width": 62
|
|
},
|
|
"propConfig": {
|
|
"props.style.borderColor": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.AlarmSeverity"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "transparent",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 1,
|
|
"output": "var(--alarm-low)"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "var(--alarm-medium)"
|
|
},
|
|
{
|
|
"input": 3,
|
|
"output": "var(--alarm-high)"
|
|
},
|
|
{
|
|
"input": 4,
|
|
"output": "var(--alarm-critical)"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"borderBottomLeftRadius": "var(--border-radius)",
|
|
"borderBottomRightRadius": "var(--border-radius)",
|
|
"borderStyle": "solid",
|
|
"borderTopLeftRadius": "var(--border-radius)",
|
|
"borderTopRightRadius": "var(--border-radius)",
|
|
"borderWidth": 2,
|
|
"fontSize": 10,
|
|
"textAlign": "center"
|
|
},
|
|
"text": "Spot Det 3",
|
|
"textStyle": {
|
|
"classes": "containers/HoverOver"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "AlarmIcons"
|
|
},
|
|
"position": {
|
|
"height": 15,
|
|
"width": 15,
|
|
"x": 54.19,
|
|
"y": -10.19
|
|
},
|
|
"propConfig": {
|
|
"props.params.AlarmSeverity": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.AlarmSeverity"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"ack": false
|
|
},
|
|
"path": "Components/Atoms/AlarmIcons",
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"useDefaultViewHeight": true
|
|
},
|
|
"type": "ia.display.view"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "root"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.coord"
|
|
}
|
|
} |