BNA8/.resources/4da83398be41e53b7512274b2b18bafafc77edd93a0a33a06da09c0d0f931470

402 lines
14 KiB
Plaintext

{
"custom": {
"Color": 6
},
"params": {
"ASdata": "value",
"Browser": "Amazon",
"Color": 6,
"DeviceType": "value",
"FolderPath": "Conveyor/",
"Vendor": "value",
"Vis_border": true,
"tagPath": "NCL1_1A"
},
"propConfig": {
"params.ASdata": {
"paramDirection": "input",
"persistent": true
},
"params.Browser": {
"paramDirection": "inout",
"persistent": true
},
"params.Color": {
"paramDirection": "inout"
},
"params.DeviceType": {
"paramDirection": "input",
"persistent": true
},
"params.FolderPath": {
"paramDirection": "inout",
"persistent": true
},
"params.Vendor": {
"paramDirection": "input",
"persistent": true
},
"params.Vis_border": {
"paramDirection": "inout",
"persistent": true
},
"params.tagPath": {
"paramDirection": "inout",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 100,
"width": 100
}
},
"root": {
"children": [
{
"meta": {
"name": "Rollers conveyor"
},
"position": {
"basis": "100%"
},
"propConfig": {
"props.elements[0].elements[0].elements[0].fill.paint": {
"binding": {
"config": {
"path": "view.params.Color"
},
"transforms": [
{
"fallback": "#000000",
"inputType": "scalar",
"mappings": [
{
"input": 0,
"output": "#808080"
},
{
"input": 1,
"output": "#FF0000"
},
{
"input": 2,
"output": "#0000FF"
},
{
"input": 3,
"output": "#FF0000"
},
{
"input": 4,
"output": "#FFFF00"
},
{
"input": 5,
"output": "#D900D9"
},
{
"input": 6,
"output": "#0000FF"
},
{
"input": 7,
"output": "#FFFF00"
},
{
"input": 8,
"output": "#FFFF00"
},
{
"input": 9,
"output": "#FFFF00"
},
{
"input": 10,
"output": "#00FF00"
},
{
"input": 11,
"output": "#87CEFA"
},
{
"input": 12,
"output": "#FFFFFF"
},
{
"input": 13,
"output": "#606060"
},
{
"input": 14,
"output": "#AC5F00"
},
{
"input": 100,
"output": "#FFFFFF"
}
],
"outputType": "color",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[0].elements[0].elements[1].style.visibility": {
"binding": {
"config": {
"path": "view.params.Vis_border"
},
"transforms": [
{
"fallback": null,
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "visible"
},
{
"input": false,
"output": "hidden"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.style.classes": {
"binding": {
"config": {
"expression": "if ({view.params.tagPath} \u003d {session.custom.Search},\r\n\"table/SearchTaghighlight\", \"\")"
},
"type": "expr"
}
}
},
"props": {
"elements": [
{
"elements": [
{
"elements": [
{
"fill": {},
"height": "99",
"name": "rect",
"type": "rect",
"width": "99",
"x": "0.5",
"y": "0.5"
},
{
"d": "M99,1V99H1V1H99m1-1H0V100H100V0Z",
"fill": {
"paint": "#808080"
},
"name": "path",
"style": {},
"type": "path"
}
],
"name": "group",
"type": "group"
},
{
"elements": [
{
"cx": "18.89",
"cy": "16.12",
"name": "circle",
"r": "8.33",
"type": "circle"
},
{
"cx": "18.89",
"cy": "61.29",
"name": "circle",
"r": "8.33",
"type": "circle"
},
{
"cx": "18.89",
"cy": "83.88",
"name": "circle",
"r": "8.33",
"type": "circle"
},
{
"cx": "18.89",
"cy": "38.71",
"name": "circle",
"r": "8.33",
"type": "circle"
},
{
"cx": "40",
"cy": "16.12",
"name": "circle",
"r": "8.33",
"type": "circle"
},
{
"cx": "40",
"cy": "61.29",
"name": "circle",
"r": "8.33",
"type": "circle"
},
{
"cx": "40",
"cy": "83.88",
"name": "circle",
"r": "8.33",
"type": "circle"
},
{
"cx": "40",
"cy": "38.71",
"name": "circle",
"r": "8.33",
"type": "circle"
},
{
"cx": "60",
"cy": "16.12",
"name": "circle",
"r": "8.33",
"type": "circle"
},
{
"cx": "60",
"cy": "61.29",
"name": "circle",
"r": "8.33",
"type": "circle"
},
{
"cx": "60",
"cy": "83.88",
"name": "circle",
"r": "8.33",
"type": "circle"
},
{
"cx": "60",
"cy": "38.71",
"name": "circle",
"r": "8.33",
"type": "circle"
},
{
"cx": "81.11",
"cy": "16.12",
"name": "circle",
"r": "8.33",
"type": "circle"
},
{
"cx": "81.11",
"cy": "61.29",
"name": "circle",
"r": "8.33",
"type": "circle"
},
{
"cx": "81.11",
"cy": "83.88",
"name": "circle",
"r": "8.33",
"type": "circle"
},
{
"cx": "81.11",
"cy": "38.71",
"name": "circle",
"r": "8.33",
"type": "circle"
}
],
"name": "group",
"type": "group"
}
],
"name": "group",
"type": "group"
}
],
"preserveAspectRatio": "none",
"style": {
"cursor": "pointer"
},
"viewBox": "0 0 100 100"
},
"type": "ia.shapes.svg"
}
],
"events": {
"dom": {
"onClick": {
"config": {
"draggable": false,
"id": "information",
"modal": false,
"overlayDismiss": false,
"resizable": false,
"showCloseIcon": false,
"type": "open",
"viewParams": {
"ASdata": "{view.params.ASdata}",
"Browser": "{view.params.Browser}",
"DeviceType": "{view.params.DeviceType}",
"FolderPath": "{view.params.FolderPath}",
"Vendor": "{view.params.Vendor}",
"tagPath": "{view.params.tagPath}"
},
"viewPath": "Windows/Information/Information",
"viewportBound": false
},
"scope": "C",
"type": "popup"
}
}
},
"meta": {
"name": "root",
"tooltip": {
"enabled": true,
"style": {
"backgroundColor": "#2B2B2BBF",
"color": "#FFFFFF",
"fontSize": 12,
"textAlign": "left",
"white-space": "pre"
}
}
},
"propConfig": {
"meta.tooltip.text": {
"binding": {
"config": {
"expression": "replace({view.params.tagPath}, \"_\", \"-\") +\r\n\"\\nStatus: \" + \r\ncase (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color\"),\r\n0 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Quality.DisplayPath\"),\r\n1 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_EStop.DisplayPath\"),\r\n2 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_UnitFaulted.DisplayPath\"), \r\n3 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Gridlocked.DisplayPath\"),\r\n4 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Jam.DisplayPath\"), \r\n5 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_AntiGridlockMode.DisplayPath\"), \r\n6 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Full100.DisplayPath\"), \r\n7 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Full75.DisplayPath\"),\r\n8 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Full50.DisplayPath\"),\r\n9 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Full25.DisplayPath\"), \r\n10 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Running.DisplayPath\"),\r\n11 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_AEM.DisplayPath\"), \r\n12 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Enabled.DisplayPath\"), \r\n13 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Stopped.DisplayPath\"), \r\n14 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Manual.DisplayPath\"),\r\n15 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_PBstopped.DisplayPath\"), \r\n100,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Gravity.DisplayPath\"),\r\n\"not response\")"
},
"type": "expr"
}
}
},
"props": {
"alignContent": "center",
"direction": "column",
"justify": "center",
"style": {
"overflow": "visible",
"transform": "translate3d(0,0,0)"
}
},
"type": "ia.container.flex"
}
}