Backup of frontend with base gateway project and edge project

This commit is contained in:
2026-03-05 17:03:27 +00:00
parent c7730b9da4
commit 0bf19d3af0
1306 changed files with 240817 additions and 639 deletions

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

View File

@@ -0,0 +1,332 @@
{
"custom": {
"alarm_active": 2,
"udt_type": "_template"
},
"params": {
"tagPath": "[Ignition_TX21_BE]DM11/TX21_DM11_CDU02"
},
"propConfig": {
"custom.alarm_active": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/Alarm Metrics.activeUnackCount"
},
"type": "tag"
},
"persistent": true
},
"custom.udt_type": {
"binding": {
"config": {
"path": "view.params.tagPath"
},
"enabled": false,
"transforms": [
{
"code": "\tconfig \u003d system.tag.getConfiguration(value, 0)\n\treturn config[0][\u0027typeId\u0027].split(\u0027/\u0027)[-1]",
"type": "script"
}
],
"type": "property"
},
"persistent": true
},
"params.tagPath": {
"paramDirection": "input",
"persistent": true
}
},
"props": {},
"root": {
"children": [
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"grow": 1,
"shrink": 0
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"path": "view.params.tagPath"
},
"enabled": false,
"type": "property"
}
}
},
"props": {
"style": {
"classes": "Common/Static/text"
},
"text": "script ran"
},
"type": "ia.display.label"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"id": "L4",
"type": "close"
},
"scope": "C",
"type": "dock"
}
}
},
"meta": {
"name": "Icon"
},
"position": {
"basis": "30px",
"shrink": 0
},
"props": {
"path": "material/close",
"style": {
"color": "var(--icon)"
}
},
"type": "ia.display.icon"
}
],
"meta": {
"name": "Information"
},
"position": {
"basis": "30px",
"shrink": 0
},
"props": {
"style": {
"padding": "var(--space-xs)"
}
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "Divider_1"
},
"position": {
"basis": "1px"
},
"props": {
"style": {
"border": "var(--container-border)",
"classes": "Common/Static/text_muted"
}
},
"type": "ia.display.label"
},
{
"children": [
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "90%"
},
"props": {
"style": {
"classes": "Common/Static/Text"
},
"text": "Active Alarms"
},
"type": "ia.display.label"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.parent.parent.parent.getChild(\"AlarmsSection\").custom.is_collapsed \u003d not self.parent.parent.parent.getChild(\"AlarmsSection\").custom.is_collapsed"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Icon"
},
"position": {
"basis": "30px"
},
"propConfig": {
"props.path": {
"binding": {
"config": {
"path": "..../AlarmsSection.custom.is_collapsed"
},
"transforms": [
{
"fallback": "material/keyboard_arrow_up",
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "material/keyboard_arrow_down"
},
{
"input": false,
"output": "material/keyboard_arrow_up"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
}
},
"props": {
"style": {
"color": "var(--icon)"
}
},
"type": "ia.display.icon"
}
],
"meta": {
"name": "FlexContainer"
},
"position": {
"basis": "30px"
},
"props": {
"justify": "space-between"
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "AlarmStatusTable"
},
"position": {
"grow": 1
},
"propConfig": {
"position.display": {
"binding": {
"config": {
"expression": "!{parent.custom.is_collapsed}"
},
"type": "expr"
}
}
},
"props": {
"enableAcknowledge": false,
"enableDetails": false,
"enableHeader": false,
"enableShelve": false,
"enableUnshelve": false,
"style": {
"borderTopRightRadius": "var(--border-radius)",
"boxShadow": "var(--box-shadow-2)",
"classes": "Common/Static/card"
},
"toolbar": {
"enabled": false
}
},
"type": "ia.display.alarmstatustable"
}
],
"custom": {
"is_collapsed": false
},
"meta": {
"name": "AlarmsSection"
},
"position": {
"shrink": 0
},
"props": {
"direction": "column",
"style": {
"overflow": "visible",
"padding": "var(--space-xs)"
}
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "Divider_2"
},
"position": {
"basis": "1px"
},
"props": {
"style": {
"border": "var(--container-border)"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Body"
},
"position": {
"grow": 1
},
"propConfig": {
"props.path": {
"binding": {
"config": {
"expression": "\"Components/Faceplates/\"+ {view.custom.udt_type} +\"/body\""
},
"type": "expr"
}
}
},
"type": "ia.display.view"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column",
"style": {
"background": "var(--container-root)",
"gap": "var(--space-sm)",
"padding": "var(--space-sm)"
}
},
"scripts": {
"customMethods": [],
"extensionFunctions": null,
"messageHandlers": [
{
"messageType": "TAB_CHANGE",
"pageScope": true,
"script": "\t# implement your handler here\n\tself.view.custom.selected_tab \u003d payload[\u0027newTab\u0027]",
"sessionScope": false,
"viewScope": false
}
]
},
"type": "ia.container.flex"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 B

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,339 @@
{
"custom": {
"alarm_active": 7,
"udt_type": "_template"
},
"params": {
"tagPath": "[Ignition_TX21_BE]DM11/TX21_DM11_CDU02"
},
"propConfig": {
"custom.alarm_active": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/Alarm Metrics.activeUnackCount"
},
"type": "tag"
},
"persistent": true
},
"custom.udt_type": {
"binding": {
"config": {
"path": "view.params.tagPath"
},
"enabled": false,
"transforms": [
{
"code": "\tconfig \u003d system.tag.getConfiguration(value, 0)\n\treturn config[0][\u0027typeId\u0027].split(\u0027/\u0027)[-1]",
"type": "script"
}
],
"type": "property"
},
"persistent": true
},
"params.tagPath": {
"paramDirection": "input",
"persistent": true
}
},
"props": {},
"root": {
"children": [
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"grow": 1,
"shrink": 0
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"path": "view.params.tagPath"
},
"type": "property"
}
}
},
"props": {
"style": {
"classes": "Common/Static/text"
}
},
"type": "ia.display.label"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"id": "L4",
"type": "close"
},
"scope": "C",
"type": "dock"
}
}
},
"meta": {
"name": "Icon"
},
"position": {
"basis": "30px",
"shrink": 0
},
"props": {
"path": "material/close",
"style": {
"color": "var(--icon)"
}
},
"type": "ia.display.icon"
}
],
"meta": {
"name": "Information"
},
"position": {
"basis": "30px",
"shrink": 0
},
"props": {
"style": {
"padding": "var(--space-xs)"
}
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "Divider_1"
},
"position": {
"basis": "1px"
},
"props": {
"style": {
"border": "var(--container-border)",
"classes": "Common/Static/text_muted"
}
},
"type": "ia.display.label"
},
{
"children": [
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "90%"
},
"props": {
"style": {
"classes": "Common/Static/Text"
},
"text": "Active Alarms"
},
"type": "ia.display.label"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.parent.parent.parent.getChild(\"AlarmsSection\").custom.is_collapsed \u003d not self.parent.parent.parent.getChild(\"AlarmsSection\").custom.is_collapsed"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Icon"
},
"position": {
"basis": "30px"
},
"propConfig": {
"props.path": {
"binding": {
"config": {
"path": "..../AlarmsSection.custom.is_collapsed"
},
"transforms": [
{
"fallback": "material/keyboard_arrow_up",
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "material/keyboard_arrow_down"
},
{
"input": false,
"output": "material/keyboard_arrow_up"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
}
},
"props": {
"style": {
"color": "var(--icon)"
}
},
"type": "ia.display.icon"
}
],
"meta": {
"name": "FlexContainer"
},
"position": {
"basis": "30px"
},
"props": {
"justify": "space-between"
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "AlarmStatusTable"
},
"position": {
"basis": "300px"
},
"propConfig": {
"position.display": {
"binding": {
"config": {
"expression": "!{parent.custom.is_collapsed}"
},
"type": "expr"
}
}
},
"props": {
"enableDetails": false,
"style": {
"borderTopRightRadius": "var(--border-radius)",
"boxShadow": "var(--box-shadow-2)",
"classes": "Common/Static/card"
},
"toolbar": {
"enabled": false
}
},
"type": "ia.display.alarmstatustable"
}
],
"custom": {
"is_collapsed": false
},
"meta": {
"name": "AlarmsSection"
},
"position": {
"shrink": 0
},
"props": {
"direction": "column",
"style": {
"overflow": "visible",
"padding": "var(--space-xs)"
}
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "Divider_2"
},
"position": {
"basis": "1px"
},
"props": {
"style": {
"border": "var(--container-border)"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Body"
},
"position": {
"grow": 1
},
"propConfig": {
"props.params.tagpath": {
"binding": {
"config": {
"path": "view.params.tagPath"
},
"type": "property"
}
},
"props.path": {
"binding": {
"config": {
"expression": "\"Components/Faceplates/\"+ {view.custom.udt_type} +\"/body\""
},
"type": "expr"
}
}
},
"props": {
"params": {
"udt_type": "_template"
}
},
"type": "ia.display.view"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column",
"style": {
"background": "var(--container-root)",
"gap": "var(--space-sm)",
"padding": "var(--space-sm)"
}
},
"scripts": {
"customMethods": [],
"extensionFunctions": null,
"messageHandlers": [
{
"messageType": "TAB_CHANGE",
"pageScope": true,
"script": "\t# implement your handler here\n\tself.view.custom.selected_tab \u003d payload[\u0027newTab\u0027]",
"sessionScope": false,
"viewScope": false
}
]
},
"type": "ia.container.flex"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

View File

@@ -0,0 +1,265 @@
{
"custom": {
"buffer": 52,
"value": 11
},
"params": {
"item": {
"access_level": 0,
"format": "0.0",
"group": 1,
"is_hidden": false,
"is_read_only": false,
"item_label": "Secondary Differential Pressure Setpoint",
"order": 1,
"states": null,
"sub_path": "/Config/dp_setpoint",
"tagpath": "[Ignition_TX21_BE]DM11/Testing_CDU/Config/dp_setpoint",
"type": "config",
"widget": "config_analog"
}
},
"propConfig": {
"custom.buffer": {
"persistent": true
},
"custom.value": {
"binding": {
"config": {
"bidirectional": true,
"coalesce": true,
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagpath": "{view.params.item.tagpath}"
},
"tagPath": "{tagpath}/val"
},
"type": "tag"
},
"persistent": true
},
"params.item": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 50,
"width": 500
}
},
"root": {
"children": [
{
"meta": {
"name": "Label"
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"path": "view.params.item.item_label"
},
"type": "property"
}
}
},
"props": {
"style": {
"classes": "Common/Static/text"
}
},
"type": "ia.display.label"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.view.custom.value -\u003d 1"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Icon"
},
"position": {
"basis": "5%"
},
"props": {
"color": "var(--call-to-action)",
"path": "material/indeterminate_check_box"
},
"type": "ia.display.icon"
},
{
"events": {
"dom": {
"onMouseUp": {
"config": {
"script": "\tself.view.custom.value \u003d self.view.custom.buffer"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Slider"
},
"position": {
"basis": "150px"
},
"propConfig": {
"props.max": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagpath": "{view.params.item.tagpath}"
},
"tagPath": "{tagpath}/val.EngHigh"
},
"transforms": [
{
"code": "\tif value is None:\n\t\treturn 100\n\t\t\n\treturn value",
"type": "script"
}
],
"type": "tag"
}
},
"props.min": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagpath": "{view.params.item.tagpath}"
},
"tagPath": "{tagpath}/val.EngLow"
},
"transforms": [
{
"code": "\tif value is None:\n\t\treturn 0\n\treturn value",
"type": "script"
}
],
"type": "tag"
}
},
"props.value": {
"binding": {
"config": {
"bidirectional": true,
"path": "view.custom.buffer"
},
"type": "property"
}
}
},
"props": {
"handleColor": "var(--call-to-action)",
"trackColor": "var(--call-to-action-highlight)"
},
"type": "ia.input.slider"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.view.custom.value +\u003d 1"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Icon_0"
},
"position": {
"basis": "5%"
},
"props": {
"color": "var(--call-to-action)",
"path": "material/add_box"
},
"type": "ia.display.icon"
},
{
"meta": {
"name": "NumericEntryField"
},
"position": {
"basis": "75px"
},
"propConfig": {
"props.value": {
"binding": {
"config": {
"bidirectional": true,
"path": "view.custom.value"
},
"type": "property"
}
}
},
"props": {
"style": {
"classes": "Input/text_field",
"paddingBottom": "var(--space-xs)",
"paddingTop": "var(--space-xs)"
}
},
"type": "ia.input.numeric-entry-field"
},
{
"meta": {
"name": "Label_0"
},
"position": {
"basis": "10%"
},
"props": {
"style": {
"classes": "Common/Static/text_muted"
},
"text": "degF"
},
"type": "ia.display.label"
}
],
"events": {
"system": {
"onStartup": {
"config": {
"script": "\tself.view.custom.buffer \u003d self.view.custom.value"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "root"
},
"props": {
"alignContent": "flex-end",
"alignItems": "center",
"justify": "center",
"style": {
"gap": "var(--space-sm)",
"padding": "var(--space-xs)"
}
},
"type": "ia.container.flex"
}
}

View File

@@ -0,0 +1,351 @@
{
"custom": {},
"params": {
"path": "Pages/Spaces/Layouts/DM11_Layout"
},
"propConfig": {
"params.path": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 600,
"width": 1600
}
},
"root": {
"children": [
{
"events": {
"dom": {
"onMouseDown": {
"config": {
"script": "\tself.parent.custom.clickedX \u003d event.pageX\n\tself.parent.custom.clickedY \u003d event.pageY"
},
"scope": "G",
"type": "script"
},
"onMouseEnter": {
"config": {
"script": "\tif event.buttons:\n\t\tself.parent.custom.clickedX \u003d event.pageX\n\t\tself.parent.custom.clickedY \u003d event.pageY"
},
"enabled": false,
"scope": "G",
"type": "script"
},
"onMouseLeave": {
"config": {
"script": "\tif event.buttons:\n\t\tdiffX \u003d event.pageX - self.parent.custom.clickedX\n\t\tdiffY \u003d event.pageY - self.parent.custom.clickedY\n\t\n\t\tself.parent.custom.viewX +\u003d diffX\n\t\tself.parent.custom.viewY +\u003d diffY"
},
"enabled": false,
"scope": "G",
"type": "script"
},
"onMouseUp": {
"config": {
"script": "\tdiffX \u003d event.pageX - self.parent.custom.clickedX\n\tdiffY \u003d event.pageY - self.parent.custom.clickedY\n\t\n\tself.parent.custom.viewX +\u003d diffX\n\tself.parent.custom.viewY +\u003d diffY"
},
"scope": "G",
"type": "script"
},
"onWheel": {
"config": {
"script": "\tif event.deltaY \u003e 0:\n\t\tself.parent.custom.scale -\u003d 0.1\n\tif event.deltaY \u003c 0:\n\t\tself.parent.custom.scale +\u003d 0.1"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Layout"
},
"position": {
"height": 600,
"width": 1500
},
"propConfig": {
"props.path": {
"binding": {
"config": {
"path": "view.params.path"
},
"type": "property"
}
},
"props.style.transform": {
"binding": {
"config": {
"expression": "stringFormat(\"translate(%dpx, %dpx) scale(%f)\", \r\n {parent.custom.viewX}, \r\n {parent.custom.viewY}, \r\n toFloat({parent.custom.scale})\r\n)"
},
"type": "expr"
}
}
},
"props": {
"style": {
"transition": "transform 0.2s linear"
}
},
"type": "ia.display.view"
},
{
"children": [
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.view.getChild(\"root\").custom.viewY -\u003d 5"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "btn__up"
},
"position": {
"basis": "80px"
},
"props": {
"image": {
"icon": {
"color": "var(--text-color)",
"path": "material/arrow_upward"
}
},
"text": ""
},
"type": "ia.input.button"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.view.getChild(\"root\").custom.viewY +\u003d 5"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "btn_down"
},
"position": {
"basis": "80px"
},
"props": {
"image": {
"icon": {
"color": "var(--text-color)",
"path": "material/arrow_downward"
}
},
"text": ""
},
"type": "ia.input.button"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.view.getChild(\"root\").custom.viewX -\u003d 5"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "btn_left"
},
"position": {
"basis": "80px"
},
"props": {
"image": {
"icon": {
"color": "var(--text-color)",
"path": "material/arrow_back"
}
},
"text": ""
},
"type": "ia.input.button"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.view.getChild(\"root\").custom.viewX +\u003d 5"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "btn_right"
},
"position": {
"basis": "80px"
},
"props": {
"image": {
"icon": {
"color": "var(--text-color)",
"path": "material/arrow_forward"
}
},
"text": ""
},
"type": "ia.input.button"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.view.getChild(\"root\").custom.scale +\u003d 0.05"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "btn_zoom_in"
},
"position": {
"basis": "80px"
},
"props": {
"image": {
"icon": {
"color": "var(--text-color)",
"path": "material/zoom_in"
}
},
"text": ""
},
"type": "ia.input.button"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.view.getChild(\"root\").custom.scale -\u003d 0.05"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "btn_zoom_out"
},
"position": {
"basis": "80px"
},
"props": {
"image": {
"icon": {
"color": "var(--text-color)",
"path": "material/zoom_out"
}
},
"text": ""
},
"type": "ia.input.button"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.view.getChild(\"root\").custom.viewX \u003d 0\n\tself.view.getChild(\"root\").custom.viewY \u003d 0\n\tself.view.getChild(\"root\").custom.scale \u003d 1"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "bnt_rst"
},
"position": {
"basis": "80px"
},
"props": {
"image": {
"icon": {
"color": "var(--text-color)",
"path": "material/zoom_out_map"
}
},
"text": ""
},
"type": "ia.input.button"
}
],
"meta": {
"name": "ControlBox"
},
"position": {
"height": 40.02,
"width": 349.96,
"x": 14.95,
"y": 15
},
"props": {
"style": {
"backgroundColor": "var(--container-nested)",
"borderBottomLeftRadius": "var(--border-radius)",
"borderBottomRightRadius": "var(--border-radius)",
"borderTopLeftRadius": "var(--border-radius)",
"borderTopRightRadius": "var(--border-radius)",
"boxShadow": "var(--box-shadow-2)"
}
},
"type": "ia.container.flex"
}
],
"custom": {
"clickedX": 0,
"clickedY": 0,
"scale": 1,
"viewX": 0,
"viewY": 0
},
"events": {
"system": {
"onStartup": {
"config": {
"script": "\tself.custom.scale \u003d 1.0\n\tself.custom.viewX \u003d 0\n\tself.custom.viewY \u003d 0\n\tself.custom.clickedX \u003d 0\n\tself.custom.clickedY \u003d 0"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "root"
},
"props": {
"style": {
"background": "var(--container-root)",
"overflow": "hidden"
}
},
"type": "ia.container.coord"
}
}

View File

@@ -0,0 +1,323 @@
{
"custom": {},
"params": {},
"props": {
"defaultSize": {
"height": 300,
"width": 250
}
},
"root": {
"children": [
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "30%"
},
"props": {
"text": "DM11"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label_0"
},
"props": {
"style": {
"color": "var(--call-to-action)",
"textAlign": "center"
},
"text": "No leak detected"
},
"type": "ia.display.label"
}
],
"meta": {
"name": "values_1"
},
"position": {
"basis": "10%"
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "values_0"
},
"position": {
"basis": "30%"
},
"props": {
"style": {
"gap": "var(--space-xs)"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"children": [
{
"meta": {
"name": "value"
},
"position": {
"basis": "80%"
},
"props": {
"style": {
"textAlign": "center"
},
"text": 1257,
"textStyle": {
"color": "var(--call-to-action",
"fontSize": 30
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "engUnits"
},
"position": {
"basis": "20%"
},
"props": {
"style": {
"textAlign": "center"
},
"text": "TotalkW",
"textStyle": {
"color": "var(--text-muted)",
"fontSize": 12
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "power"
},
"position": {
"basis": "50%"
},
"props": {
"direction": "column"
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "divider"
},
"position": {
"basis": "1px"
},
"props": {
"style": {
"backgroundColor": "var(--text-color)"
}
},
"type": "ia.display.label"
},
{
"children": [
{
"meta": {
"name": "value"
},
"position": {
"basis": "80%"
},
"props": {
"style": {
"textAlign": "center"
},
"text": 68.7,
"textStyle": {
"color": "var(--call-to-action",
"fontSize": 30
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "engUnits"
},
"position": {
"basis": "20%"
},
"props": {
"style": {
"textAlign": "center"
},
"text": "Avg. degF",
"textStyle": {
"color": "var(--text-muted)",
"fontSize": 12
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "temp"
},
"position": {
"basis": "50%"
},
"props": {
"direction": "column"
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "variables"
},
"position": {
"basis": "30%"
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "Sparkline"
},
"position": {
"basis": "30%"
},
"props": {
"color": "var(--call-to-action",
"points": [
59,
80,
80,
100,
68,
62,
87,
72,
42,
49,
58,
53,
57,
51,
42,
32,
37,
30,
24,
38,
57,
29,
18,
32,
38,
24,
24,
24,
20,
21,
29,
32,
26,
18,
32,
36,
30,
36,
29,
32,
29,
28,
41,
20,
28,
58,
18,
24,
16,
2,
22,
17,
22,
21,
12,
22,
14,
13,
11,
20,
16,
16,
18,
12,
28,
28,
32,
16,
16,
24,
16,
20,
14,
18,
12,
26,
17,
11,
30,
16,
9,
20,
42,
13,
13,
24,
17,
13,
20,
12,
14,
13,
14,
71,
82,
20,
16,
20,
22,
17,
5
]
},
"type": "ia.display.sparkline"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column",
"style": {
"backgroundColor": "var(--container)",
"borderTopLeftRadius": "var(--border-radius)",
"boxShadow": "var(--box-shadow-2)",
"gap": "var(--space-sm)",
"overflow": "visible",
"padding": "var(--space-sm)"
}
},
"type": "ia.container.flex"
}
}

View File

@@ -0,0 +1,357 @@
{
"custom": {
"AlarmSeverity": 0
},
"params": {
"config": 2,
"tagpath": "value"
},
"propConfig": {
"custom.AlarmSeverity": {
"persistent": true
},
"params.config": {
"paramDirection": "input",
"persistent": true
},
"params.tagpath": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 66,
"width": 67
}
},
"root": {
"children": [
{
"meta": {
"name": "upper_id"
},
"position": {
"height": 10
},
"propConfig": {
"meta.visible": {
"binding": {
"config": {
"path": "view.params.config"
},
"transforms": [
{
"fallback": false,
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": true
},
{
"input": 2,
"output": false
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"position.width": {
"binding": {
"config": {
"path": "view.props.defaultSize.width"
},
"type": "property"
}
}
},
"props": {
"style": {
"color": "var(--text-color)",
"fontSize": 10,
"paddingLeft": "var(--space-xs)"
},
"text": "RPP01"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "lower_id"
},
"position": {
"height": 10,
"y": 54.5
},
"propConfig": {
"meta.visible": {
"binding": {
"config": {
"path": "view.params.config"
},
"transforms": [
{
"fallback": false,
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": false
},
{
"input": 2,
"output": true
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"position.width": {
"binding": {
"config": {
"path": "view.props.defaultSize.width"
},
"type": "property"
}
}
},
"props": {
"style": {
"color": "var(--text-color)",
"fontSize": 10,
"paddingLeft": "var(--space-xs)"
},
"text": "DM11 RPP01"
},
"type": "ia.display.label"
},
{
"children": [
{
"children": [
{
"meta": {
"name": "value"
},
"position": {
"basis": "65%"
},
"props": {
"style": {
"color": "var(--call-to-action)",
"fontSize": 10,
"textAlign": "end"
},
"text": 7535
},
"type": "ia.display.label"
},
{
"meta": {
"name": "eng_unit"
},
"position": {
"basis": "35%"
},
"props": {
"style": {
"fontSize": 10
},
"text": "kW",
"textStyle": {
"color": "var(--text-color)"
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "value_01"
},
"position": {
"basis": "50%"
},
"props": {
"style": {
"gap": "var(--space-xs)"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "value"
},
"position": {
"basis": "65%"
},
"props": {
"style": {
"color": "var(--call-to-action)",
"fontSize": 10,
"textAlign": "end"
},
"text": 0.89
},
"type": "ia.display.label"
},
{
"meta": {
"name": "eng_unit"
},
"position": {
"basis": "35%"
},
"props": {
"style": {
"fontSize": 10
},
"text": "pf",
"textStyle": {
"color": "var(--text-color)"
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "value_02"
},
"position": {
"basis": "50%"
},
"props": {
"style": {
"gap": "var(--space-xs)"
}
},
"type": "ia.container.flex"
}
],
"events": {
"dom": {
"onClick": {
"config": {
"id": "L4",
"type": "open",
"viewParams": {
"tagpath": "{view.params.tagpath}"
}
},
"scope": "C",
"type": "dock"
}
}
},
"meta": {
"name": "device"
},
"position": {
"height": 38,
"width": 62,
"y": 12.5
},
"propConfig": {
"props.style.outlineColor": {
"binding": {
"config": {
"path": "view.custom.AlarmSeverity"
},
"transforms": [
{
"fallback": "transparent",
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": "var(--alarm-low)"
},
{
"input": 2,
"output": "var(--alarm-medium)"
},
{
"input": 3,
"output": "var(--alarm-high)"
},
{
"input": 4,
"output": "var(--alarm-critical)"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
}
},
"props": {
"direction": "column",
"style": {
"backgroundColor": "var(--high-performance-white)",
"borderBottomLeftRadius": "var(--border-radius)",
"borderBottomRightRadius": "var(--border-radius)",
"borderColor": "#000000AA",
"borderStyle": "solid",
"borderTopLeftRadius": "var(--border-radius)",
"borderTopRightRadius": "var(--border-radius)",
"borderWidth": 1,
"boxShadow": "var(--box-shadow-1)",
"outlineStyle": "solid",
"outlineWidth": "2"
}
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "AlarmIcons"
},
"position": {
"height": 22,
"width": 17,
"x": 54
},
"propConfig": {
"props.params.AlarmSeverity": {
"binding": {
"config": {
"path": "view.custom.AlarmSeverity"
},
"type": "property"
}
}
},
"props": {
"params": {
"ack": false
},
"path": "Components/Atoms/AlarmIcons"
},
"type": "ia.display.view"
}
],
"meta": {
"name": "root"
},
"props": {
"style": {
"overflow": "visible"
}
},
"type": "ia.container.coord"
}
}

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 796 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View File

@@ -0,0 +1,345 @@
{
"custom": {
"alarm_active": 2,
"udt_type": "_template"
},
"params": {
"tagPath": "[Ignition_TX21_BE]DM11/TX21_DM11_CDU02"
},
"propConfig": {
"custom.alarm_active": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/Alarm Metrics.activeUnackCount"
},
"type": "tag"
},
"persistent": true
},
"custom.udt_type": {
"binding": {
"config": {
"path": "view.params.tagPath"
},
"enabled": false,
"transforms": [
{
"code": "\tconfig \u003d system.tag.getConfiguration(value, 0)\n\treturn config[0][\u0027typeId\u0027].split(\u0027/\u0027)[-1]",
"type": "script"
}
],
"type": "property"
},
"persistent": true
},
"params.tagPath": {
"paramDirection": "input",
"persistent": true
}
},
"props": {},
"root": {
"children": [
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"grow": 1,
"shrink": 0
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"path": "view.params.tagPath"
},
"enabled": false,
"type": "property"
}
}
},
"props": {
"style": {
"classes": "Common/Static/text"
},
"text": "script ran"
},
"type": "ia.display.label"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"id": "L4",
"type": "close"
},
"scope": "C",
"type": "dock"
}
}
},
"meta": {
"name": "Icon"
},
"position": {
"basis": "30px",
"shrink": 0
},
"props": {
"path": "material/close",
"style": {
"color": "var(--icon)"
}
},
"type": "ia.display.icon"
}
],
"meta": {
"name": "Information"
},
"position": {
"basis": "30px",
"shrink": 0
},
"props": {
"style": {
"padding": "var(--space-xs)"
}
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "Divider_1"
},
"position": {
"basis": "1px"
},
"props": {
"style": {
"border": "var(--container-border)",
"classes": "Common/Static/text_muted"
}
},
"type": "ia.display.label"
},
{
"children": [
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "90%"
},
"props": {
"style": {
"classes": "Common/Static/Text"
},
"text": "Active Alarms"
},
"type": "ia.display.label"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.parent.parent.parent.getChild(\"AlarmsSection\").custom.is_collapsed \u003d not self.parent.parent.parent.getChild(\"AlarmsSection\").custom.is_collapsed"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Icon"
},
"position": {
"basis": "30px"
},
"propConfig": {
"props.path": {
"binding": {
"config": {
"path": "..../AlarmsSection.custom.is_collapsed"
},
"transforms": [
{
"fallback": "material/keyboard_arrow_up",
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "material/keyboard_arrow_down"
},
{
"input": false,
"output": "material/keyboard_arrow_up"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
}
},
"props": {
"style": {
"color": "var(--icon)"
}
},
"type": "ia.display.icon"
}
],
"meta": {
"name": "FlexContainer"
},
"position": {
"basis": "30px"
},
"props": {
"justify": "space-between"
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "AlarmStatusTable"
},
"position": {
"grow": 1
},
"propConfig": {
"position.display": {
"binding": {
"config": {
"expression": "!{parent.custom.is_collapsed}"
},
"type": "expr"
}
}
},
"props": {
"enableAcknowledge": false,
"enableDetails": false,
"enableHeader": false,
"enableShelve": false,
"enableUnshelve": false,
"style": {
"borderTopRightRadius": "var(--border-radius)",
"boxShadow": "var(--box-shadow-2)",
"classes": "Common/Static/card"
},
"toolbar": {
"enabled": false
}
},
"type": "ia.display.alarmstatustable"
}
],
"custom": {
"is_collapsed": false
},
"meta": {
"name": "AlarmsSection"
},
"position": {
"shrink": 0
},
"props": {
"direction": "column",
"style": {
"overflow": "visible",
"padding": "var(--space-xs)"
}
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "Divider_2"
},
"position": {
"basis": "1px"
},
"props": {
"style": {
"border": "var(--container-border)"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Body"
},
"position": {
"grow": 1
},
"propConfig": {
"props.params.tagpath": {
"binding": {
"config": {
"path": "view.params.tagPath"
},
"type": "property"
}
},
"props.path": {
"binding": {
"config": {
"expression": "\"Components/Faceplates/\"+ {view.custom.udt_type} +\"/body\""
},
"type": "expr"
}
}
},
"props": {
"params": {
"udt_type": "_template"
}
},
"type": "ia.display.view"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column",
"style": {
"background": "var(--container-root)",
"gap": "var(--space-sm)",
"padding": "var(--space-sm)"
}
},
"scripts": {
"customMethods": [],
"extensionFunctions": null,
"messageHandlers": [
{
"messageType": "TAB_CHANGE",
"pageScope": true,
"script": "\t# implement your handler here\n\tself.view.custom.selected_tab \u003d payload[\u0027newTab\u0027]",
"sessionScope": false,
"viewScope": false
}
]
},
"type": "ia.container.flex"
}
}

View File

@@ -0,0 +1,237 @@
{
"custom": {},
"params": {
"tagpath": "[Ignition_TX21_BE]DM11/TX21_DM11_CDU02",
"udt_type": "_template"
},
"propConfig": {
"params.tagpath": {
"paramDirection": "input",
"persistent": true
},
"params.udt_type": {
"paramDirection": "input",
"persistent": true
}
},
"props": {},
"root": {
"children": [
{
"children": [
{
"meta": {
"name": "Control"
},
"position": {
"tabIndex": 1
},
"propConfig": {
"props.params.tagpath": {
"binding": {
"config": {
"path": "view.params.tagpath"
},
"type": "property"
}
},
"props.params.udt_type": {
"binding": {
"config": {
"path": "view.params.udt_type"
},
"type": "property"
}
},
"props.path": {
"binding": {
"config": {
"expression": "\"Components/Faceplates/\" + {view.params.udt_type} + \"/control\""
},
"type": "expr"
}
}
},
"type": "ia.display.view"
},
{
"meta": {
"name": "Status"
},
"propConfig": {
"props.params.tagpath": {
"binding": {
"config": {
"path": "view.params.tagpath"
},
"type": "property"
}
},
"props.params.udt_type": {
"binding": {
"config": {
"path": "view.params.udt_type"
},
"type": "property"
}
},
"props.path": {
"binding": {
"config": {
"expression": "\"Components/Faceplates/\" + {view.params.udt_type} + \"/status\""
},
"type": "expr"
}
}
},
"type": "ia.display.view"
},
{
"meta": {
"name": "Config"
},
"position": {
"tabIndex": 2
},
"propConfig": {
"props.params.tagpath": {
"binding": {
"config": {
"path": "view.params.tagpath"
},
"type": "property"
}
},
"props.params.udt_type": {
"binding": {
"config": {
"path": "view.params.udt_type"
},
"type": "property"
}
},
"props.path": {
"binding": {
"config": {
"expression": "\"Components/Faceplates/\" + {view.params.udt_type} + \"/config\""
},
"type": "expr"
}
}
},
"type": "ia.display.view"
},
{
"meta": {
"name": "Trends"
},
"position": {
"tabIndex": 3
},
"propConfig": {
"props.params.tagpath": {
"binding": {
"config": {
"path": "view.params.tagpath"
},
"type": "property"
}
},
"props.params.udt_type": {
"binding": {
"config": {
"path": "view.params.udt_type"
},
"type": "property"
}
},
"props.path": {
"binding": {
"config": {
"expression": "\"Components/Faceplates/\" + {view.params.udt_type} + \"/trend\""
},
"type": "expr"
}
}
},
"type": "ia.display.view"
},
{
"meta": {
"name": "Meta"
},
"position": {
"tabIndex": 4
},
"propConfig": {
"props.params.tagpath": {
"binding": {
"config": {
"path": "view.params.tagpath"
},
"type": "property"
}
},
"props.params.udt_type": {
"binding": {
"config": {
"path": "view.params.udt_type"
},
"type": "property"
}
},
"props.path": {
"binding": {
"config": {
"expression": "\"Components/Faceplates/\" + {view.params.udt_type} + \"/meta\""
},
"type": "expr"
}
}
},
"type": "ia.display.view"
}
],
"meta": {
"name": "TabContainer"
},
"position": {
"grow": 1
},
"props": {
"menuType": "modern",
"tabSize": {
"height": 35,
"width": 70
},
"tabStyle": {
"active": {
"color": "var(--call-to-action)"
},
"inactive": {
"color": "gray"
}
},
"tabs": [
"Status",
"Control",
"Config",
"Trends",
"Meta"
]
},
"type": "ia.container.tab"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column",
"style": {
"backgroundColor": "var(--container-root)"
}
},
"type": "ia.container.flex"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -0,0 +1,90 @@
{
"custom": {},
"params": {},
"props": {
"defaultSize": {
"height": 1088,
"width": 1364
}
},
"root": {
"children": [
{
"children": [
{
"meta": {
"name": "CDU1_System"
},
"position": {
"grow": 1
},
"props": {
"params": {
"tagpath": "[Ignition_TX21_BE]DM11/Testing_CDU"
},
"path": "Components/Diagrams/CDU"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "CDU2_System"
},
"position": {
"grow": 1,
"shrink": 0
},
"props": {
"params": {
"tagpath": "[Ignition_TX21_BE]DM11/TX21_DM111_RPP01"
},
"path": "Components/Diagrams/CDU"
},
"type": "ia.display.view"
}
],
"meta": {
"name": "Diagrams"
},
"position": {
"grow": 1,
"shrink": 0
},
"props": {
"alignItems": "center",
"direction": "column",
"justify": "center"
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "Navigation"
},
"position": {
"basis": "200px",
"grow": 1,
"shrink": 0
},
"props": {
"path": "Components/Cards/CDU_Navigation",
"useDefaultViewHeight": true
},
"type": "ia.display.view"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "Row",
"justify": "center",
"style": {
"backgroundColor": "var(--container-root)",
"overflow": "scroll",
"padding": "var(--space-xs)"
}
},
"type": "ia.container.flex"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

@@ -0,0 +1,133 @@
{
"custom": {
"tags": [
{
"access_level": 0,
"format": "0.0",
"group": 1,
"is_hidden": false,
"is_read_only": false,
"item_label": "Secondary Differential Pressure Setpoint",
"order": 1,
"states": null,
"sub_path": "/Config/dp_setpoint",
"type": "config",
"widget": "config_analog"
},
{
"access_level": 0,
"format": "0.0",
"group": 1,
"is_hidden": false,
"is_read_only": false,
"item_label": "Secondary Flow Setpoint",
"order": 1,
"states": null,
"sub_path": "/Config/flow_setpoint",
"type": "config",
"widget": "config_analog"
},
{
"access_level": 0,
"format": "0.0",
"group": 1,
"is_hidden": false,
"is_read_only": false,
"item_label": "Secondary Temperature Setpoint",
"order": 1,
"states": null,
"sub_path": "/Config/temperature_setpoint",
"type": "config",
"widget": "config_analog"
}
]
},
"params": {
"tagpath": "[Ignition_TX21_BE]DM11/Testing_CDU",
"udt_type": "CDU"
},
"propConfig": {
"custom.tags": {
"binding": {
"config": {
"path": "view.params.tagpath"
},
"enabled": false,
"transforms": [
{
"code": "\treturn ui.details.get_udt_configuration(value, \u0027config\u0027)",
"type": "script"
}
],
"type": "property"
},
"persistent": true
},
"params.tagpath": {
"paramDirection": "input",
"persistent": true
},
"params.udt_type": {
"paramDirection": "input",
"persistent": true
}
},
"props": {},
"root": {
"children": [
{
"meta": {
"name": "FlexRepeater"
},
"position": {
"grow": 1
},
"propConfig": {
"props.instances": {
"binding": {
"config": {
"struct": {
"path": "{view.params.tagpath}",
"tags": "{view.custom.tags}"
},
"waitOnAll": true
},
"transforms": [
{
"code": "\treturn ui.details.generate_flex_array(value[\u0027tags\u0027], value[\u0027path\u0027])",
"type": "script"
}
],
"type": "expr-struct"
}
}
},
"props": {
"alignContent": "flex-start",
"alignItems": "flex-start",
"elementPosition": {
"basis": "auto"
},
"justify": "center",
"path": "Components/Atoms/Fields/_generic_field",
"style": {
"marginRight": "5px"
},
"useDefaultViewWidth": false,
"wrap": "wrap"
},
"type": "ia.display.flex-repeater"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column",
"style": {
"classes": "Common/Static/card"
}
},
"type": "ia.container.flex"
}
}

View File

@@ -0,0 +1,345 @@
{
"custom": {
"alarm_active": 7,
"udt_type": "_template"
},
"params": {
"tagPath": "[Ignition_TX21_BE]DM11/TX21_DM11_CDU02"
},
"propConfig": {
"custom.alarm_active": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/Alarm Metrics.activeUnackCount"
},
"type": "tag"
},
"persistent": true
},
"custom.udt_type": {
"binding": {
"config": {
"path": "view.params.tagPath"
},
"enabled": false,
"transforms": [
{
"code": "\tconfig \u003d system.tag.getConfiguration(value, 0)\n\treturn config[0][\u0027typeId\u0027].split(\u0027/\u0027)[-1]",
"type": "script"
}
],
"type": "property"
},
"persistent": true
},
"params.tagPath": {
"paramDirection": "input",
"persistent": true
}
},
"props": {},
"root": {
"children": [
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"grow": 1,
"shrink": 0
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"path": "view.params.tagPath"
},
"enabled": false,
"type": "property"
}
}
},
"props": {
"style": {
"classes": "Common/Static/text"
},
"text": "script ran"
},
"type": "ia.display.label"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"id": "L4",
"type": "close"
},
"scope": "C",
"type": "dock"
}
}
},
"meta": {
"name": "Icon"
},
"position": {
"basis": "30px",
"shrink": 0
},
"props": {
"path": "material/close",
"style": {
"color": "var(--icon)"
}
},
"type": "ia.display.icon"
}
],
"meta": {
"name": "Information"
},
"position": {
"basis": "30px",
"shrink": 0
},
"props": {
"style": {
"padding": "var(--space-xs)"
}
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "Divider_1"
},
"position": {
"basis": "1px"
},
"props": {
"style": {
"border": "var(--container-border)",
"classes": "Common/Static/text_muted"
}
},
"type": "ia.display.label"
},
{
"children": [
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "90%"
},
"props": {
"style": {
"classes": "Common/Static/Text"
},
"text": "Active Alarms"
},
"type": "ia.display.label"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.parent.parent.parent.getChild(\"AlarmsSection\").custom.is_collapsed \u003d not self.parent.parent.parent.getChild(\"AlarmsSection\").custom.is_collapsed"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Icon"
},
"position": {
"basis": "30px"
},
"propConfig": {
"props.path": {
"binding": {
"config": {
"path": "..../AlarmsSection.custom.is_collapsed"
},
"transforms": [
{
"fallback": "material/keyboard_arrow_up",
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "material/keyboard_arrow_down"
},
{
"input": false,
"output": "material/keyboard_arrow_up"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
}
},
"props": {
"style": {
"color": "var(--icon)"
}
},
"type": "ia.display.icon"
}
],
"meta": {
"name": "FlexContainer"
},
"position": {
"basis": "30px"
},
"props": {
"justify": "space-between"
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "AlarmStatusTable"
},
"position": {
"grow": 1
},
"propConfig": {
"position.display": {
"binding": {
"config": {
"expression": "!{parent.custom.is_collapsed}"
},
"type": "expr"
}
}
},
"props": {
"enableAcknowledge": false,
"enableDetails": false,
"enableHeader": false,
"enableShelve": false,
"enableUnshelve": false,
"style": {
"borderTopRightRadius": "var(--border-radius)",
"boxShadow": "var(--box-shadow-2)",
"classes": "Common/Static/card"
},
"toolbar": {
"enabled": false
}
},
"type": "ia.display.alarmstatustable"
}
],
"custom": {
"is_collapsed": false
},
"meta": {
"name": "AlarmsSection"
},
"position": {
"shrink": 0
},
"props": {
"direction": "column",
"style": {
"overflow": "visible",
"padding": "var(--space-xs)"
}
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "Divider_2"
},
"position": {
"basis": "1px"
},
"props": {
"style": {
"border": "var(--container-border)"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Body"
},
"position": {
"grow": 1
},
"propConfig": {
"props.params.tagpath": {
"binding": {
"config": {
"path": "view.params.tagPath"
},
"type": "property"
}
},
"props.path": {
"binding": {
"config": {
"expression": "\"Components/Faceplates/\"+ {view.custom.udt_type} +\"/body\""
},
"type": "expr"
}
}
},
"props": {
"params": {
"udt_type": "_template"
}
},
"type": "ia.display.view"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column",
"style": {
"background": "var(--container-root)",
"gap": "var(--space-sm)",
"padding": "var(--space-sm)"
}
},
"scripts": {
"customMethods": [],
"extensionFunctions": null,
"messageHandlers": [
{
"messageType": "TAB_CHANGE",
"pageScope": true,
"script": "\t# implement your handler here\n\tself.view.custom.selected_tab \u003d payload[\u0027newTab\u0027]",
"sessionScope": false,
"viewScope": false
}
]
},
"type": "ia.container.flex"
}
}

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -0,0 +1,437 @@
{
"custom": {
"breadcrumbs": "value",
"isExpanded": true
},
"params": {
"breadcrumbs": "",
"expanded": false,
"icon": {
"path": "material/home"
},
"items": [
{
"breadcumbs": "Home_1_",
"icon": {
"path": "material/home"
},
"items": [],
"label": "Home",
"target": "Pages/Dashboard/Home"
},
{
"breadcumbs": "Spaces_1_",
"icon": {
"path": "material/domain"
},
"items": [
{
"icon": {
"path": ".."
},
"items": [
{
"icon": {
"path": ".."
},
"items": [],
"label": "DM11",
"target": "Pages/Spaces/Floor_01/DM11"
},
{
"icon": {
"path": ".."
},
"items": [],
"label": "DM12",
"target": "Pages/Spaces/Floor_01/DM12"
},
{
"icon": {
"path": ".."
},
"items": [],
"label": "DM13",
"target": "Pages/Spaces/Floor_01/DM13"
},
{
"icon": {
"path": ".."
},
"items": [],
"label": "DM14",
"target": "Pages/Spaces/Floor_01/DM14"
}
],
"label": "Fisrt Floor",
"target": ""
},
{
"icon": {
"path": ".."
},
"items": [
{
"icon": {
"path": ".."
},
"items": [],
"label": "DM21",
"target": "Pages/Spaces/Floor_02/DM21"
},
{
"icon": {
"path": ".."
},
"items": [],
"label": "DM22",
"target": "Pages/Spaces/Floor_02/DM22"
},
{
"icon": {
"path": ".."
},
"items": [],
"label": "DM23",
"target": "Pages/Spaces/Floor_02/DM23"
},
{
"icon": {
"path": ".."
},
"items": [],
"label": "DM24",
"target": "Pages/Spaces/Floor_02/DM24"
}
],
"label": "Second Floor",
"target": ""
},
{
"icon": {
"path": ".."
},
"items": [
{
"icon": {
"path": ".."
},
"items": [],
"label": "DM31",
"target": "Pages/Spaces/Floor_03/DM31"
},
{
"icon": {
"path": ".."
},
"items": [],
"label": "DM32",
"target": "Pages/Spaces/Floor_03/DM32"
},
{
"icon": {
"path": ".."
},
"items": [],
"label": "DM33",
"target": "Pages/Spaces/Floor_03/DM33"
},
{
"icon": {
"path": ".."
},
"items": [],
"label": "DM34",
"target": "Pages/Spaces/Floor_03/DM34"
}
],
"label": "Third Floor",
"target": ""
}
],
"label": "Spaces",
"target": "Pages/Dashboard/Spaces"
},
{
"breadcumbs": "Equipment_1_",
"icon": {
"path": "material/settings_input_component"
},
"items": [
{
"icon": {
"path": ".."
},
"items": [],
"label": "CDU",
"target": "Pages/Systems/CDU"
},
{
"icon": {
"path": ".."
},
"items": [],
"label": "RPP",
"target": "Pages/Systems/RPP"
}
],
"label": "Equipment",
"target": "Pages/Dashboard/Equipment"
},
{
"breadcumbs": "Analysis_1_",
"icon": {
"path": "material/analytics"
},
"items": [
{
"icon": {
"path": ".."
},
"items": [],
"label": "Trend Builder",
"target": "Pages/Analysis/Trend_Builder"
}
],
"label": "Analysis",
"target": ""
},
{
"breadcumbs": "Alarms_1_",
"icon": {
"path": "material/notifications"
},
"items": [
{
"icon": {
"path": ".."
},
"items": [],
"label": "Active",
"target": "Pages/Alarms/Active"
},
{
"icon": {
"path": ".."
},
"items": [],
"label": "History",
"target": "Pages/Alarms/History"
}
],
"label": "Alarms",
"target": ""
},
{
"breadcumbs": "Diagnostics_1_",
"icon": {
"path": "material/build"
},
"items": [
{
"icon": {
"path": ".."
},
"items": [],
"label": "Gateway",
"target": ""
},
{
"icon": {
"path": ".."
},
"items": [],
"label": "Connections",
"target": ""
},
{
"icon": {
"path": ".."
},
"items": [],
"label": "Panels",
"target": ""
}
],
"label": "Diagnostics",
"target": ""
}
],
"label": "Facility",
"target": "/Facility"
},
"propConfig": {
"custom.breadcrumbs": {
"persistent": true
},
"custom.isExpanded": {
"persistent": true
},
"params.breadcrumbs": {
"paramDirection": "input",
"persistent": true
},
"params.expanded": {
"paramDirection": "input",
"persistent": true
},
"params.icon": {
"paramDirection": "input",
"persistent": true
},
"params.items": {
"paramDirection": "input",
"persistent": true
},
"params.label": {
"paramDirection": "input",
"persistent": true
},
"params.target": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 88
}
},
"root": {
"children": [
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.view.custom.isExpanded \u003d not self.view.custom.isExpanded\n"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Label"
},
"position": {
"grow": 1,
"shrink": 0
},
"propConfig": {
"props.params.breadcrumbs": {
"binding": {
"config": {
"path": "view.params.breadcrumbs"
},
"type": "property"
}
},
"props.params.expanded": {
"binding": {
"config": {
"path": "view.custom.isExpanded"
},
"type": "property"
}
},
"props.params.icon": {
"binding": {
"config": {
"path": "view.params.icon"
},
"type": "property"
}
},
"props.params.items": {
"binding": {
"config": {
"path": "view.params.items"
},
"type": "property"
}
},
"props.params.label": {
"binding": {
"config": {
"path": "view.params.label"
},
"type": "property"
}
},
"props.params.target": {
"binding": {
"config": {
"path": "view.params.target"
},
"type": "property"
}
}
},
"props": {
"path": "Components/Layouts/Navigation/Tree/Row",
"useDefaultViewWidth": true
},
"type": "ia.display.view"
},
{
"meta": {
"name": "FlexRepeater"
},
"position": {
"grow": 1,
"shrink": 0
},
"propConfig": {
"position.display": {
"binding": {
"config": {
"path": "view.custom.isExpanded"
},
"type": "property"
}
},
"props.instances": {
"binding": {
"config": {
"path": "view.params.items"
},
"transforms": [
{
"code": "\treturn_list \u003d []\n\tfor item in value:\n\t\tnew_item \u003d dict(item)\n\t\tnew_item[\u0027breadcrumbs\u0027] \u003d self.view.params.breadcrumbs + \u0027/\u0027 + new_item[\u0027label\u0027]\n\t\treturn_list.append(new_item)\n\treturn return_list",
"type": "script"
}
],
"type": "property"
}
}
},
"props": {
"direction": "column",
"elementPosition": {
"basis": "auto",
"shrink": 0
},
"path": "Frames/Layouts/Navigation/Tree/L2",
"style": {
"gap": "var(--space-xs)"
},
"useDefaultViewHeight": false,
"useDefaultViewWidth": false
},
"type": "ia.display.flex-repeater"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column",
"style": {
"gap": "var(--space-xs)",
"paddingLeft": "4px"
}
},
"type": "ia.container.flex"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -0,0 +1,112 @@
{
"custom": {
"value": false
},
"params": {
"item": {
"access_level": 0,
"format": "0.0",
"group": 1,
"is_hidden": false,
"is_read_only": false,
"item_label": "Remote Start",
"order": 1,
"states": [
"Off",
"On"
],
"sub_path": "/Control/start",
"tagpath": "[Ignition_TX21_BE]DM11/Testing_CDU/Control/start",
"type": "control",
"widget": "btn_set_reset"
}
},
"propConfig": {
"custom.value": {
"binding": {
"config": {
"bidirectional": true,
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagpath": "{view.params.item.tagpath}"
},
"tagPath": "{tagpath}/val"
},
"type": "tag"
},
"persistent": true
},
"params.item": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 50,
"width": 500
}
},
"root": {
"children": [
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.view.custom.value \u003d True"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Button"
},
"position": {
"basis": "80px"
},
"props": {
"text": "Start"
},
"type": "ia.input.button"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.view.custom.value \u003d False"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Button_0"
},
"position": {
"basis": "80px"
},
"props": {
"text": "Stop"
},
"type": "ia.input.button"
}
],
"meta": {
"name": "root"
},
"props": {
"justify": "center",
"style": {
"gap": "var(--space-sm)",
"padding": "var(--space-xs)"
}
},
"type": "ia.container.flex"
}
}

View File

@@ -0,0 +1,246 @@
{
"custom": {},
"params": {
"config": 1,
"tagpath": "value"
},
"propConfig": {
"params.config": {
"paramDirection": "input",
"persistent": true
},
"params.tagpath": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 60,
"width": 59
}
},
"root": {
"children": [
{
"meta": {
"name": "id"
},
"position": {
"height": 9
},
"propConfig": {
"meta.visible": {
"binding": {
"config": {
"path": "view.params.config"
},
"transforms": [
{
"fallback": false,
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": true
},
{
"input": 2,
"output": false
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"position.width": {
"binding": {
"config": {
"path": "view.props.defaultSize.width"
},
"type": "property"
}
}
},
"props": {
"style": {
"fontSize": 10
},
"text": "CDU 01"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "device"
},
"position": {
"height": 46,
"y": 11
},
"propConfig": {
"position.width": {
"binding": {
"config": {
"path": "view.props.defaultSize.width"
},
"type": "property"
}
}
},
"props": {
"alignVertical": "top",
"style": {
"borderColor": "#FF0000",
"borderStyle": "solid",
"borderWidth": 2,
"fontSize": 10,
"paddingLeft": "5px"
},
"text": "Running"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "value"
},
"position": {
"height": 19,
"x": 2,
"y": 29
},
"propConfig": {
"position.width": {
"binding": {
"config": {
"path": "view.props.defaultSize.width"
},
"type": "property"
}
}
},
"props": {
"style": {
"fontSize": 10,
"paddingLeft": "5px"
},
"text": "68 degF"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "id_0"
},
"position": {
"height": 9,
"y": 45
},
"propConfig": {
"meta.visible": {
"binding": {
"config": {
"path": "view.params.config"
},
"transforms": [
{
"fallback": false,
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": false
},
{
"input": 2,
"output": true
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"position.width": {
"binding": {
"config": {
"path": "view.props.defaultSize.width"
},
"type": "property"
}
}
},
"props": {
"style": {
"fontSize": 10
},
"text": "DM11 RPP01"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "AlarmIcons"
},
"position": {
"height": 20,
"width": 15
},
"propConfig": {
"position.x": {
"binding": {
"config": {
"path": "view.props.defaultSize.width"
},
"transforms": [
{
"expression": "{value}-10\r\n",
"type": "expression"
}
],
"type": "property"
}
},
"position.y": {
"binding": {
"config": {
"path": "../device.position.y"
},
"transforms": [
{
"expression": "{value}-10\r\n",
"type": "expression"
}
],
"type": "property"
}
}
},
"props": {
"params": {
"AlarmSeverity": 4,
"ack": false
},
"path": "Components/Atoms/AlarmIcons",
"useDefaultViewHeight": true
},
"type": "ia.display.view"
}
],
"meta": {
"name": "root"
},
"props": {
"style": {
"overflow": "visible"
}
},
"type": "ia.container.coord"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@@ -0,0 +1,648 @@
{
"custom": {
"tags": [
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/air_temp",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/avg_sec_diff_press",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/fan_1_speed",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/fan_2_speed",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/fan_3_speed",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/fan_4_speed",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/fan_5_speed",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/fan_6_speed",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/fan_7_speed",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/fan_8_speed",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/filter_inlet_press_PT31",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/filter_inlet_press_PT41",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/group",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/P31_speed",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/P41_speed",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/pgrm_ver",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/ret_water_avg_press",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/ret_water_avg_temp",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/ret_water_PT01",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/ret_water_PT02",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/ret_water_TT01",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/ret_water_TT02",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/status",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/stop_btn_triggered",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/sup_ret_dp",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/sup_water_flow",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/sup_water_PT32",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/sup_water_PT42",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/sup_water_TT31",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/sup_water_TT41",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/sup_wtr_avg_press",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/sup_wtr_avg_temp",
"type": "Status",
"widget": "status_value"
},
{
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/tot_sec_flow_rate",
"type": "Status",
"widget": "status_value"
}
]
},
"params": {
"tagpath": "[default]_Testing/CDU",
"udt_type": "_template"
},
"propConfig": {
"custom.tags": {
"binding": {
"config": {
"path": "view.params.tagpath"
},
"enabled": false,
"transforms": [
{
"code": "\treturn ui.details.get_udt_configuration(value, \u0027Status\u0027)",
"type": "script"
}
],
"type": "property"
},
"persistent": true
},
"params.tagpath": {
"paramDirection": "input",
"persistent": true
},
"params.udt_type": {
"paramDirection": "input",
"persistent": true
}
},
"props": {},
"root": {
"children": [
{
"meta": {
"name": "FlexRepeater"
},
"position": {
"grow": 1
},
"propConfig": {
"props.instances": {
"binding": {
"config": {
"path": "view.custom.tags"
},
"transforms": [
{
"code": "\toutput \u003d []\n\tfor item in value:\n\t\tif item[\u0027is_hidden\u0027] is True:\n\t\t\tcontinue\n\t\toutput.append(item)\n\treturn output",
"type": "script"
}
],
"type": "property"
}
}
},
"props": {
"elementPosition": {
"basis": "auto"
},
"justify": "center",
"path": "Components/Atoms/Fields/_generic_field",
"style": {
"marginRight": "5px"
},
"wrap": "wrap"
},
"type": "ia.display.flex-repeater"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column",
"style": {
"classes": "Common/Static/card"
}
},
"type": "ia.container.flex"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@@ -0,0 +1,56 @@
{
"pages": {},
"sharedDocks": {
"cornerPriority": "left-right",
"left": [
{
"anchor": "fixed",
"autoBreakpoint": 480,
"content": "push",
"handle": "hide",
"iconUrl": "",
"id": "Left",
"modal": false,
"resizable": false,
"show": "visible",
"size": 270,
"viewParams": {},
"viewPath": "Frames/Layouts/Navigation/Docked"
}
],
"right": [
{
"anchor": "fixed",
"autoBreakpoint": 480,
"content": "cover",
"handle": "hide",
"iconUrl": "",
"id": "L4",
"modal": true,
"resizable": false,
"show": "onDemand",
"size": 700,
"viewParams": {
"tagPath": "value"
},
"viewPath": "Components/Layouts/Details/Details"
}
],
"top": [
{
"anchor": "fixed",
"autoBreakpoint": 480,
"content": "push",
"handle": "hide",
"iconUrl": "",
"id": "",
"modal": false,
"resizable": false,
"show": "visible",
"size": 80,
"viewParams": {},
"viewPath": "Components/Layouts/Header/Base"
}
]
}
}

View File

@@ -0,0 +1,141 @@
{
"custom": {},
"params": {},
"props": {
"defaultSize": {
"height": 125,
"width": 146
}
},
"root": {
"children": [
{
"meta": {
"name": "EmbeddedView_66"
},
"position": {
"height": 62.64,
"width": 34.96,
"x": 74.95999999999998,
"y": 66.88999999999999
},
"props": {
"path": "Components/Symbols/CDU",
"style": {
"overflow": "visible"
},
"useDefaultViewHeight": true,
"useDefaultViewWidth": true
},
"type": "ia.display.view"
},
{
"meta": {
"name": "EmbeddedView_67"
},
"position": {
"height": 62.64,
"width": 34.96,
"x": -0.040000000000020464,
"y": 4.639999999999986
},
"props": {
"path": "Components/Symbols/CDU",
"style": {
"overflow": "visible"
},
"useDefaultViewHeight": true,
"useDefaultViewWidth": true
},
"type": "ia.display.view"
},
{
"meta": {
"name": "EmbeddedView_68"
},
"position": {
"height": 14,
"width": 45,
"x": 74.9,
"y": 2.96
},
"props": {
"path": "Components/Symbols/DigitalIn",
"style": {
"overflow": "visible"
},
"useDefaultViewHeight": true,
"useDefaultViewWidth": true
},
"type": "ia.display.view"
},
{
"meta": {
"name": "EmbeddedView_69"
},
"position": {
"height": 26,
"width": 35,
"x": 17.65,
"y": 80.31
},
"props": {
"path": "Components/Symbols/DigitalIn",
"style": {
"overflow": "visible"
}
},
"type": "ia.display.view"
},
{
"meta": {
"name": "EmbeddedView_70"
},
"position": {
"height": 18,
"width": 35,
"x": 74.81476821899415,
"y": 17.957029342651367
},
"props": {
"path": "Components/Symbols/DigitalIn",
"style": {
"overflow": "visible"
},
"useDefaultViewHeight": true,
"useDefaultViewWidth": true
},
"type": "ia.display.view"
},
{
"meta": {
"name": "EmbeddedView_71"
},
"position": {
"height": 19,
"width": 75,
"x": 74.81,
"y": 35.96
},
"props": {
"path": "Components/Symbols/DigitalIn",
"style": {
"overflow": "visible"
},
"useDefaultViewHeight": true,
"useDefaultViewWidth": true
},
"type": "ia.display.view"
}
],
"meta": {
"name": "root"
},
"props": {
"style": {
"overflow": "visible"
}
},
"type": "ia.container.coord"
}
}

View File

@@ -0,0 +1,38 @@
{
"custom": {},
"params": {},
"props": {},
"root": {
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "32px"
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"path": "page.props.pageId"
},
"type": "property"
}
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column",
"style": {
"backgroundColor": "var(--container-root)"
}
},
"type": "ia.container.flex"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

View File

@@ -0,0 +1,854 @@
{
"custom": {
"percents": {},
"status": {
"faulted": 3,
"running": 35,
"standby": 2
},
"total": 40
},
"params": {},
"propConfig": {
"custom.percents": {
"persistent": true
},
"custom.percents.faulted": {
"binding": {
"config": {
"struct": {
"current": "{view.custom.status.faulted}",
"total": "{view.custom.total}"
},
"waitOnAll": true
},
"transforms": [
{
"expression": "({value}[\u0027current\u0027] / {value}[\u0027total\u0027]) *100",
"type": "expression"
}
],
"type": "expr-struct"
}
},
"custom.percents.running": {
"binding": {
"config": {
"struct": {
"current": "{view.custom.status.running}",
"total": "{view.custom.total}"
},
"waitOnAll": true
},
"transforms": [
{
"expression": "({value}[\u0027current\u0027] / {value}[\u0027total\u0027]) *100",
"type": "expression"
}
],
"type": "expr-struct"
}
},
"custom.percents.standby": {
"binding": {
"config": {
"struct": {
"current": "{view.custom.status.standby}",
"total": "{view.custom.total}"
},
"waitOnAll": true
},
"transforms": [
{
"expression": "({value}[\u0027current\u0027] / {value}[\u0027total\u0027]) *100",
"type": "expression"
}
],
"type": "expr-struct"
}
},
"custom.status": {
"persistent": true
},
"custom.total": {
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 300,
"width": 250
}
},
"root": {
"children": [
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "30%"
},
"props": {
"text": "DM11"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label_0"
},
"position": {
"basis": "70%"
},
"props": {
"style": {
"color": "var(--call-to-action)",
"textAlign": "end"
},
"text": "No leak detected"
},
"type": "ia.display.label"
}
],
"meta": {
"name": "title"
},
"position": {
"basis": "10%"
},
"props": {
"style": {
"overflow": "visible"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"children": [
{
"meta": {
"name": "cdu"
},
"props": {
"text": "CDU"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "running"
},
"propConfig": {
"meta.visible": {
"binding": {
"config": {
"expression": "if({view.custom.status.running}\u003e0, true, false)"
},
"type": "expr"
}
}
},
"props": {
"style": {
"color": "var(--high-performance-white)"
},
"text": "Running"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "standby"
},
"propConfig": {
"meta.visible": {
"binding": {
"config": {
"expression": "if({view.custom.status.standby}\u003e0, true, false)"
},
"type": "expr"
}
}
},
"props": {
"style": {
"color": "var(--high-performance-gray)"
},
"text": "Standby"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "faulted"
},
"propConfig": {
"meta.visible": {
"binding": {
"config": {
"expression": "if({view.custom.status.faulted}\u003e0, true, false)"
},
"type": "expr"
}
}
},
"props": {
"style": {
"color": "var(--high-performance-red)"
},
"text": "Faulted"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "cdu_0"
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"path": "view.custom.total"
},
"transforms": [
{
"expression": "\"of \" + {value}",
"type": "expression"
}
],
"type": "property"
}
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "FlexContainer"
},
"position": {
"basis": "200px"
},
"props": {
"style": {
"gap": "var(--space-xs)"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label"
},
"propConfig": {
"meta.visible": {
"binding": {
"config": {
"expression": "if({view.custom.status.running}\u003e0, true, false)"
},
"type": "expr"
}
},
"position.basis": {
"binding": {
"config": {
"struct": {
"current": "{view.custom.status.running}",
"total": "{view.custom.total}"
},
"waitOnAll": true
},
"transforms": [
{
"expression": "(({value}[\u0027current\u0027] / {value}[\u0027total\u0027]) *100 ) + \"%\"",
"type": "expression"
}
],
"type": "expr-struct"
}
}
},
"props": {
"style": {
"backgroundColor": "var(--high-performance-white)",
"borderBottomLeftRadius": "var(--border-radius)",
"borderBottomRightRadius": "var(--border-radius)",
"borderTopLeftRadius": "var(--border-radius)",
"borderTopRightRadius": "var(--border-radius)",
"color": "darkgray",
"textAlign": "center"
},
"text": 35
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label_0"
},
"propConfig": {
"meta.visible": {
"binding": {
"config": {
"expression": "if({view.custom.status.standby}\u003e0, true, false)"
},
"type": "expr"
}
},
"position.basis": {
"binding": {
"config": {
"struct": {
"current": "{view.custom.status.standby}",
"total": "{view.custom.total}"
},
"waitOnAll": true
},
"transforms": [
{
"expression": "(({value}[\u0027current\u0027] / {value}[\u0027total\u0027]) *100 ) + \"%\"",
"type": "expression"
}
],
"type": "expr-struct"
}
}
},
"props": {
"style": {
"backgroundColor": "var(--high-performance-gray)",
"borderBottomLeftRadius": "var(--border-radius)",
"borderBottomRightRadius": "var(--border-radius)",
"borderTopLeftRadius": "var(--border-radius)",
"borderTopRightRadius": "var(--border-radius)",
"color": "var(--text-color)",
"textAlign": "center"
},
"text": 2
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label_1"
},
"propConfig": {
"meta.visible": {
"binding": {
"config": {
"expression": "if({view.custom.status.faulted}\u003e0, true, false)"
},
"type": "expr"
}
},
"position.basis": {
"binding": {
"config": {
"struct": {
"current": "{view.custom.status.faulted}",
"total": "{view.custom.total}"
},
"waitOnAll": true
},
"transforms": [
{
"expression": "(({value}[\u0027current\u0027] / {value}[\u0027total\u0027]) *100 ) + \"%\"",
"type": "expression"
}
],
"type": "expr-struct"
}
}
},
"props": {
"style": {
"backgroundColor": "var(--high-performance-red)",
"borderBottomLeftRadius": "var(--border-radius)",
"borderBottomRightRadius": "var(--border-radius)",
"borderTopLeftRadius": "var(--border-radius)",
"borderTopRightRadius": "var(--border-radius)",
"color": "var(--text-color)",
"textAlign": "center"
},
"text": 3
},
"type": "ia.display.label"
}
],
"meta": {
"name": "FlexContainer_0"
},
"position": {
"basis": "200px"
},
"props": {
"style": {
"gap": "var(--space-xs)",
"overflow": "visible"
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "cdu"
},
"position": {
"basis": "19.7%"
},
"props": {
"direction": "column",
"style": {
"gap": "var(--space-xs)",
"overflow": "visible"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"children": [
{
"meta": {
"name": "value"
},
"position": {
"basis": "80%"
},
"props": {
"style": {
"textAlign": "center"
},
"text": 1257,
"textStyle": {
"color": "var(--call-to-action",
"fontSize": 30
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "engUnits"
},
"position": {
"basis": "20%"
},
"props": {
"style": {
"textAlign": "center"
},
"text": "TotalkW",
"textStyle": {
"color": "var(--text-muted)",
"fontSize": 12
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "power"
},
"position": {
"basis": "30%"
},
"props": {
"direction": "column"
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "divider"
},
"position": {
"basis": "1px"
},
"props": {
"style": {
"backgroundColor": "var(--text-color)"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Sparkline"
},
"position": {
"basis": "70%"
},
"props": {
"color": "var(--call-to-action",
"points": [
59,
80,
80,
100,
68,
62,
87,
72,
42,
49,
58,
53,
57,
51,
42,
32,
37,
30,
24,
38,
57,
29,
18,
32,
38,
24,
24,
24,
20,
21,
29,
32,
26,
18,
32,
36,
30,
36,
29,
32,
29,
28,
41,
20,
28,
58,
18,
24,
16,
2,
22,
17,
22,
21,
12,
22,
14,
13,
11,
20,
16,
16,
18,
12,
28,
28,
32,
16,
16,
24,
16,
20,
14,
18,
12,
26,
17,
11,
30,
16,
9,
20,
42,
13,
13,
24,
17,
13,
20,
12,
14,
13,
14,
71,
82,
20,
16,
20,
22,
17,
5
]
},
"type": "ia.display.sparkline"
},
{
"meta": {
"name": "divider_0"
},
"position": {
"basis": "1px"
},
"props": {
"style": {
"backgroundColor": "var(--text-color)"
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "variables"
},
"position": {
"basis": "30%"
},
"props": {
"style": {
"overflow": "visible"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"children": [
{
"meta": {
"name": "value"
},
"position": {
"basis": "80%"
},
"props": {
"style": {
"textAlign": "center"
},
"text": 68.7,
"textStyle": {
"color": "var(--call-to-action",
"fontSize": 30
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "engUnits"
},
"position": {
"basis": "20%"
},
"props": {
"style": {
"textAlign": "center"
},
"text": "Avg. degF",
"textStyle": {
"color": "var(--text-muted)",
"fontSize": 12
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "temp"
},
"position": {
"basis": "30%"
},
"props": {
"direction": "column"
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "divider"
},
"position": {
"basis": "1px"
},
"props": {
"style": {
"backgroundColor": "var(--text-color)"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Sparkline"
},
"position": {
"basis": "70%"
},
"props": {
"color": "var(--call-to-action",
"points": [
59,
80,
80,
100,
68,
62,
87,
72,
42,
49,
58,
53,
57,
51,
42,
32,
37,
30,
24,
38,
57,
29,
18,
32,
38,
24,
24,
24,
20,
21,
29,
32,
26,
18,
32,
36,
30,
36,
29,
32,
29,
28,
41,
20,
28,
58,
18,
24,
16,
2,
22,
17,
22,
21,
12,
22,
14,
13,
11,
20,
16,
16,
18,
12,
28,
28,
32,
16,
16,
24,
16,
20,
14,
18,
12,
26,
17,
11,
30,
16,
9,
20,
42,
13,
13,
24,
17,
13,
20,
12,
14,
13,
14,
71,
82,
20,
16,
20,
22,
17,
5
]
},
"type": "ia.display.sparkline"
},
{
"meta": {
"name": "divider_0"
},
"position": {
"basis": "1px"
},
"props": {
"style": {
"backgroundColor": "var(--text-color)"
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "variables_0"
},
"position": {
"basis": "30%"
},
"props": {
"style": {
"overflow": "visible"
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column",
"style": {
"backgroundColor": "var(--container)",
"borderTopLeftRadius": "var(--border-radius)",
"boxShadow": "var(--box-shadow-2)",
"gap": "var(--space-sm)",
"overflow": "visible",
"padding": "var(--space-sm)"
}
},
"type": "ia.container.flex"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

@@ -0,0 +1,51 @@
{
"custom": {},
"params": {
"tagpath": "[default]CDU_1",
"ust_type": "_template"
},
"propConfig": {
"params.tagpath": {
"paramDirection": "input",
"persistent": true
},
"params.ust_type": {
"paramDirection": "input",
"persistent": true
}
},
"props": {},
"root": {
"children": [
{
"meta": {
"name": "PowerChart"
},
"position": {
"basis": "600px"
},
"props": {
"config": {
"tagBrowserStartPath": "[default]_testing/Test_CDU1"
},
"interaction": {
"chartZoomLevel": 1,
"rangeZoomLevel": 1
}
},
"type": "ia.chart.powerchart"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column",
"style": {
"background": "var(--container)",
"classes": "Common/Static/card"
}
},
"type": "ia.container.flex"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

View File

@@ -0,0 +1,39 @@
{
"custom": {},
"params": {},
"props": {
"defaultSize": {
"height": 600,
"width": 1800
}
},
"root": {
"children": [
{
"meta": {
"name": "EmbeddedView"
},
"position": {
"basis": "485px"
},
"props": {
"params": {
"path": "Pages/DM11_Layout"
},
"path": "Components/Layouts/_Layout_Frame"
},
"type": "ia.display.view"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column",
"style": {
"backgroundColor": "var(--container-root)"
}
},
"type": "ia.container.flex"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 512 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

View File

@@ -0,0 +1,78 @@
{
"custom": {},
"params": {
"config": 1,
"tagpath": "value"
},
"propConfig": {
"params.config": {
"paramDirection": "input",
"persistent": true
},
"params.tagpath": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 18,
"width": 78
}
},
"root": {
"children": [
{
"meta": {
"name": "device"
},
"position": {
"height": 1,
"width": 1
},
"props": {
"alignVertical": "top",
"style": {
"borderColor": "#FF0000",
"borderStyle": "solid",
"borderWidth": 2,
"fontSize": 10,
"paddingLeft": "5px"
},
"text": "No Leak"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "AlarmIcons"
},
"position": {
"height": 1.1111,
"width": 0.1744,
"x": 0.9,
"y": -0.6
},
"props": {
"params": {
"AlarmSeverity": 4,
"ack": false
},
"path": "Components/Atoms/AlarmIcons",
"useDefaultViewHeight": true
},
"type": "ia.display.view"
}
],
"meta": {
"name": "root"
},
"props": {
"mode": "percent",
"style": {
"overflow": "visible"
}
},
"type": "ia.container.coord"
}
}

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

View File

@@ -0,0 +1,170 @@
{
"custom": {},
"params": {},
"props": {
"defaultSize": {
"height": 300,
"width": 250
}
},
"root": {
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "25px"
},
"props": {
"text": "DM11"
},
"type": "ia.display.label"
},
{
"children": [
{
"children": [
{
"meta": {
"name": "value"
},
"position": {
"basis": "80%"
},
"props": {
"style": {
"textAlign": "center"
},
"text": 1257,
"textStyle": {
"color": "var(--call-to-action",
"fontSize": 30
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "engUnits"
},
"position": {
"basis": "20%"
},
"props": {
"style": {
"textAlign": "center"
},
"text": "TotalkW",
"textStyle": {
"color": "var(--text-muted)",
"fontSize": 12
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "power"
},
"position": {
"basis": "50%"
},
"props": {
"direction": "column"
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "divider"
},
"position": {
"basis": "1px"
},
"props": {
"style": {
"backgroundColor": "var(--text-color)"
}
},
"type": "ia.display.label"
},
{
"children": [
{
"meta": {
"name": "value"
},
"position": {
"basis": "80%"
},
"props": {
"style": {
"textAlign": "center"
},
"text": 68.7,
"textStyle": {
"color": "var(--call-to-action",
"fontSize": 30
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "engUnits"
},
"position": {
"basis": "20%"
},
"props": {
"style": {
"textAlign": "center"
},
"text": "Avg. degF",
"textStyle": {
"color": "var(--text-muted)",
"fontSize": 12
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "temp"
},
"position": {
"basis": "50%"
},
"props": {
"direction": "column"
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "values"
},
"position": {
"basis": "101px"
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column",
"style": {
"backgroundColor": "var(--container)",
"borderTopLeftRadius": "var(--border-radius)",
"boxShadow": "var(--box-shadow-2)",
"gap": "var(--space-sm)",
"overflow": "visible",
"padding": "var(--space-sm)"
}
},
"type": "ia.container.flex"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,220 @@
{
"custom": {
"value": false
},
"params": {
"item": {
"access_level": 0,
"format": "0.0",
"group": 1,
"is_hidden": false,
"is_read_only": false,
"item_label": "Remote Start",
"order": 1,
"states": [
"Off",
"On"
],
"sub_path": "/Control/start",
"tagpath": "[Ignition_TX21_BE]DM11/Testing_CDU/Control/start",
"type": "control",
"widget": "btn_set_reset"
}
},
"propConfig": {
"custom.value": {
"binding": {
"config": {
"bidirectional": true,
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagpath": "{view.params.item.tagpath}"
},
"tagPath": "{tagpath}/val"
},
"type": "tag"
},
"persistent": true
},
"params.item": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 50,
"width": 500
}
},
"root": {
"children": [
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.view.custom.value \u003d True"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Button"
},
"position": {
"basis": "80px"
},
"propConfig": {
"props.style.backgroundColor": {
"binding": {
"config": {
"path": "view.custom.value"
},
"transforms": [
{
"fallback": "var(--container-nested)",
"inputType": "scalar",
"mappings": [
{
"input": false,
"output": "var(--container-nested)"
},
{
"input": true,
"output": "var(--call-to-action)"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.style.color": {
"binding": {
"config": {
"path": "view.custom.value"
},
"transforms": [
{
"fallback": "var(--container-nested)",
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "var(--container-nested)"
},
{
"input": false,
"output": "var(--call-to-action)"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
}
},
"props": {
"text": "Start"
},
"type": "ia.input.button"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.view.custom.value \u003d False"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Button_0"
},
"position": {
"basis": "80px"
},
"propConfig": {
"props.style.backgroundColor": {
"binding": {
"config": {
"path": "view.custom.value"
},
"transforms": [
{
"fallback": "var(--container-nested)",
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "var(--container-nested)"
},
{
"input": false,
"output": "var(--call-to-action)"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.style.color": {
"binding": {
"config": {
"path": "view.custom.value"
},
"transforms": [
{
"fallback": "var(--container-nested)",
"inputType": "scalar",
"mappings": [
{
"input": false,
"output": "var(--container-nested)"
},
{
"input": true,
"output": "var(--call-to-action)"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
}
},
"props": {
"text": "Stop"
},
"type": "ia.input.button"
}
],
"meta": {
"name": "root"
},
"props": {
"justify": "center",
"style": {
"gap": "var(--space-sm)",
"padding": "var(--space-xs)"
}
},
"type": "ia.container.flex"
}
}

View File

@@ -0,0 +1,56 @@
{
"pages": {},
"sharedDocks": {
"cornerPriority": "left-right",
"left": [
{
"anchor": "fixed",
"autoBreakpoint": 480,
"content": "push",
"handle": "hide",
"iconUrl": "",
"id": "",
"modal": false,
"resizable": false,
"show": "visible",
"size": 270,
"viewParams": {},
"viewPath": "Components/Layouts/Navigation/Docked"
}
],
"right": [
{
"anchor": "fixed",
"autoBreakpoint": 480,
"content": "cover",
"handle": "hide",
"iconUrl": "",
"id": "L4",
"modal": true,
"resizable": false,
"show": "onDemand",
"size": 700,
"viewParams": {
"tagPath": "value"
},
"viewPath": "Components/Layouts/Details/Details"
}
],
"top": [
{
"anchor": "fixed",
"autoBreakpoint": 480,
"content": "push",
"handle": "hide",
"iconUrl": "",
"id": "",
"modal": false,
"resizable": false,
"show": "visible",
"size": 80,
"viewParams": {},
"viewPath": "Components/Layouts/Header/Base"
}
]
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@@ -0,0 +1,149 @@
{
"custom": {},
"params": {},
"props": {
"defaultSize": {
"height": 38
}
},
"root": {
"children": [
{
"meta": {
"name": "Logo"
},
"position": {
"basis": "120px",
"shrink": 0
},
"props": {
"path": "Components/Atoms/Logo",
"style": {
"marginLeft": "var(--space-md)",
"marginRight": "var(--space-md)",
"padding": "8px"
}
},
"type": "ia.display.view"
},
{
"meta": {
"name": "Icon"
},
"position": {
"basis": "20px"
},
"props": {
"color": "var(--text-color)",
"path": "material/insert_emoticon",
"style": {
"marginRight": "var(--space-md)"
}
},
"type": "ia.display.icon"
},
{
"children": [
{
"meta": {
"name": "Title"
},
"position": {
"grow": 1
},
"props": {
"style": {
"backgroundColor": "var(--call-to-action-disabled)",
"color": "var(--call-to-action)",
"textAlign": "center"
},
"text": "Layout"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "selected"
},
"position": {
"basis": "var(--space-xs)"
},
"props": {
"style": {
"backgroundColor": "var(--call-to-action)"
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "Option_01"
},
"position": {
"basis": "104px",
"shrink": 0
},
"props": {
"direction": "column"
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Title"
},
"position": {
"grow": 1
},
"props": {
"style": {
"backgroundColor": "var(--call-to-action-disabled)",
"color": "var(--call-to-action)",
"textAlign": "center"
},
"text": "Alarms"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "selected"
},
"position": {
"basis": "var(--space-xs)"
},
"props": {
"style": {
"backgroundColor": "var(--call-to-action)"
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "Option_1"
},
"position": {
"basis": "104px",
"shrink": 0
},
"props": {
"direction": "column"
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "root"
},
"props": {
"style": {
"backgroundColor": "var(--container-root)",
"overflow": "visible"
}
},
"type": "ia.container.flex"
}
}

View File

@@ -0,0 +1,63 @@
{
"custom": {},
"params": {},
"props": {
"defaultSize": {
"width": 1350
}
},
"root": {
"children": [
{
"meta": {
"name": "LayourFrame"
},
"position": {
"basis": "600px"
},
"props": {
"params": {
"path": "Pages/Spaces/Layouts/DM14_Layout"
},
"path": "Components/Templates/Layout_Frame",
"style": {
"overflow": "hidden"
}
},
"type": "ia.display.view"
},
{
"meta": {
"name": "Label"
},
"position": {
"basis": "1px"
},
"props": {
"style": {
"background": "var(--container-nested)"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "LowePanel"
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column",
"style": {
"background": "var(--container-root)",
"gap": "var(--space-md)",
"padding": "var(--space-md)"
}
},
"type": "ia.container.flex"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

View File

@@ -0,0 +1,132 @@
{
"custom": {
"AlarmSeverity": 1
},
"params": {
"tagpath": "value"
},
"propConfig": {
"custom.AlarmSeverity": {
"persistent": true
},
"params.tagpath": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 18,
"width": 62
}
},
"root": {
"children": [
{
"meta": {
"name": "device"
},
"position": {
"height": 18,
"width": 62
},
"propConfig": {
"props.style.borderColor": {
"binding": {
"config": {
"path": "view.custom.AlarmSeverity"
},
"transforms": [
{
"fallback": "transparent",
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": "var(--alarm-low)"
},
{
"input": 2,
"output": "var(--alarm-medium)"
},
{
"input": 3,
"output": "var(--alarm-high)"
},
{
"input": 4,
"output": "var(--alarm-critical)"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
}
},
"props": {
"style": {
"backgroundColor": "#00000010",
"borderBottomLeftRadius": "var(--border-radius)",
"borderBottomRightRadius": "var(--border-radius)",
"borderStyle": "solid",
"borderTopLeftRadius": "var(--border-radius)",
"borderTopRightRadius": "var(--border-radius)",
"borderWidth": 2,
"color": "var(--call-to-action)",
"fontSize": 10,
"textAlign": "center"
},
"text": "Spot Det 3",
"textStyle": {
"classes": "containers/HoverOver"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "AlarmIcons"
},
"position": {
"height": 15,
"width": 15,
"x": 54.19,
"y": -10.19
},
"propConfig": {
"props.params.AlarmSeverity": {
"binding": {
"config": {
"path": "view.custom.AlarmSeverity"
},
"type": "property"
}
}
},
"props": {
"params": {
"ack": false
},
"path": "Components/Atoms/AlarmIcons",
"style": {
"overflow": "visible"
},
"useDefaultViewHeight": true
},
"type": "ia.display.view"
}
],
"meta": {
"name": "root"
},
"props": {
"style": {
"overflow": "visible"
}
},
"type": "ia.container.coord"
}
}

View File

@@ -0,0 +1,243 @@
{
"custom": {},
"params": {
"config": 1,
"tagpath": "value"
},
"propConfig": {
"params.config": {
"paramDirection": "input",
"persistent": true
},
"params.tagpath": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 71,
"width": 52
}
},
"root": {
"children": [
{
"meta": {
"name": "id"
},
"position": {
"height": 9
},
"propConfig": {
"meta.visible": {
"binding": {
"config": {
"path": "view.params.config"
},
"transforms": [
{
"fallback": false,
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": true
},
{
"input": 2,
"output": false
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"position.width": {
"binding": {
"config": {
"path": "view.props.defaultSize.width"
},
"type": "property"
}
}
},
"props": {
"style": {
"color": "var(--text-color)",
"fontSize": 10
},
"text": "CDU 01"
},
"type": "ia.display.label"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"id": "L4",
"type": "open",
"viewParams": {
"tagpath": "{view.params.tagpath}"
}
},
"scope": "C",
"type": "dock"
}
}
},
"meta": {
"name": "device"
},
"position": {
"height": 57,
"y": 11
},
"propConfig": {
"position.width": {
"binding": {
"config": {
"path": "view.props.defaultSize.width"
},
"type": "property"
}
}
},
"props": {
"alignVertical": "top",
"style": {
"backgroundColor": "var(--high-performance-white)",
"borderColor": "#FF0000",
"borderStyle": "solid",
"borderWidth": 2,
"fontSize": 10,
"paddingLeft": "5px"
},
"text": "Running",
"textStyle": {
"classes": "containers/HoverOver"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "value01"
},
"position": {
"height": 19,
"x": 2,
"y": 25
},
"propConfig": {
"position.width": {
"binding": {
"config": {
"path": "view.props.defaultSize.width"
},
"type": "property"
}
}
},
"props": {
"style": {
"color": "var(--call-to-action)",
"fontSize": 10,
"paddingLeft": "5px"
},
"text": "68 degF"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "value02"
},
"position": {
"height": 19,
"x": 2,
"y": 44
},
"propConfig": {
"position.width": {
"binding": {
"config": {
"path": "view.props.defaultSize.width"
},
"type": "property"
}
}
},
"props": {
"style": {
"color": "var(--call-to-action)",
"fontSize": 10,
"paddingLeft": "5px"
},
"text": "68 degF"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "AlarmIcons"
},
"position": {
"height": 20,
"width": 15
},
"propConfig": {
"position.x": {
"binding": {
"config": {
"path": "view.props.defaultSize.width"
},
"transforms": [
{
"expression": "{value}-10\r\n",
"type": "expression"
}
],
"type": "property"
}
},
"position.y": {
"binding": {
"config": {
"path": "../device.position.y"
},
"transforms": [
{
"expression": "{value}-10\r\n",
"type": "expression"
}
],
"type": "property"
}
}
},
"props": {
"params": {
"AlarmSeverity": 4,
"ack": false
},
"path": "Components/Atoms/AlarmIcons"
},
"type": "ia.display.view"
}
],
"meta": {
"name": "root"
},
"props": {
"style": {
"overflow": "visible"
}
},
"type": "ia.container.coord"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@@ -0,0 +1,93 @@
{
"custom": {
"location": "Components/Atoms/Fields",
"widget": "status_value"
},
"params": {
"item": {
"access_level": null,
"group": "0",
"is_hidden": false,
"label": "CDU",
"order": 0,
"read_only": false,
"states": [
{
"label": "state",
"value": 0
}
],
"tagPath": "[default]_Testing/CDU/Status/fan_8_speed",
"type": "Status",
"widget": "status_value"
}
},
"propConfig": {
"custom.location": {
"persistent": true
},
"custom.widget": {
"binding": {
"config": {
"path": "view.params.item"
},
"transforms": [
{
"code": "\treturn value[\u0027widget\u0027]",
"type": "script"
}
],
"type": "property"
},
"persistent": true
},
"params.item": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 50,
"width": 300
}
},
"root": {
"children": [
{
"meta": {
"name": "EmbeddedView"
},
"position": {
"grow": 1
},
"propConfig": {
"props.params.item": {
"binding": {
"config": {
"path": "view.params.item"
},
"type": "property"
}
},
"props.path": {
"binding": {
"config": {
"expression": "{view.custom.location} + \"/\" + {view.custom.widget}"
},
"type": "expr"
}
}
},
"type": "ia.display.view"
}
],
"meta": {
"name": "root"
},
"props": {
"justify": "center"
},
"type": "ia.container.flex"
}
}

View File

@@ -0,0 +1,343 @@
{
"custom": {
"alarm_active": 7,
"udt_type": "_template"
},
"params": {
"tagPath": "[Ignition_TX21_BE]DM11/TX21_DM11_CDU02"
},
"propConfig": {
"custom.alarm_active": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/Alarm Metrics.activeUnackCount"
},
"type": "tag"
},
"persistent": true
},
"custom.udt_type": {
"binding": {
"config": {
"path": "view.params.tagPath"
},
"enabled": false,
"transforms": [
{
"code": "\tconfig \u003d system.tag.getConfiguration(value, 0)\n\treturn config[0][\u0027typeId\u0027].split(\u0027/\u0027)[-1]",
"type": "script"
}
],
"type": "property"
},
"persistent": true
},
"params.tagPath": {
"paramDirection": "input",
"persistent": true
}
},
"props": {},
"root": {
"children": [
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"grow": 1,
"shrink": 0
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"path": "view.params.tagPath"
},
"type": "property"
}
}
},
"props": {
"style": {
"classes": "Common/Static/text"
}
},
"type": "ia.display.label"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"id": "L4",
"type": "close"
},
"scope": "C",
"type": "dock"
}
}
},
"meta": {
"name": "Icon"
},
"position": {
"basis": "30px",
"shrink": 0
},
"props": {
"path": "material/close",
"style": {
"color": "var(--icon)"
}
},
"type": "ia.display.icon"
}
],
"meta": {
"name": "Information"
},
"position": {
"basis": "30px",
"shrink": 0
},
"props": {
"style": {
"padding": "var(--space-xs)"
}
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "Divider_1"
},
"position": {
"basis": "1px"
},
"props": {
"style": {
"border": "var(--container-border)",
"classes": "Common/Static/text_muted"
}
},
"type": "ia.display.label"
},
{
"children": [
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "90%"
},
"props": {
"style": {
"classes": "Common/Static/Text"
},
"text": "Active Alarms"
},
"type": "ia.display.label"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.parent.parent.parent.getChild(\"AlarmsSection\").custom.is_collapsed \u003d not self.parent.parent.parent.getChild(\"AlarmsSection\").custom.is_collapsed"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Icon"
},
"position": {
"basis": "30px"
},
"propConfig": {
"props.path": {
"binding": {
"config": {
"path": "..../AlarmsSection.custom.is_collapsed"
},
"transforms": [
{
"fallback": "material/keyboard_arrow_up",
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "material/keyboard_arrow_down"
},
{
"input": false,
"output": "material/keyboard_arrow_up"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
}
},
"props": {
"style": {
"color": "var(--icon)"
}
},
"type": "ia.display.icon"
}
],
"meta": {
"name": "FlexContainer"
},
"position": {
"basis": "30px"
},
"props": {
"justify": "space-between"
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "AlarmStatusTable"
},
"position": {
"grow": 1
},
"propConfig": {
"position.display": {
"binding": {
"config": {
"expression": "!{parent.custom.is_collapsed}"
},
"type": "expr"
}
}
},
"props": {
"enableAcknowledge": false,
"enableDetails": false,
"enableHeader": false,
"enableShelve": false,
"enableUnshelve": false,
"style": {
"borderTopRightRadius": "var(--border-radius)",
"boxShadow": "var(--box-shadow-2)",
"classes": "Common/Static/card"
},
"toolbar": {
"enabled": false
}
},
"type": "ia.display.alarmstatustable"
}
],
"custom": {
"is_collapsed": false
},
"meta": {
"name": "AlarmsSection"
},
"position": {
"shrink": 0
},
"props": {
"direction": "column",
"style": {
"overflow": "visible",
"padding": "var(--space-xs)"
}
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "Divider_2"
},
"position": {
"basis": "1px"
},
"props": {
"style": {
"border": "var(--container-border)"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Body"
},
"position": {
"grow": 1
},
"propConfig": {
"props.params.tagpath": {
"binding": {
"config": {
"path": "view.params.tagPath"
},
"type": "property"
}
},
"props.path": {
"binding": {
"config": {
"expression": "\"Components/Faceplates/\"+ {view.custom.udt_type} +\"/body\""
},
"type": "expr"
}
}
},
"props": {
"params": {
"udt_type": "_template"
}
},
"type": "ia.display.view"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column",
"style": {
"background": "var(--container-root)",
"gap": "var(--space-sm)",
"padding": "var(--space-sm)"
}
},
"scripts": {
"customMethods": [],
"extensionFunctions": null,
"messageHandlers": [
{
"messageType": "TAB_CHANGE",
"pageScope": true,
"script": "\t# implement your handler here\n\tself.view.custom.selected_tab \u003d payload[\u0027newTab\u0027]",
"sessionScope": false,
"viewScope": false
}
]
},
"type": "ia.container.flex"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

@@ -0,0 +1,60 @@
{
"pages": {
"/": {
"title": "",
"viewPath": "Pages/Dashboard/Home"
},
"/alarm_journal": {
"title": "",
"viewPath": "Pages/Alarms/Active"
},
"/alarm_status": {
"title": "",
"viewPath": "Pages/Alarms/History"
},
"/cdu": {
"viewPath": "Pages/Systems/CDU"
},
"/spaces": {
"title": "",
"viewPath": "Pages/Dashboard/Spaces"
}
},
"sharedDocks": {
"cornerPriority": "left-right",
"right": [
{
"anchor": "fixed",
"autoBreakpoint": 480,
"content": "cover",
"handle": "hide",
"iconUrl": "",
"id": "L4",
"modal": true,
"resizable": false,
"show": "onDemand",
"size": 700,
"viewParams": {
"tagPath": "value"
},
"viewPath": "Components/Layouts/Details/Details"
}
],
"top": [
{
"anchor": "fixed",
"autoBreakpoint": 480,
"content": "push",
"handle": "hide",
"iconUrl": "",
"id": "",
"modal": false,
"resizable": false,
"show": "visible",
"size": 80,
"viewParams": {},
"viewPath": "Frames/Layouts/Header/Base"
}
]
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@@ -0,0 +1,29 @@
{
"pages": {
"/": {
"title": "",
"viewPath": ""
}
},
"sharedDocks": {
"cornerPriority": "left-right",
"right": [
{
"anchor": "fixed",
"autoBreakpoint": 480,
"content": "cover",
"handle": "hide",
"iconUrl": "",
"id": "L4",
"modal": true,
"resizable": false,
"show": "onDemand",
"size": 700,
"viewParams": {
"tagPath": "value"
},
"viewPath": "Components/Layouts/Details/Details"
}
]
}
}

View File

@@ -0,0 +1,248 @@
{
"custom": {},
"params": {
"config": 1,
"tagpath": "value"
},
"propConfig": {
"params.config": {
"paramDirection": "input",
"persistent": true
},
"params.tagpath": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 71,
"width": 52
}
},
"root": {
"children": [
{
"meta": {
"name": "id"
},
"position": {
"height": 9
},
"propConfig": {
"meta.visible": {
"binding": {
"config": {
"path": "view.params.config"
},
"transforms": [
{
"fallback": false,
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": true
},
{
"input": 2,
"output": false
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"position.width": {
"binding": {
"config": {
"path": "view.props.defaultSize.width"
},
"type": "property"
}
}
},
"props": {
"style": {
"color": "var(--text-color)",
"fontSize": 10
},
"text": "CDU 01"
},
"type": "ia.display.label"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"id": "L4",
"type": "open",
"viewParams": {
"tagpath": "{view.params.tagpath}"
}
},
"scope": "C",
"type": "dock"
}
}
},
"meta": {
"name": "device"
},
"position": {
"height": 57,
"y": 11
},
"propConfig": {
"position.width": {
"binding": {
"config": {
"path": "view.props.defaultSize.width"
},
"type": "property"
}
}
},
"props": {
"alignVertical": "top",
"style": {
"backgroundColor": "var(--high-performance-white)",
"borderBottomLeftRadius": "var(--border-radius)",
"borderBottomRightRadius": "var(--border-radius)",
"borderColor": "#FF0000",
"borderStyle": "solid",
"borderTopLeftRadius": "var(--border-radius)",
"borderTopRightRadius": "var(--border-radius)",
"borderWidth": 2,
"color": "var(--text-color)",
"fontSize": 10,
"paddingLeft": "5px"
},
"text": "Running",
"textStyle": {
"classes": "containers/HoverOver"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "value01"
},
"position": {
"height": 19,
"x": 2,
"y": 25
},
"propConfig": {
"position.width": {
"binding": {
"config": {
"path": "view.props.defaultSize.width"
},
"type": "property"
}
}
},
"props": {
"style": {
"color": "var(--call-to-action)",
"fontSize": 10,
"paddingLeft": "5px"
},
"text": "68 degF"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "value02"
},
"position": {
"height": 19,
"x": 2,
"y": 44
},
"propConfig": {
"position.width": {
"binding": {
"config": {
"path": "view.props.defaultSize.width"
},
"type": "property"
}
}
},
"props": {
"style": {
"color": "var(--call-to-action)",
"fontSize": 10,
"paddingLeft": "5px"
},
"text": "68 degF"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "AlarmIcons"
},
"position": {
"height": 20,
"width": 15
},
"propConfig": {
"position.x": {
"binding": {
"config": {
"path": "view.props.defaultSize.width"
},
"transforms": [
{
"expression": "{value}-10\r\n",
"type": "expression"
}
],
"type": "property"
}
},
"position.y": {
"binding": {
"config": {
"path": "../device.position.y"
},
"transforms": [
{
"expression": "{value}-10\r\n",
"type": "expression"
}
],
"type": "property"
}
}
},
"props": {
"params": {
"AlarmSeverity": 4,
"ack": false
},
"path": "Components/Atoms/AlarmIcons"
},
"type": "ia.display.view"
}
],
"meta": {
"name": "root"
},
"props": {
"style": {
"overflow": "visible"
}
},
"type": "ia.container.coord"
}
}

View File

@@ -0,0 +1,106 @@
{
"custom": {
"tags": [
{
"access_level": 0,
"format": "0.0",
"group": 1,
"is_hidden": false,
"is_read_only": false,
"item_label": "Remote Start",
"order": 1,
"states": [
"Off",
"On"
],
"sub_path": "/Control/start",
"type": "control",
"widget": "btn_set_reset"
}
]
},
"params": {
"tagpath": "[Ignition_TX21_BE]DM11/Testing_CDU",
"udt_type": "CDU"
},
"propConfig": {
"custom.tags": {
"binding": {
"config": {
"path": "view.params.tagpath"
},
"transforms": [
{
"code": "\treturn ui.details.get_udt_configuration(value, \u0027control\u0027)",
"type": "script"
}
],
"type": "property"
},
"persistent": true
},
"params.tagpath": {
"paramDirection": "input",
"persistent": true
},
"params.udt_type": {
"paramDirection": "input",
"persistent": true
}
},
"props": {},
"root": {
"children": [
{
"meta": {
"name": "FlexRepeater"
},
"position": {
"grow": 1
},
"propConfig": {
"props.instances": {
"binding": {
"config": {
"struct": {
"path": "{view.params.tagpath}",
"tags": "{view.custom.tags}"
},
"waitOnAll": true
},
"transforms": [
{
"code": "\treturn ui.details.generate_flex_array(value[\u0027tags\u0027], value[\u0027path\u0027])",
"type": "script"
}
],
"type": "expr-struct"
}
}
},
"props": {
"elementPosition": {
"basis": "auto"
},
"justify": "center",
"path": "Components/Atoms/Fields/_generic_field",
"style": {
"marginRight": "5px"
},
"wrap": "wrap"
},
"type": "ia.display.flex-repeater"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column",
"style": {
"classes": "Common/Static/card"
}
},
"type": "ia.container.flex"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Some files were not shown because too many files have changed in this diff Show More