262 lines
7.6 KiB
Plaintext
262 lines
7.6 KiB
Plaintext
{
|
|
"custom": {},
|
|
"params": {
|
|
"ASdata": "value",
|
|
"Browser": "value",
|
|
"Color": 1,
|
|
"DeviceType": "value",
|
|
"FolderPath": "value",
|
|
"Vendor": "value",
|
|
"Visibility": true,
|
|
"tagPath": "value"
|
|
},
|
|
"propConfig": {
|
|
"params.ASdata": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.Browser": {
|
|
"paramDirection": "inout",
|
|
"persistent": true
|
|
},
|
|
"params.Color": {
|
|
"paramDirection": "inout",
|
|
"persistent": true
|
|
},
|
|
"params.DeviceType": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.FolderPath": {
|
|
"paramDirection": "inout",
|
|
"persistent": true
|
|
},
|
|
"params.Vendor": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.Visibility": {
|
|
"paramDirection": "inout",
|
|
"persistent": true
|
|
},
|
|
"params.tagPath": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
}
|
|
},
|
|
"props": {
|
|
"defaultSize": {
|
|
"height": 25,
|
|
"width": 25
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "LimitSwitch"
|
|
},
|
|
"position": {
|
|
"basis": "100%"
|
|
},
|
|
"propConfig": {
|
|
"meta.visible": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "{session.custom.show.LimitSwitches} || {view.params.Visibility}"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.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": "#FF0000"
|
|
},
|
|
{
|
|
"input": 3,
|
|
"output": "#FF0000"
|
|
},
|
|
{
|
|
"input": 4,
|
|
"output": "#FF8C00"
|
|
},
|
|
{
|
|
"input": 5,
|
|
"output": "#D900D9"
|
|
},
|
|
{
|
|
"input": 6,
|
|
"output": "#0000FF"
|
|
},
|
|
{
|
|
"input": 7,
|
|
"output": "#FFFF00"
|
|
},
|
|
{
|
|
"input": 8,
|
|
"output": "#FFFF00"
|
|
},
|
|
{
|
|
"input": 9,
|
|
"output": "#FFFF00"
|
|
},
|
|
{
|
|
"input": 10,
|
|
"output": "#00D900"
|
|
},
|
|
{
|
|
"input": 11,
|
|
"output": "#87CEFA"
|
|
},
|
|
{
|
|
"input": 12,
|
|
"output": "#CCFFCC"
|
|
},
|
|
{
|
|
"input": 13,
|
|
"output": "#D3D3D3"
|
|
},
|
|
{
|
|
"input": 14,
|
|
"output": "#AC5F00"
|
|
},
|
|
{
|
|
"input": 100,
|
|
"output": "#FFFFFF"
|
|
},
|
|
{
|
|
"input": 101,
|
|
"output": null
|
|
}
|
|
],
|
|
"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.style.transform": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "\"rotate(\" + {session.custom.RotateText} + \"deg)\""
|
|
},
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"elements": [
|
|
{
|
|
"elements": [
|
|
{
|
|
"fill": {},
|
|
"name": "polygon",
|
|
"points": "37.87 83.32 0.67 42.84 37.87 0.76 75.07 42.84 37.87 83.32",
|
|
"type": "polygon"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M21.93,52V26.19h2.79V48.92H35.13v3Z",
|
|
"name": "path",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M37.57,43.67l2.64-.28a7.65,7.65,0,0,0,1,3.31,5.36,5.36,0,0,0,2.13,1.91,6.71,6.71,0,0,0,3.13.72,5.69,5.69,0,0,0,3.88-1.22,4,4,0,0,0,1.38-3.17,3.89,3.89,0,0,0-.5-2,3.75,3.75,0,0,0-1.52-1.39A27.14,27.14,0,0,0,45.31,40a15.64,15.64,0,0,1-4.26-1.78,6.28,6.28,0,0,1-2-2.28,6.76,6.76,0,0,1-.7-3.12,6.86,6.86,0,0,1,2-5.12,7.45,7.45,0,0,1,5.45-2,8.72,8.72,0,0,1,4.12.93,6.59,6.59,0,0,1,2.74,2.67,8.85,8.85,0,0,1,1,4.1l-2.69.24A5.54,5.54,0,0,0,49.57,30a5.09,5.09,0,0,0-3.63-1.22,5.43,5.43,0,0,0-3.62,1.07,3.42,3.42,0,0,0-1.25,2.75A3.15,3.15,0,0,0,42,35a10.83,10.83,0,0,0,4.12,1.75,26.07,26.07,0,0,1,4.39,1.5,7.13,7.13,0,0,1,2.92,2.59,7.26,7.26,0,0,1,1,3.84,8,8,0,0,1-1,4,7,7,0,0,1-2.83,2.76,8.91,8.91,0,0,1-4.29.95A8.38,8.38,0,0,1,40,50.05,9,9,0,0,1,37.57,43.67Z",
|
|
"name": "path",
|
|
"type": "path"
|
|
}
|
|
],
|
|
"fill": {
|
|
"paint": "#000000"
|
|
},
|
|
"name": "group",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"style": {},
|
|
"viewBox": "0 0 75.74 84.06"
|
|
},
|
|
"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": {
|
|
"style": {
|
|
"backgroundColor": "#2B2B2BBF",
|
|
"color": "#FFFFFF",
|
|
"fontSize": 12,
|
|
"textAlign": "left",
|
|
"white-space": "pre"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"justify": "center",
|
|
"style": {
|
|
"cursor": "pointer"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
} |