200260514 Backup
@@ -16,7 +16,9 @@
|
||||
},
|
||||
"selected": "SATB1_RF_RTU00"
|
||||
},
|
||||
"params": {},
|
||||
"params": {
|
||||
"objectName": "value"
|
||||
},
|
||||
"propConfig": {
|
||||
"custom.Available": {
|
||||
"persistent": true
|
||||
@@ -45,6 +47,10 @@
|
||||
},
|
||||
"custom.selected": {
|
||||
"persistent": true
|
||||
},
|
||||
"params.objectName": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
@@ -55,49 +61,6 @@
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"custom": {
|
||||
"room": "MMR1120"
|
||||
},
|
||||
"events": {
|
||||
"dom": {
|
||||
"onClick": {
|
||||
"config": {
|
||||
"script": "\tpayload \u003d {\"Room\":self.meta.name}\n\tmessageType \u003d \"roomUpdate\"\n\tsystem.perspective.sendMessage(messageType, payload)\n\tmessageType \u003d \"layout_01_Update\"\n\tsystem.perspective.sendMessage(messageType, payload)\n\tmessageType \u003d \"layout_02_Update\"\n\tsystem.perspective.sendMessage(messageType, payload)\n\tmessageType \u003d \"layout_03_Update\"\n\tsystem.perspective.sendMessage(messageType, payload)"
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
}
|
||||
}
|
||||
},
|
||||
"meta": {
|
||||
"name": "SATB1_RF_RTU02",
|
||||
"tooltip": {
|
||||
"enabled": true
|
||||
}
|
||||
},
|
||||
"position": {
|
||||
"height": 105,
|
||||
"width": 38,
|
||||
"x": 391
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.tooltip.text": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "this.meta.name"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"backgroundColor": "transparent"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "2nf"
|
||||
|
After Width: | Height: | Size: 4.5 KiB |
@@ -106,6 +106,14 @@
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.objectName": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.objectName"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
@@ -252,6 +260,14 @@
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.useDefaultViewWidth": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.objectName"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
|
After Width: | Height: | Size: 6.0 KiB |
@@ -0,0 +1,423 @@
|
||||
{
|
||||
"custom": {
|
||||
"tabsConfig": {
|
||||
"tabs": [
|
||||
"Status",
|
||||
"Control",
|
||||
"Config",
|
||||
"Trend",
|
||||
"Meta",
|
||||
"Wiki"
|
||||
]
|
||||
},
|
||||
"trendConfig": {
|
||||
"selectedPens": []
|
||||
}
|
||||
},
|
||||
"params": {
|
||||
"auth": {
|
||||
"almAck": true,
|
||||
"almShelve": true,
|
||||
"config": true,
|
||||
"control": true
|
||||
},
|
||||
"objectName": "Jockey Pump",
|
||||
"tagPath": "[Ignition_SATB1_IO5_default]SATB1_DH5_P5_SWBD5_XA_SPD"
|
||||
},
|
||||
"propConfig": {
|
||||
"custom.tabsConfig": {
|
||||
"persistent": true
|
||||
},
|
||||
"custom.tabsConfig.showConfig": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"1": "{view.params.tagPath}"
|
||||
},
|
||||
"tagPath": "{1}/Config"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},false) !\u003d false",
|
||||
"type": "expression"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
}
|
||||
},
|
||||
"custom.tabsConfig.showControl": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"1": "{view.params.tagPath}"
|
||||
},
|
||||
"tagPath": "{1}/Control"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},false) !\u003d false",
|
||||
"type": "expression"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
}
|
||||
},
|
||||
"custom.trendConfig": {
|
||||
"persistent": true
|
||||
},
|
||||
"params.auth": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.objectName": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.tagPath": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Status"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.objectName": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.objectName"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"loading": {
|
||||
"order": "with-parent"
|
||||
},
|
||||
"path": "Library/Templates/Info"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Trend"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.selectedPens": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.custom.trendConfig.selectedPens"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"loading": {
|
||||
"order": "with-parent"
|
||||
},
|
||||
"path": "Library/Templates/Trends"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Config"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.auth": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.auth"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.path": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "concat(\u0027Library/Templates/\u0027,{view.params.objectName},\u0027/Config\u0027)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"loading": {
|
||||
"order": "with-parent"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Meta"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.auth": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.auth"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.objectName": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.objectName"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"path": "Library/Templates/Meta"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Wiki"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.auth": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.auth"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"path": "Library/Framework/Tag Notes/View Notes"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Control"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.auth": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.auth"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.path": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "concat(\u0027Library/Templates/\u0027,{view.params.objectName},\u0027/Control\u0027)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"loading": {
|
||||
"order": "with-parent"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "TabContainer"
|
||||
},
|
||||
"position": {
|
||||
"basis": "300px",
|
||||
"grow": 1
|
||||
},
|
||||
"propConfig": {
|
||||
"props.tabs": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{view.custom.tabsConfig}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\ttabs \u003d value[\u0027tabs\u0027]\n\tshowConfig \u003d value[\u0027showConfig\u0027]\n\tshowControl \u003d value[\u0027showControl\u0027]\n\tif not showConfig:\n\t\ttabs.pop(tabs.indexOf(\u0027Config\u0027))\n\tif not showControl:\n\t\ttabs.pop(tabs.indexOf(\u0027Control\u0027))\n\t\n\treturn tabs",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"contentStyle": {
|
||||
"backgroundColor": "var(--container)"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.tab"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"props": {
|
||||
"direction": "column"
|
||||
},
|
||||
"scripts": {
|
||||
"customMethods": [],
|
||||
"extensionFunctions": null,
|
||||
"messageHandlers": [
|
||||
{
|
||||
"messageType": "enableDisablePen",
|
||||
"pageScope": true,
|
||||
"script": "\t# When a pen is selected or de-selected on the trends page, this handler is\n\t# responsible for appending or removing the pen name from the proper trend\n\t# config list.\n\t\n\tname \u003d payload[\u0027name\u0027]\n\tenabledOrDisabled \u003d payload[\u0027enabledOrDisabled\u0027]\n\tgroup \u003d payload[\u0027group\u0027]\n\t\n\tif enabledOrDisabled \u003d\u003d True:\n\t\tif name not in self.view.custom.trendConfig[\u0027selectedPens\u0027]:\n\t\t\tself.view.custom.trendConfig[\u0027selectedPens\u0027].append(name)\n\telse:\n\t\tif name in self.view.custom.trendConfig[\u0027selectedPens\u0027]:\n\t\t\tself.view.custom.trendConfig[\u0027selectedPens\u0027].remove(name)",
|
||||
"sessionScope": false,
|
||||
"viewScope": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,292 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 383
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Table"
|
||||
},
|
||||
"position": {
|
||||
"basis": "400px"
|
||||
},
|
||||
"props": {
|
||||
"data": [
|
||||
{
|
||||
"city": {
|
||||
"align": "center",
|
||||
"editable": true,
|
||||
"justify": "left",
|
||||
"style": {
|
||||
"backgroundColor": "#F7901D",
|
||||
"classes": "some-class"
|
||||
},
|
||||
"value": "Folsom"
|
||||
},
|
||||
"country": "United States",
|
||||
"population": 77271
|
||||
},
|
||||
{
|
||||
"city": "Helsinki",
|
||||
"country": "Finland",
|
||||
"population": 635591
|
||||
},
|
||||
{
|
||||
"city": "Jakarta",
|
||||
"country": "Indonesia",
|
||||
"population": 10187595
|
||||
},
|
||||
{
|
||||
"city": "Madrid",
|
||||
"country": "Spain",
|
||||
"population": 3233527
|
||||
},
|
||||
{
|
||||
"city": "Prague",
|
||||
"country": "Czech Republic",
|
||||
"population": 1241664
|
||||
},
|
||||
{
|
||||
"city": "San Diego",
|
||||
"country": "United States",
|
||||
"population": 1406630
|
||||
},
|
||||
{
|
||||
"city": "San Francisco",
|
||||
"country": "United States",
|
||||
"population": 884363
|
||||
},
|
||||
{
|
||||
"city": "Shanghai",
|
||||
"country": "China",
|
||||
"population": 24153000
|
||||
},
|
||||
{
|
||||
"city": "Tokyo",
|
||||
"country": "Japan",
|
||||
"population": 13617000
|
||||
},
|
||||
{
|
||||
"city": "Washington, DC",
|
||||
"country": "United States",
|
||||
"population": 658893
|
||||
},
|
||||
{
|
||||
"city": "Wellington",
|
||||
"country": "New Zealand",
|
||||
"population": 405000
|
||||
},
|
||||
{
|
||||
"city": "Delhi",
|
||||
"country": "India",
|
||||
"population": 11034555
|
||||
},
|
||||
{
|
||||
"city": "Dhaka",
|
||||
"country": "Bangladesh",
|
||||
"population": 14399000
|
||||
},
|
||||
{
|
||||
"city": "Lagos",
|
||||
"country": "Nigeria",
|
||||
"population": 16060303
|
||||
},
|
||||
{
|
||||
"city": "Karachi",
|
||||
"country": "Pakistan",
|
||||
"population": 14910352
|
||||
},
|
||||
{
|
||||
"city": "Istanbul",
|
||||
"country": "Turkey",
|
||||
"population": 14025000
|
||||
},
|
||||
{
|
||||
"city": "Cairo",
|
||||
"country": "Egypt",
|
||||
"population": 10230350
|
||||
},
|
||||
{
|
||||
"city": "Mexico City",
|
||||
"country": "Mexico",
|
||||
"population": 8974724
|
||||
},
|
||||
{
|
||||
"city": "London",
|
||||
"country": "United Kingdom",
|
||||
"population": 8825001
|
||||
},
|
||||
{
|
||||
"city": "New York City",
|
||||
"country": "United States",
|
||||
"population": 8622698
|
||||
},
|
||||
{
|
||||
"city": "Tehran",
|
||||
"country": "Iran",
|
||||
"population": 8154051
|
||||
},
|
||||
{
|
||||
"city": "Bogota",
|
||||
"country": "Colombia",
|
||||
"population": 7878783
|
||||
},
|
||||
{
|
||||
"city": "Rio de Janeiro",
|
||||
"country": "Brazil",
|
||||
"population": 6429923
|
||||
},
|
||||
{
|
||||
"city": "Riyadh",
|
||||
"country": "Saudi Arabia",
|
||||
"population": 5676621
|
||||
},
|
||||
{
|
||||
"city": "Singapore",
|
||||
"country": "Singapore",
|
||||
"population": 5535000
|
||||
},
|
||||
{
|
||||
"city": "Saint Petersburg",
|
||||
"country": "Russia",
|
||||
"population": 5191690
|
||||
},
|
||||
{
|
||||
"city": "Sydney",
|
||||
"country": "Australia",
|
||||
"population": 5248790
|
||||
},
|
||||
{
|
||||
"city": "Abidjan",
|
||||
"country": "Ivory Coast",
|
||||
"population": 4765000
|
||||
},
|
||||
{
|
||||
"city": "Dar es Salaam",
|
||||
"country": "Tanzania",
|
||||
"population": 4364541
|
||||
},
|
||||
{
|
||||
"city": "Wellington",
|
||||
"country": "New Zealand",
|
||||
"population": 405000
|
||||
},
|
||||
{
|
||||
"city": "Los Angeles",
|
||||
"country": "United States",
|
||||
"population": 3884307
|
||||
},
|
||||
{
|
||||
"city": "Berlin",
|
||||
"country": "Germany",
|
||||
"population": 3517424
|
||||
},
|
||||
{
|
||||
"city": "Jeddah",
|
||||
"country": "Saudi Arabia",
|
||||
"population": 3456259
|
||||
},
|
||||
{
|
||||
"city": "Kabul",
|
||||
"country": "Afghanistan",
|
||||
"population": 3414100
|
||||
},
|
||||
{
|
||||
"city": "Mashhad",
|
||||
"country": "Iran",
|
||||
"population": 3001184
|
||||
},
|
||||
{
|
||||
"city": "Milan",
|
||||
"country": "Italy",
|
||||
"population": 1359905
|
||||
},
|
||||
{
|
||||
"city": "Kiev",
|
||||
"country": "Ukraine",
|
||||
"population": 2908703
|
||||
},
|
||||
{
|
||||
"city": "Rome",
|
||||
"country": "Italy",
|
||||
"population": 2877215
|
||||
},
|
||||
{
|
||||
"city": "Chicago",
|
||||
"country": "United States",
|
||||
"population": 2695598
|
||||
},
|
||||
{
|
||||
"city": "Osaka",
|
||||
"country": "Japan",
|
||||
"population": 2691742
|
||||
},
|
||||
{
|
||||
"city": "Bandung",
|
||||
"country": "Indonesia",
|
||||
"population": 2575478
|
||||
},
|
||||
{
|
||||
"city": "Managua",
|
||||
"country": "Nicaragua",
|
||||
"population": 2560789
|
||||
},
|
||||
{
|
||||
"city": "Paris",
|
||||
"country": "France",
|
||||
"population": 2229621
|
||||
},
|
||||
{
|
||||
"city": "Shiraz",
|
||||
"country": "Iran",
|
||||
"population": 1869001
|
||||
},
|
||||
{
|
||||
"city": "Manila",
|
||||
"country": "Philippines",
|
||||
"population": 1780148
|
||||
},
|
||||
{
|
||||
"city": "Montreal",
|
||||
"country": "Canada",
|
||||
"population": 1649519
|
||||
},
|
||||
{
|
||||
"city": "Guadalajara",
|
||||
"country": "Mexico",
|
||||
"population": 1495189
|
||||
},
|
||||
{
|
||||
"city": "Dallas",
|
||||
"country": "United States",
|
||||
"population": 1317929
|
||||
},
|
||||
{
|
||||
"city": "Yerevan",
|
||||
"country": "Armenia",
|
||||
"population": 1060138
|
||||
},
|
||||
{
|
||||
"city": "Tunis",
|
||||
"country": "Tunisia",
|
||||
"population": 1056247
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": "ia.display.table"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"props": {
|
||||
"direction": "column"
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 69 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 75 KiB |
@@ -109,6 +109,14 @@
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.objectName": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.objectName"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
@@ -248,6 +256,14 @@
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.objectName": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.objectName"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 5.9 KiB |
@@ -1,12 +1,13 @@
|
||||
{
|
||||
"custom": {
|
||||
"H": true,
|
||||
"v": false
|
||||
"H": false,
|
||||
"v": true
|
||||
},
|
||||
"params": {
|
||||
"EU": "degF",
|
||||
"EU_Pos": 1,
|
||||
"Val": 0.108
|
||||
"EU_Pos": 0,
|
||||
"Val": 0.108,
|
||||
"font_size": 12
|
||||
},
|
||||
"propConfig": {
|
||||
"custom.H": {
|
||||
@@ -74,6 +75,10 @@
|
||||
"params.Val": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.font_size": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
@@ -104,12 +109,19 @@
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.textStyle.fontSize": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.font_size"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"textStyle": {
|
||||
"color": "#021CB4",
|
||||
"fontSize": 12,
|
||||
"fontWeight": "bold",
|
||||
"textAlign": "center"
|
||||
}
|
||||
@@ -139,11 +151,18 @@
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.textStyle.fontSize": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.font_size"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"textStyle": {
|
||||
"fontSize": 12,
|
||||
"marginLeft": 5
|
||||
}
|
||||
},
|
||||
@@ -183,11 +202,18 @@
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.textStyle.fontSize": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.font_size"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"textStyle": {
|
||||
"fontSize": 12,
|
||||
"textAlign": "center"
|
||||
}
|
||||
},
|
||||
@@ -0,0 +1,415 @@
|
||||
{
|
||||
"custom": {
|
||||
"tabsConfig": {
|
||||
"tabs": [
|
||||
"Status",
|
||||
"Control",
|
||||
"Config",
|
||||
"Trend",
|
||||
"Meta",
|
||||
"Wiki"
|
||||
]
|
||||
},
|
||||
"trendConfig": {
|
||||
"selectedPens": []
|
||||
}
|
||||
},
|
||||
"params": {
|
||||
"auth": {
|
||||
"almAck": true,
|
||||
"almShelve": true,
|
||||
"config": true,
|
||||
"control": true
|
||||
},
|
||||
"objectName": "BatteryString",
|
||||
"tagPath": "[Ignition_SATB1_IO1_default]Datahall 1/Development/ATS"
|
||||
},
|
||||
"propConfig": {
|
||||
"custom.tabsConfig": {
|
||||
"persistent": true
|
||||
},
|
||||
"custom.tabsConfig.showConfig": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"1": "{view.params.tagPath}"
|
||||
},
|
||||
"tagPath": "{1}/Config"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},false) !\u003d false",
|
||||
"type": "expression"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
}
|
||||
},
|
||||
"custom.tabsConfig.showControl": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"1": "{view.params.tagPath}"
|
||||
},
|
||||
"tagPath": "{1}/Control"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},false) !\u003d false",
|
||||
"type": "expression"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
}
|
||||
},
|
||||
"custom.trendConfig": {
|
||||
"persistent": true
|
||||
},
|
||||
"params.auth": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.objectName": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.tagPath": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Status"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.deviceDataset": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.deviceDataset"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.objectName": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.objectName"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"loading": {
|
||||
"order": "with-parent"
|
||||
},
|
||||
"path": "Library/Templates/Info"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Trend"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.selectedPens": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.custom.trendConfig.selectedPens"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"loading": {
|
||||
"order": "with-parent"
|
||||
},
|
||||
"path": "Library/Templates/Trends"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Config"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.path": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "concat(\u0027Library/Templates/\u0027,{view.params.objectName},\u0027/Config\u0027)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"loading": {
|
||||
"order": "with-parent"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Meta"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.auth": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.auth"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.objectName": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.objectName"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"path": "Library/Templates/Meta"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Wiki"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.auth": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.auth"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"path": "Library/Framework/Tag Notes/View Notes"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Control"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.path": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "concat(\u0027Library/Templates/\u0027,{view.params.objectName},\u0027/Control\u0027)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"loading": {
|
||||
"order": "with-parent"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "TabContainer"
|
||||
},
|
||||
"position": {
|
||||
"basis": "300px",
|
||||
"grow": 1
|
||||
},
|
||||
"propConfig": {
|
||||
"props.tabs": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{view.custom.tabsConfig}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\ttabs \u003d value[\u0027tabs\u0027]\n\tshowConfig \u003d value[\u0027showConfig\u0027]\n\tshowControl \u003d value[\u0027showControl\u0027]\n\tif not showConfig:\n\t\ttabs.pop(tabs.indexOf(\u0027Config\u0027))\n\tif not showControl:\n\t\ttabs.pop(tabs.indexOf(\u0027Control\u0027))\n\t\n\treturn tabs",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"contentStyle": {
|
||||
"backgroundColor": "var(--container)"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.tab"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"props": {
|
||||
"direction": "column"
|
||||
},
|
||||
"scripts": {
|
||||
"customMethods": [],
|
||||
"extensionFunctions": null,
|
||||
"messageHandlers": [
|
||||
{
|
||||
"messageType": "enableDisablePen",
|
||||
"pageScope": true,
|
||||
"script": "\t# When a pen is selected or de-selected on the trends page, this handler is\n\t# responsible for appending or removing the pen name from the proper trend\n\t# config list.\n\t\n\tname \u003d payload[\u0027name\u0027]\n\tenabledOrDisabled \u003d payload[\u0027enabledOrDisabled\u0027]\n\tgroup \u003d payload[\u0027group\u0027]\n\t\n\tif enabledOrDisabled \u003d\u003d True:\n\t\tif name not in self.view.custom.trendConfig[\u0027selectedPens\u0027]:\n\t\t\tself.view.custom.trendConfig[\u0027selectedPens\u0027].append(name)\n\telse:\n\t\tif name in self.view.custom.trendConfig[\u0027selectedPens\u0027]:\n\t\t\tself.view.custom.trendConfig[\u0027selectedPens\u0027].remove(name)",
|
||||
"sessionScope": false,
|
||||
"viewScope": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 27 KiB |
@@ -4,7 +4,7 @@
|
||||
"data": [
|
||||
{
|
||||
"Alm": "0",
|
||||
"BP": 0,
|
||||
"BP": "0",
|
||||
"OAD": 0,
|
||||
"SAD": 0,
|
||||
"SAT": 0,
|
||||
@@ -37,15 +37,6 @@
|
||||
"SAT": "0",
|
||||
"device": "DOAS4",
|
||||
"path": "[default]simulator/DOAS/DOAS4"
|
||||
},
|
||||
{
|
||||
"Alm": "0",
|
||||
"BP": "0",
|
||||
"OAD": "0",
|
||||
"SAD": "0",
|
||||
"SAT": "0",
|
||||
"device": "DOAS5",
|
||||
"path": "[default]simulator/DOAS/DOAS5"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -560,19 +551,6 @@
|
||||
],
|
||||
"pager": {
|
||||
"bottom": false
|
||||
},
|
||||
"selection": {
|
||||
"data": [
|
||||
{
|
||||
"BP": "0",
|
||||
"OAD": "0",
|
||||
"SAD": "0",
|
||||
"SAT": "0",
|
||||
"device": "DOAS4"
|
||||
}
|
||||
],
|
||||
"selectedColumn": "OAD",
|
||||
"selectedRow": 3
|
||||
}
|
||||
},
|
||||
"type": "ia.display.table"
|
||||
@@ -0,0 +1,415 @@
|
||||
{
|
||||
"custom": {
|
||||
"tabsConfig": {
|
||||
"tabs": [
|
||||
"Status",
|
||||
"Control",
|
||||
"Config",
|
||||
"Trend",
|
||||
"Meta",
|
||||
"Wiki"
|
||||
]
|
||||
},
|
||||
"trendConfig": {
|
||||
"selectedPens": []
|
||||
}
|
||||
},
|
||||
"params": {
|
||||
"auth": {
|
||||
"almAck": true,
|
||||
"almShelve": true,
|
||||
"config": true,
|
||||
"control": true
|
||||
},
|
||||
"objectName": "W Booster Pump",
|
||||
"tagPath": "[Ignition_SATB1_IO1_default]Datahall 1/Development/ATS"
|
||||
},
|
||||
"propConfig": {
|
||||
"custom.tabsConfig": {
|
||||
"persistent": true
|
||||
},
|
||||
"custom.tabsConfig.showConfig": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"1": "{view.params.tagPath}"
|
||||
},
|
||||
"tagPath": "{1}/Config"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},false) !\u003d false",
|
||||
"type": "expression"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
}
|
||||
},
|
||||
"custom.tabsConfig.showControl": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"1": "{view.params.tagPath}"
|
||||
},
|
||||
"tagPath": "{1}/Control"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},false) !\u003d false",
|
||||
"type": "expression"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
}
|
||||
},
|
||||
"custom.trendConfig": {
|
||||
"persistent": true
|
||||
},
|
||||
"params.auth": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.objectName": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.tagPath": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Status"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.deviceDataset": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.deviceDataset"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.objectName": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.objectName"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"loading": {
|
||||
"order": "with-parent"
|
||||
},
|
||||
"path": "Library/Templates/Info"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Trend"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.selectedPens": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.custom.trendConfig.selectedPens"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"loading": {
|
||||
"order": "with-parent"
|
||||
},
|
||||
"path": "Library/Templates/Trends"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Config"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.path": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "concat(\u0027Library/Templates/\u0027,{view.params.objectName},\u0027/Config\u0027)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"loading": {
|
||||
"order": "with-parent"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Meta"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.auth": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.auth"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.objectName": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.objectName"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"path": "Library/Templates/Meta"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Wiki"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.auth": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.auth"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"path": "Library/Framework/Tag Notes/View Notes"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Control"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.path": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "concat(\u0027Library/Templates/\u0027,{view.params.objectName},\u0027/Control\u0027)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"loading": {
|
||||
"order": "with-parent"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "TabContainer"
|
||||
},
|
||||
"position": {
|
||||
"basis": "300px",
|
||||
"grow": 1
|
||||
},
|
||||
"propConfig": {
|
||||
"props.tabs": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{view.custom.tabsConfig}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\ttabs \u003d value[\u0027tabs\u0027]\n\tshowConfig \u003d value[\u0027showConfig\u0027]\n\tshowControl \u003d value[\u0027showControl\u0027]\n\tif not showConfig:\n\t\ttabs.pop(tabs.indexOf(\u0027Config\u0027))\n\tif not showControl:\n\t\ttabs.pop(tabs.indexOf(\u0027Control\u0027))\n\t\n\treturn tabs",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"contentStyle": {
|
||||
"backgroundColor": "var(--container)"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.tab"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"props": {
|
||||
"direction": "column"
|
||||
},
|
||||
"scripts": {
|
||||
"customMethods": [],
|
||||
"extensionFunctions": null,
|
||||
"messageHandlers": [
|
||||
{
|
||||
"messageType": "enableDisablePen",
|
||||
"pageScope": true,
|
||||
"script": "\t# When a pen is selected or de-selected on the trends page, this handler is\n\t# responsible for appending or removing the pen name from the proper trend\n\t# config list.\n\t\n\tname \u003d payload[\u0027name\u0027]\n\tenabledOrDisabled \u003d payload[\u0027enabledOrDisabled\u0027]\n\tgroup \u003d payload[\u0027group\u0027]\n\t\n\tif enabledOrDisabled \u003d\u003d True:\n\t\tif name not in self.view.custom.trendConfig[\u0027selectedPens\u0027]:\n\t\t\tself.view.custom.trendConfig[\u0027selectedPens\u0027].append(name)\n\telse:\n\t\tif name in self.view.custom.trendConfig[\u0027selectedPens\u0027]:\n\t\t\tself.view.custom.trendConfig[\u0027selectedPens\u0027].remove(name)",
|
||||
"sessionScope": false,
|
||||
"viewScope": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 6.3 KiB |
@@ -0,0 +1,90 @@
|
||||
{
|
||||
"pages": {
|
||||
"/": {
|
||||
"docks": {
|
||||
"cornerPriority": "left-right",
|
||||
"left": [
|
||||
{
|
||||
"anchor": "fixed",
|
||||
"autoBreakpoint": 480,
|
||||
"content": "push",
|
||||
"handle": "hide",
|
||||
"iconUrl": "",
|
||||
"id": "mainNav",
|
||||
"modal": false,
|
||||
"resizable": false,
|
||||
"show": "visible",
|
||||
"size": 220,
|
||||
"viewParams": {},
|
||||
"viewPath": "Library/Layouts/Docked/MainNav"
|
||||
}
|
||||
],
|
||||
"top": [
|
||||
{
|
||||
"anchor": "fixed",
|
||||
"autoBreakpoint": 480,
|
||||
"content": "push",
|
||||
"handle": "hide",
|
||||
"iconUrl": "",
|
||||
"id": "",
|
||||
"modal": false,
|
||||
"resizable": false,
|
||||
"show": "visible",
|
||||
"size": 80,
|
||||
"viewParams": {},
|
||||
"viewPath": "Library/Layouts/Docked/Header"
|
||||
}
|
||||
]
|
||||
},
|
||||
"title": "",
|
||||
"viewPath": "Pages/Dashboards/Home"
|
||||
},
|
||||
"/CHW_System/:pageId": {
|
||||
"title": "",
|
||||
"viewPath": "Pages/Mechanical/CHW_System_Layout"
|
||||
},
|
||||
"/DH101/:pageId": {
|
||||
"title": "",
|
||||
"viewPath": "Pages/Datahall/DH101"
|
||||
},
|
||||
"/DH102/:pageId": {
|
||||
"title": "",
|
||||
"viewPath": "Pages/Datahall/DH102"
|
||||
},
|
||||
"/DH201/:pageId": {
|
||||
"title": "",
|
||||
"viewPath": "Pages/Datahall/DH201"
|
||||
},
|
||||
"/DH202/:pageId": {
|
||||
"title": "",
|
||||
"viewPath": "Pages/Datahall/DH203"
|
||||
},
|
||||
"/Oneline_HS1/:pageId": {
|
||||
"title": "",
|
||||
"viewPath": "Pages/Electrical/Oneline_HS1"
|
||||
},
|
||||
"/Oneline_HS2/:pageId": {
|
||||
"title": "",
|
||||
"viewPath": "Pages/Electrical/Oneline_HS2"
|
||||
},
|
||||
"/Oneline_M/:pageId": {
|
||||
"title": "",
|
||||
"viewPath": "Pages/Electrical/Oneline_M"
|
||||
},
|
||||
"/Oneline_P/:pageId": {
|
||||
"title": "",
|
||||
"viewPath": "Pages/Electrical/Oneline_P"
|
||||
},
|
||||
"/Oneline_SES/:pageId": {
|
||||
"title": "",
|
||||
"viewPath": "Pages/Electrical/Oneline_SES"
|
||||
},
|
||||
"/Oneline_UT/:pageId": {
|
||||
"title": "",
|
||||
"viewPath": "Pages/Electrical/Oneline_UT"
|
||||
}
|
||||
},
|
||||
"sharedDocks": {
|
||||
"cornerPriority": "top-bottom"
|
||||
}
|
||||
}
|
||||
@@ -96,8 +96,8 @@
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 170,
|
||||
"width": 200
|
||||
"height": 173,
|
||||
"width": 202
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
@@ -475,10 +475,11 @@
|
||||
"backgroundColor": "var(--container)",
|
||||
"borderBottomLeftRadius": 2,
|
||||
"borderBottomRightRadius": 2,
|
||||
"borderColor": "#C1C1C1",
|
||||
"borderStyle": "solid",
|
||||
"borderTopLeftRadius": 2,
|
||||
"borderTopRightRadius": 2,
|
||||
"boxShadow": "var(--boxShadow2)",
|
||||
"overflow": "visible"
|
||||
"borderWidth": 1
|
||||
}
|
||||
},
|
||||
"type": "ia.container.coord"
|
||||
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 92 KiB |
|
Before Width: | Height: | Size: 56 KiB |
@@ -101,6 +101,14 @@
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.objectName": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.objectName"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
@@ -240,6 +248,14 @@
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.objectName": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.objectName"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
@@ -373,7 +389,8 @@
|
||||
"props": {
|
||||
"contentStyle": {
|
||||
"backgroundColor": "var(--container)"
|
||||
}
|
||||
},
|
||||
"currentTabIndex": 2
|
||||
},
|
||||
"type": "ia.container.tab"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 6.4 KiB |
|
After Width: | Height: | Size: 5.2 KiB |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"custom": {
|
||||
"refreshTimerInterval": "60000"
|
||||
"refreshTimerInterval": null
|
||||
},
|
||||
"params": {
|
||||
"deviceType": "Battery",
|
||||
@@ -350,10 +350,10 @@
|
||||
"markdown": {
|
||||
"escapeHtml": false
|
||||
},
|
||||
"source": "Last Update: 01/07, 10:24:52 AM",
|
||||
"source": "Last Update: 05/14, 02:25:30 PM",
|
||||
"style": {
|
||||
"alignContent": "center",
|
||||
"classes": "labels/text-sm, Animation/fadeToBlack_B",
|
||||
"classes": "labels/text-sm, Animation/fadeToBlack_A",
|
||||
"cursor": "pointer",
|
||||
"fontWeight": "400",
|
||||
"opacity": 0.5,
|
||||
@@ -638,7 +638,8 @@
|
||||
"shrink": 0
|
||||
},
|
||||
"props": {
|
||||
"breakpoint": 480
|
||||
"breakpoint": 480,
|
||||
"currentBreakpoint": "large"
|
||||
},
|
||||
"type": "ia.container.breakpt"
|
||||
},
|
||||
|
After Width: | Height: | Size: 4.4 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
@@ -0,0 +1,423 @@
|
||||
{
|
||||
"custom": {
|
||||
"tabsConfig": {
|
||||
"tabs": [
|
||||
"Status",
|
||||
"Control",
|
||||
"Config",
|
||||
"Trend",
|
||||
"Meta",
|
||||
"Wiki"
|
||||
]
|
||||
},
|
||||
"trendConfig": {
|
||||
"selectedPens": []
|
||||
}
|
||||
},
|
||||
"params": {
|
||||
"auth": {
|
||||
"almAck": true,
|
||||
"almShelve": true,
|
||||
"config": true,
|
||||
"control": true
|
||||
},
|
||||
"objectName": "Fire Pump",
|
||||
"tagPath": "[Ignition_SATB1_IO5_default]SATB1_DH5_P5_SWBD5_XA_SPD"
|
||||
},
|
||||
"propConfig": {
|
||||
"custom.tabsConfig": {
|
||||
"persistent": true
|
||||
},
|
||||
"custom.tabsConfig.showConfig": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"1": "{view.params.tagPath}"
|
||||
},
|
||||
"tagPath": "{1}/Config"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},false) !\u003d false",
|
||||
"type": "expression"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
}
|
||||
},
|
||||
"custom.tabsConfig.showControl": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"1": "{view.params.tagPath}"
|
||||
},
|
||||
"tagPath": "{1}/Control"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},false) !\u003d false",
|
||||
"type": "expression"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
}
|
||||
},
|
||||
"custom.trendConfig": {
|
||||
"persistent": true
|
||||
},
|
||||
"params.auth": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.objectName": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.tagPath": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Status"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.objectName": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.objectName"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"loading": {
|
||||
"order": "with-parent"
|
||||
},
|
||||
"path": "Library/Templates/Info"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Trend"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.selectedPens": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.custom.trendConfig.selectedPens"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"loading": {
|
||||
"order": "with-parent"
|
||||
},
|
||||
"path": "Library/Templates/Trends"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Config"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.auth": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.auth"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.path": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "concat(\u0027Library/Templates/\u0027,{view.params.objectName},\u0027/Config\u0027)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"loading": {
|
||||
"order": "with-parent"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Meta"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.auth": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.auth"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.objectName": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.objectName"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"path": "Library/Templates/Meta"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Wiki"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.auth": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.auth"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"path": "Library/Framework/Tag Notes/View Notes"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Control"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.auth": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.auth"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.path": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "concat(\u0027Library/Templates/\u0027,{view.params.objectName},\u0027/Control\u0027)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"loading": {
|
||||
"order": "with-parent"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "TabContainer"
|
||||
},
|
||||
"position": {
|
||||
"basis": "300px",
|
||||
"grow": 1
|
||||
},
|
||||
"propConfig": {
|
||||
"props.tabs": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{view.custom.tabsConfig}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\ttabs \u003d value[\u0027tabs\u0027]\n\tshowConfig \u003d value[\u0027showConfig\u0027]\n\tshowControl \u003d value[\u0027showControl\u0027]\n\tif not showConfig:\n\t\ttabs.pop(tabs.indexOf(\u0027Config\u0027))\n\tif not showControl:\n\t\ttabs.pop(tabs.indexOf(\u0027Control\u0027))\n\t\n\treturn tabs",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"contentStyle": {
|
||||
"backgroundColor": "var(--container)"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.tab"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"props": {
|
||||
"direction": "column"
|
||||
},
|
||||
"scripts": {
|
||||
"customMethods": [],
|
||||
"extensionFunctions": null,
|
||||
"messageHandlers": [
|
||||
{
|
||||
"messageType": "enableDisablePen",
|
||||
"pageScope": true,
|
||||
"script": "\t# When a pen is selected or de-selected on the trends page, this handler is\n\t# responsible for appending or removing the pen name from the proper trend\n\t# config list.\n\t\n\tname \u003d payload[\u0027name\u0027]\n\tenabledOrDisabled \u003d payload[\u0027enabledOrDisabled\u0027]\n\tgroup \u003d payload[\u0027group\u0027]\n\t\n\tif enabledOrDisabled \u003d\u003d True:\n\t\tif name not in self.view.custom.trendConfig[\u0027selectedPens\u0027]:\n\t\t\tself.view.custom.trendConfig[\u0027selectedPens\u0027].append(name)\n\telse:\n\t\tif name in self.view.custom.trendConfig[\u0027selectedPens\u0027]:\n\t\t\tself.view.custom.trendConfig[\u0027selectedPens\u0027].remove(name)",
|
||||
"sessionScope": false,
|
||||
"viewScope": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,423 @@
|
||||
{
|
||||
"custom": {
|
||||
"tabsConfig": {
|
||||
"tabs": [
|
||||
"Status",
|
||||
"Control",
|
||||
"Config",
|
||||
"Trend",
|
||||
"Meta",
|
||||
"Wiki"
|
||||
]
|
||||
},
|
||||
"trendConfig": {
|
||||
"selectedPens": []
|
||||
}
|
||||
},
|
||||
"params": {
|
||||
"auth": {
|
||||
"almAck": true,
|
||||
"almShelve": true,
|
||||
"config": true,
|
||||
"control": true
|
||||
},
|
||||
"objectName": "Panel",
|
||||
"tagPath": "[Ignition_Common_IO_Gtwy]Roof/CH31_SYSTEM"
|
||||
},
|
||||
"propConfig": {
|
||||
"custom.tabsConfig": {
|
||||
"persistent": true
|
||||
},
|
||||
"custom.tabsConfig.showConfig": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"1": "{view.params.tagPath}"
|
||||
},
|
||||
"tagPath": "{1}/Config"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},false) !\u003d false",
|
||||
"type": "expression"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
}
|
||||
},
|
||||
"custom.tabsConfig.showControl": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"1": "{view.params.tagPath}"
|
||||
},
|
||||
"tagPath": "{1}/Control"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},false) !\u003d false",
|
||||
"type": "expression"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
}
|
||||
},
|
||||
"custom.trendConfig": {
|
||||
"persistent": true
|
||||
},
|
||||
"params.auth": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.objectName": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.tagPath": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Status"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.objectName": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.objectName"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"loading": {
|
||||
"order": "with-parent"
|
||||
},
|
||||
"path": "Library/Templates/Info"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Trend"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.selectedPens": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.custom.trendConfig.selectedPens"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"loading": {
|
||||
"order": "with-parent"
|
||||
},
|
||||
"path": "Library/Templates/Trends"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Config"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.auth": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.auth"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.path": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "concat(\u0027Library/Templates/\u0027,{view.params.objectName},\u0027/Config\u0027)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"loading": {
|
||||
"order": "with-parent"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Meta"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.auth": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.auth"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.objectName": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.objectName"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"path": "Library/Templates/Meta"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Wiki"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.auth": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.auth"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"path": "Library/Framework/Tag Notes/View Notes"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Control"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.auth": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.auth"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.path": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "concat(\u0027Library/Templates/\u0027,{view.params.objectName},\u0027/Control\u0027)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"loading": {
|
||||
"order": "with-parent"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "TabContainer"
|
||||
},
|
||||
"position": {
|
||||
"basis": "300px",
|
||||
"grow": 1
|
||||
},
|
||||
"propConfig": {
|
||||
"props.tabs": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{view.custom.tabsConfig}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\ttabs \u003d value[\u0027tabs\u0027]\n\tshowConfig \u003d value[\u0027showConfig\u0027]\n\tshowControl \u003d value[\u0027showControl\u0027]\n\tif not showConfig:\n\t\ttabs.pop(tabs.indexOf(\u0027Config\u0027))\n\tif not showControl:\n\t\ttabs.pop(tabs.indexOf(\u0027Control\u0027))\n\t\n\treturn tabs",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"contentStyle": {
|
||||
"backgroundColor": "var(--container)"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.tab"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"props": {
|
||||
"direction": "column"
|
||||
},
|
||||
"scripts": {
|
||||
"customMethods": [],
|
||||
"extensionFunctions": null,
|
||||
"messageHandlers": [
|
||||
{
|
||||
"messageType": "enableDisablePen",
|
||||
"pageScope": true,
|
||||
"script": "\t# When a pen is selected or de-selected on the trends page, this handler is\n\t# responsible for appending or removing the pen name from the proper trend\n\t# config list.\n\t\n\tname \u003d payload[\u0027name\u0027]\n\tenabledOrDisabled \u003d payload[\u0027enabledOrDisabled\u0027]\n\tgroup \u003d payload[\u0027group\u0027]\n\t\n\tif enabledOrDisabled \u003d\u003d True:\n\t\tif name not in self.view.custom.trendConfig[\u0027selectedPens\u0027]:\n\t\t\tself.view.custom.trendConfig[\u0027selectedPens\u0027].append(name)\n\telse:\n\t\tif name in self.view.custom.trendConfig[\u0027selectedPens\u0027]:\n\t\t\tself.view.custom.trendConfig[\u0027selectedPens\u0027].remove(name)",
|
||||
"sessionScope": false,
|
||||
"viewScope": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 37 KiB |
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 9.1 KiB |
|
Before Width: | Height: | Size: 477 B |
|
After Width: | Height: | Size: 7.5 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
@@ -0,0 +1,430 @@
|
||||
{
|
||||
"custom": {
|
||||
"tabsConfig": {
|
||||
"showConfig": false,
|
||||
"showControl": false,
|
||||
"tabs": [
|
||||
"Status",
|
||||
"Control",
|
||||
"Config",
|
||||
"Trend",
|
||||
"Meta",
|
||||
"Wiki"
|
||||
]
|
||||
},
|
||||
"trendConfig": {
|
||||
"selectedPens": [
|
||||
"Discharge Air Temperature A"
|
||||
]
|
||||
}
|
||||
},
|
||||
"params": {
|
||||
"auth": {
|
||||
"almAck": true,
|
||||
"almShelve": true,
|
||||
"config": true,
|
||||
"control": true
|
||||
},
|
||||
"objectName": "STU",
|
||||
"tagPath": "[Ignition_Common_IO_Gtwy]GAL1282/SATB1_GAL1282_DH4_STU06"
|
||||
},
|
||||
"propConfig": {
|
||||
"custom.tabsConfig": {
|
||||
"persistent": true
|
||||
},
|
||||
"custom.tabsConfig.showConfig": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"1": "{view.params.tagPath}"
|
||||
},
|
||||
"tagPath": "{1}/Config"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},false) !\u003d false",
|
||||
"type": "expression"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
},
|
||||
"persistent": true
|
||||
},
|
||||
"custom.tabsConfig.showControl": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"1": "{view.params.tagPath}"
|
||||
},
|
||||
"tagPath": "{1}/Control"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},false) !\u003d false",
|
||||
"type": "expression"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
},
|
||||
"persistent": true
|
||||
},
|
||||
"custom.trendConfig": {
|
||||
"persistent": true
|
||||
},
|
||||
"params.auth": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.objectName": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.tagPath": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Status"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.objectName": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.objectName"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"loading": {
|
||||
"order": "with-parent"
|
||||
},
|
||||
"path": "Library/Templates/Info"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Trend"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.selectedPens": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.custom.trendConfig.selectedPens"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"loading": {
|
||||
"order": "with-parent"
|
||||
},
|
||||
"path": "Library/Templates/Trends"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Config"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.auth": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.auth"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.path": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "concat(\u0027Library/Templates/\u0027,{view.params.objectName},\u0027/Config\u0027)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"loading": {
|
||||
"order": "with-parent"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Meta"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.auth": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.auth"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.objectName": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.objectName"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"path": "Library/Templates/Meta"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Wiki"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.auth": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.auth"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"path": "Library/Framework/Tag Notes/View Notes"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Control"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.auth": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.auth"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.path": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "concat(\u0027Library/Templates/\u0027,{view.params.objectName},\u0027/Control\u0027)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"loading": {
|
||||
"order": "with-parent"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "TabContainer"
|
||||
},
|
||||
"position": {
|
||||
"basis": "300px",
|
||||
"grow": 1
|
||||
},
|
||||
"propConfig": {
|
||||
"props.tabs": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{view.custom.tabsConfig}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\ttabs \u003d value[\u0027tabs\u0027]\n\tshowConfig \u003d value[\u0027showConfig\u0027]\n\tshowControl \u003d value[\u0027showControl\u0027]\n\tif not showConfig:\n\t\ttabs.pop(tabs.indexOf(\u0027Config\u0027))\n\tif not showControl:\n\t\ttabs.pop(tabs.indexOf(\u0027Control\u0027))\n\t\n\treturn tabs",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"contentStyle": {
|
||||
"backgroundColor": "var(--container)"
|
||||
},
|
||||
"currentTabIndex": 2
|
||||
},
|
||||
"type": "ia.container.tab"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"props": {
|
||||
"direction": "column"
|
||||
},
|
||||
"scripts": {
|
||||
"customMethods": [],
|
||||
"extensionFunctions": null,
|
||||
"messageHandlers": [
|
||||
{
|
||||
"messageType": "enableDisablePen",
|
||||
"pageScope": true,
|
||||
"script": "\t# When a pen is selected or de-selected on the trends page, this handler is\n\t# responsible for appending or removing the pen name from the proper trend\n\t# config list.\n\t\n\tname \u003d payload[\u0027name\u0027]\n\tenabledOrDisabled \u003d payload[\u0027enabledOrDisabled\u0027]\n\tgroup \u003d payload[\u0027group\u0027]\n\t\n\tif enabledOrDisabled \u003d\u003d True:\n\t\tif name not in self.view.custom.trendConfig[\u0027selectedPens\u0027]:\n\t\t\tself.view.custom.trendConfig[\u0027selectedPens\u0027].append(name)\n\telse:\n\t\tif name in self.view.custom.trendConfig[\u0027selectedPens\u0027]:\n\t\t\tself.view.custom.trendConfig[\u0027selectedPens\u0027].remove(name)",
|
||||
"sessionScope": false,
|
||||
"viewScope": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 43 KiB |
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 37,
|
||||
"width": 65
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Label"
|
||||
},
|
||||
"position": {
|
||||
"basis": "32px"
|
||||
},
|
||||
"props": {
|
||||
"text": "UDT"
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"props": {
|
||||
"direction": "column"
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
@@ -120,6 +120,14 @@
|
||||
{
|
||||
"input": "FS",
|
||||
"output": "Pages/FireSystem/FireSystem"
|
||||
},
|
||||
{
|
||||
"input": "GEN",
|
||||
"output": "Pages/Dashboards/GEN"
|
||||
},
|
||||
{
|
||||
"input": "UPS",
|
||||
"output": "Pages/Dashboards/UPS"
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
@@ -157,9 +165,18 @@
|
||||
"name": "Details"
|
||||
},
|
||||
"position": {
|
||||
"basis": "400px"
|
||||
"basis": "410px",
|
||||
"shrink": 0
|
||||
},
|
||||
"propConfig": {
|
||||
"props.params.objectName": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.GoTo"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.path": {
|
||||
"binding": {
|
||||
"config": {
|
||||
|
After Width: | Height: | Size: 73 KiB |
|
After Width: | Height: | Size: 68 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 6.3 KiB |
@@ -1,19 +1,6 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {
|
||||
"GoTo": "DH201",
|
||||
"Zoom": 100
|
||||
},
|
||||
"propConfig": {
|
||||
"params.GoTo": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.Zoom": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"params": {},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 1000,
|
||||
@@ -25,15 +12,27 @@
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"custom": {
|
||||
"zoom": 160
|
||||
},
|
||||
"meta": {
|
||||
"name": "IFrame"
|
||||
},
|
||||
"position": {
|
||||
"height": 984,
|
||||
"width": 1396
|
||||
"height": 1188,
|
||||
"width": 1677
|
||||
},
|
||||
"propConfig": {
|
||||
"props.src": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "\"http://172.30.47.21:8088/system/webdev/SDC_PHX_A7/pan-zoom-iframe/html?gatewayAddress\u003dhttp://172.30.47.21:8088\u0026projectName\u003dSDC_PHX_A7\u0026targetURL\u003d/DH201\u0026targetDetailedURL\u003d/Pages/Datahall/DH201\u0026height\u003d\"+{this.custom.zoom}+\"%25\u0026width\u003d\"+{this.custom.zoom}+\"%25\u0026x\u003d-100%25\""
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"src": "http://172.30.47.21:8088/system/webdev/SDC_PHX_A7/pan-zoom-iframe/html?gatewayAddress\u003dhttp://172.30.47.21:8088\u0026projectName\u003dSDC_PHX_A7\u0026targetURL\u003d/DH201\u0026targetDetailedURL\u003d/Pages/Datahall/DH201\u0026height\u003d175%25\u0026width\u003d175%25",
|
||||
"style": {
|
||||
"flex": "1 1 auto",
|
||||
"key": "value",
|
||||
@@ -49,7 +48,7 @@
|
||||
"name": "CoordinateContainer"
|
||||
},
|
||||
"position": {
|
||||
"grow": 1
|
||||
"position": "left"
|
||||
},
|
||||
"type": "ia.container.coord"
|
||||
},
|
||||
@@ -58,8 +57,7 @@
|
||||
"name": "Details"
|
||||
},
|
||||
"position": {
|
||||
"basis": "280px",
|
||||
"shrink": 0
|
||||
"position": "right"
|
||||
},
|
||||
"props": {
|
||||
"mode": "fixed",
|
||||
@@ -76,11 +74,15 @@
|
||||
"name": "root"
|
||||
},
|
||||
"props": {
|
||||
"split": {
|
||||
"draggable": false,
|
||||
"position": "85%",
|
||||
"visible": false
|
||||
},
|
||||
"style": {
|
||||
"gap": "var(--space-md)",
|
||||
"padding": "var(--space-md)"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
"type": "ia.container.split"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,423 @@
|
||||
{
|
||||
"custom": {
|
||||
"tabsConfig": {
|
||||
"tabs": [
|
||||
"Status",
|
||||
"Control",
|
||||
"Config",
|
||||
"Trend",
|
||||
"Meta",
|
||||
"Wiki"
|
||||
]
|
||||
},
|
||||
"trendConfig": {
|
||||
"selectedPens": []
|
||||
}
|
||||
},
|
||||
"params": {
|
||||
"auth": {
|
||||
"almAck": true,
|
||||
"almShelve": true,
|
||||
"config": true,
|
||||
"control": true
|
||||
},
|
||||
"objectName": "Redundancy",
|
||||
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1240/SATB1_M1_2_MPR1240_CRAH_01"
|
||||
},
|
||||
"propConfig": {
|
||||
"custom.tabsConfig": {
|
||||
"persistent": true
|
||||
},
|
||||
"custom.tabsConfig.showConfig": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"1": "{view.params.tagPath}"
|
||||
},
|
||||
"tagPath": "{1}/Config"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},false) !\u003d false",
|
||||
"type": "expression"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
}
|
||||
},
|
||||
"custom.tabsConfig.showControl": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"1": "{view.params.tagPath}"
|
||||
},
|
||||
"tagPath": "{1}/Control"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},false) !\u003d false",
|
||||
"type": "expression"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
}
|
||||
},
|
||||
"custom.trendConfig": {
|
||||
"persistent": true
|
||||
},
|
||||
"params.auth": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.objectName": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.tagPath": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Status"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.objectName": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.objectName"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"loading": {
|
||||
"order": "with-parent"
|
||||
},
|
||||
"path": "Library/Templates/Info"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Trend"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.selectedPens": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.custom.trendConfig.selectedPens"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"loading": {
|
||||
"order": "with-parent"
|
||||
},
|
||||
"path": "Library/Templates/Trends"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Config"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.auth": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.auth"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.path": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "concat(\u0027Library/Templates/\u0027,{view.params.objectName},\u0027/Config\u0027)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"loading": {
|
||||
"order": "with-parent"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Meta"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.auth": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.auth"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.objectName": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.objectName"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"path": "Library/Templates/Meta"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Wiki"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.auth": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.auth"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"path": "Library/Framework/Tag Notes/View Notes"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Control"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.tabIndex": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{parent.props.tabs}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn value.indexOf(self.meta.name)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.auth": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.auth"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.path": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "concat(\u0027Library/Templates/\u0027,{view.params.objectName},\u0027/Control\u0027)"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"loading": {
|
||||
"order": "with-parent"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "TabContainer"
|
||||
},
|
||||
"position": {
|
||||
"basis": "300px",
|
||||
"grow": 1
|
||||
},
|
||||
"propConfig": {
|
||||
"props.tabs": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{view.custom.tabsConfig}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\ttabs \u003d value[\u0027tabs\u0027]\n\tshowConfig \u003d value[\u0027showConfig\u0027]\n\tshowControl \u003d value[\u0027showControl\u0027]\n\tif not showConfig:\n\t\ttabs.pop(tabs.indexOf(\u0027Config\u0027))\n\tif not showControl:\n\t\ttabs.pop(tabs.indexOf(\u0027Control\u0027))\n\t\n\treturn tabs",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"contentStyle": {
|
||||
"backgroundColor": "var(--container)"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.tab"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"props": {
|
||||
"direction": "column"
|
||||
},
|
||||
"scripts": {
|
||||
"customMethods": [],
|
||||
"extensionFunctions": null,
|
||||
"messageHandlers": [
|
||||
{
|
||||
"messageType": "enableDisablePen",
|
||||
"pageScope": true,
|
||||
"script": "\t# When a pen is selected or de-selected on the trends page, this handler is\n\t# responsible for appending or removing the pen name from the proper trend\n\t# config list.\n\t\n\tname \u003d payload[\u0027name\u0027]\n\tenabledOrDisabled \u003d payload[\u0027enabledOrDisabled\u0027]\n\tgroup \u003d payload[\u0027group\u0027]\n\t\n\tif enabledOrDisabled \u003d\u003d True:\n\t\tif name not in self.view.custom.trendConfig[\u0027selectedPens\u0027]:\n\t\t\tself.view.custom.trendConfig[\u0027selectedPens\u0027].append(name)\n\telse:\n\t\tif name in self.view.custom.trendConfig[\u0027selectedPens\u0027]:\n\t\t\tself.view.custom.trendConfig[\u0027selectedPens\u0027].remove(name)",
|
||||
"sessionScope": false,
|
||||
"viewScope": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 2.7 KiB |
@@ -106,6 +106,14 @@
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.objectName": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.objectName"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
@@ -48,9 +48,10 @@
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "EmbeddedView"
|
||||
"name": "DRL_topology"
|
||||
},
|
||||
"position": {
|
||||
"grow": 1,
|
||||
"shrink": 0
|
||||
},
|
||||
"props": {
|
||||
@@ -59,6 +60,25 @@
|
||||
"useDefaultViewWidth": true
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "layout_panel"
|
||||
},
|
||||
"position": {
|
||||
"shrink": 0
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"objectName": "DLR"
|
||||
},
|
||||
"path": "Library/Cards/Card_L3_Navigation",
|
||||
"style": {
|
||||
"classes": "containers/card",
|
||||
"overflow": "visible"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
@@ -70,7 +90,11 @@
|
||||
"shrink": 0
|
||||
},
|
||||
"props": {
|
||||
"justify": "center"
|
||||
"justify": "center",
|
||||
"style": {
|
||||
"gap": "var(--space-md)",
|
||||
"overflow": "visible"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
},
|
||||
@@ -1725,7 +1749,11 @@
|
||||
"name": "root"
|
||||
},
|
||||
"props": {
|
||||
"direction": "column"
|
||||
"direction": "column",
|
||||
"style": {
|
||||
"gap": "var(--space-md)",
|
||||
"padding": "var(--space-md)"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
@@ -21,7 +21,7 @@
|
||||
"config": true,
|
||||
"control": true
|
||||
},
|
||||
"objectName": "SWBDPQM",
|
||||
"objectName": "PQM",
|
||||
"tagPath": "[Ignition_SATB1_IO1_default]ER1242_P1-1/SWBD/SATB1_ER1242_PQM1"
|
||||
},
|
||||
"propConfig": {
|
||||
@@ -106,6 +106,14 @@
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.objectName": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.objectName"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
|
Before Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 137 KiB |
@@ -0,0 +1,96 @@
|
||||
{
|
||||
"custom": {
|
||||
"auth": {
|
||||
"almAck": false,
|
||||
"almShelve": false,
|
||||
"config": false,
|
||||
"control": false
|
||||
}
|
||||
},
|
||||
"params": {
|
||||
"dh": 201
|
||||
},
|
||||
"propConfig": {
|
||||
"custom.auth": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "session.props.auth.user.roles"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn utils.roles.validate(value)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
},
|
||||
"persistent": true
|
||||
},
|
||||
"params.dh": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 199,
|
||||
"width": 901
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "FlexRepeater"
|
||||
},
|
||||
"position": {
|
||||
"grow": 1,
|
||||
"shrink": 0
|
||||
},
|
||||
"props": {
|
||||
"alignContent": "space-around",
|
||||
"alignItems": "center",
|
||||
"instances": [
|
||||
{
|
||||
"instancePosition": {},
|
||||
"instanceStyle": {
|
||||
"classes": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"instancePosition": {},
|
||||
"instanceStyle": {
|
||||
"classes": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"instancePosition": {},
|
||||
"instanceStyle": {
|
||||
"classes": ""
|
||||
}
|
||||
}
|
||||
],
|
||||
"justify": "center",
|
||||
"path": "Library/Symbols/Mechanical/Sym_SP",
|
||||
"style": {
|
||||
"gap": "var(--space-xl)"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.flex-repeater"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"props": {
|
||||
"direction": "column",
|
||||
"justify": "space-between",
|
||||
"style": {
|
||||
"gap": "10px",
|
||||
"overflow": "visible",
|
||||
"padding": "10px"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 574 B |
|
Before Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 38 KiB |
@@ -21,8 +21,8 @@
|
||||
"config": true,
|
||||
"control": true
|
||||
},
|
||||
"objectName": "Chiller",
|
||||
"tagPath": "[Ignition_SATB1_IO1_default]Datahall 1/Development/Chiller 1"
|
||||
"objectName": "ATS",
|
||||
"tagPath": "[Ignition_SATB1_IO1_default]Datahall 1/Development/ATS"
|
||||
},
|
||||
"propConfig": {
|
||||
"custom.tabsConfig": {
|
||||
@@ -106,6 +106,22 @@
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.deviceDataset": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.deviceDataset"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.objectName": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.objectName"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
@@ -186,14 +202,6 @@
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.auth": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.auth"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
@@ -245,6 +253,14 @@
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.objectName": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.objectName"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
@@ -319,14 +335,6 @@
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.auth": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.auth"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
|
Before Width: | Height: | Size: 123 KiB |
|
After Width: | Height: | Size: 13 KiB |
@@ -26,7 +26,7 @@
|
||||
"config": true,
|
||||
"control": true
|
||||
},
|
||||
"objectName": "UPS",
|
||||
"objectName": "UPS HS",
|
||||
"tagPath": "[Ignition_SATB1_IO1_default]ER1242/SATB1_ER1242_UPS-1\n"
|
||||
},
|
||||
"propConfig": {
|
||||
@@ -115,6 +115,14 @@
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.objectName": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.objectName"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
@@ -254,6 +262,14 @@
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.objectName": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.objectName"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
@@ -527,8 +543,7 @@
|
||||
"props": {
|
||||
"contentStyle": {
|
||||
"backgroundColor": "var(--container)"
|
||||
},
|
||||
"currentTabIndex": 6
|
||||
}
|
||||
},
|
||||
"type": "ia.container.tab"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 5.1 KiB |
|
After Width: | Height: | Size: 6.5 KiB |
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"base": {
|
||||
"style": {
|
||||
"backgroundColor": "var(--elec-on)",
|
||||
"borderTopLeftRadius": "5px",
|
||||
"borderTopRightRadius": "5px",
|
||||
"borderBottomLeftRadius": "5px",
|
||||
"borderBottomRightRadius": "5px",
|
||||
"color": "white",
|
||||
"textAlign": "center"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 84 KiB |
@@ -74,7 +74,7 @@
|
||||
"props": {
|
||||
"params": {
|
||||
"deviceType": "VM",
|
||||
"selectedDeviceTagpath": "[PHXA2_IG_COMN]HE1138/PHXA2_UPS_BATT_VM_HS1",
|
||||
"selectedDeviceTagpath": null,
|
||||
"tagPath": "[PHXA2_IG_COMN]System/Device Lists/VM"
|
||||
},
|
||||
"path": "Pages/Dev/D_Electrical/L2/Cellwatch/Components/VM Table"
|
||||
@@ -93,7 +93,7 @@
|
||||
"props": {
|
||||
"params": {
|
||||
"deviceType": "Battery",
|
||||
"selectedDeviceTagpath": "[PHXA2_IG_COMN]HE1138/PHXA2_UPS_BATT_VM_HS1/1_1",
|
||||
"selectedDeviceTagpath": null,
|
||||
"tagPath": "[PHXA2_IG_COMN]System/Device Lists/Battery"
|
||||
},
|
||||
"path": "Pages/Dev/D_Electrical/L2/Cellwatch/Components/Battery Table"
|
||||
|
After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 403 B |
|
Before Width: | Height: | Size: 76 KiB |
@@ -21,7 +21,7 @@
|
||||
"config": true,
|
||||
"control": true
|
||||
},
|
||||
"objectName": "ValveM",
|
||||
"objectName": "LD",
|
||||
"tagPath": "[Ignition_SATB1_IO1_default]Datahall 1/Development/ValveM 1"
|
||||
},
|
||||
"propConfig": {
|
||||
@@ -106,6 +106,14 @@
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.params.objectName": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.objectName"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
@@ -245,6 +253,14 @@
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.objectName": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.objectName"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.params.tagPath": {
|
||||
"binding": {
|
||||
"config": {
|
||||
|
After Width: | Height: | Size: 5.0 KiB |