Files
Stream_PHX_A7/Gateways/FE/projects/.resources/300b9eee872d9c4e73e6e52c19ead27a16a3fbd2e098bee012ee54f84fa91420

1040 lines
38 KiB
Plaintext

{
"custom": {},
"params": {},
"props": {
"defaultSize": {
"height": 1000,
"width": 1700
}
},
"root": {
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"meta": {
"name": "Label"
},
"props": {
"text": "Gateway |"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label_0"
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "direct",
"tagPath": "[System]Gateway/SystemName"
},
"type": "tag"
}
}
},
"props": {
"textStyle": {
"color": "var(--tagvalue-color)",
"fontSize": 14,
"fontStyle": "italic"
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "FlexContainer"
},
"position": {
"basis": "30%"
},
"props": {
"style": {
"gap": 5
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label"
},
"props": {
"text": "Role:",
"textStyle": {
"fontSize": 12
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label_0"
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "direct",
"tagPath": "[System]Gateway/Redundancy/Role"
},
"type": "tag"
}
}
},
"props": {
"textStyle": {
"color": "var(--tagvalue-color)",
"fontSize": 12
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "FlexContainer_0"
},
"props": {
"style": {
"gap": 5,
"overflow": "hidden"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label"
},
"props": {
"text": "License:",
"textStyle": {
"fontSize": 12
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label_0"
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "direct",
"tagPath": "[System]Gateway/LicenseState"
},
"type": "tag"
}
}
},
"props": {
"textStyle": {
"color": "var(--tagvalue-color)",
"fontSize": 12
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "FlexContainer_1"
},
"props": {
"style": {
"gap": 5,
"overflow": "hidden"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label"
},
"props": {
"text": "Uptime",
"textStyle": {
"fontSize": 12
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label_0"
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "direct",
"tagPath": "[System]Gateway/UptimeSeconds"
},
"transforms": [
{
"code": "\tdays \u003d value / 86400\n\thours \u003d value % 86400\n\thours \u003d hours /3600\n\toutput \u003d str(days) + \" days \" + str(hours) + \" hrs\"\n\treturn output",
"type": "script"
}
],
"type": "tag"
}
}
},
"props": {
"textStyle": {
"color": "var(--tagvalue-color)",
"fontSize": 12
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "FlexContainer_2"
},
"props": {
"alignContent": "space-between",
"style": {
"gap": 5,
"overflow": "hidden"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label"
},
"props": {
"text": "Session Counts:",
"textStyle": {
"fontSize": 12
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label_0"
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "direct",
"tagPath": "[System]Gateway/Sessions/SessionCount"
},
"type": "tag"
}
}
},
"props": {
"textStyle": {
"color": "var(--tagvalue-color)",
"fontSize": 12
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "FlexContainer_3"
},
"props": {
"style": {
"gap": 5,
"overflow": "hidden"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label"
},
"props": {
"text": "Current Time:",
"textStyle": {
"fontSize": 12
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label_0"
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "direct",
"tagPath": "[System]Gateway/CurrentDateTime"
},
"type": "tag"
}
}
},
"props": {
"textStyle": {
"color": "var(--tagvalue-color)",
"fontSize": 12
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "FlexContainer_4"
},
"props": {
"style": {
"gap": 5,
"overflow": "hidden"
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "FlexContainer"
},
"position": {
"basis": "80%"
},
"props": {
"direction": "column",
"style": {
"gap": 3,
"padding": 5
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "CPU_Gauge"
},
"position": {
"basis": "75px"
},
"propConfig": {
"props.arc.color": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "direct",
"tagPath": "[System]Gateway/Performance/CPU Usage"
},
"transforms": [
{
"code": "\tif value\u003e 0.5:\n\t\toutput \u003d \"red\"\n\telse:\n\t\toutput \u003d \"green\"\n\treturn output",
"type": "script"
}
],
"type": "tag"
}
},
"props.arcBackground.color": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "direct",
"tagPath": "[System]Gateway/Performance/CPU Usage"
},
"transforms": [
{
"code": "\tif value\u003e 0.5:\n\t\toutput \u003d \"red\"\n\telse:\n\t\toutput \u003d \"green\"\n\treturn output",
"type": "script"
}
],
"type": "tag"
}
},
"props.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "direct",
"tagPath": "[System]Gateway/Performance/CPU Usage"
},
"type": "tag"
}
}
},
"props": {
"arc": {
"width": 0
},
"arcBackground": {},
"endAngle": 450,
"label": {
"offsetY": 12,
"visible": false
},
"maxValue": 1,
"startAngle": 90
},
"type": "ia.chart.simple-gauge"
},
{
"meta": {
"name": "Label"
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "direct",
"tagPath": "[System]Gateway/Performance/CPU Usage"
},
"transforms": [
{
"expression": "{value}*100\r\n",
"type": "expression"
},
{
"formatType": "numeric",
"formatValue": "##.##",
"type": "format"
},
{
"expression": "{value}+\"% cpu\"",
"type": "expression"
}
],
"type": "tag"
}
}
},
"props": {
"textStyle": {
"color": "var(--tagvalue-color)",
"textAlign": "center"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "CPU_Gauge_0"
},
"position": {
"basis": "75px"
},
"propConfig": {
"custom.memory": {
"binding": {
"config": {
"struct": {
"max": "{this.props.maxValue}",
"value": "{this.props.value}"
},
"waitOnAll": true
},
"transforms": [
{
"code": "\toutput \u003d float(value[\"value\"]) / float(value[\"max\"])\n\treturn output",
"type": "script"
}
],
"type": "expr-struct"
}
},
"props.arc.color": {
"binding": {
"config": {
"path": "this.custom.memory"
},
"transforms": [
{
"code": "\tif value\u003e 0.33:\n\t\toutput \u003d \"#F1E013\"\n\telif value \u003e0.66:\n\t\toutput \u003d \"red\"\n\telse:\n\t\toutput \u003d \"green\"\n\treturn output",
"type": "script"
}
],
"type": "property"
}
},
"props.arcBackground.color": {
"binding": {
"config": {
"path": "this.custom.memory"
},
"transforms": [
{
"code": "\tif value\u003e 0.33:\n\t\toutput \u003d \"#F1E013\"\n\telif value \u003e0.66:\n\t\toutput \u003d \"red\"\n\telse:\n\t\toutput \u003d \"green\"\n\treturn output",
"type": "script"
}
],
"type": "property"
}
},
"props.maxValue": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {},
"tagPath": "[System]Gateway/Performance/Max Memory"
},
"type": "tag"
}
},
"props.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "direct",
"tagPath": "[System]Gateway/Performance/Memory Usage"
},
"type": "tag"
}
}
},
"props": {
"arc": {
"width": 0
},
"arcBackground": {},
"endAngle": 450,
"label": {
"color": "#F1E013",
"offsetY": 12,
"visible": false
},
"startAngle": 90
},
"type": "ia.chart.simple-gauge"
},
{
"meta": {
"name": "Label_0"
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "direct",
"tagPath": "[System]Gateway/Performance/Memory Utilization"
},
"transforms": [
{
"expression": "{value}*100",
"type": "expression"
},
{
"formatType": "numeric",
"formatValue": "##.##",
"type": "format"
},
{
"expression": "{value}+ \" %\"",
"type": "expression"
}
],
"type": "tag"
}
}
},
"props": {
"textStyle": {
"color": "var(--tagvalue-color)",
"textAlign": "center"
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "FlexContainer_0"
},
"position": {
"basis": "20%"
},
"props": {
"direction": "column",
"style": {
"overflow": "visible"
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "FlexContainer"
},
"position": {
"basis": "85%"
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "Label"
},
"position": {
"basis": "15%"
},
"props": {
"style": {
"backgroundColor": "#143663"
},
"text": "MASTER",
"textStyle": {
"color": "white",
"fontFamily": "inherit",
"fontSize": 12,
"textAlign": "center"
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "Left Container"
},
"position": {
"basis": "50%",
"grow": 1
},
"props": {
"direction": "column",
"style": {
"borderBottomLeftRadius": 4,
"borderBottomRightRadius": 4,
"borderTopLeftRadius": 4,
"borderTopRightRadius": 4,
"outlineColor": "#143663",
"outlineStyle": "solid",
"overflow": "visible"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"meta": {
"name": "Label"
},
"props": {
"text": "Redundancy"
},
"type": "ia.display.label"
}
],
"meta": {
"name": "FlexContainer"
},
"position": {
"basis": "30%"
},
"props": {
"style": {
"gap": 5
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label_0"
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "direct",
"tagPath": "[System]Gateway/Redundancy/Connection/IsConnected"
},
"transforms": [
{
"fallback": "Error",
"inputType": "scalar",
"mappings": [
{
"input": false,
"output": "Peer Not Connected"
},
{
"input": true,
"output": "Peer Connected"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
}
},
"props.textStyle.color": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {},
"tagPath": "[System]Gateway/Redundancy/Connection/IsConnected"
},
"transforms": [
{
"fallback": "purple",
"inputType": "scalar",
"mappings": [
{
"input": false,
"output": "red"
},
{
"input": true,
"output": "green"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
}
}
},
"props": {
"textStyle": {
"fontSize": 12
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "FlexContainer_0"
},
"props": {
"style": {
"gap": 5,
"overflow": "hidden"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label"
},
"props": {
"text": "Peer Id:",
"textStyle": {
"fontSize": 12
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label_0"
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "direct",
"tagPath": "[System]Gateway/Redundancy/Connection/PeerId"
},
"type": "tag"
}
}
},
"props": {
"textStyle": {
"color": "var(--tagvalue-color)",
"fontSize": 12
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "FlexContainer_1"
},
"props": {
"style": {
"gap": 5,
"overflow": "hidden"
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "FlexContainer"
},
"position": {
"basis": "100%"
},
"props": {
"direction": "column",
"style": {
"gap": 3,
"padding": 5
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "FlexContainer"
},
"position": {
"basis": "85%"
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "Label"
},
"position": {
"basis": "15%"
},
"props": {
"style": {
"backgroundColor": "#143663"
},
"text": "BACKUP",
"textStyle": {
"color": "white",
"fontFamily": "inherit",
"fontSize": 12,
"textAlign": "center"
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "Right Container"
},
"position": {
"basis": "50%"
},
"props": {
"direction": "column",
"style": {
"borderBottomLeftRadius": 4,
"borderBottomRightRadius": 4,
"borderTopLeftRadius": 4,
"borderTopRightRadius": 4,
"outlineColor": "#143663",
"outlineStyle": "solid",
"overflow": "visible"
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "FlexContainer"
},
"position": {
"grow": 1
},
"props": {
"justify": "space-evenly",
"style": {
"gap": "var(--space-lg)",
"overflow": "visible"
}
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "FlexRepeater"
},
"position": {
"grow": 1
},
"props": {
"elementPosition": {
"basis": "auto"
},
"instances": [
{
"instancePosition": {},
"instanceStyle": {
"classes": ""
},
"tagPath": "[System]Gateway/EAM/Agents/Ignition-SATB1-IO1/Master"
},
{
"instancePosition": {},
"instanceStyle": {
"classes": ""
},
"tagPath": "[System]Gateway/EAM/Agents/Ignition-SATB1-IO2/Master"
},
{
"instancePosition": {},
"instanceStyle": {
"classes": ""
},
"tagPath": "[System]Gateway/EAM/Agents/Ignition-SATB1-IO3/Master"
},
{
"instancePosition": {},
"instanceStyle": {
"classes": ""
},
"tagPath": "[System]Gateway/EAM/Agents/Ignition-SATB1-IO4/Master"
},
{
"instancePosition": {},
"instanceStyle": {
"classes": ""
},
"tagPath": "[System]Gateway/EAM/Agents/Ignition-SATB1-IO5/Master"
},
{
"instancePosition": {},
"instanceStyle": {
"classes": ""
},
"tagPath": "[System]Gateway/EAM/Agents/Ignition-SATB1-IO6/Master"
}
],
"justify": "space-evenly",
"path": "Library/Widgets/Network/Wgt_Agent",
"style": {
"gap": "var(--space-lg)",
"overflow": "visible"
},
"useDefaultViewHeight": false,
"useDefaultViewWidth": false
},
"type": "ia.display.flex-repeater"
},
{
"meta": {
"name": "FlexRepeater_0"
},
"position": {
"grow": 1
},
"props": {
"elementPosition": {
"basis": "auto"
},
"instances": [
{
"instancePosition": {},
"instanceStyle": {
"classes": ""
},
"tagPath": "[System]Gateway/EAM/Agents/Ignition-SATB1-IO1/Backup"
},
{
"instancePosition": {},
"instanceStyle": {
"classes": ""
},
"tagPath": "[System]Gateway/EAM/Agents/Ignition-SATB1-IO2/Backup"
},
{
"instancePosition": {},
"instanceStyle": {
"classes": ""
},
"tagPath": "[System]Gateway/EAM/Agents/Ignition-SATB1-IO3/Backup"
},
{
"instancePosition": {},
"instanceStyle": {
"classes": ""
},
"tagPath": "[System]Gateway/EAM/Agents/Ignition-SATB1-IO4/Backup"
},
{
"instancePosition": {},
"instanceStyle": {
"classes": ""
},
"tagPath": "[System]Gateway/EAM/Agents/Ignition-SATB1-IO5/Backup"
},
{
"instancePosition": {},
"instanceStyle": {
"classes": ""
},
"tagPath": "[System]Gateway/EAM/Agents/Ignition-SATB1-IO6/Backup"
}
],
"justify": "space-evenly",
"path": "Library/Widgets/Network/Wgt_Agent",
"style": {
"gap": "var(--space-lg)",
"overflow": "visible"
},
"useDefaultViewHeight": false,
"useDefaultViewWidth": false
},
"type": "ia.display.flex-repeater"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column",
"style": {
"gap": "var(--space-lg)",
"padding": "var(--space-lg)"
}
},
"type": "ia.container.flex"
}
}