BNA8/.resources/b4eff493a8f6ca42feed4cbe0b174797b1ecfd29e860cd2edb665cff9316c2a6

371 lines
11 KiB
Plaintext

{
"custom": {
"Color": 1
},
"params": {
"ASdata": "PE",
"Browser": "Amazon",
"DeviceType": "PE",
"FolderPath": "Siemens/INTL_CPLA_STS/",
"TName": "value",
"Vendor": "Siemens",
"tagPath": "INTL_CPLA_STS_58"
},
"propConfig": {
"custom.Color": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"Browser": "{view.params.Browser}",
"FolderPath": "{view.params.FolderPath}",
"tagPath": "{view.params.tagPath}"
},
"tagPath": "[{Browser}]{FolderPath}{tagPath}/INTL_CPLA_STS"
},
"transforms": [
{
"expression": "getBit({value},4)",
"type": "expression"
}
],
"type": "tag"
},
"persistent": true
},
"params.ASdata": {
"paramDirection": "input",
"persistent": true
},
"params.Browser": {
"paramDirection": "inout",
"persistent": true
},
"params.DeviceType": {
"paramDirection": "input",
"persistent": true
},
"params.FolderPath": {
"paramDirection": "inout",
"persistent": true
},
"params.TName": {
"paramDirection": "input",
"persistent": true
},
"params.Vendor": {
"paramDirection": "input",
"persistent": true
},
"params.tagPath": {
"paramDirection": "inout",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 20,
"width": 50
}
},
"root": {
"children": [
{
"meta": {
"name": "Photoeye"
},
"position": {
"basis": "100%"
},
"propConfig": {
"meta.visible": {
"binding": {
"config": {
"expression": "{view.custom.Color} \u003d 0 || {session.custom.show.PhotoEyes}"
},
"type": "expr"
}
},
"props.elements[0].fill.paint": {
"binding": {
"config": {
"path": "view.custom.Color"
},
"transforms": [
{
"fallback": "#000000",
"inputType": "scalar",
"mappings": [
{
"input": 0,
"output": "#FF0000"
},
{
"input": 1,
"output": "#00D900"
}
],
"outputType": "color",
"type": "map"
}
],
"type": "property"
}
},
"props.style.classes": {
"binding": {
"config": {
"expression": "if ({view.params.tagPath} \u003d {session.custom.Search},\r\n\"table/SearchTaghighlight\", \"table/highlight\")"
},
"type": "expr"
}
}
},
"props": {
"elements": [
{
"elements": [
{
"name": "polygon",
"points": "29.95 15.23 0.5 29.32 0.5 1.15 29.95 15.23",
"type": "polygon"
},
{
"elements": [
{
"elements": [
{
"height": 1.5,
"name": "rect",
"type": "rect",
"width": "2.66",
"x": "88.23",
"y": "14.26"
},
{
"height": 1.5,
"name": "rect",
"type": "rect",
"width": "2.66",
"x": "93",
"y": "14.26"
},
{
"height": "1.5",
"name": "rect",
"type": "rect",
"width": "2.66",
"x": "97.74",
"y": "14.26"
}
],
"name": "group",
"type": "group"
},
{
"elements": [
{
"height": "1.5",
"name": "rect",
"type": "rect",
"width": "2.66",
"x": "73.93",
"y": "14.26"
},
{
"height": "1.5",
"name": "rect",
"type": "rect",
"width": "2.66",
"x": "78.69",
"y": "14.26"
},
{
"height": "1.5",
"name": "rect",
"type": "rect",
"width": "2.66",
"x": "83.44",
"y": "14.26"
}
],
"name": "group",
"type": "group"
},
{
"elements": [
{
"height": "1.5",
"name": "rect",
"type": "rect",
"width": 2.66,
"x": "59.62",
"y": "14.26"
},
{
"height": "1.5",
"name": "rect",
"type": "rect",
"width": "2.66",
"x": "64.38",
"y": "14.26"
},
{
"height": "1.5",
"name": "rect",
"type": "rect",
"width": "2.66",
"x": "69.13",
"y": "14.26"
}
],
"name": "group",
"type": "group"
},
{
"elements": [
{
"height": "1.5",
"name": "rect",
"type": "rect",
"width": "2.66",
"x": "45.32",
"y": "14.26"
},
{
"height": "1.5",
"name": "rect",
"type": "rect",
"width": "2.66",
"x": "50.08",
"y": "14.26"
},
{
"height": "1.5",
"name": "rect",
"type": "rect",
"width": "2.66",
"x": "54.83",
"y": "14.26"
}
],
"name": "group",
"type": "group"
},
{
"elements": [
{
"height": "1.5",
"name": "rect",
"type": "rect",
"width": "2.66",
"x": "31.01",
"y": "14.26"
},
{
"height": "1.5",
"name": "rect",
"type": "rect",
"width": "2.66",
"x": "35.77",
"y": "14.26"
},
{
"height": "1.5",
"name": "rect",
"type": "rect",
"width": "2.66",
"x": "40.52",
"y": "14.26"
}
],
"name": "group",
"type": "group"
}
],
"name": "group",
"type": "group"
},
{
"height": 29.46,
"name": "rect",
"type": "rect",
"width": "8.42",
"x": "101.48",
"y": "0.5"
}
],
"fill": {},
"name": "group",
"type": "group"
}
],
"preserveAspectRatio": "none",
"style": {},
"viewBox": "0 0 110.4 30.46"
},
"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.TName}, \"_\", \"-\")+//replace({view.params.tagPath}, \"_\", \"-\")+\r\n\"\\nStatus: \"+ \r\nif (!getBit(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/INTL_CPLA_STS\"),4), \"Jammed\",\r\n\t\t\"Running or ON\")"
},
"type": "expr"
}
}
},
"props": {
"direction": "column",
"justify": "center",
"style": {
"cursor": "pointer",
"transform": "translate3d(0,0,0)"
}
},
"type": "ia.container.flex"
}
}