1097 lines
29 KiB
Plaintext
1097 lines
29 KiB
Plaintext
{
|
|
"custom": {},
|
|
"params": {
|
|
"meta": {
|
|
"name": "VFD"
|
|
},
|
|
"props": {
|
|
"config": {
|
|
"enableHighlight": true,
|
|
"isClickable": false
|
|
},
|
|
"status": {
|
|
"color": {
|
|
"left": "#B3B3B3",
|
|
"right": "#D3D3D3"
|
|
},
|
|
"showAlways": true,
|
|
"tagPath": "[default]MCP03/RO02/RO02_03/VFD",
|
|
"tooltip": ""
|
|
}
|
|
}
|
|
},
|
|
"propConfig": {
|
|
"params.meta": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.meta.name": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.props": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
}
|
|
},
|
|
"props": {
|
|
"defaultSize": {
|
|
"height": 500,
|
|
"width": 500
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\ttagPath \u003d self.view.params.props.status.tagPath\n\ttags \u003d [\n\t\ttagPath + \"/SetManualRun\",\n\t\ttagPath + \"/SetManualStop\",\n\t\ttagPath + \"/SetManualSlow\"\n\t]\n\tvalues \u003d [0, 1, 0]\n\tsystem.tag.writeAsync(tags, values)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "btnManualOff"
|
|
},
|
|
"position": {
|
|
"height": 70,
|
|
"width": 85,
|
|
"x": 348.5,
|
|
"y": 412.5
|
|
},
|
|
"propConfig": {
|
|
"meta.cActive": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.props.status.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/SetManualStop"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value}, false)",
|
|
"type": "expression"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.props.status.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/SetManualEnable"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "try({value}, false)\r\n\u0026\u0026isAuthorized(false,\r\n\t\"Authenticated/Roles/Administrator\",\r\n\t\"Authenticated/Roles/Developer\",\r\n\t\"Authenticated/Roles/Supervisor\",\r\n\t\"Authenticated/Roles/Maintenance\"\r\n)",
|
|
"type": "expression"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"props.style.classes": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.props.status.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/SetManualStop"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "try({value}, false)",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"fallback": "Buttons/Grey",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": true,
|
|
"output": "Buttons/Yellow"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {},
|
|
"text": "OFF",
|
|
"textStyle": {
|
|
"fontSize": "17px"
|
|
}
|
|
},
|
|
"type": "ia.input.button"
|
|
},
|
|
{
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\ttagPath \u003d self.view.params.props.status.tagPath\n\ttags \u003d [\n\t\ttagPath + \"/SetManualStop\",\n\t\ttagPath + \"/SetManualRun\",\n\t\ttagPath + \"/SetManualSlow\"\n\t]\n\tvalues \u003d [0, 1, 1]\n\tsystem.tag.writeAsync(tags, values)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "btnManualSlow"
|
|
},
|
|
"position": {
|
|
"height": 70,
|
|
"width": 85,
|
|
"x": 259.5,
|
|
"y": 412.5
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.props.status.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/SetManualEnable"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "try({value}, false)\r\n\u0026\u0026isAuthorized(false,\r\n\t\"Authenticated/Roles/Administrator\",\r\n\t\"Authenticated/Roles/Developer\",\r\n\t\"Authenticated/Roles/Supervisor\",\r\n\t\"Authenticated/Roles/Maintenance\"\r\n)",
|
|
"type": "expression"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"props.style.classes": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.props.status.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/SetManualSlow"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "try({value}, false)",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"fallback": "Buttons/Grey",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": true,
|
|
"output": "Buttons/Yellow"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {},
|
|
"text": "SLOW",
|
|
"textStyle": {
|
|
"fontSize": "17px"
|
|
}
|
|
},
|
|
"type": "ia.input.button"
|
|
},
|
|
{
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\ttagPath \u003d self.view.params.props.status.tagPath\n\ttags \u003d [tagPath + \"/SetManualEnable\"]\n\tvalues \u003d [1]\n\tsystem.tag.writeAsync(tags, values)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "btnManual"
|
|
},
|
|
"position": {
|
|
"height": 70,
|
|
"width": 263,
|
|
"x": 170.5,
|
|
"y": 332.5
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.props.status.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/SetManualEnable"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "try({value}\u003d{value}, false)\r\n\u0026\u0026isAuthorized(false,\r\n\t\"Authenticated/Roles/Administrator\",\r\n\t\"Authenticated/Roles/Developer\",\r\n\t\"Authenticated/Roles/Supervisor\",\r\n\t\"Authenticated/Roles/Maintenance\"\r\n)",
|
|
"type": "expression"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"props.style.classes": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.props.status.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/SetManualEnable"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "try({value}, false)",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"fallback": "Buttons/Grey",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": true,
|
|
"output": "Buttons/Blue"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {},
|
|
"text": "MANUAL",
|
|
"textStyle": {
|
|
"fontSize": "18px"
|
|
}
|
|
},
|
|
"type": "ia.input.button"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_13"
|
|
},
|
|
"position": {
|
|
"height": 25,
|
|
"width": 190,
|
|
"x": 80,
|
|
"y": 285
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"fontSize": "20px",
|
|
"fontWeight": "bold",
|
|
"textAlign": "right"
|
|
},
|
|
"text": "Last Fault Code:"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "lbLastCode"
|
|
},
|
|
"position": {
|
|
"height": 25,
|
|
"width": "calc(100% - 300px)",
|
|
"x": 280,
|
|
"y": 285
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.props.status.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Last_Code_Text"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value}, \u0027Unknown\u0027)",
|
|
"type": "expression"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"borderColor": "#000",
|
|
"borderStyle": "solid",
|
|
"fontSize": "14px",
|
|
"fontWeight": "bold",
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\ttagPath \u003d self.view.params.props.status.tagPath\n\ttags \u003d [\n\t\ttagPath + \"/SetManualStop\",\n\t\ttagPath + \"/SetManualRun\",\n\t\ttagPath + \"/SetManualSlow\"\n\t]\n\tvalues \u003d [0, 1, 0]\n\tsystem.tag.writeAsync(tags, values)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "btnManualOn"
|
|
},
|
|
"position": {
|
|
"height": 70,
|
|
"width": 85,
|
|
"x": 170.5,
|
|
"y": 412.5
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.props.status.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/SetManualEnable"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "try({value}, false)\r\n\u0026\u0026isAuthorized(false,\r\n\t\"Authenticated/Roles/Administrator\",\r\n\t\"Authenticated/Roles/Developer\",\r\n\t\"Authenticated/Roles/Supervisor\",\r\n\t\"Authenticated/Roles/Maintenance\"\r\n)",
|
|
"type": "expression"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"props.style.classes": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.props.status.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/SetManualRun"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": " try({value}, false)\r\n\u0026\u0026 {../btnManualSlow.props.style.classes} \u003d \"Buttons/Grey\"",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"fallback": "Buttons/Grey",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": true,
|
|
"output": "Buttons/Green"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {},
|
|
"text": "Nominal",
|
|
"textStyle": {
|
|
"fontSize": "17px"
|
|
}
|
|
},
|
|
"type": "ia.input.button"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_11"
|
|
},
|
|
"position": {
|
|
"height": 25,
|
|
"width": 150,
|
|
"x": 120,
|
|
"y": 250
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"fontSize": "20px",
|
|
"fontWeight": "bold",
|
|
"textAlign": "right"
|
|
},
|
|
"text": "Status Code:"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "lbStatusCode"
|
|
},
|
|
"position": {
|
|
"height": 25,
|
|
"width": "calc(100% - 300px)",
|
|
"x": 280,
|
|
"y": 250
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.props.status.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Status_Code"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value}, \u0027Unknown\u0027)",
|
|
"type": "expression"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"borderColor": "#000",
|
|
"borderStyle": "solid",
|
|
"fontSize": "14px",
|
|
"fontWeight": "bold",
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_9"
|
|
},
|
|
"position": {
|
|
"height": 25,
|
|
"width": 150,
|
|
"x": 120,
|
|
"y": 215
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"fontSize": "20px",
|
|
"fontWeight": "bold",
|
|
"textAlign": "right"
|
|
},
|
|
"text": "Speed (RPM):"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "lbFrequency"
|
|
},
|
|
"position": {
|
|
"height": 25,
|
|
"width": "calc(100% - 300px)",
|
|
"x": 280,
|
|
"y": 215
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.props.status.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/RPM"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value}, \u0027Unknown\u0027)",
|
|
"type": "expression"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"backgroundColor": "#AAAAAA",
|
|
"borderColor": "#000",
|
|
"borderStyle": "solid",
|
|
"fontSize": "14px",
|
|
"fontWeight": "bold",
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\ttagPath \u003d self.view.params.props.status.tagPath\n\ttags \u003d [tagPath + \"/SetManualEnable\"]\n\tvalues \u003d [0]\n\tsystem.tag.writeAsync(tags, values)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "btnAuto"
|
|
},
|
|
"position": {
|
|
"height": 150,
|
|
"width": 95,
|
|
"x": 66.5,
|
|
"y": 332.5
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.props.status.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/SetManualEnable"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "try({value}\u003d{value}, false)\r\n\u0026\u0026isAuthorized(false,\r\n\t\"Authenticated/Roles/Administrator\",\r\n\t\"Authenticated/Roles/Developer\",\r\n\t\"Authenticated/Roles/Supervisor\",\r\n\t\"Authenticated/Roles/Maintenance\"\r\n)",
|
|
"type": "expression"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"props.style.classes": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.props.status.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/SetManualEnable"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "try({value}, true)",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"fallback": "Buttons/Grey",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": false,
|
|
"output": "Buttons/Green"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {},
|
|
"text": "AUTO",
|
|
"textStyle": {
|
|
"fontSize": "18px"
|
|
}
|
|
},
|
|
"type": "ia.input.button"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_7"
|
|
},
|
|
"position": {
|
|
"height": 25,
|
|
"width": 150,
|
|
"x": 120,
|
|
"y": 180
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"fontSize": "20px",
|
|
"fontWeight": "bold",
|
|
"textAlign": "right"
|
|
},
|
|
"text": "Speed (FPM):"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "lbSpeed"
|
|
},
|
|
"position": {
|
|
"height": 25,
|
|
"width": "calc(100% - 300px)",
|
|
"x": 280,
|
|
"y": 180
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.props.status.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Speed"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value}, \u0027Unknown\u0027)",
|
|
"type": "expression"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"backgroundColor": "#AAAAAA",
|
|
"borderColor": "#000",
|
|
"borderStyle": "solid",
|
|
"fontSize": "14px",
|
|
"fontWeight": "bold",
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_5"
|
|
},
|
|
"position": {
|
|
"height": 25,
|
|
"width": 235,
|
|
"x": 35,
|
|
"y": 145
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"fontSize": "20px",
|
|
"fontWeight": "bold",
|
|
"textAlign": "right"
|
|
},
|
|
"text": "Motor Current (Amps):"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "lbAmps"
|
|
},
|
|
"position": {
|
|
"height": 25,
|
|
"width": "calc(100% - 300px)",
|
|
"x": 280,
|
|
"y": 145
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.props.status.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Amps"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value}, \u0027Unknown\u0027)",
|
|
"type": "expression"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"backgroundColor": "#AAAAAA",
|
|
"borderColor": "#000",
|
|
"borderStyle": "solid",
|
|
"fontSize": "14px",
|
|
"fontWeight": "bold",
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_3"
|
|
},
|
|
"position": {
|
|
"height": 25,
|
|
"width": 125,
|
|
"x": 145,
|
|
"y": 110
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"fontSize": "20px",
|
|
"fontWeight": "bold",
|
|
"textAlign": "right"
|
|
},
|
|
"text": "IP Address:"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "lbIPAddress"
|
|
},
|
|
"position": {
|
|
"height": 25,
|
|
"width": "calc(100% - 300px)",
|
|
"x": 280,
|
|
"y": 110
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.props.status.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/IPAddr"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value}, \u0027Unknown\u0027)",
|
|
"type": "expression"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"borderColor": "#000",
|
|
"borderStyle": "solid",
|
|
"fontSize": "14px",
|
|
"fontWeight": "bold",
|
|
"overflow": "hidden",
|
|
"textAlign": "center",
|
|
"textOverview": "ellipsis",
|
|
"whiteSpace": "nowrap"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "VFD"
|
|
},
|
|
"position": {
|
|
"height": 64,
|
|
"width": 64,
|
|
"x": 67.5,
|
|
"y": 17.5
|
|
},
|
|
"propConfig": {
|
|
"props.status": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.props.status.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Graphics"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "try(\r\n\tjsonSet({value}, \"showAlways\", true),\r\n\t{view.params.props.status}\r\n)",
|
|
"type": "expression"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"config": {
|
|
"enableHighlight": false,
|
|
"isClickable": false
|
|
}
|
|
},
|
|
"type": "dex.display.vfd"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_15"
|
|
},
|
|
"position": {
|
|
"height": 25,
|
|
"width": 75,
|
|
"x": 195,
|
|
"y": 40
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"fontSize": "20px",
|
|
"fontWeight": "bold",
|
|
"textAlign": "right"
|
|
},
|
|
"text": "Status:"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "lbStatus"
|
|
},
|
|
"position": {
|
|
"height": 25,
|
|
"width": "calc(100% - 300px)",
|
|
"x": 280,
|
|
"y": 40
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.props.status.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Graphics"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\treturn utils.extractStatus(value)",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"borderColor": "#000",
|
|
"borderStyle": "solid",
|
|
"fontSize": "14px",
|
|
"fontWeight": "bold",
|
|
"overflow": "hidden",
|
|
"textAlign": "center",
|
|
"textOverview": "ellipsis",
|
|
"whiteSpace": "nowrap"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_1"
|
|
},
|
|
"position": {
|
|
"height": 25,
|
|
"width": 75,
|
|
"x": 195,
|
|
"y": 5
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"fontSize": "20px",
|
|
"fontWeight": "bold",
|
|
"textAlign": "right"
|
|
},
|
|
"text": "Name: "
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "lbName"
|
|
},
|
|
"position": {
|
|
"height": 25,
|
|
"width": "calc(100% - 300px)",
|
|
"x": 280,
|
|
"y": 5
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.props.status.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Parameters.LabelFull"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value}, \u0027\u0027)",
|
|
"type": "expression"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"borderColor": "#000",
|
|
"borderStyle": "solid",
|
|
"fontSize": "14px",
|
|
"fontWeight": "bold",
|
|
"overflow": "hidden",
|
|
"textAlign": "center",
|
|
"textOverview": "ellipsis",
|
|
"whiteSpace": "nowrap"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_12"
|
|
},
|
|
"position": {
|
|
"height": 25,
|
|
"width": 75,
|
|
"x": 195,
|
|
"y": 75
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"fontSize": "20px",
|
|
"fontWeight": "bold",
|
|
"textAlign": "right"
|
|
},
|
|
"text": "Panel:"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "lbStatus_0"
|
|
},
|
|
"position": {
|
|
"height": 25,
|
|
"width": "calc(100% - 300px)",
|
|
"x": 280,
|
|
"y": 75
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.props.status.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Parameters.OPC_Server"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value}, \"Unknown\")",
|
|
"type": "expression"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"borderColor": "#000",
|
|
"borderStyle": "solid",
|
|
"fontSize": "14px",
|
|
"fontWeight": "bold",
|
|
"overflow": "hidden",
|
|
"textAlign": "center",
|
|
"textOverview": "ellipsis",
|
|
"whiteSpace": "nowrap"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "root"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"background-color": "#CFCFCF"
|
|
}
|
|
},
|
|
"type": "ia.container.coord"
|
|
}
|
|
} |