live camera interaction and changes in the search function
@ -0,0 +1,254 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {
|
||||
"ASdata": "value",
|
||||
"Browser": "Amazon",
|
||||
"Color": 10,
|
||||
"DeviceType": "AirCompressor",
|
||||
"FolderPath": "AirCompressor/",
|
||||
"Vendor": "AS",
|
||||
"Visibility": true,
|
||||
"tagPath": "AirCompressor"
|
||||
},
|
||||
"propConfig": {
|
||||
"params.ASdata": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Browser": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.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}/HMI/Color"
|
||||
},
|
||||
"type": "tag"
|
||||
},
|
||||
"paramDirection": "output",
|
||||
"persistent": true
|
||||
},
|
||||
"params.DeviceType": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.FolderPath": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Font-size": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Text": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Vendor": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Visibility": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.tagPath": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 30,
|
||||
"width": 30
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Compressor"
|
||||
},
|
||||
"position": {
|
||||
"basis": "100%"
|
||||
},
|
||||
"propConfig": {
|
||||
"props.style.backgroundColor": {
|
||||
"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"
|
||||
}
|
||||
],
|
||||
"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": {
|
||||
"borderStyle": "solid",
|
||||
"borderWidth": 2,
|
||||
"color": "#000000",
|
||||
"cursor": "pointer"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
}
|
||||
],
|
||||
"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\n1 ,\"Low Air Pressure\",\r\n2 ,\"Faulted\",\r\n10 ,\"Running\",\r\n13 ,\"Off\",\r\n14 ,\"Maintenance Mode\",\r\n\"not response\")"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{session.custom.show.Compressor} || {view.params.Visibility}"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"direction": "column",
|
||||
"justify": "center",
|
||||
"style": {
|
||||
"classes": "table/highlight",
|
||||
"transform": "translate3d(0,0,0)"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 36 KiB |
@ -0,0 +1,55 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 1820,
|
||||
"width": 1386
|
||||
},
|
||||
"loading": {
|
||||
"mode": "blocking"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "EmbeddedView"
|
||||
},
|
||||
"position": {
|
||||
"height": 1668,
|
||||
"rotate": {},
|
||||
"width": 1401
|
||||
},
|
||||
"propConfig": {
|
||||
"position.rotate.angle": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "session.custom.RotateText"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"path": "Windows/Graphics/Default_Overview"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"backgroundColor": "#FFFFFF",
|
||||
"overflow": "visible"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.coord"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,36 @@
|
||||
{
|
||||
"base": {
|
||||
"style": {
|
||||
"backgroundImage": "linear-gradient(180deg, rgba(245,245,245,1) 0%, rgba(235,235,235,1) 70%, rgba(208,208,208,1) 100%);",
|
||||
"borderColor": "#555",
|
||||
"borderStyle": "solid",
|
||||
"borderWidth": "2px",
|
||||
"color": "#000",
|
||||
"textTransform": "uppercase"
|
||||
}
|
||||
},
|
||||
"variants": [
|
||||
{
|
||||
"pseudo": "hover",
|
||||
"style": {
|
||||
"backgroundImage": "linear-gradient(0deg, rgba(245,245,245,1) 0%, rgba(235,235,235,1) 70%, rgba(208,208,208,1) 100%);",
|
||||
"borderColor": "#000",
|
||||
"borderStyle": "solid",
|
||||
"borderWidth": "2px",
|
||||
"color": "#000",
|
||||
"cursor": "pointer"
|
||||
}
|
||||
},
|
||||
{
|
||||
"pseudo": "disabled",
|
||||
"style": {
|
||||
"backgroundImage": "linear-gradient(180deg, rgba(208,208,208,1) 0%, rgba(208,208,208,1) 100%);",
|
||||
"borderColor": "#555",
|
||||
"borderStyle": "solid",
|
||||
"borderWidth": "2px",
|
||||
"color": "#555555",
|
||||
"cursor": "not-allowed"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -0,0 +1,211 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {
|
||||
"ASdata": "value",
|
||||
"Browser": "value",
|
||||
"Color": 10,
|
||||
"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": "inout",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 60,
|
||||
"width": 30
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Barcode reader"
|
||||
},
|
||||
"position": {
|
||||
"basis": "100%"
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{session.custom.show.Scanners} || {view.params.Visibility}"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.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"
|
||||
}
|
||||
],
|
||||
"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": [
|
||||
{
|
||||
"d": "M.63,31.2A28.16,28.16,0,0,1,7.74,9.59,26.91,26.91,0,0,1,27.54.5a26.93,26.93,0,0,1,19.9,9.07,28.18,28.18,0,0,1,7.11,21.72L44.42,64,27.6,118.31Z",
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M27.6,1A26.39,26.39,0,0,1,47.07,9.91a27.62,27.62,0,0,1,7,21.23L40.83,73.89,27.6,116.62,1.14,31.14a27.64,27.64,0,0,1,7-21.21A26.4,26.4,0,0,1,27.54,1h.06m0-1h-.06C11.75,0-1.61,14.52.16,31.34L27.6,120,55.05,31.34C56.81,14.49,43.41,0,27.6,0Z",
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"fill": {},
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {},
|
||||
"viewBox": "0 0 55.2 120"
|
||||
},
|
||||
"type": "ia.shapes.svg"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root",
|
||||
"tooltip": {
|
||||
"style": {
|
||||
"backgroundColor": "#2B2B2BBF",
|
||||
"color": "#FFFFFF",
|
||||
"fontSize": 12,
|
||||
"textAlign": "left",
|
||||
"white-space": "pre"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"direction": "column",
|
||||
"justify": "center",
|
||||
"style": {
|
||||
"classes": "table/highlight",
|
||||
"cursor": "pointer"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,237 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {
|
||||
"ASdata": "value",
|
||||
"Browser": "value",
|
||||
"Color": 1,
|
||||
"DeviceType": "value",
|
||||
"FolderPath": "value",
|
||||
"Vendor": "value",
|
||||
"Visibility": null,
|
||||
"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": "inout",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 8,
|
||||
"width": 128
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Estop_pullcord"
|
||||
},
|
||||
"position": {
|
||||
"basis": "100%"
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{session.custom.show.Estops}|| {view.params.Visibility}"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.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"
|
||||
}
|
||||
],
|
||||
"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": [
|
||||
{
|
||||
"fill": {},
|
||||
"height": "4",
|
||||
"name": "rect",
|
||||
"type": "rect",
|
||||
"width": "100"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {
|
||||
"cursor": "pointer"
|
||||
},
|
||||
"viewBox": "0 0 100 4"
|
||||
},
|
||||
"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\n2 ,\"E-Stop Activated\",\r\n10 ,\"Clear\",\r\n\"not response\")"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"direction": "column",
|
||||
"justify": "center"
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,609 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {
|
||||
"ASdata": "value",
|
||||
"Browser": "Amazon",
|
||||
"Color": 2,
|
||||
"DeviceType": "value",
|
||||
"FolderPath": "Conveyor/",
|
||||
"Variant_Curve_Conv": 90,
|
||||
"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",
|
||||
"persistent": true
|
||||
},
|
||||
"params.DeviceType": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.FolderPath": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Variant_Curve_Conv": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Vendor": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Vis_border": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.tagPath": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 50,
|
||||
"width": 50
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "conveyor curve"
|
||||
},
|
||||
"position": {
|
||||
"basis": "100%"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.display": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if ({view.params.Variant_Curve_Conv} \u003d 90, true, false)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.elements[0].elements[0].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.elements[0].elements[1].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"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"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": [
|
||||
{
|
||||
"d": "M83.5,83.5A83.6,83.6,0,0,1,.5.5h47a36.55,36.55,0,0,0,36,36Z",
|
||||
"fill": {
|
||||
"paint": "#DCDCDC"
|
||||
},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M47,1A37.06,37.06,0,0,0,83,37V83A83.08,83.08,0,0,1,1,1H47m1-1H0A84.09,84.09,0,0,0,84,84V36A36,36,0,0,1,48,0Z",
|
||||
"fill": {
|
||||
"paint": "#808080"
|
||||
},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"style": {},
|
||||
"type": "group"
|
||||
},
|
||||
{
|
||||
"d": "M84,40V80A80,80,0,0,1,4,0H44A40,40,0,0,0,84,40Z",
|
||||
"fill": {},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {},
|
||||
"viewBox": "0 0 84 84"
|
||||
},
|
||||
"type": "ia.shapes.svg"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Conveyor_45_part"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.display": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if ({view.params.Variant_Curve_Conv} \u003d 45, true, false)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.elements[0].elements[0].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.elements[0].elements[1].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"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"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": [
|
||||
{
|
||||
"d": "M24.59,58.7a83.9,83.9,0,0,1-12.91-17A83.38,83.38,0,0,1,3.33,21.61,84.13,84.13,0,0,1,.5.5h47a36.58,36.58,0,0,0,1.24,9,36.37,36.37,0,0,0,3.65,8.8,36.39,36.39,0,0,0,5.44,7.21Z",
|
||||
"fill": {
|
||||
"paint": "#DCDCDC"
|
||||
},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M47,1a37.12,37.12,0,0,0,1.25,8.58A36.93,36.93,0,0,0,52,18.5a37.85,37.85,0,0,0,5.18,7L24.59,58A83.13,83.13,0,0,1,12.12,41.5a82.16,82.16,0,0,1-8.3-20A82.88,82.88,0,0,1,1,1H47m1-1H0A84.41,84.41,0,0,0,2.85,21.74,83.57,83.57,0,0,0,11.25,42,84.26,84.26,0,0,0,24.59,59.41l34-33.95A35.79,35.79,0,0,1,52.82,18a35.78,35.78,0,0,1-3.6-8.68A36.18,36.18,0,0,1,48,0Z",
|
||||
"fill": {
|
||||
"paint": "#808080"
|
||||
},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"style": {},
|
||||
"type": "group"
|
||||
},
|
||||
{
|
||||
"d": "M49.36,20a39.62,39.62,0,0,1-4-9.65A40.13,40.13,0,0,1,44,0H4A79.9,79.9,0,0,0,6.72,20.71a79.14,79.14,0,0,0,8,19.29A79.72,79.72,0,0,0,27.42,56.58L55.71,28.29A39.84,39.84,0,0,1,49.36,20Z",
|
||||
"fill": {},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {},
|
||||
"viewBox": "0 0 58.54 59.41"
|
||||
},
|
||||
"type": "ia.shapes.svg"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Conveyor_30_part"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.display": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if ({view.params.Variant_Curve_Conv} \u003d 30, true, false)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.elements[0].elements[0].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.elements[0].elements[1].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"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"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": [
|
||||
{
|
||||
"d": "M11.43,41.32a83.36,83.36,0,0,1-8.1-19.71A84.13,84.13,0,0,1,.5.5h47a36.58,36.58,0,0,0,1.24,9,36.33,36.33,0,0,0,3.4,8.36Z",
|
||||
"fill": {
|
||||
"paint": "#DCDCDC"
|
||||
},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M47,1a37.12,37.12,0,0,0,1.25,8.58,36.93,36.93,0,0,0,3.2,8l-39.84,23a82.58,82.58,0,0,1-7.8-19.16A82.88,82.88,0,0,1,1,1H47m1-1H0A84.41,84.41,0,0,0,2.85,21.74,83.4,83.4,0,0,0,11.25,42L52.82,18a35.78,35.78,0,0,1-3.6-8.68A36.18,36.18,0,0,1,48,0Z",
|
||||
"fill": {
|
||||
"paint": "#808080"
|
||||
},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"style": {},
|
||||
"type": "group"
|
||||
},
|
||||
{
|
||||
"d": "M45.36,10.35A40.13,40.13,0,0,1,44,0H4A79.9,79.9,0,0,0,6.72,20.71a79.14,79.14,0,0,0,8,19.29L49.36,20A39.62,39.62,0,0,1,45.36,10.35Z",
|
||||
"fill": {},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {},
|
||||
"viewBox": "0 0 52.82 42"
|
||||
},
|
||||
"type": "ia.shapes.svg"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root",
|
||||
"tooltip": {
|
||||
"style": {
|
||||
"backgroundColor": "#2B2B2BBF",
|
||||
"color": "#FFFFFF",
|
||||
"fontSize": 12,
|
||||
"textAlign": "left",
|
||||
"white-space": "pre"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"alignContent": "center",
|
||||
"direction": "column",
|
||||
"justify": "center",
|
||||
"style": {
|
||||
"overflow": "visible",
|
||||
"transform": "translate3d(0,0,0)"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
@ -784,7 +784,7 @@
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Camera"
|
||||
"name": "Jam_Camera1"
|
||||
},
|
||||
"position": {
|
||||
"height": 30.02,
|
||||
@ -794,8 +794,9 @@
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ipaddress": "192.168.25.24:8000",
|
||||
"tagProps": [
|
||||
"System/MCM01/Camera/Camera",
|
||||
"System/MCM01/Camera/Jam_Camera1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -818,7 +819,7 @@
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Camera_0"
|
||||
"name": "Jam_Camera2"
|
||||
},
|
||||
"position": {
|
||||
"height": 30.02,
|
||||
@ -828,8 +829,9 @@
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ipaddress": "192.168.25.24:8000",
|
||||
"tagProps": [
|
||||
"System/MCM01/Camera/Camera_0",
|
||||
"System/MCM01/Camera/Jam_Camera2",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -852,7 +854,7 @@
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Camera_1"
|
||||
"name": "Jam_Camera3"
|
||||
},
|
||||
"position": {
|
||||
"height": 30.02,
|
||||
@ -862,8 +864,9 @@
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ipaddress": "192.168.25.24:8000",
|
||||
"tagProps": [
|
||||
"System/MCM01/Camera/Camera_1",
|
||||
"System/MCM01/Camera/Jam_Camera3",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -886,7 +889,7 @@
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Camera_2"
|
||||
"name": "Jam_Camera4"
|
||||
},
|
||||
"position": {
|
||||
"height": 30.02,
|
||||
@ -896,8 +899,9 @@
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ipaddress": "192.168.25.24:8000",
|
||||
"tagProps": [
|
||||
"System/MCM01/Camera/Camera_2",
|
||||
"System/MCM01/Camera/Jam_Camera4",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -0,0 +1,267 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {
|
||||
"ASdata": "value",
|
||||
"Browser": "Amazon",
|
||||
"Color": 10,
|
||||
"DeviceType": "value",
|
||||
"FolderPath": "value",
|
||||
"Vendor": "value",
|
||||
"Visibility": true,
|
||||
"tagPath": "value"
|
||||
},
|
||||
"propConfig": {
|
||||
"params.ASdata": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Browser": {
|
||||
"paramDirection": "output",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Color": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/FLT_Disconnect\") \u0026\u0026 tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/FLT_Motor\"),\r\n 2,\r\n if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/FLT_Motor\") \u0026\u0026 tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/FLT_Disconnect\") \u003dfalse,\r\n 3,\r\n if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/FLT_Disconnect\") \u0026\u0026 tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/FLT_Motor\")\u003dfalse,\r\n 0,\r\n 10)))"
|
||||
},
|
||||
"type": "expr"
|
||||
},
|
||||
"paramDirection": "output",
|
||||
"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": "inout",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 25,
|
||||
"width": 25
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "VFD"
|
||||
},
|
||||
"position": {
|
||||
"basis": "100%"
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{session.custom.show.VFDs} || {view.params.Visibility}"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.elements[0].elements[1].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"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"type": "map"
|
||||
},
|
||||
{
|
||||
"expression": "if({view.params.Color} \u003d 3, // TODO: Bind fire alarm tags here\r\n if(getSecond(now()) % 2 \u003d 1,\r\n \u0027#FF0000\u0027,\r\n \u0027#00D900\u0027\r\n ),\r\nif({view.params.Color} \u003d 2, // TODO: Bind fire alarm tags here\r\n if(getSecond(now()) % 2 \u003d 1,\r\n \u0027#FF0000\u0027,\r\n \u0027#808080\u0027\r\n ),\r\n\t{value}\r\n))",
|
||||
"type": "expression"
|
||||
}
|
||||
],
|
||||
"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": [
|
||||
{
|
||||
"d": "M15.14,15.14a50,50,0,0,0,0,70.72L85.86,15.14A50,50,0,0,0,15.14,15.14Z",
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M85.86,85.86a50,50,0,0,0,0-70.72L15.14,85.86A50,50,0,0,0,85.86,85.86Z",
|
||||
"fill": {},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {},
|
||||
"viewBox": "0 0 101 101"
|
||||
},
|
||||
"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\nif ({view.params.ASdata} \u003d \"VFD\",\r\n\t(if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/FLT_Disconnect\") \u0026\u0026 \r\n\t\ttag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/FLT_Motor\"),\r\n\t \"Faulted/Disconnect\",\r\n\t if(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/FLT_Motor\"),\r\n\t \t\"Faulted/OK\",\r\n\t if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/FLT_Disconnect\"),\r\n\t \t\"Disconnect\",\r\n\t \"OK\")))),\r\n\r\n\t\"nor response\")"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"direction": "column",
|
||||
"justify": "center",
|
||||
"style": {
|
||||
"cursor": "pointer",
|
||||
"transform": "translate3d(0,0,0)"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
@ -1,10 +1,12 @@
|
||||
{
|
||||
"custom": {
|
||||
"color": "value",
|
||||
"cameraName": "value",
|
||||
"color": "#C2C2C2",
|
||||
"priority": "No Active Alarms",
|
||||
"state": "Closed"
|
||||
},
|
||||
"params": {
|
||||
"ipaddress": "192.168.25.24:8000",
|
||||
"tagProps": [
|
||||
"value",
|
||||
"value",
|
||||
@ -19,6 +21,21 @@
|
||||
]
|
||||
},
|
||||
"propConfig": {
|
||||
"custom.cameraName": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{view.params.tagProps[0]}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.split(\"/\")[-1]",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
},
|
||||
"persistent": true
|
||||
},
|
||||
"custom.color": {
|
||||
"binding": {
|
||||
"config": {
|
||||
@ -414,6 +431,10 @@
|
||||
},
|
||||
"persistent": true
|
||||
},
|
||||
"params.ipaddress": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.tagProps": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
@ -522,10 +543,22 @@
|
||||
"dom": {
|
||||
"onClick": {
|
||||
"config": {
|
||||
"script": "\t#create tags lists for the device\n\tprops \u003d self.view.params.tagProps\n\ttags_table_dataset \u003d autStand.devices.getAllTags(self, props[0])\n\tsystem.perspective.openDock(\u0027Docked-East-Device\u0027,params\u003d{\u0027tagProps\u0027:props, \"tags\":tags_table_dataset})"
|
||||
"draggable": true,
|
||||
"id": "kxYYzZ2O",
|
||||
"modal": false,
|
||||
"overlayDismiss": false,
|
||||
"resizable": true,
|
||||
"showCloseIcon": true,
|
||||
"title": "{view.custom.cameraName}",
|
||||
"type": "open",
|
||||
"viewParams": {
|
||||
"ipaddress": "{view.params.ipaddress}"
|
||||
},
|
||||
"viewPath": "autStand/PopUp-Views/Camera",
|
||||
"viewportBound": false
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
"scope": "C",
|
||||
"type": "popup"
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -533,8 +566,7 @@
|
||||
"name": "root",
|
||||
"tooltip": {
|
||||
"enabled": true,
|
||||
"location": "top-left",
|
||||
"style": {}
|
||||
"location": "top-left"
|
||||
}
|
||||
},
|
||||
"propConfig": {
|
||||
@ -0,0 +1,226 @@
|
||||
{
|
||||
"custom": {
|
||||
"Color": 6
|
||||
},
|
||||
"params": {
|
||||
"Color": 6,
|
||||
"Vis_border": true,
|
||||
"tagPath": "NCL1_1A"
|
||||
},
|
||||
"propConfig": {
|
||||
"params.Color": {
|
||||
"paramDirection": "inout"
|
||||
},
|
||||
"params.Vis_border": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.tagPath": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 18,
|
||||
"width": 41
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Conveyor_part1"
|
||||
},
|
||||
"position": {
|
||||
"basis": "18px"
|
||||
},
|
||||
"propConfig": {
|
||||
"props.elements[0].elements[0].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.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.elements[0].elements[2].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"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"elements": [
|
||||
{
|
||||
"elements": [
|
||||
{
|
||||
"d": "M2.85,21.74A84.41,84.41,0,0,1,0,0H48a36.24,36.24,0,0,0,1.22,9.32Z",
|
||||
"fill": {
|
||||
"paint": "#808080"
|
||||
},
|
||||
"name": "path",
|
||||
"style": {},
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M3.82,21.48A83.28,83.28,0,0,1,1,0H47a36.89,36.89,0,0,0,1.26,9.58Z",
|
||||
"fill": {
|
||||
"paint": "#DCDCDC"
|
||||
},
|
||||
"name": "path",
|
||||
"style": {},
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M44,0H4A79.9,79.9,0,0,0,6.72,20.71L45.36,10.35A40.13,40.13,0,0,1,44,0Z",
|
||||
"fill": {},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"viewBox": "0 0 49.22 21.74"
|
||||
},
|
||||
"type": "ia.shapes.svg"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"props": {
|
||||
"alignContent": "center",
|
||||
"direction": "column",
|
||||
"justify": "center",
|
||||
"style": {
|
||||
"overflow": "visible"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 58 KiB |
@ -76,11 +76,12 @@ def deviceType(self, path, props):
|
||||
|
||||
|
||||
def handleTagHighlight(view, currentValue):
|
||||
tag_priority = str(currentValue.value
or "")
|
||||
tagAndPriority = str(currentValue.value
or "")
|
||||
container = view.rootContainer.getChildren()[0]
|
||||
|
||||
# --- CASE 1: Remove all highlights by applying CLEAR class ---
|
||||
if tag_priority.upper() == "CLEAR":
|
||||
for child in view.rootContainer.getChildren()[0].getChildren():
|
||||
if tagAndPriority.upper() == "CLEAR":
|
||||
for child in container.getChildren():
|
||||
try:
|
||||
currentClasses = child.props.style['classes'].split(" ")
|
||||
filtered = [c for c in currentClasses if not c.startswith("Highlight/")]
|
||||
@ -91,17 +92,26 @@ def handleTagHighlight(view, currentValue):
|
||||
pass
|
||||
return False
|
||||
|
||||
if "||" not in tag_priority:
|
||||
|
||||
|
||||
if "||" not in tagAndPriority:
|
||||
return
|
||||
|
||||
parts = tag_priority.split("||")
|
||||
parts = tagAndPriority.split("||")
|
||||
|
||||
tag = parts[0]
|
||||
|
||||
splitedTag = tag.split("/")
|
||||
deviceName = splitedTag[-1]
|
||||
|
||||
components = view.rootContainer.getChildren()[0].getChildren()
|
||||
# --- CASE 2: Open camera popup
|
||||
if "Camera" in deviceName:
|
||||
cameraView = container.getChild(deviceName)
|
||||
ipAddress = cameraView.props.get("params", {}).get("ipaddress", "")
|
||||
system.perspective.openPopup("kxYYzZ2O", "autStand/PopUp-Views/Camera", params = {"ipaddress": ipAddress}, title = deviceName)
|
||||
return
|
||||
|
||||
components = container.getChildren()
|
||||
|
||||
priority = parts[1]
|
||||
|
||||
@ -109,6 +119,7 @@ def handleTagHighlight(view, currentValue):
|
||||
|
||||
# clear all highlights and apply new one when found
|
||||
for child in components:
|
||||
|
||||
params = child.props.get("params", {})
|
||||
tagProps = params.get("tagProps", {})
|
||||
tagsList = list(tagProps)
|
||||
@ -116,6 +127,7 @@ def handleTagHighlight(view, currentValue):
|
||||
if len(tagsList) == 0:
|
||||
continue
|
||||
|
||||
|
||||
# child.props.style.classes = ""
|
||||
currentClasses = child.props.style.get('classes', '').split(" ")
|
||||
|
||||
@ -0,0 +1,261 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {
|
||||
"ASdata": "value",
|
||||
"Browser": "value",
|
||||
"Color": 1,
|
||||
"DeviceType": "value",
|
||||
"FolderPath": "value",
|
||||
"Font-size": 14,
|
||||
"Text": "EIP",
|
||||
"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.Font-size": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Text": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Vendor": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Visibility": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.tagPath": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 30,
|
||||
"width": 60
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "EIP"
|
||||
},
|
||||
"position": {
|
||||
"basis": "100%"
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{session.custom.show.EIPs} || {view.params.Visibility}"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.style.backgroundColor": {
|
||||
"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"
|
||||
}
|
||||
],
|
||||
"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.fontSize": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.Font-size"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.text": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.Text"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"borderStyle": "solid",
|
||||
"borderWidth": 2,
|
||||
"color": "#000000",
|
||||
"cursor": "pointer",
|
||||
"fontFamily": "Arial",
|
||||
"fontWeight": "bold",
|
||||
"textAlign": "center"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
}
|
||||
],
|
||||
"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\n2 ,\"Faulted\",\r\n10 ,\"OK\",\r\n\"not response\")"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"direction": "column",
|
||||
"justify": "center",
|
||||
"style": {
|
||||
"classes": "table/highlight"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 307 B |
@ -0,0 +1,323 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {
|
||||
"Control": {
|
||||
"StartLT": {
|
||||
"StartLT1": false,
|
||||
"StartLT10": false,
|
||||
"StartLT2": false,
|
||||
"StartLT3": false,
|
||||
"StartLT4": false,
|
||||
"StartLT5": false,
|
||||
"StartLT6": false,
|
||||
"StartLT7": false,
|
||||
"StartLT8": false,
|
||||
"StartLT9": false
|
||||
},
|
||||
"StartPB": {
|
||||
"Start1": true,
|
||||
"Start10": true,
|
||||
"Start2": true,
|
||||
"Start3": true,
|
||||
"Start4": true,
|
||||
"Start5": true,
|
||||
"Start6": true,
|
||||
"Start7": true,
|
||||
"Start8": true,
|
||||
"Start9": true
|
||||
},
|
||||
"StopLT": {
|
||||
"StopLT1": false,
|
||||
"StopLT10": false,
|
||||
"StopLT2": false,
|
||||
"StopLT3": false,
|
||||
"StopLT4": false,
|
||||
"StopLT5": false,
|
||||
"StopLT6": false,
|
||||
"StopLT7": false,
|
||||
"StopLT8": false,
|
||||
"StopLT9": false
|
||||
},
|
||||
"StopPB": {
|
||||
"Stop1": false,
|
||||
"Stop10": false,
|
||||
"Stop2": false,
|
||||
"Stop3": false,
|
||||
"Stop4": false,
|
||||
"Stop5": false,
|
||||
"Stop6": false,
|
||||
"Stop7": false,
|
||||
"Stop8": false,
|
||||
"Stop9": false
|
||||
}
|
||||
},
|
||||
"Coordinate": {
|
||||
"Scale": 2,
|
||||
"x": "",
|
||||
"y": ""
|
||||
},
|
||||
"fontSize": "14px",
|
||||
"label": ""
|
||||
},
|
||||
"propConfig": {
|
||||
"params.Control": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Coordinate": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.fontSize": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.label": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 60,
|
||||
"width": 370
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"events": {
|
||||
"dom": {
|
||||
"onClick": {
|
||||
"config": {
|
||||
"script": "\tself.session.custom.transition \u003d 1\n\tself.session.custom.zoom \u003d self.view.params.Coordinate.Scale\n\tself.session.custom.zoomto \u003d 1\n\tself.session.custom.scale_x \u003d self.view.params.Coordinate.x\n\tself.session.custom.scale_y \u003d self.view.params.Coordinate.y"
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
}
|
||||
}
|
||||
},
|
||||
"meta": {
|
||||
"name": "Border",
|
||||
"tooltip": {
|
||||
"enabled": true,
|
||||
"style": {
|
||||
"backgroundColor": "#2B2B2BBF",
|
||||
"color": "#FFFFFF",
|
||||
"fontSize": 14,
|
||||
"textAlign": "left",
|
||||
"white-space": "pre"
|
||||
},
|
||||
"text": "To zoom in to the \nchosen area, you \nneed to click on the \nname of the area."
|
||||
}
|
||||
},
|
||||
"position": {
|
||||
"height": 1,
|
||||
"width": 1
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"backgroundColor": "#D5D5D5",
|
||||
"borderColor": "#808080",
|
||||
"borderStyle": "solid",
|
||||
"borderWidth": 4
|
||||
}
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Label",
|
||||
"tooltip": {
|
||||
"style": {
|
||||
"backgroundColor": "#2B2B2BBF",
|
||||
"color": "#FFFFFF",
|
||||
"fontSize": 14,
|
||||
"textAlign": "left",
|
||||
"white-space": "pre"
|
||||
}
|
||||
}
|
||||
},
|
||||
"position": {
|
||||
"height": 0.6665,
|
||||
"width": 0.6972,
|
||||
"x": 0.0293,
|
||||
"y": 0.1667
|
||||
},
|
||||
"propConfig": {
|
||||
"props.style.fontSize": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.fontSize"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.text": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "// Check if label is Good and isn\u0027t just whitespace characters:\r\nif(isGood({view.params.label}) \u0026\u0026 len(trim({view.params.label})) \u003e 0,\r\n\t// Label is readable:\r\n\t{view.params.label},\r\n\t// Unknown / not configured label:\r\n\t\"Unknown\"\r\n)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"backgroundColor": "#AAAAAA",
|
||||
"borderColor": "#808080",
|
||||
"borderStyle": "solid",
|
||||
"borderWidth": 4,
|
||||
"fontFamily": "Arial",
|
||||
"fontWeight": "bold",
|
||||
"pointer-events": "none",
|
||||
"textAlign": "center",
|
||||
"textTransform": "uppercase",
|
||||
"user-select": "none",
|
||||
"will-change": "transform"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
},
|
||||
{
|
||||
"events": {
|
||||
"component": {
|
||||
"onActionPerformed": {
|
||||
"config": {
|
||||
"script": "\tself.view.params.Control.StartPB.Start1 \u003d 1\n\tself.view.params.Control.StartPB.Start2 \u003d 1\n\tself.view.params.Control.StartPB.Start3 \u003d 1\n\tself.view.params.Control.StartPB.Start4 \u003d 1\n\tself.view.params.Control.StartPB.Start5 \u003d 1\n\tself.view.params.Control.StartPB.Start6 \u003d 1\n\tself.view.params.Control.StartPB.Start7 \u003d 1\n\tself.view.params.Control.StartPB.Start8 \u003d 1\n\tself.view.params.Control.StartPB.Start9 \u003d 1\n\tself.view.params.Control.StartPB.Start10 \u003d 1"
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
}
|
||||
}
|
||||
},
|
||||
"meta": {
|
||||
"name": "StartPB",
|
||||
"tooltip": {
|
||||
"enabled": true,
|
||||
"style": {
|
||||
"backgroundColor": "#2B2B2BBF",
|
||||
"color": "#FFFFFF",
|
||||
"fontSize": 12,
|
||||
"textAlign": "left",
|
||||
"white-space": "pre"
|
||||
},
|
||||
"text": "START SYSTEM"
|
||||
}
|
||||
},
|
||||
"position": {
|
||||
"height": 0.6667,
|
||||
"width": 0.1081,
|
||||
"x": 0.7403,
|
||||
"y": 0.1667
|
||||
},
|
||||
"propConfig": {
|
||||
"props.image.source": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if ({view.params.Control.StartLT.StartLT1} || {view.params.Control.StartLT.StartLT2} || {view.params.Control.StartLT.StartLT3} || {view.params.Control.StartLT.StartLT4} || {view.params.Control.StartLT.StartLT5}\r\n || {view.params.Control.StartLT.StartLT6} || {view.params.Control.StartLT.StartLT7} || {view.params.Control.StartLT.StartLT8} || {view.params.Control.StartLT.StartLT9} || {view.params.Control.StartLT.StartLT10},\r\n\"/system/images/MyIcon/Start-green64x64.png\",\r\n\"/system/images/MyIcon/Start-grey64x64.png\")"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"image": {
|
||||
"height": "100%",
|
||||
"width": "100%"
|
||||
},
|
||||
"style": {
|
||||
"backgroundColor": "#00000000",
|
||||
"borderColor": "#00000000"
|
||||
},
|
||||
"text": ""
|
||||
},
|
||||
"type": "ia.input.button"
|
||||
},
|
||||
{
|
||||
"events": {
|
||||
"component": {
|
||||
"onActionPerformed": {
|
||||
"config": {
|
||||
"script": "\tself.view.params.Control.StopPB.Stop1 \u003d 1\n\tself.view.params.Control.StopPB.Stop2 \u003d 1\n\tself.view.params.Control.StopPB.Stop3 \u003d 1\n\tself.view.params.Control.StopPB.Stop4 \u003d 1\n\tself.view.params.Control.StopPB.Stop5 \u003d 1\n\tself.view.params.Control.StopPB.Stop6 \u003d 1\n\tself.view.params.Control.StopPB.Stop7 \u003d 1\n\tself.view.params.Control.StopPB.Stop8 \u003d 1\n\tself.view.params.Control.StopPB.Stop9 \u003d 1\n\tself.view.params.Control.StopPB.Stop10 \u003d 1"
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
}
|
||||
}
|
||||
},
|
||||
"meta": {
|
||||
"name": "StopPB",
|
||||
"tooltip": {
|
||||
"enabled": true,
|
||||
"style": {
|
||||
"backgroundColor": "#2B2B2BBF",
|
||||
"color": "#FFFFFF",
|
||||
"fontSize": 12,
|
||||
"textAlign": "left",
|
||||
"white-space": "pre"
|
||||
},
|
||||
"text": "STOP SYSTEM"
|
||||
}
|
||||
},
|
||||
"position": {
|
||||
"height": 0.6667,
|
||||
"width": 0.1081,
|
||||
"x": 0.8619,
|
||||
"y": 0.1667
|
||||
},
|
||||
"propConfig": {
|
||||
"props.image.source": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if ({view.params.Control.StopLT.StopLT1} || {view.params.Control.StopLT.StopLT2} || {view.params.Control.StopLT.StopLT3} || {view.params.Control.StopLT.StopLT4} || {view.params.Control.StopLT.StopLT5}\r\n || {view.params.Control.StopLT.StopLT6} || {view.params.Control.StopLT.StopLT7} || {view.params.Control.StopLT.StopLT8} || {view.params.Control.StopLT.StopLT9} || {view.params.Control.StopLT.StopLT10},\r\n\"/system/images/MyIcon/Stop-red64x64.png\",\r\n\"/system/images/MyIcon/Stop-grey64x64.png\")"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"image": {
|
||||
"height": "100%",
|
||||
"width": "100%"
|
||||
},
|
||||
"style": {
|
||||
"backgroundColor": "#00000000",
|
||||
"borderColor": "#00000000"
|
||||
},
|
||||
"text": ""
|
||||
},
|
||||
"type": "ia.input.button"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root",
|
||||
"tooltip": {
|
||||
"style": {
|
||||
"backgroundColor": "#2B2B2BBF",
|
||||
"color": "#FFFFFF",
|
||||
"fontSize": 14,
|
||||
"textAlign": "left",
|
||||
"white-space": "pre"
|
||||
}
|
||||
}
|
||||
},
|
||||
"propConfig": {
|
||||
"props.style.transform": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if ({session.custom.RotateText} \u003d 180,\r\n\"translate3d(0,0,0) rotate(180deg)\",\r\n\"translate3d(0,0,0) rotate(0deg)\")"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"mode": "percent",
|
||||
"style": {
|
||||
"cursor": "pointer"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.coord"
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 158 KiB |
@ -0,0 +1,12 @@
|
||||
SELECT Status_Ethernet.status_ethernet_ndx,
|
||||
Status_Ethernet.DeviceType,
|
||||
Status_Ethernet.Device,
|
||||
Status_Ethernet.IPAddress,
|
||||
Status_Ethernet.Status1,
|
||||
Status_Ethernet.CurrentAmps,
|
||||
Status_Ethernet.SpeedFPM,
|
||||
Status_Ethernet.StatusCode,
|
||||
Status_Ethernet.row_id,
|
||||
Status_Ethernet.LastStatusCode,
|
||||
IF (Status_Ethernet.Status1 = "false","OK", "Fault") as Status
|
||||
FROM Status_Ethernet
|
||||
|
After Width: | Height: | Size: 402 B |
@ -0,0 +1,333 @@
|
||||
{
|
||||
"custom": {
|
||||
"Color": 6
|
||||
},
|
||||
"params": {
|
||||
"ASdata": "value",
|
||||
"Browser": "Amazon",
|
||||
"Color": "",
|
||||
"DeviceType": "value",
|
||||
"FolderPath": "value",
|
||||
"Vendor": "value",
|
||||
"Vis_border": true,
|
||||
"tagPath": "tagPath"
|
||||
},
|
||||
"propConfig": {
|
||||
"params.ASdata": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Browser": {
|
||||
"paramDirection": "output",
|
||||
"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": 75,
|
||||
"width": 200
|
||||
},
|
||||
"loading": {
|
||||
"mode": "blocking"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"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": "Conveyor horizontal_0"
|
||||
},
|
||||
"position": {
|
||||
"basis": "100%"
|
||||
},
|
||||
"propConfig": {
|
||||
"props.elements[0].elements[0].elements[0].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.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.elements[0].elements[1].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": "#FF8C00"
|
||||
},
|
||||
{
|
||||
"input": 4,
|
||||
"output": "#0000FF"
|
||||
},
|
||||
{
|
||||
"input": 5,
|
||||
"output": "#FF0000"
|
||||
},
|
||||
{
|
||||
"input": 6,
|
||||
"output": "#FF0000"
|
||||
},
|
||||
{
|
||||
"input": 7,
|
||||
"output": "#00D900"
|
||||
},
|
||||
{
|
||||
"input": 8,
|
||||
"output": "#FFE8CC"
|
||||
},
|
||||
{
|
||||
"input": 9,
|
||||
"output": "#D3D3D3"
|
||||
},
|
||||
{
|
||||
"input": 10,
|
||||
"output": "#00D900"
|
||||
},
|
||||
{
|
||||
"input": 11,
|
||||
"output": "#AC5F00"
|
||||
},
|
||||
{
|
||||
"input": 12,
|
||||
"output": "#AC5F00"
|
||||
},
|
||||
{
|
||||
"input": 13,
|
||||
"output": "#CCCCFF"
|
||||
},
|
||||
{
|
||||
"input": 14,
|
||||
"output": "#87CEFA"
|
||||
},
|
||||
{
|
||||
"input": 15,
|
||||
"output": "#FFFF47"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"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": {
|
||||
"paint": "#DCDCDC"
|
||||
},
|
||||
"height": "47",
|
||||
"name": "rect",
|
||||
"style": {},
|
||||
"type": "rect",
|
||||
"width": "107",
|
||||
"x": "0.5",
|
||||
"y": "0.5"
|
||||
},
|
||||
{
|
||||
"d": "M107,1V47H1V1H107m1-1H0V48H108V0Z",
|
||||
"fill": {
|
||||
"paint": "#808080"
|
||||
},
|
||||
"name": "path",
|
||||
"style": {},
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
},
|
||||
{
|
||||
"fill": {},
|
||||
"height": "108",
|
||||
"name": "rect",
|
||||
"transform": "translate(78 -30) rotate(90)",
|
||||
"type": "rect",
|
||||
"width": "40",
|
||||
"x": "34",
|
||||
"y": "-30"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {
|
||||
"cursor": "pointer"
|
||||
},
|
||||
"viewBox": "0 0 108 48"
|
||||
},
|
||||
"type": "ia.shapes.svg"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root",
|
||||
"tooltip": {
|
||||
"style": {
|
||||
"backgroundColor": "#2B2B2BBF",
|
||||
"color": "#FFFFFF",
|
||||
"fontSize": 12,
|
||||
"textAlign": "left",
|
||||
"white-space": "pre"
|
||||
}
|
||||
}
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.tooltip.enabled": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "If ({view.params.ASdata} \u003d \"Conv\", true, false) "
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"meta.tooltip.text": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "replace({view.params.tagPath}, \"_\", \"-\")+\r\n\"\\n Status: \"+ \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_Jam.DisplayPath\"),\r\n99 ,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_Drive_Fault.DisplayPath\"), \r\n4 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Full100.DisplayPath\"), \r\n99 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Full75.DisplayPath\"),\r\n99 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Full50.DisplayPath\"),\r\n99 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Full25.DisplayPath\"),\r\n7 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Running.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_Manual_Stopped.DisplayPath\"), \r\n12 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Manual_Running.DisplayPath\"), \r\n9 ,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_AEM.DisplayPath\"),\r\n6 ,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"
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 105 B |
|
After Width: | Height: | Size: 1.8 KiB |
@ -0,0 +1,289 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {
|
||||
"ASdata": "value",
|
||||
"Browser": "value",
|
||||
"Color": null,
|
||||
"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": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"Browser": "{view.params.Browser}",
|
||||
"FolderPath": "{view.params.FolderPath}",
|
||||
"tagPath": "{view.params.tagPath}"
|
||||
},
|
||||
"tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/StatusVFD"
|
||||
},
|
||||
"type": "tag"
|
||||
},
|
||||
"paramDirection": "output",
|
||||
"persistent": true
|
||||
},
|
||||
"params.DeviceType": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.FolderPath": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Vendor": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Visibility": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if ({view.params.Color} \u003d 10, false, true)"
|
||||
},
|
||||
"type": "expr"
|
||||
},
|
||||
"paramDirection": "output",
|
||||
"persistent": true
|
||||
},
|
||||
"params.tagPath": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 25,
|
||||
"width": 25
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "VFD"
|
||||
},
|
||||
"position": {
|
||||
"basis": "100%"
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{session.custom.show.VFDs} || {view.params.Visibility}"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.elements[0].elements[1].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"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"type": "map"
|
||||
},
|
||||
{
|
||||
"expression": "if({view.params.Color} \u003d 3, // TODO: Bind fire alarm tags here\r\n if(getSecond(now()) % 2 \u003d 1,\r\n \u0027#FF0000\u0027,\r\n \u0027#00D900\u0027\r\n ),\r\nif({view.params.Color} \u003d 2, // TODO: Bind fire alarm tags here\r\n if(getSecond(now()) % 2 \u003d 1,\r\n \u0027#FF0000\u0027,\r\n \u0027#808080\u0027\r\n ),\r\n\t{value}\r\n))",
|
||||
"type": "expression"
|
||||
}
|
||||
],
|
||||
"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.pointerEvents": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if({session.custom.show.VFDs} || {view.params.Visibility},\"auto\",\"none\")"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.style.transform": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "\"rotate(\" + {session.custom.RotateText} + \"deg)\""
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"elements": [
|
||||
{
|
||||
"elements": [
|
||||
{
|
||||
"d": "M15.14,15.14a50,50,0,0,0,0,70.72L85.86,15.14A50,50,0,0,0,15.14,15.14Z",
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M85.86,85.86a50,50,0,0,0,0-70.72L15.14,85.86A50,50,0,0,0,85.86,85.86Z",
|
||||
"fill": {},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {},
|
||||
"viewBox": "0 0 101 101"
|
||||
},
|
||||
"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\"\\n Status: \"+ \r\ncase (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/StatusVFD\"),\r\n 0 ,\"Disconnect\",\r\n 2 ,\"Faulted/Disconnect\", \r\n 3 ,\"Faulted/OK\",\r\n 10 ,\"OK\",\r\n \"not response\")"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"alignItems": "center",
|
||||
"direction": "column",
|
||||
"justify": "center",
|
||||
"style": {
|
||||
"cursor": "pointer",
|
||||
"transform": "translate3d(0,0,0)"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,309 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {
|
||||
"ASdata": "value",
|
||||
"Browser": "value",
|
||||
"Color": 0,
|
||||
"ColorBorder": 14,
|
||||
"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.ColorBorder": {
|
||||
"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": "Gaylord"
|
||||
},
|
||||
"position": {
|
||||
"basis": "100%"
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": " {view.params.Visibility}"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.style.backgroundColor": {
|
||||
"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"
|
||||
}
|
||||
],
|
||||
"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.color": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.ColorBorder"
|
||||
},
|
||||
"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": "#00AC00"
|
||||
},
|
||||
{
|
||||
"input": 11,
|
||||
"output": "#87CEFA"
|
||||
},
|
||||
{
|
||||
"input": 12,
|
||||
"output": "#CCFFCC"
|
||||
},
|
||||
{
|
||||
"input": 13,
|
||||
"output": "#D3D3D3"
|
||||
},
|
||||
{
|
||||
"input": 14,
|
||||
"output": "#AC5F00"
|
||||
},
|
||||
{
|
||||
"input": 100,
|
||||
"output": "#FFFFFF"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"borderStyle": "solid",
|
||||
"borderWidth": 3,
|
||||
"fontFamily": "Arial",
|
||||
"fontWeight": "bold",
|
||||
"textAlign": "center"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
}
|
||||
],
|
||||
"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"
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 278 B |
|
After Width: | Height: | Size: 42 KiB |
|
After Width: | Height: | Size: 82 B |
|
After Width: | Height: | Size: 286 B |
@ -0,0 +1,98 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {
|
||||
"Font-size": 10,
|
||||
"Text": "value"
|
||||
},
|
||||
"propConfig": {
|
||||
"params.Font-size": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Text": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 12,
|
||||
"width": 70
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Text"
|
||||
},
|
||||
"position": {
|
||||
"height": 1,
|
||||
"width": 1
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{session.custom.show.ConveyorLabels}"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.style.fontSize": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.Font-size"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.style.transform": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if ({session.custom.RotateText} \u003d 180,\r\n\"rotate(180deg)\",\r\n\"rotate(0deg)\")"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.text": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.Text"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"backgroundColor": "#D3D3D300",
|
||||
"classes": "table/highlight",
|
||||
"color": "#000000",
|
||||
"fontFamily": "Arial",
|
||||
"fontWeight": "bold",
|
||||
"overflow": "visible",
|
||||
"textAlign": "center",
|
||||
"will-change": "transform"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"position": {
|
||||
"x": -1.16,
|
||||
"y": 0.28
|
||||
},
|
||||
"props": {
|
||||
"mode": "percent",
|
||||
"style": {
|
||||
"overflow": "visible",
|
||||
"transform": "translate3d(0,0,0)"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.coord"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,291 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {
|
||||
"ASdata": "VFD",
|
||||
"Browser": "Amazon",
|
||||
"Color": 10,
|
||||
"DeviceType": "VFD",
|
||||
"FolderPath": "Siemens/INTL_CPLA_STS/",
|
||||
"TName": "value",
|
||||
"Vendor": "Siemens",
|
||||
"Visibility": true,
|
||||
"tagPath": "INTL_CPLA_STS_50"
|
||||
},
|
||||
"propConfig": {
|
||||
"params.ASdata": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Browser": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.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": "if (getBit({value},19), 2, 10)",
|
||||
"type": "expression"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
},
|
||||
"paramDirection": "output",
|
||||
"persistent": true
|
||||
},
|
||||
"params.DeviceType": {
|
||||
"paramDirection": "output",
|
||||
"persistent": true
|
||||
},
|
||||
"params.FolderPath": {
|
||||
"paramDirection": "output",
|
||||
"persistent": true
|
||||
},
|
||||
"params.TName": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Vendor": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Visibility": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{session.custom.show.VFDs} || {view.params.Color} \u003d 2"
|
||||
},
|
||||
"type": "expr"
|
||||
},
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.tagPath": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 25,
|
||||
"width": 25
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "VFD"
|
||||
},
|
||||
"position": {
|
||||
"basis": "100%"
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.Visibility"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.elements[0].elements[1].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"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"type": "map"
|
||||
},
|
||||
{
|
||||
"expression": "if({view.params.Color} \u003d 1, // TODO: Bind fire alarm tags here\r\n if(getSecond(now()) % 2 \u003d 1,\r\n \u0027#FF0000\u0027,\r\n \u0027#00D900\u0027\r\n ),\r\nif({view.params.Color} \u003d 2, // TODO: Bind fire alarm tags here\r\n if(getSecond(now()) % 2 \u003d 1,\r\n \u0027#FF0000\u0027,\r\n \u0027#808080\u0027\r\n ),\r\n\t{value}\r\n))",
|
||||
"type": "expression"
|
||||
}
|
||||
],
|
||||
"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": [
|
||||
{
|
||||
"d": "M15.14,15.14a50,50,0,0,0,0,70.72L85.86,15.14A50,50,0,0,0,15.14,15.14Z",
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M85.86,85.86a50,50,0,0,0,0-70.72L15.14,85.86A50,50,0,0,0,85.86,85.86Z",
|
||||
"fill": {},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {},
|
||||
"viewBox": "0 0 101 101"
|
||||
},
|
||||
"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\"\\n Status: \"+ \r\nif ({view.params.DeviceType} \u003d \"Conv\",\r\n\tif (!getBit(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/INTL_CPLA_STS\"),5), \"Invalid, Unavailable, Bad Quality\",\r\n\t\tif (!getBit(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/INTL_CPLA_STS\"),3), \"Unit Faulted\",\r\n\t\t\tif (!getBit(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/INTL_CPLA_STS\"),4), \"Jammed\",\r\n\t\t\t\tif (getBit(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/INTL_CPLA_STS\"),2), \"Enabled, not running\",\r\n\t\t\t\t\tif (!getBit(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/INTL_CPLA_STS\"),1), \"OFF / Inactive\",\r\n\t\t\t\t\t\tif (getBit(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/INTL_CPLA_STS\"),1), \"Running or ON\",\r\n\t\t\t\t\t\t\tif (getBit(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/INTL_CPLA_STS\"),0), \"Manual/Maintenance Mode\",\r\n\t\"Gravity / not motorized MHE\"\r\n\t))))))),\r\nif ({view.params.DeviceType} \u003d \"PE\",\r\n\tif (!getBit(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/INTL_CPLA_STS\"),4), \"Jammed\",\r\n\t\t\"Running or ON\"),\r\nif ({view.params.DeviceType} \u003d \"VFD\",\r\n\tif (getBit(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/INTL_CPLA_STS\"),19), \"Fault\", \r\n\t\t\"OK\"),\r\nif ({view.params.DeviceType} \u003d \"EStopPB\",\r\n\tif (getBit(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/INTL_CPLA_STS\"),12), \"Idle\", \r\n\t\t\"E-Stop Actuated\"),\r\n\"not response\"))))"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"direction": "column",
|
||||
"justify": "center",
|
||||
"style": {
|
||||
"cursor": "pointer",
|
||||
"transform": "translate3d(0,0,0)"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,284 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {
|
||||
"Browser": "Amazon",
|
||||
"Color": 0,
|
||||
"DeviceType": "value",
|
||||
"FolderPath": "value",
|
||||
"Vendor": "value",
|
||||
"Visibility": true,
|
||||
"tagPath": "value"
|
||||
},
|
||||
"propConfig": {
|
||||
"params.Browser": {
|
||||
"paramDirection": "output",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Color": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.DeviceType": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.FolderPath": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Vendor": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Visibility": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.tagPath": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 20,
|
||||
"width": 20
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Photoeye"
|
||||
},
|
||||
"position": {
|
||||
"basis": "100%"
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{session.custom.show.PhotoEyes} || {view.params.Visibility}"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"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": "#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": {
|
||||
"elements": [
|
||||
{
|
||||
"elements": [
|
||||
{
|
||||
"elements": [
|
||||
{
|
||||
"fill": {},
|
||||
"name": "svg_2",
|
||||
"points": "29.94586753845215,14.741155683994293 0.4958670139312744,28.831155836582184 0.4958670139312744,0.6611559391021729 29.94586753845215,14.741155683994293 ",
|
||||
"stroke": {
|
||||
"miterlimit": "10",
|
||||
"paint": "#060000"
|
||||
},
|
||||
"type": "polygon"
|
||||
}
|
||||
],
|
||||
"name": "svg_1",
|
||||
"type": "group"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {},
|
||||
"viewBox": "0 0 30 30"
|
||||
},
|
||||
"type": "ia.shapes.svg"
|
||||
}
|
||||
],
|
||||
"events": {
|
||||
"dom": {
|
||||
"onClick": {
|
||||
"config": {
|
||||
"draggable": false,
|
||||
"id": "information",
|
||||
"modal": false,
|
||||
"overlayDismiss": false,
|
||||
"resizable": false,
|
||||
"showCloseIcon": false,
|
||||
"type": "open",
|
||||
"viewParams": {
|
||||
"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"
|
||||
},
|
||||
"onMouseEnter": {
|
||||
"config": {
|
||||
"draggable": false,
|
||||
"id": "tooltip",
|
||||
"modal": false,
|
||||
"overlayDismiss": false,
|
||||
"position": {
|
||||
"relativeLocation": "center"
|
||||
},
|
||||
"positionType": "relative",
|
||||
"resizable": false,
|
||||
"showCloseIcon": false,
|
||||
"type": "open",
|
||||
"viewParams": {
|
||||
"Browser": "{view.params.Browser}",
|
||||
"DeviceType": "{view.params.DeviceType}",
|
||||
"FolderPath": "{view.params.FolderPath}",
|
||||
"Vendor": "{view.params.Vendor}",
|
||||
"tagPath": "{view.params.tagPath}"
|
||||
},
|
||||
"viewPath": "Windows/Graphics/tooltip",
|
||||
"viewportBound": false
|
||||
},
|
||||
"scope": "C",
|
||||
"type": "popup"
|
||||
},
|
||||
"onMouseLeave": {
|
||||
"config": {
|
||||
"draggable": false,
|
||||
"id": "tooltip",
|
||||
"modal": false,
|
||||
"overlayDismiss": false,
|
||||
"position": {
|
||||
"relativeLocation": "center"
|
||||
},
|
||||
"positionType": "relative",
|
||||
"resizable": false,
|
||||
"showCloseIcon": false,
|
||||
"type": "close",
|
||||
"viewParams": {
|
||||
"Browser": "{view.params.Browser}",
|
||||
"DeviceType": "{view.params.DeviceType}",
|
||||
"FolderPath": "{view.params.FolderPath}",
|
||||
"Vendor": "{view.params.Vendor}",
|
||||
"tagPath": "{view.params.tagPath}"
|
||||
},
|
||||
"viewPath": "Windows/Graphics/tooltip",
|
||||
"viewportBound": false
|
||||
},
|
||||
"scope": "C",
|
||||
"type": "popup"
|
||||
}
|
||||
}
|
||||
},
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"props": {
|
||||
"direction": "column",
|
||||
"justify": "center",
|
||||
"style": {
|
||||
"cursor": "pointer",
|
||||
"transform": "translate3d(0,0,0)"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 82 B |
@ -0,0 +1,16 @@
|
||||
SELECT alltable.t_stamp,
|
||||
'S03' AS SorterName,
|
||||
alltable.ParcelID,
|
||||
'S03aa' AS ScannerName,
|
||||
'0' AS IMGID,
|
||||
alltable.ScanLabel,
|
||||
alltable.ScanStatus,
|
||||
alltable.Length,
|
||||
alltable.Tray,
|
||||
alltable.AssignmentScanHist,
|
||||
alltable.DivertStatus,
|
||||
alltable.DEST_REQ,
|
||||
alltable.ACTUAL_DEST,
|
||||
alltable.SortCode
|
||||
FROM alltable
|
||||
WHERE alltable.t_stamp BETWEEN :starttime AND :endtime
|
||||
|
After Width: | Height: | Size: 366 B |
@ -0,0 +1,277 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {
|
||||
"ASdata": "value",
|
||||
"Browser": "value",
|
||||
"Color": null,
|
||||
"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": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"Browser": "{view.params.Browser}",
|
||||
"FolderPath": "{view.params.FolderPath}",
|
||||
"tagPath": "{view.params.tagPath}"
|
||||
},
|
||||
"tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Color"
|
||||
},
|
||||
"type": "tag"
|
||||
},
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.DeviceType": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.FolderPath": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Vendor": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Visibility": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if ({view.params.Color} \u003d 10, false, true)"
|
||||
},
|
||||
"type": "expr"
|
||||
},
|
||||
"paramDirection": "output",
|
||||
"persistent": true
|
||||
},
|
||||
"params.tagPath": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 25,
|
||||
"width": 25
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Encoder"
|
||||
},
|
||||
"position": {
|
||||
"basis": "100%"
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{session.custom.show.Encoders} || {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"
|
||||
}
|
||||
],
|
||||
"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": [
|
||||
{
|
||||
"cx": "42.11",
|
||||
"cy": "42.11",
|
||||
"fill": {},
|
||||
"name": "circle",
|
||||
"r": "41.61",
|
||||
"type": "circle"
|
||||
},
|
||||
{
|
||||
"name": "polygon",
|
||||
"points": "81.31 56.33 55.65 56.33 55.65 29.33 28.47 29.33 28.47 56.33 2.81 56.33 2.81 55.33 27.47 55.33 27.47 28.33 56.65 28.33 56.65 55.33 81.31 55.33 81.31 56.33",
|
||||
"type": "polygon"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {},
|
||||
"viewBox": "0 0 84.22 84.22"
|
||||
},
|
||||
"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\"\\n Status: \"+\r\ncase (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color\"),\r\n 1 ,\"Faulted\",\r\n 10 ,\"OK\",\r\n \"not response\")"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"direction": "column",
|
||||
"justify": "center",
|
||||
"style": {
|
||||
"cursor": "pointer"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,341 @@
|
||||
{
|
||||
"custom": {
|
||||
"Color": 6
|
||||
},
|
||||
"params": {
|
||||
"ASdata": "value",
|
||||
"Browser": "Amazon",
|
||||
"DeviceType": "value",
|
||||
"FolderPath": "Conveyor/",
|
||||
"Vendor": "AS",
|
||||
"Vis_border": true,
|
||||
"tagPath": "Conv_PS1_4"
|
||||
},
|
||||
"propConfig": {
|
||||
"params.ASdata": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Browser": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Color": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"bidirectional": true,
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"Browser": "{view.params.Browser}",
|
||||
"FolderPath": "{view.params.FolderPath}",
|
||||
"tagPath": "{view.params.tagPath}"
|
||||
},
|
||||
"tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Color"
|
||||
},
|
||||
"type": "tag"
|
||||
},
|
||||
"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": 50,
|
||||
"width": 50
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"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": "Horizontal_0"
|
||||
},
|
||||
"position": {
|
||||
"basis": "100%"
|
||||
},
|
||||
"propConfig": {
|
||||
"props.elements[0].elements[0].elements[0].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.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.elements[0].elements[1].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"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"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": {
|
||||
"paint": "#DCDCDC"
|
||||
},
|
||||
"height": "47",
|
||||
"name": "rect",
|
||||
"style": {},
|
||||
"type": "rect",
|
||||
"width": "107",
|
||||
"x": "0.5",
|
||||
"y": "0.5"
|
||||
},
|
||||
{
|
||||
"d": "M107,1V47H1V1H107m1-1H0V48H108V0Z",
|
||||
"fill": {
|
||||
"paint": "#808080"
|
||||
},
|
||||
"name": "path",
|
||||
"style": {},
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
},
|
||||
{
|
||||
"fill": {},
|
||||
"height": 108,
|
||||
"name": "rect",
|
||||
"transform": "translate(78 -30) rotate(90)",
|
||||
"type": "rect",
|
||||
"width": "40",
|
||||
"x": "34",
|
||||
"y": "-30"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {
|
||||
"cursor": "pointer"
|
||||
},
|
||||
"viewBox": "0 0 108 48"
|
||||
},
|
||||
"type": "ia.shapes.svg"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root",
|
||||
"tooltip": {
|
||||
"enabled": true,
|
||||
"markdown": {
|
||||
"escapeHtml": true,
|
||||
"skipHtml": false,
|
||||
"sourcePos": false
|
||||
},
|
||||
"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"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,402 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,21 @@
|
||||
Select
|
||||
SorterName,InductName,Total_count,singlecarrier_count,doublecarrier_count,Startstamp,Endtstamp,
|
||||
Total_count/Total_count as Total_perc,
|
||||
singlecarrier_count/Total_count as SingleCarrier_perc,
|
||||
doublecarrier_count/Total_count as DoubleCarrier_perc,
|
||||
Total_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as Total_rate,
|
||||
singlecarrier_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as SingleCarrier_rate,
|
||||
doublecarrier_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as DoubleCarrier_rate
|
||||
FROM
|
||||
(SELECT
|
||||
'S03' as SorterName,
|
||||
'Induct 1' as InductName,
|
||||
COUNT(*) AS Total_count,
|
||||
SUM(alltable.ParcelHistory_TupelLength = 1) AS singlecarrier_count,
|
||||
SUM(alltable.ParcelHistory_TupelLength = 2) AS doublecarrier_count,
|
||||
MIN(alltable.t_stamp) AS Startstamp,
|
||||
Max(alltable.t_stamp) AS Endtstamp
|
||||
|
||||
FROM alltable
|
||||
Where (alltable.t_stamp BETWEEN :starttime AND :endtime)
|
||||
Group BY 'Induct 1' ) basa
|
||||
@ -0,0 +1,86 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {
|
||||
"ipaddress": "value",
|
||||
"title": "value"
|
||||
},
|
||||
"propConfig": {
|
||||
"params.ipaddress": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.title": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 100,
|
||||
"width": 100
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"events": {
|
||||
"dom": {
|
||||
"onClick": {
|
||||
"config": {
|
||||
"draggable": true,
|
||||
"id": "{view.params.ipaddress}",
|
||||
"modal": false,
|
||||
"overlayDismiss": false,
|
||||
"resizable": true,
|
||||
"showCloseIcon": true,
|
||||
"title": "{view.params.title}",
|
||||
"type": "open",
|
||||
"viewParams": {
|
||||
"ipaddress": "{view.params.ipaddress}"
|
||||
},
|
||||
"viewPath": "Templates/Livefeed/Livefeed",
|
||||
"viewportBound": false
|
||||
},
|
||||
"scope": "C",
|
||||
"type": "popup"
|
||||
}
|
||||
}
|
||||
},
|
||||
"meta": {
|
||||
"name": "Icon"
|
||||
},
|
||||
"position": {
|
||||
"height": 1,
|
||||
"width": 1
|
||||
},
|
||||
"propConfig": {
|
||||
"props.style.transform": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if ({session.custom.RotateText} \u003d 180,\n\"rotate(180deg)\",\n\"rotate(0deg)\")"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"path": "material/camera_alt",
|
||||
"style": {
|
||||
"cursor": "pointer"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.icon"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"props": {
|
||||
"mode": "percent",
|
||||
"style": {
|
||||
"transform": "translate3d(0,0,0)"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.coord"
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 70 KiB |
@ -0,0 +1,274 @@
|
||||
{
|
||||
"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": "inout",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 30,
|
||||
"width": 60
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Control cabinet"
|
||||
},
|
||||
"position": {
|
||||
"basis": "100%"
|
||||
},
|
||||
"propConfig": {
|
||||
"props.elements[0].elements[1].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"
|
||||
}
|
||||
],
|
||||
"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": [
|
||||
{
|
||||
"elements": [
|
||||
{
|
||||
"name": "polygon",
|
||||
"points": "2.04 0.5 124.5 0.5 124.5 64.18 2.04 0.5",
|
||||
"type": "polygon"
|
||||
},
|
||||
{
|
||||
"d": "M124,1V63.35L4.09,1H124m1-1H0L125,65V0Z",
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"fill": {
|
||||
"paint": "#000000"
|
||||
},
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
},
|
||||
{
|
||||
"elements": [
|
||||
{
|
||||
"name": "polygon",
|
||||
"points": "0.5 64.5 0.5 0.82 122.95 64.5 0.5 64.5",
|
||||
"type": "polygon"
|
||||
},
|
||||
{
|
||||
"d": "M1,1.65,120.91,64H1V1.65M0,0V65H125L0,0Z",
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"fill": {},
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {},
|
||||
"viewBox": "0 0 125 65"
|
||||
},
|
||||
"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": "\"CP20 (\"+replace({view.params.tagPath}, \"_\", \"-\")+\")\"+\r\n\"\\nStatus: \"+ \r\nif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/SorterOpMode_Auto\"),\r\n \t\"OK\", \"Fault\")"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{session.custom.show.MCPs} || {view.params.Visibility}"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"direction": "column",
|
||||
"justify": "center",
|
||||
"style": {
|
||||
"cursor": "pointer",
|
||||
"transform": "translate3d(0,0,0)"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,345 @@
|
||||
{
|
||||
"custom": {
|
||||
"Color": 6
|
||||
},
|
||||
"params": {
|
||||
"ASdata": "value",
|
||||
"Browser": "Amazon",
|
||||
"DeviceType": "value",
|
||||
"FolderPath": "Conveyor/",
|
||||
"Tag": "U004410_RUNNING",
|
||||
"Vendor": "AS",
|
||||
"Vis_border": true,
|
||||
"tagPath": "Conv"
|
||||
},
|
||||
"propConfig": {
|
||||
"params.ASdata": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Browser": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Color": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"bidirectional": true,
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"Browser": "{view.params.Browser}",
|
||||
"Tag": "{view.params.Tag}"
|
||||
},
|
||||
"tagPath": "[{Browser}]{Tag}"
|
||||
},
|
||||
"type": "tag"
|
||||
},
|
||||
"paramDirection": "inout"
|
||||
},
|
||||
"params.DeviceType": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.FolderPath": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Tag": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Vendor": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Vis_border": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.tagPath": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 75,
|
||||
"width": 200
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"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": "Conveyor horizontal_0"
|
||||
},
|
||||
"position": {
|
||||
"basis": "100%"
|
||||
},
|
||||
"propConfig": {
|
||||
"props.elements[0].elements[0].elements[0].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.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.elements[0].elements[1].fill.paint": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.Color"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"fallback": "#808080",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": false,
|
||||
"output": "#D3D3D3"
|
||||
},
|
||||
{
|
||||
"input": true,
|
||||
"output": "#00D900"
|
||||
},
|
||||
{
|
||||
"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"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"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": {
|
||||
"paint": "#DCDCDC"
|
||||
},
|
||||
"height": "47",
|
||||
"name": "rect",
|
||||
"style": {},
|
||||
"type": "rect",
|
||||
"width": "107",
|
||||
"x": "0.5",
|
||||
"y": "0.5"
|
||||
},
|
||||
{
|
||||
"d": "M107,1V47H1V1H107m1-1H0V48H108V0Z",
|
||||
"fill": {
|
||||
"paint": "#808080"
|
||||
},
|
||||
"name": "path",
|
||||
"style": {},
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
},
|
||||
{
|
||||
"fill": {},
|
||||
"height": 108,
|
||||
"name": "rect",
|
||||
"transform": "translate(78 -30) rotate(90)",
|
||||
"type": "rect",
|
||||
"width": "40",
|
||||
"x": "34",
|
||||
"y": "-30"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {
|
||||
"cursor": "pointer"
|
||||
},
|
||||
"viewBox": "0 0 108 48"
|
||||
},
|
||||
"type": "ia.shapes.svg"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root",
|
||||
"tooltip": {
|
||||
"enabled": true,
|
||||
"markdown": {
|
||||
"escapeHtml": true,
|
||||
"skipHtml": false,
|
||||
"sourcePos": false
|
||||
},
|
||||
"style": {
|
||||
"backgroundColor": "#2B2B2BBF",
|
||||
"color": "#FFFFFF",
|
||||
"fontSize": 12,
|
||||
"textAlign": "left",
|
||||
"white-space": "pre"
|
||||
}
|
||||
}
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.tooltip.text": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "\"Status: \" + if({view.params.Color}, replace({view.params.Tag}, \"_\", \"-\"),replace({view.params.Tag}, \"_RUNNING\", \"-NOT RUNNING\"))"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"alignContent": "center",
|
||||
"direction": "column",
|
||||
"justify": "center",
|
||||
"style": {
|
||||
"overflow": "visible",
|
||||
"transform": "translate3d(0,0,0)"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,48 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {
|
||||
"ipaddress": "192.168.25.24:8000"
|
||||
},
|
||||
"propConfig": {
|
||||
"params.ipaddress": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 500
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "VideoPlayer"
|
||||
},
|
||||
"position": {
|
||||
"height": 500,
|
||||
"width": 800
|
||||
},
|
||||
"propConfig": {
|
||||
"props.source": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "\"http://\" + {view.params.ipaddress} + \"/cgi-bin/mjpeg?resolution\u003d800x500\u0026ts\u003d\" + toString(now(5000))\r\n"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"liveFeed": true
|
||||
},
|
||||
"type": "ia.display.video-player"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"type": "ia.container.coord"
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 76 B |
@ -0,0 +1,36 @@
|
||||
{
|
||||
"base": {
|
||||
"style": {
|
||||
"backgroundImage": "linear-gradient(180deg, rgba(255,255,0,1) 0%, rgba(245,245,0,1) 70%, rgba(208,208,0,1) 100%);",
|
||||
"borderColor": "#555",
|
||||
"borderStyle": "solid",
|
||||
"borderWidth": "2px",
|
||||
"color": "#000",
|
||||
"textTransform": "uppercase"
|
||||
}
|
||||
},
|
||||
"variants": [
|
||||
{
|
||||
"pseudo": "hover",
|
||||
"style": {
|
||||
"backgroundImage": "linear-gradient(0deg, rgba(255,255,0,1) 0%, rgba(245,245,0,1) 70%, rgba(208,208,0,1) 100%);",
|
||||
"borderColor": "#000",
|
||||
"borderStyle": "solid",
|
||||
"borderWidth": "2px",
|
||||
"color": "#000",
|
||||
"cursor": "pointer"
|
||||
}
|
||||
},
|
||||
{
|
||||
"pseudo": "disabled",
|
||||
"style": {
|
||||
"backgroundImage": "linear-gradient(180deg, rgba(208,208,0,1) 0%, rgba(208,208,0,1) 100%);",
|
||||
"borderColor": "#555",
|
||||
"borderStyle": "solid",
|
||||
"borderWidth": "2px",
|
||||
"color": "#555555",
|
||||
"cursor": "not-allowed"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"type": "AllOf",
|
||||
"securityLevels": []
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
SELECT concat(date(alltable.t_stamp), ' ', hour(alltable.t_stamp), ':00') as StartTimestamp,
|
||||
concat('H',TIMESTAMPDIFF(HOUR,DATE_FORMAT(alltable.t_stamp,"%Y-%m-%d %H:00:00"),DATE_FORMAT(now(),"%Y-%m-%d %H:00:00"))) as Hour,
|
||||
COUNT(*) AS Total_count,
|
||||
SUM(alltable.ParcelHistory_TupelLength = 1) AS SingleCarrier,
|
||||
SUM(alltable.ParcelHistory_TupelLength = 2) AS DoubleCarrier
|
||||
FROM alltable
|
||||
Where (alltable.t_stamp BETWEEN :starttime AND :endtime)
|
||||
GROUP BY date(alltable.t_stamp),hour(alltable.t_stamp)
|
||||
@ -0,0 +1,391 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {
|
||||
"ASdata": "EStopPB",
|
||||
"Browser": "Amazon",
|
||||
"Color": "value",
|
||||
"ColorRec": 7,
|
||||
"DeviceType": "EStopPB",
|
||||
"FolderPath": "Siemens/INTL_CPLA_STS/",
|
||||
"TName": "value",
|
||||
"Vendor": "Siemens",
|
||||
"Visibility": true,
|
||||
"tagPath": "value"
|
||||
},
|
||||
"propConfig": {
|
||||
"params.ASdata": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Browser": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Color": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.ColorRec": {
|
||||
"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.Visibility": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.tagPath": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 25,
|
||||
"width": 25
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "CS"
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{session.custom.show.PushButtons} || {view.params.Visibility}"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.elements[0].elements[0].elements[0].fill.paint": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.ColorRec"
|
||||
},
|
||||
"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": 15,
|
||||
"output": "#FFCCCC"
|
||||
},
|
||||
{
|
||||
"input": 100,
|
||||
"output": "#FFFFFF"
|
||||
},
|
||||
{
|
||||
"input": 101,
|
||||
"output": null
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.elements[0].elements[1].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": 15,
|
||||
"output": "#FFCCCC"
|
||||
},
|
||||
{
|
||||
"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": {
|
||||
"elements": [
|
||||
{
|
||||
"elements": [
|
||||
{
|
||||
"elements": [
|
||||
{
|
||||
"fill": {},
|
||||
"height": "106.23",
|
||||
"name": "rect",
|
||||
"rx": "11.67",
|
||||
"type": "rect",
|
||||
"width": "106.23",
|
||||
"x": "0.5",
|
||||
"y": "0.5"
|
||||
},
|
||||
{
|
||||
"d": "M95.07,1a11.17,11.17,0,0,1,11.16,11.17v82.9a11.16,11.16,0,0,1-11.16,11.16H12.17A11.17,11.17,0,0,1,1,95.07V12.17A11.18,11.18,0,0,1,12.17,1h82.9m0-1H12.17A12.17,12.17,0,0,0,0,12.17v82.9a12.16,12.16,0,0,0,12.17,12.16h82.9a12.15,12.15,0,0,0,12.16-12.16V12.17A12.16,12.16,0,0,0,95.07,0Z",
|
||||
"fill": {
|
||||
"paint": "#000000"
|
||||
},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
},
|
||||
{
|
||||
"elements": [
|
||||
{
|
||||
"cx": "53.62",
|
||||
"cy": "53.62",
|
||||
"fill": {},
|
||||
"name": "circle",
|
||||
"r": "43.37",
|
||||
"transform": "translate(-7.9 97.95) rotate(-80.78)",
|
||||
"type": "circle"
|
||||
},
|
||||
{
|
||||
"d": "M53.62,10.75A42.87,42.87,0,1,1,10.75,53.62,42.92,42.92,0,0,1,53.62,10.75m0-1A43.87,43.87,0,1,0,97.49,53.62,43.87,43.87,0,0,0,53.62,9.75Z",
|
||||
"fill": {
|
||||
"paint": "#000000"
|
||||
},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {
|
||||
"cursor": "pointer"
|
||||
},
|
||||
"viewBox": "0 0 107.23 107.23"
|
||||
},
|
||||
"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 ({view.params.DeviceType} \u003d \"Conv\",\r\n\tif (!getBit(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/INTL_CPLA_STS\"),5), \"Invalid, Unavailable, Bad Quality\",\r\n\t\tif (!getBit(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/INTL_CPLA_STS\"),3), \"Unit Faulted\",\r\n\t\t\tif (!getBit(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/INTL_CPLA_STS\"),4), \"Jammed\",\r\n\t\t\t\tif (getBit(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/INTL_CPLA_STS\"),2), \"Enabled, not running\",\r\n\t\t\t\t\tif (!getBit(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/INTL_CPLA_STS\"),1), \"OFF / Inactive\",\r\n\t\t\t\t\t\tif (getBit(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/INTL_CPLA_STS\"),1), \"Running or ON\",\r\n\t\t\t\t\t\t\tif (getBit(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/INTL_CPLA_STS\"),0), \"Manual/Maintenance Mode\",\r\n\t\"Gravity / not motorized MHE\"\r\n\t))))))),\r\nif ({view.params.DeviceType} \u003d \"PE\",\r\n\tif (!getBit(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/INTL_CPLA_STS\"),4), \"Jammed\",\r\n\t\t\"Running or ON\"),\r\nif ({view.params.DeviceType} \u003d \"VFD\",\r\n\tif (getBit(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/INTL_CPLA_STS\"),19), \"Fault\", \r\n\t\t\"OK\"),\r\nif ({view.params.DeviceType} \u003d \"EStopPB\",\r\n\tif (getBit(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/INTL_CPLA_STS\"),12), \"E-Stop Actuated\", \r\n\t\t\"Idle\"),\r\n\"not response\"))))"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"direction": "column",
|
||||
"justify": "center",
|
||||
"style": {
|
||||
"transform": "translate3d(0,0,0)"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"resource-type": "file-resource",
|
||||
"content-type": "application/pdf"
|
||||
}
|
||||
@ -0,0 +1,653 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {
|
||||
"ASdata": "value",
|
||||
"Browser": "Amazon",
|
||||
"Color": 2,
|
||||
"DeviceType": "value",
|
||||
"FolderPath": "Conveyor/",
|
||||
"Variant_Curve_Conv": 90,
|
||||
"Vendor": "value",
|
||||
"Vis_border": true,
|
||||
"tagPath": "NCL1_1A"
|
||||
},
|
||||
"propConfig": {
|
||||
"params.ASdata": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Browser": {
|
||||
"paramDirection": "output",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Color": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.DeviceType": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.FolderPath": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Variant_Curve_Conv": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Vendor": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Vis_border": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.tagPath": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 50,
|
||||
"width": 50
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "conveyor curve"
|
||||
},
|
||||
"position": {
|
||||
"basis": "100%"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.display": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if ({view.params.Variant_Curve_Conv} \u003d 90, true, false)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.elements[0].elements[0].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.elements[0].elements[1].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": "#FF8C00"
|
||||
},
|
||||
{
|
||||
"input": 4,
|
||||
"output": "#0000FF"
|
||||
},
|
||||
{
|
||||
"input": 5,
|
||||
"output": "#FF0000"
|
||||
},
|
||||
{
|
||||
"input": 6,
|
||||
"output": "#FF0000"
|
||||
},
|
||||
{
|
||||
"input": 7,
|
||||
"output": "#00D900"
|
||||
},
|
||||
{
|
||||
"input": 8,
|
||||
"output": "#FFE8CC"
|
||||
},
|
||||
{
|
||||
"input": 9,
|
||||
"output": "#D5D5D5"
|
||||
},
|
||||
{
|
||||
"input": 10,
|
||||
"output": "#00D900"
|
||||
},
|
||||
{
|
||||
"input": 11,
|
||||
"output": "#AC5F00"
|
||||
},
|
||||
{
|
||||
"input": 12,
|
||||
"output": "#AC5F00"
|
||||
},
|
||||
{
|
||||
"input": 13,
|
||||
"output": "#CCCCFF"
|
||||
},
|
||||
{
|
||||
"input": 14,
|
||||
"output": "#CCCCFF"
|
||||
},
|
||||
{
|
||||
"input": 15,
|
||||
"output": "#FFFF47"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"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": [
|
||||
{
|
||||
"d": "M83.5,83.5A83.6,83.6,0,0,1,.5.5h47a36.55,36.55,0,0,0,36,36Z",
|
||||
"fill": {
|
||||
"paint": "#DCDCDC"
|
||||
},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M47,1A37.06,37.06,0,0,0,83,37V83A83.08,83.08,0,0,1,1,1H47m1-1H0A84.09,84.09,0,0,0,84,84V36A36,36,0,0,1,48,0Z",
|
||||
"fill": {
|
||||
"paint": "#808080"
|
||||
},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"style": {},
|
||||
"type": "group"
|
||||
},
|
||||
{
|
||||
"d": "M84,40V80A80,80,0,0,1,4,0H44A40,40,0,0,0,84,40Z",
|
||||
"fill": {},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {
|
||||
"cursor": "pointer"
|
||||
},
|
||||
"viewBox": "0 0 84 84"
|
||||
},
|
||||
"type": "ia.shapes.svg"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Conveyor_45_part"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.display": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if ({view.params.Variant_Curve_Conv} \u003d 45, true, false)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.elements[0].elements[0].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.elements[0].elements[1].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": "#FF8C00"
|
||||
},
|
||||
{
|
||||
"input": 4,
|
||||
"output": "#0000FF"
|
||||
},
|
||||
{
|
||||
"input": 5,
|
||||
"output": "#FF0000"
|
||||
},
|
||||
{
|
||||
"input": 6,
|
||||
"output": "#FF0000"
|
||||
},
|
||||
{
|
||||
"input": 7,
|
||||
"output": "#00D900"
|
||||
},
|
||||
{
|
||||
"input": 8,
|
||||
"output": "#FFE8CC"
|
||||
},
|
||||
{
|
||||
"input": 9,
|
||||
"output": "#D5D5D5"
|
||||
},
|
||||
{
|
||||
"input": 10,
|
||||
"output": "#00D900"
|
||||
},
|
||||
{
|
||||
"input": 11,
|
||||
"output": "#AC5F00"
|
||||
},
|
||||
{
|
||||
"input": 12,
|
||||
"output": "#AC5F00"
|
||||
},
|
||||
{
|
||||
"input": 13,
|
||||
"output": "#CCCCFF"
|
||||
},
|
||||
{
|
||||
"input": 14,
|
||||
"output": "#CCCCFF"
|
||||
},
|
||||
{
|
||||
"input": 15,
|
||||
"output": "#FFFF47"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"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": [
|
||||
{
|
||||
"d": "M24.59,58.7a83.9,83.9,0,0,1-12.91-17A83.38,83.38,0,0,1,3.33,21.61,84.13,84.13,0,0,1,.5.5h47a36.58,36.58,0,0,0,1.24,9,36.37,36.37,0,0,0,3.65,8.8,36.39,36.39,0,0,0,5.44,7.21Z",
|
||||
"fill": {
|
||||
"paint": "#DCDCDC"
|
||||
},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M47,1a37.12,37.12,0,0,0,1.25,8.58A36.93,36.93,0,0,0,52,18.5a37.85,37.85,0,0,0,5.18,7L24.59,58A83.13,83.13,0,0,1,12.12,41.5a82.16,82.16,0,0,1-8.3-20A82.88,82.88,0,0,1,1,1H47m1-1H0A84.41,84.41,0,0,0,2.85,21.74,83.57,83.57,0,0,0,11.25,42,84.26,84.26,0,0,0,24.59,59.41l34-33.95A35.79,35.79,0,0,1,52.82,18a35.78,35.78,0,0,1-3.6-8.68A36.18,36.18,0,0,1,48,0Z",
|
||||
"fill": {
|
||||
"paint": "#808080"
|
||||
},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"style": {},
|
||||
"type": "group"
|
||||
},
|
||||
{
|
||||
"d": "M49.36,20a39.62,39.62,0,0,1-4-9.65A40.13,40.13,0,0,1,44,0H4A79.9,79.9,0,0,0,6.72,20.71a79.14,79.14,0,0,0,8,19.29A79.72,79.72,0,0,0,27.42,56.58L55.71,28.29A39.84,39.84,0,0,1,49.36,20Z",
|
||||
"fill": {},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {
|
||||
"cursor": "pointer"
|
||||
},
|
||||
"viewBox": "0 0 58.54 59.41"
|
||||
},
|
||||
"type": "ia.shapes.svg"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Conveyor_30_part"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.display": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if ({view.params.Variant_Curve_Conv} \u003d 30, true, false)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.elements[0].elements[0].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.elements[0].elements[1].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": "#FF8C00"
|
||||
},
|
||||
{
|
||||
"input": 4,
|
||||
"output": "#0000FF"
|
||||
},
|
||||
{
|
||||
"input": 5,
|
||||
"output": "#FF0000"
|
||||
},
|
||||
{
|
||||
"input": 6,
|
||||
"output": "#FF0000"
|
||||
},
|
||||
{
|
||||
"input": 7,
|
||||
"output": "#00D900"
|
||||
},
|
||||
{
|
||||
"input": 8,
|
||||
"output": "#FFE8CC"
|
||||
},
|
||||
{
|
||||
"input": 9,
|
||||
"output": "#D5D5D5"
|
||||
},
|
||||
{
|
||||
"input": 10,
|
||||
"output": "#00D900"
|
||||
},
|
||||
{
|
||||
"input": 11,
|
||||
"output": "#AC5F00"
|
||||
},
|
||||
{
|
||||
"input": 12,
|
||||
"output": "#AC5F00"
|
||||
},
|
||||
{
|
||||
"input": 13,
|
||||
"output": "#CCCCFF"
|
||||
},
|
||||
{
|
||||
"input": 14,
|
||||
"output": "#CCCCFF"
|
||||
},
|
||||
{
|
||||
"input": 15,
|
||||
"output": "#FFFF47"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"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": [
|
||||
{
|
||||
"d": "M11.43,41.32a83.36,83.36,0,0,1-8.1-19.71A84.13,84.13,0,0,1,.5.5h47a36.58,36.58,0,0,0,1.24,9,36.33,36.33,0,0,0,3.4,8.36Z",
|
||||
"fill": {
|
||||
"paint": "#DCDCDC"
|
||||
},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M47,1a37.12,37.12,0,0,0,1.25,8.58,36.93,36.93,0,0,0,3.2,8l-39.84,23a82.58,82.58,0,0,1-7.8-19.16A82.88,82.88,0,0,1,1,1H47m1-1H0A84.41,84.41,0,0,0,2.85,21.74,83.4,83.4,0,0,0,11.25,42L52.82,18a35.78,35.78,0,0,1-3.6-8.68A36.18,36.18,0,0,1,48,0Z",
|
||||
"fill": {
|
||||
"paint": "#808080"
|
||||
},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"style": {},
|
||||
"type": "group"
|
||||
},
|
||||
{
|
||||
"d": "M45.36,10.35A40.13,40.13,0,0,1,44,0H4A79.9,79.9,0,0,0,6.72,20.71a79.14,79.14,0,0,0,8,19.29L49.36,20A39.62,39.62,0,0,1,45.36,10.35Z",
|
||||
"fill": {},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {
|
||||
"cursor": "pointer"
|
||||
},
|
||||
"viewBox": "0 0 52.82 42"
|
||||
},
|
||||
"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\"\\n Status: \"+ \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"
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 22 KiB |
@ -0,0 +1,17 @@
|
||||
{
|
||||
"base": {
|
||||
"animation": {
|
||||
"delay": "2s",
|
||||
"direction": "normal",
|
||||
"timingFunction": "cubic-bezier(0.68, -0.55, 0.265, 1.55)",
|
||||
"keyframes": {
|
||||
"0%": {
|
||||
"backgroundColor": "#00FF03"
|
||||
},
|
||||
"100%": {
|
||||
"backgroundColor": "#0510FF"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,816 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {
|
||||
"ASdata": "value",
|
||||
"Browser": "value",
|
||||
"Color": null,
|
||||
"DeviceType": "value",
|
||||
"EPC_var": 90,
|
||||
"FolderPath": "value",
|
||||
"Vendor": "value",
|
||||
"Visibility": null,
|
||||
"tagPath": "value"
|
||||
},
|
||||
"propConfig": {
|
||||
"params.ASdata": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Browser": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Color": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"bidirectional": true,
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"Browser": "{view.params.Browser}",
|
||||
"FolderPath": "{view.params.FolderPath}",
|
||||
"tagPath": "{view.params.tagPath}"
|
||||
},
|
||||
"tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Color_Stop"
|
||||
},
|
||||
"type": "tag"
|
||||
},
|
||||
"paramDirection": "output",
|
||||
"persistent": true
|
||||
},
|
||||
"params.DeviceType": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.EPC_var": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.FolderPath": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Vendor": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Visibility": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"Browser": "{view.params.Browser}",
|
||||
"FolderPath": "{view.params.FolderPath}",
|
||||
"tagPath": "{view.params.tagPath}"
|
||||
},
|
||||
"tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Color_Stop"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"fallback": null,
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 2,
|
||||
"output": true
|
||||
},
|
||||
{
|
||||
"input": 10,
|
||||
"output": false
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
},
|
||||
"paramDirection": "output",
|
||||
"persistent": true
|
||||
},
|
||||
"params.tagPath": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 100,
|
||||
"width": 100
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "E-stop pull cord_30 no border"
|
||||
},
|
||||
"position": {
|
||||
"basis": "100%"
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{session.custom.show.Estops}|| {view.params.Visibility}"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"position.display": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if ({view.params.EPC_var} \u003d 30, true, false)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.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"
|
||||
}
|
||||
],
|
||||
"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": [
|
||||
{
|
||||
"d": "M10.71,0A79.91,79.91,0,0,0,0,40H4A75.61,75.61,0,0,1,14.19,2Z",
|
||||
"fill": {},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {},
|
||||
"viewBox": "0 0 14.19 40"
|
||||
},
|
||||
"type": "ia.shapes.svg"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "E-stop pull cord_45 no border"
|
||||
},
|
||||
"position": {
|
||||
"basis": "100%"
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{session.custom.show.Estops}|| {view.params.Visibility}"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"position.display": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if ({view.params.EPC_var} \u003d 45, true, false)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.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"
|
||||
}
|
||||
],
|
||||
"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": [
|
||||
{
|
||||
"d": "M23.42,0A80.25,80.25,0,0,0,10.71,16.58,79.91,79.91,0,0,0,0,56.58H4A75.8,75.8,0,0,1,26.26,2.84Z",
|
||||
"fill": {},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {},
|
||||
"viewBox": "0 0 26.26 56.58"
|
||||
},
|
||||
"type": "ia.shapes.svg"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "E-stop pull cord_60 no border"
|
||||
},
|
||||
"position": {
|
||||
"basis": "100%"
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{session.custom.show.Estops}|| {view.params.Visibility}"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"position.display": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if ({view.params.EPC_var} \u003d 60, true, false)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.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"
|
||||
}
|
||||
],
|
||||
"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": [
|
||||
{
|
||||
"d": "M42,3.48,40,0A80,80,0,0,0,0,69.29H4A76,76,0,0,1,42,3.48Z",
|
||||
"fill": {},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {},
|
||||
"viewBox": "0 0 42 69.29"
|
||||
},
|
||||
"type": "ia.shapes.svg"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "E-stop pull cord_180 no border"
|
||||
},
|
||||
"position": {
|
||||
"basis": "100%"
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{session.custom.show.Estops}|| {view.params.Visibility}"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"position.display": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if ({view.params.EPC_var} \u003d 180, true, false)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.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"
|
||||
}
|
||||
],
|
||||
"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": [
|
||||
{
|
||||
"d": "M157.28,59.29A80,80,0,0,0,80,0,80,80,0,0,0,59.29,2.72,80,80,0,0,0,0,80H4a76,76,0,0,1,152,0h4A79.9,79.9,0,0,0,157.28,59.29Z",
|
||||
"fill": {},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {},
|
||||
"viewBox": "0 0 160 80"
|
||||
},
|
||||
"type": "ia.shapes.svg"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "E-stop pull cord_90 no border"
|
||||
},
|
||||
"position": {
|
||||
"basis": "100%"
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "//{session.custom.show.Estops}||{view.params.Visibility}\r\n{session.custom.show.Estops}||if({view.params.Visibility} \u003d 1,false,true) "
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"position.display": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if ({view.params.EPC_var} \u003d 90, true, false)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.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": "#00D900"
|
||||
},
|
||||
{
|
||||
"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"
|
||||
}
|
||||
],
|
||||
"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": [
|
||||
{
|
||||
"d": "M80,4V0A80,80,0,0,0,0,80H4A76,76,0,0,1,80,4Z",
|
||||
"fill": {},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {},
|
||||
"viewBox": "0 0 80 80"
|
||||
},
|
||||
"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_Stop\"),\r\n1 ,\"E-Stop Activated\",\r\n2 ,\"OK\",\r\n\"not response\")"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"direction": "column",
|
||||
"justify": "center",
|
||||
"style": {
|
||||
"cursor": "pointer",
|
||||
"transform": "translate3d(0,0,0)"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,391 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {
|
||||
"ASdata": "value",
|
||||
"Browser": "Amazon",
|
||||
"Color": 1,
|
||||
"ColorRec": 101,
|
||||
"DeviceType": "value",
|
||||
"FolderPath": "value",
|
||||
"TName": "value",
|
||||
"Vendor": "value",
|
||||
"Visibility": true,
|
||||
"tagPath": "value"
|
||||
},
|
||||
"propConfig": {
|
||||
"params.ASdata": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Browser": {
|
||||
"paramDirection": "output",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Color": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.ColorRec": {
|
||||
"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.Visibility": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.tagPath": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 25,
|
||||
"width": 25
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "CS"
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{session.custom.show.PushButtons} || {view.params.Visibility}"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.elements[0].elements[0].elements[0].fill.paint": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.ColorRec"
|
||||
},
|
||||
"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": 15,
|
||||
"output": "#FFCCCC"
|
||||
},
|
||||
{
|
||||
"input": 100,
|
||||
"output": "#FFFFFF"
|
||||
},
|
||||
{
|
||||
"input": 101,
|
||||
"output": null
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.elements[0].elements[1].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": 15,
|
||||
"output": "#FFCCCC"
|
||||
},
|
||||
{
|
||||
"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": {
|
||||
"elements": [
|
||||
{
|
||||
"elements": [
|
||||
{
|
||||
"elements": [
|
||||
{
|
||||
"fill": {},
|
||||
"height": "106.23",
|
||||
"name": "rect",
|
||||
"rx": "11.67",
|
||||
"type": "rect",
|
||||
"width": "106.23",
|
||||
"x": "0.5",
|
||||
"y": "0.5"
|
||||
},
|
||||
{
|
||||
"d": "M95.07,1a11.17,11.17,0,0,1,11.16,11.17v82.9a11.16,11.16,0,0,1-11.16,11.16H12.17A11.17,11.17,0,0,1,1,95.07V12.17A11.18,11.18,0,0,1,12.17,1h82.9m0-1H12.17A12.17,12.17,0,0,0,0,12.17v82.9a12.16,12.16,0,0,0,12.17,12.16h82.9a12.15,12.15,0,0,0,12.16-12.16V12.17A12.16,12.16,0,0,0,95.07,0Z",
|
||||
"fill": {
|
||||
"paint": "#000000"
|
||||
},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
},
|
||||
{
|
||||
"elements": [
|
||||
{
|
||||
"cx": "53.62",
|
||||
"cy": "53.62",
|
||||
"fill": {},
|
||||
"name": "circle",
|
||||
"r": "43.37",
|
||||
"transform": "translate(-7.9 97.95) rotate(-80.78)",
|
||||
"type": "circle"
|
||||
},
|
||||
{
|
||||
"d": "M53.62,10.75A42.87,42.87,0,1,1,10.75,53.62,42.92,42.92,0,0,1,53.62,10.75m0-1A43.87,43.87,0,1,0,97.49,53.62,43.87,43.87,0,0,0,53.62,9.75Z",
|
||||
"fill": {
|
||||
"paint": "#000000"
|
||||
},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {
|
||||
"cursor": "pointer"
|
||||
},
|
||||
"viewBox": "0 0 107.23 107.23"
|
||||
},
|
||||
"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": {
|
||||
"contextMenu": {
|
||||
"enabled": true
|
||||
},
|
||||
"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: OK\""
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"direction": "column",
|
||||
"justify": "center"
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,252 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {
|
||||
"ASdata": "value",
|
||||
"Browser": "Amazon",
|
||||
"Color": 1,
|
||||
"DeviceType": "value",
|
||||
"FolderPath": "value",
|
||||
"Vendor": "value",
|
||||
"Visibility": true,
|
||||
"tagPath": "value"
|
||||
},
|
||||
"propConfig": {
|
||||
"params.ASdata": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Browser": {
|
||||
"paramDirection": "output",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Color": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/EstopWasTriggered\") \u003d false \u0026\u0026 tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/Estop\") \u003d false, // TODO: Bind fire alarm tags here\r\n\t10,\r\nif(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/Estop\") \u0026\u0026 tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/EstopWasTriggered\") \u003d false, // TODO: Bind fire alarm tags here\r\n if(getSecond(now()) % 2 \u003d 1,\r\n 1,\r\n 100\r\n ),\r\nif(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/EstopWasTriggered\") \u0026\u0026 tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/Estop\") \u003d false, // TODO: Bind fire alarm tags here\r\n 1,\r\n1\r\n)))"
|
||||
},
|
||||
"type": "expr"
|
||||
},
|
||||
"paramDirection": "output",
|
||||
"persistent": true
|
||||
},
|
||||
"params.DeviceType": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.FolderPath": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Vendor": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Visibility": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if ({view.params.Color} \u003d 10, false, true)"
|
||||
},
|
||||
"type": "expr"
|
||||
},
|
||||
"paramDirection": "output",
|
||||
"persistent": true
|
||||
},
|
||||
"params.tagPath": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 8,
|
||||
"width": 128
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Estop_pullcord"
|
||||
},
|
||||
"position": {
|
||||
"basis": "100%"
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{session.custom.show.Estops}|| {view.params.Visibility}"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.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"
|
||||
}
|
||||
],
|
||||
"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": [
|
||||
{
|
||||
"fill": {},
|
||||
"height": "4",
|
||||
"name": "rect",
|
||||
"type": "rect",
|
||||
"width": "100"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {
|
||||
"cursor": "pointer"
|
||||
},
|
||||
"viewBox": "0 0 100 4"
|
||||
},
|
||||
"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\"\\n Status: \"+ \r\nif (!tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/EstopWasTriggered\") \u0026\u0026\r\n\t!tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/Estop\"),\r\n\t\"Clear\",\r\n\t\"E-Stop Actuated\")"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"direction": "column",
|
||||
"justify": "center",
|
||||
"style": {
|
||||
"transform": "translate3d(0,0,0)"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,783 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {
|
||||
"ASdata": "value",
|
||||
"Browser": "value",
|
||||
"Color": 1,
|
||||
"DeviceType": "value",
|
||||
"EPC_var": 90,
|
||||
"FolderPath": "value",
|
||||
"Vendor": "value",
|
||||
"Visibility": true,
|
||||
"tagPath": "value"
|
||||
},
|
||||
"propConfig": {
|
||||
"params.ASdata": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Browser": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Color": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/EstopWasTriggered\") \u003d false \u0026\u0026 tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/Estop\") \u003d false, // TODO: Bind fire alarm tags here\r\n\t10,\r\nif(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/Estop\") \u0026\u0026 tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/EstopWasTriggered\") \u003d false, // TODO: Bind fire alarm tags here\r\n if(getSecond(now()) % 2 \u003d 1,\r\n 1,\r\n 100\r\n ),\r\nif(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/EstopWasTriggered\") \u0026\u0026 tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/Estop\") \u003d false, // TODO: Bind fire alarm tags here\r\n 1,\r\n1\r\n)))"
|
||||
},
|
||||
"type": "expr"
|
||||
},
|
||||
"paramDirection": "output",
|
||||
"persistent": true
|
||||
},
|
||||
"params.DeviceType": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.EPC_var": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.FolderPath": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Vendor": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Visibility": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if ({view.params.Color} \u003d 10, false, true)"
|
||||
},
|
||||
"type": "expr"
|
||||
},
|
||||
"paramDirection": "output",
|
||||
"persistent": true
|
||||
},
|
||||
"params.tagPath": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 100,
|
||||
"width": 100
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "E-stop pull cord_30 no border"
|
||||
},
|
||||
"position": {
|
||||
"basis": "100%"
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{session.custom.show.Estops}|| {view.params.Visibility}"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"position.display": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if ({view.params.EPC_var} \u003d 30, true, false)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.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"
|
||||
}
|
||||
],
|
||||
"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": [
|
||||
{
|
||||
"d": "M10.71,0A79.91,79.91,0,0,0,0,40H4A75.61,75.61,0,0,1,14.19,2Z",
|
||||
"fill": {},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {},
|
||||
"viewBox": "0 0 14.19 40"
|
||||
},
|
||||
"type": "ia.shapes.svg"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "E-stop pull cord_45 no border"
|
||||
},
|
||||
"position": {
|
||||
"basis": "100%"
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{session.custom.show.Estops}|| {view.params.Visibility}"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"position.display": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if ({view.params.EPC_var} \u003d 45, true, false)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.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"
|
||||
}
|
||||
],
|
||||
"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": [
|
||||
{
|
||||
"d": "M23.42,0A80.25,80.25,0,0,0,10.71,16.58,79.91,79.91,0,0,0,0,56.58H4A75.8,75.8,0,0,1,26.26,2.84Z",
|
||||
"fill": {},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {},
|
||||
"viewBox": "0 0 26.26 56.58"
|
||||
},
|
||||
"type": "ia.shapes.svg"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "E-stop pull cord_60 no border"
|
||||
},
|
||||
"position": {
|
||||
"basis": "100%"
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{session.custom.show.Estops}|| {view.params.Visibility}"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"position.display": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if ({view.params.EPC_var} \u003d 60, true, false)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.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"
|
||||
}
|
||||
],
|
||||
"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": [
|
||||
{
|
||||
"d": "M42,3.48,40,0A80,80,0,0,0,0,69.29H4A76,76,0,0,1,42,3.48Z",
|
||||
"fill": {},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {},
|
||||
"viewBox": "0 0 42 69.29"
|
||||
},
|
||||
"type": "ia.shapes.svg"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "E-stop pull cord_180 no border"
|
||||
},
|
||||
"position": {
|
||||
"basis": "100%"
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{session.custom.show.Estops}|| {view.params.Visibility}"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"position.display": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if ({view.params.EPC_var} \u003d 180, true, false)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.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"
|
||||
}
|
||||
],
|
||||
"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": [
|
||||
{
|
||||
"d": "M157.28,59.29A80,80,0,0,0,80,0,80,80,0,0,0,59.29,2.72,80,80,0,0,0,0,80H4a76,76,0,0,1,152,0h4A79.9,79.9,0,0,0,157.28,59.29Z",
|
||||
"fill": {},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {},
|
||||
"viewBox": "0 0 160 80"
|
||||
},
|
||||
"type": "ia.shapes.svg"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "E-stop pull cord_90 no border"
|
||||
},
|
||||
"position": {
|
||||
"basis": "100%"
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{session.custom.show.Estops}|| {view.params.Visibility}"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"position.display": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if ({view.params.EPC_var} \u003d 90, true, false)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.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"
|
||||
}
|
||||
],
|
||||
"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": [
|
||||
{
|
||||
"d": "M80,4V0A80,80,0,0,0,0,80H4A76,76,0,0,1,80,4Z",
|
||||
"fill": {},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {},
|
||||
"viewBox": "0 0 80 80"
|
||||
},
|
||||
"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\"\\n Status: \"+ \r\nif (!tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/EstopWasTriggered\") \u0026\u0026\r\n\t!tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/Estop\"),\r\n\t\"Clear\",\r\n\t\"E-Stop Actuated\")"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"direction": "column",
|
||||
"justify": "center",
|
||||
"style": {
|
||||
"cursor": "pointer",
|
||||
"transform": "translate3d(0,0,0)"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
SELECT concat(date(alltable.t_stamp), ' ', hour(alltable.t_stamp), ':00') as StartTimestamp,
|
||||
concat('H',TIMESTAMPDIFF(HOUR,DATE_FORMAT(alltable.t_stamp,"%Y-%m-%d %H:00:00"),DATE_FORMAT(now(),"%Y-%m-%d %H:00:00"))) as Hour,
|
||||
concat(round(COUNT(*)/COUNT(*) * 100,2),'%') AS Total_count,
|
||||
concat(round(SUM(alltable.ParcelHistory_TupelLength = 1)/COUNT(*) * 100,2),'%') AS SingleCarrier,
|
||||
concat(round(SUM(alltable.ParcelHistory_TupelLength = 2)/COUNT(*) * 100,2),'%') AS DoubleCarrier
|
||||
FROM alltable
|
||||
Where (alltable.t_stamp BETWEEN :starttime AND :endtime)
|
||||
GROUP BY hour(alltable.t_stamp)
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 81 B |
@ -0,0 +1,237 @@
|
||||
{
|
||||
"custom": {
|
||||
"Color": 6
|
||||
},
|
||||
"params": {
|
||||
"Color": 0,
|
||||
"Vis_border": true
|
||||
},
|
||||
"propConfig": {
|
||||
"params.Color": {
|
||||
"paramDirection": "input"
|
||||
},
|
||||
"params.Vis_border": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 75,
|
||||
"width": 200
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Conveyor horizontal_0"
|
||||
},
|
||||
"position": {
|
||||
"basis": "100%"
|
||||
},
|
||||
"propConfig": {
|
||||
"props.elements[0].elements[0].elements[0].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.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.elements[0].elements[1].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"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"elements": [
|
||||
{
|
||||
"elements": [
|
||||
{
|
||||
"elements": [
|
||||
{
|
||||
"fill": {
|
||||
"paint": "#DCDCDC"
|
||||
},
|
||||
"height": "47",
|
||||
"name": "rect",
|
||||
"style": {},
|
||||
"type": "rect",
|
||||
"width": "107",
|
||||
"x": "0.5",
|
||||
"y": "0.5"
|
||||
},
|
||||
{
|
||||
"d": "M107,1V47H1V1H107m1-1H0V48H108V0Z",
|
||||
"fill": {
|
||||
"paint": "#808080"
|
||||
},
|
||||
"name": "path",
|
||||
"style": {},
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
},
|
||||
{
|
||||
"fill": {},
|
||||
"height": "108",
|
||||
"name": "rect",
|
||||
"transform": "translate(78 -30) rotate(90)",
|
||||
"type": "rect",
|
||||
"width": "40",
|
||||
"x": "34",
|
||||
"y": "-30"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {
|
||||
"cursor": "pointer"
|
||||
},
|
||||
"viewBox": "0 0 108 48"
|
||||
},
|
||||
"type": "ia.shapes.svg"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"props": {
|
||||
"alignContent": "center",
|
||||
"direction": "column",
|
||||
"justify": "center",
|
||||
"style": {
|
||||
"overflow": "visible"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
@ -0,0 +1,252 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {
|
||||
"ASdata": "value",
|
||||
"Browser": "value",
|
||||
"Color": 0,
|
||||
"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": "inout",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 25,
|
||||
"width": 25
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "VFD"
|
||||
},
|
||||
"position": {
|
||||
"basis": "100%"
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{session.custom.show.VFDs} || {view.params.Visibility}"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.elements[0].elements[1].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"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"type": "map"
|
||||
},
|
||||
{
|
||||
"expression": "if({view.params.Color} \u003d 1, // TODO: Bind fire alarm tags here\r\n if(getSecond(now()) % 2 \u003d 1,\r\n \u0027#FF0000\u0027,\r\n \u0027#00D900\u0027\r\n ),\r\nif({view.params.Color} \u003d 2, // TODO: Bind fire alarm tags here\r\n if(getSecond(now()) % 2 \u003d 1,\r\n \u0027#FF0000\u0027,\r\n \u0027#808080\u0027\r\n ),\r\nif({view.params.Color} \u003d 7, // TODO: Bind fire alarm tags here\r\n if(getSecond(now()) % 2 \u003d 1,\r\n \u0027#FFFF00\u0027,\r\n \u0027#808080\u0027\r\n ), \r\n\t{value}\r\n)))",
|
||||
"type": "expression"
|
||||
}
|
||||
],
|
||||
"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": [
|
||||
{
|
||||
"d": "M15.14,15.14a50,50,0,0,0,0,70.72L85.86,15.14A50,50,0,0,0,15.14,15.14Z",
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M85.86,85.86a50,50,0,0,0,0-70.72L15.14,85.86A50,50,0,0,0,85.86,85.86Z",
|
||||
"fill": {},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"name": "group",
|
||||
"type": "group"
|
||||
}
|
||||
],
|
||||
"preserveAspectRatio": "none",
|
||||
"style": {},
|
||||
"viewBox": "0 0 101 101"
|
||||
},
|
||||
"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\"\\n Status: \"+ \r\nif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/Disconnect_Off\") \u0026\u0026 \r\n\ttag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/Motor_Fault\"),\r\n \"Faulted/Disconnect\",\r\n if(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/Motor_Fault\"),\r\n \t\"Faulted/OK\",\r\n if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/Disconnect_Off\"),\r\n \t\"Disconnect\",\r\n \"OK\")))"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"direction": "column",
|
||||
"justify": "center",
|
||||
"style": {
|
||||
"cursor": "pointer"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,167 @@
|
||||
{
|
||||
"custom": {
|
||||
"LoggedIn": 0,
|
||||
"RotateText": 0,
|
||||
"Search": "",
|
||||
"ZOOM": {},
|
||||
"clientX": 222,
|
||||
"clientY": 174,
|
||||
"historyFilter": {
|
||||
"config": {
|
||||
"calc": null,
|
||||
"date": {
|
||||
"mostRecent": {
|
||||
"duration": 2,
|
||||
"units": "hour"
|
||||
},
|
||||
"range": {
|
||||
"end": {
|
||||
"$": [
|
||||
"ts",
|
||||
192,
|
||||
1616590397537
|
||||
],
|
||||
"$ts": 1616556700600
|
||||
},
|
||||
"start": {
|
||||
"$": [
|
||||
"ts",
|
||||
192,
|
||||
1616590397537
|
||||
],
|
||||
"$ts": 1616554840600
|
||||
}
|
||||
}
|
||||
},
|
||||
"interval": {
|
||||
"duration": 1,
|
||||
"units": "min"
|
||||
},
|
||||
"mode": "historical"
|
||||
},
|
||||
"cursor": true,
|
||||
"tagPaths": [
|
||||
{
|
||||
"alias": "tank1",
|
||||
"enabled": true,
|
||||
"friendly": "Tank 1",
|
||||
"path": "[default]hmi/tank1"
|
||||
},
|
||||
{
|
||||
"alias": "tank2",
|
||||
"enabled": true,
|
||||
"friendly": "Tank 2",
|
||||
"path": "[default]hmi/tank2"
|
||||
},
|
||||
{
|
||||
"alias": "daytank",
|
||||
"enabled": true,
|
||||
"friendly": "Day Tank",
|
||||
"path": "[default]hmi/daytank"
|
||||
},
|
||||
{
|
||||
"alias": "temp",
|
||||
"enabled": true,
|
||||
"friendly": "Temperature",
|
||||
"path": "[default]hmi/ambientTemp"
|
||||
},
|
||||
{
|
||||
"alias": "humidity",
|
||||
"enabled": true,
|
||||
"friendly": "Humidity",
|
||||
"path": "[default]hmi/ambientHum"
|
||||
}
|
||||
]
|
||||
},
|
||||
"rotate": 0,
|
||||
"scale_x": 0,
|
||||
"scale_y": 0,
|
||||
"show": {
|
||||
"Beacons": false,
|
||||
"Compressor": false,
|
||||
"ConveyorLabels": true,
|
||||
"ConveyorPatterns": true,
|
||||
"EIPs": false,
|
||||
"Encoders": false,
|
||||
"Estops": false,
|
||||
"LimitSwitches": false,
|
||||
"MCPs": false,
|
||||
"PhotoEyes": false,
|
||||
"PushButtons": false,
|
||||
"Scanners": false,
|
||||
"VFDs": false
|
||||
},
|
||||
"test": 2.2,
|
||||
"transform": "translate(0px,0px) scale(1) ",
|
||||
"transition": 1,
|
||||
"translateY": 20109,
|
||||
"zoom": 0.65,
|
||||
"zoomer": {
|
||||
"lat": 10,
|
||||
"lng": 10
|
||||
},
|
||||
"zoomto": 0
|
||||
},
|
||||
"propConfig": {
|
||||
"props.auth": {
|
||||
"access": "PRIVATE",
|
||||
"persistent": false
|
||||
},
|
||||
"props.device.accelerometer": {
|
||||
"access": "SYSTEM",
|
||||
"persistent": false
|
||||
},
|
||||
"props.device.identifier": {
|
||||
"access": "SYSTEM",
|
||||
"persistent": false
|
||||
},
|
||||
"props.device.timezone": {
|
||||
"access": "SYSTEM",
|
||||
"persistent": false
|
||||
},
|
||||
"props.device.type": {
|
||||
"access": "SYSTEM",
|
||||
"persistent": false
|
||||
},
|
||||
"props.device.userAgent": {
|
||||
"access": "SYSTEM",
|
||||
"persistent": false
|
||||
},
|
||||
"props.gateway": {
|
||||
"access": "SYSTEM",
|
||||
"persistent": false
|
||||
},
|
||||
"props.geolocation.data": {
|
||||
"access": "SYSTEM",
|
||||
"persistent": false
|
||||
},
|
||||
"props.geolocation.permissionGranted": {
|
||||
"access": "SYSTEM",
|
||||
"persistent": false
|
||||
},
|
||||
"props.host": {
|
||||
"access": "SYSTEM",
|
||||
"persistent": false
|
||||
},
|
||||
"props.id": {
|
||||
"access": "SYSTEM",
|
||||
"persistent": false
|
||||
},
|
||||
"props.lastActivity": {
|
||||
"access": "SYSTEM",
|
||||
"persistent": false
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"address": "127.0.0.1",
|
||||
"device": {},
|
||||
"geolocation": {
|
||||
"options": {
|
||||
"maximumAge": 13
|
||||
}
|
||||
},
|
||||
"locale": "en-US",
|
||||
"theme": "autStand_theme",
|
||||
"timeZoneId": "Asia/Tbilisi"
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 223 B |
|
After Width: | Height: | Size: 223 B |