1451 lines
56 KiB
Plaintext
1451 lines
56 KiB
Plaintext
{
|
|
"custom": {
|
|
"coolDown": false,
|
|
"coolDownTimer": 5,
|
|
"running": 0
|
|
},
|
|
"params": {
|
|
"objectName": "GEN",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]Yard/SATB1_YARD_GEN-P4-1",
|
|
"tagPath_ATS": "[Ignition_SATB1_IO1_default]ER1242/SWBD/SATB1_ER1242_ATS"
|
|
},
|
|
"propConfig": {
|
|
"custom.coolDown": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath_ATS": "{view.params.tagPath_ATS}"
|
|
},
|
|
"tagPath": "{tagPath_ATS}/CP State"
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"fallback": false,
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 34,
|
|
"output": true
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"custom.coolDownTimer": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath_ATS": "{view.params.tagPath_ATS}"
|
|
},
|
|
"tagPath": "{tagPath_ATS}/CP State Data"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"custom.running": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Run Status"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"params.objectName": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.tagPath": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.tagPath_ATS": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
}
|
|
},
|
|
"props": {
|
|
"defaultSize": {
|
|
"height": 104,
|
|
"width": 253
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"custom": {
|
|
"colorHandle": {}
|
|
},
|
|
"events": {
|
|
"dom": {
|
|
"onClick": {
|
|
"config": {
|
|
"script": "\ttagPath \u003d self.view.params.tagPath\n\tobjectName \u003d self.view.params.objectName\n\tpayload\u003d{\n\t\t\u0027objectName\u0027: objectName,\n\t\t\u0027tagPath\u0027: tagPath,\n\t\t\u0027modal\u0027: False,\n\t\t\u0027resizable\u0027: True,\n\t\t\u0027draggable\u0027: True,\n\t\t\u0027position\u0027: {\n#\t\t\t\u0027left\u0027:\u00270\u0027,\n#\t\t\t\u0027top\u0027:\u00270\u0027,\n\t\t\t\u0027width\u0027: \u00271000px\u0027,\n\t\t\t\u0027height\u0027: \u0027800px\u0027\n\t\t}\n\t}\n\tutils.nav.eqPopupMsg(self, payload)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Generator SVG"
|
|
},
|
|
"position": {
|
|
"height": 95,
|
|
"width": 126,
|
|
"x": 1.66,
|
|
"y": 8.88
|
|
},
|
|
"propConfig": {
|
|
"custom.colorHandle.Background": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"alarmSeverity": "{parent.custom.alarmSeverity}",
|
|
"running": "{view.custom.running}"
|
|
},
|
|
"waitOnAll": true
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value[\u0027alarmSeverity\u0027] \u003e 0:\n\t\tColor \u003d 2\n\telif value[\u0027running\u0027] \u003d\u003d True:\n\t\tColor \u003d 1\n\telse :\n\t\tColor \u003d 0\n\treturn Color\n",
|
|
"type": "script"
|
|
},
|
|
{
|
|
"fallback": "#D5D5D5",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 0,
|
|
"output": "#D5D5D5"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "#FFFF47"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "#FF0000"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
}
|
|
},
|
|
"custom.colorHandle.Thunder": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"alarmSeverity": "{parent.custom.alarmSeverity}",
|
|
"running": "{view.custom.running}"
|
|
},
|
|
"waitOnAll": true
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value[\u0027running\u0027] \u003d\u003d True:\n\t\tColor \u003d \u0027Orange\u0027\n\telse:\n\t\tColor \u003d \u0027White\u0027\n\treturn Color\n",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
}
|
|
},
|
|
"custom.colorHandle.Thunder_border": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"alarmSeverity": "{parent.custom.alarmSeverity}",
|
|
"running": "{view.custom.running}"
|
|
},
|
|
"waitOnAll": true
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value[\u0027running\u0027] \u003d\u003d True:\n\t\tColor \u003d \u0027White\u0027\n\telse:\n\t\tColor \u003d \u0027Black\u0027\n\treturn Color\n",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
}
|
|
},
|
|
"props.elements[1].elements[0].elements[0].fill.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.colorHandle.Background"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[1].elements[0].elements[2].fill.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.colorHandle.Background"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[1].elements[0].elements[3].fill.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.colorHandle.Background"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[1].elements[0].elements[4].fill.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.colorHandle.Background"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[1].elements[0].elements[5].fill.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.colorHandle.Background"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[1].elements[0].elements[6].fill.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.colorHandle.Thunder"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[1].elements[0].elements[6].stroke.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.colorHandle.Thunder_border"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"elements": [
|
|
{
|
|
"name": "defs",
|
|
"type": "defs"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M.0,.0L1099.0,.0L1099.0,647.1L.0,647.1L.0,.0z",
|
|
"fill": {},
|
|
"id": "shape2",
|
|
"name": "shape2",
|
|
"stroke": {
|
|
"paint": "black",
|
|
"width": 3
|
|
},
|
|
"transform": "translate(7.803696,64.809411)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M11.7,.0L300.3,.0C306.8,.0,312.1,6.9,312.1,15.5L312.1,129.0C312.1,137.6,306.8,144.5,300.3,144.5L11.7,144.5C5.2,144.5,.0,137.6,.0,129.0L.0,15.5C.0,6.9,5.2,.0,11.7,.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape4",
|
|
"name": "shape4",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": 3
|
|
},
|
|
"transform": "translate(-0.000000,0.000000)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M5.0,.0L287.8,.0C290.7,.0,293.1,2.9,293.1,6.6L293.1,116.8C293.1,120.5,290.7,123.5,287.8,123.5L5.0,123.5C2.2,123.5,.0,120.5,.0,116.8L.0,6.6C.0,2.9,2.2,.0,5.0,.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape5",
|
|
"name": "shape5",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(9.523796,10.439984)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M-0.0,11.0C-0.0,4.9,4.9,-0.0,10.9,-0.0C16.9,-0.0,21.9,4.9,21.9,11.0C21.9,17.1,16.9,22.0,10.9,22.0C4.9,22.0,-0.0,17.1,-0.0,11.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape7",
|
|
"name": "shape7",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(0.018123,0.018207)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M-0.0,9.0C-0.0,4.0,4.0,-0.0,8.9,-0.0C13.8,-0.0,17.8,4.0,17.8,9.0C17.8,13.9,13.8,18.0,8.9,18.0C4.0,18.0,-0.0,13.9,-0.0,9.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape8",
|
|
"name": "shape8",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(2.020118,2.034389)",
|
|
"type": "path"
|
|
}
|
|
],
|
|
"id": "group6",
|
|
"name": "group6",
|
|
"transform": "matrix(0.000000,1.000000,-1.000000,0.000000,193.502876,39.600685)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M-0.0,11.0C-0.0,4.9,4.9,-0.0,10.9,-0.0C16.9,-0.0,21.9,4.9,21.9,11.0C21.9,17.1,16.9,22.0,10.9,22.0C4.9,22.0,-0.0,17.1,-0.0,11.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape10",
|
|
"name": "shape10",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(0.018123,0.018207)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M-0.0,9.0C-0.0,4.0,4.0,-0.0,8.9,-0.0C13.8,-0.0,17.8,4.0,17.8,9.0C17.8,13.9,13.8,18.0,8.9,18.0C4.0,18.0,-0.0,13.9,-0.0,9.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape11",
|
|
"name": "shape11",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(2.020118,2.034389)",
|
|
"type": "path"
|
|
}
|
|
],
|
|
"id": "group9",
|
|
"name": "group9",
|
|
"transform": "matrix(0.000000,1.000000,-1.000000,0.000000,256.624551,39.600685)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M-0.0,11.0C-0.0,4.9,4.9,-0.0,10.9,-0.0C16.9,-0.0,21.9,4.9,21.9,11.0C21.9,17.1,16.9,22.0,10.9,22.0C4.9,22.0,-0.0,17.1,-0.0,11.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape13",
|
|
"name": "shape13",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(0.018123,0.018207)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M-0.0,9.0C-0.0,4.0,4.0,-0.0,8.9,-0.0C13.8,-0.0,17.8,4.0,17.8,9.0C17.8,13.9,13.8,18.0,8.9,18.0C4.0,18.0,-0.0,13.9,-0.0,9.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape14",
|
|
"name": "shape14",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(2.020118,2.034389)",
|
|
"type": "path"
|
|
}
|
|
],
|
|
"id": "group12",
|
|
"name": "group12",
|
|
"transform": "matrix(0.000000,1.000000,-1.000000,0.000000,193.502876,96.044098)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M-0.0,11.0C-0.0,4.9,4.9,-0.0,10.9,-0.0C16.9,-0.0,21.9,4.9,21.9,11.0C21.9,17.1,16.9,22.0,10.9,22.0C4.9,22.0,-0.0,17.1,-0.0,11.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape16",
|
|
"name": "shape16",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(0.018123,0.018207)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M-0.0,9.0C-0.0,4.0,4.0,-0.0,8.9,-0.0C13.8,-0.0,17.8,4.0,17.8,9.0C17.8,13.9,13.8,18.0,8.9,18.0C4.0,18.0,-0.0,13.9,-0.0,9.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape17",
|
|
"name": "shape17",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(2.020118,2.034389)",
|
|
"type": "path"
|
|
}
|
|
],
|
|
"id": "group15",
|
|
"name": "group15",
|
|
"transform": "matrix(0.000000,1.000000,-1.000000,0.000000,256.624551,96.044098)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M1.0,.0L63.5,.0C64.1,.0,64.6,.5,64.6,1.0L64.6,64.1C64.6,64.6,64.1,65.1,63.5,65.1L1.0,65.1C.5,65.1,.0,64.6,.0,64.1L.0,1.0C.0,.5,.5,.0,1.0,.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape19",
|
|
"name": "shape19",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M1.0,.0L55.5,.0C56.1,.0,56.6,.5,56.6,1.0L56.6,36.5L35.2,57.3L1.0,57.3C.4,57.3,.0,56.8,.0,56.2L.0,1.0C.0,.5,.4,.0,1.0,.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape20",
|
|
"name": "shape20",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(4.006916,3.904640)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M1.0,.0L53.5,.0C54.0,.0,54.5,.4,54.5,1.0L54.5,35.2L33.9,55.2L1.0,55.2C.4,55.2,.0,54.7,.0,54.1L.0,1.0C.0,.4,.4,.0,1.0,.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape21",
|
|
"name": "shape21",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(5.189219,5.230563)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M.0,.0L20.2,24.0L22.6,21.6L.0,.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape22",
|
|
"name": "shape22",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(20.341088,18.535318)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M.0,.0L5.9,.0",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"id": "shape23",
|
|
"name": "shape23",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(11.477683,47.672420)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M.0,.0L5.2,2.4",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"id": "shape24",
|
|
"name": "shape24",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(13.719801,31.375364)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M.0,.0L2.7,4.5",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"id": "shape25",
|
|
"name": "shape25",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(31.656798,12.958820)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M.0,.0L.0,5.3",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"id": "shape26",
|
|
"name": "shape26",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(49.313414,10.031154)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M.0,.0L17.8,.0L17.8,6.6L.0,6.6L.0,.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape27",
|
|
"name": "shape27",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(7.927037,8.358215)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M.0,14.8C.0,6.4,6.7,-0.0,14.6,-0.0C14.6,.3,14.3,29.8,14.3,29.8C6.4,29.8,.0,23.2,.0,14.8z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape28",
|
|
"name": "shape28",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "matrix(0.707107,0.707107,-0.707107,0.707107,49.593653,29.494110)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M.0,14.0C.0,6.1,6.3,-0.0,13.8,-0.0C13.8,.3,13.5,28.2,13.5,28.2C6.0,28.2,.0,21.9,.0,14.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape29",
|
|
"name": "shape29",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "matrix(0.707107,0.707107,-0.707107,0.707107,49.478237,30.529862)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M.0,1.8C.0,.8,.8,.0,1.8,.0C2.9,.0,3.7,.8,3.7,1.8C3.7,2.8,2.9,3.7,1.8,3.7C.8,3.7,.0,2.8,.0,1.8z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape30",
|
|
"name": "shape30",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(30.832587,55.780594)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M.0,1.8C.0,.8,.8,.0,1.8,.0C2.9,.0,3.7,.8,3.7,1.8C3.7,2.8,2.9,3.7,1.8,3.7C.8,3.7,.0,2.8,.0,1.8z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape31",
|
|
"name": "shape31",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(54.584078,32.287246)",
|
|
"type": "path"
|
|
}
|
|
],
|
|
"id": "group18",
|
|
"name": "group18",
|
|
"transform": "translate(44.622343,39.707895)",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"id": "group3",
|
|
"name": "group3",
|
|
"transform": "translate(55.686687,125.529216)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"d": "M.0,.0L671.7,.0L671.7,652.9L.0,652.9L.0,.0z",
|
|
"fill": {
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape32",
|
|
"name": "shape32",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(435.110930,64.809845)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M.0,.0L341.1,.0L341.1,652.9L.0,652.9L.0,.0z",
|
|
"fill": {
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape33",
|
|
"name": "shape33",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(766.122799,64.809845)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M66.8,.0L1032.1,.0L1099.0,34.2L1099.0,66.4L.0,66.4L.0,35.0L66.8,.0z",
|
|
"fill": {
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape34",
|
|
"name": "shape34",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(7.803696,0.000000)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M.0,.0L1115.0,.0L1115.0,62.2L.0,62.2L.0,.0z",
|
|
"fill": {
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape35",
|
|
"name": "shape35",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(-0.000000,711.862000)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M35.8,4.4L72.8,.0L33.1,47.5L80.1,43.2L16.8,132.2L47.1,64.6L.0,70.0L35.8,4.4z",
|
|
"fill": {
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape36",
|
|
"name": "shape36",
|
|
"stroke": {
|
|
"width": 3
|
|
},
|
|
"transform": "matrix(0.999391,0.034899,-0.034899,0.999391,965.169307,12.700373)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M6.6,.0L59.8,.0C63.5,.0,66.6,3.0,66.6,6.7L66.6,6.7C66.6,10.5,63.5,13.5,59.8,13.5L6.6,13.5C2.9,13.5,-0.1,10.5,-0.1,6.7L-0.1,6.7C-0.1,3.0,2.9,.0,6.6,.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape39",
|
|
"name": "shape39",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M6.6,.0L59.8,.0C63.5,.0,66.6,3.0,66.6,6.7L66.6,6.7C66.6,10.5,63.5,13.5,59.8,13.5L6.6,13.5C2.9,13.5,-0.1,10.5,-0.1,6.7L-0.1,6.7C-0.1,3.0,2.9,.0,6.6,.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape40",
|
|
"name": "shape40",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(0.000000,35.670844)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M6.6,.0L59.8,.0C63.5,.0,66.6,3.0,66.6,6.7L66.6,6.7C66.6,10.5,63.5,13.5,59.8,13.5L6.6,13.5C2.9,13.5,-0.1,10.5,-0.1,6.7L-0.1,6.7C-0.1,3.0,2.9,.0,6.6,.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape41",
|
|
"name": "shape41",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(0.000000,74.659640)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M6.6,.0L59.8,.0C63.5,.0,66.6,3.0,66.6,6.7L66.6,6.7C66.6,10.5,63.5,13.5,59.8,13.5L6.6,13.5C2.9,13.5,-0.1,10.5,-0.1,6.7L-0.1,6.7C-0.1,3.0,2.9,.0,6.6,.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape42",
|
|
"name": "shape42",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(0.000000,110.567249)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M6.6,.0L59.8,.0C63.5,.0,66.6,3.0,66.6,6.7L66.6,6.7C66.6,10.5,63.5,13.5,59.8,13.5L6.6,13.5C2.9,13.5,-0.1,10.5,-0.1,6.7L-0.1,6.7C-0.1,3.0,2.9,.0,6.6,.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape43",
|
|
"name": "shape43",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(0.000000,147.423062)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M6.6,.0L59.8,.0C63.5,.0,66.6,3.0,66.6,6.7L66.6,6.7C66.6,10.5,63.5,13.5,59.8,13.5L6.6,13.5C2.9,13.5,-0.1,10.5,-0.1,6.7L-0.1,6.7C-0.1,3.0,2.9,.0,6.6,.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape44",
|
|
"name": "shape44",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(0.000000,184.278875)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M6.6,.0L59.8,.0C63.5,.0,66.6,3.0,66.6,6.7L66.6,6.7C66.6,10.5,63.5,13.5,59.8,13.5L6.6,13.5C2.9,13.5,-0.1,10.5,-0.1,6.7L-0.1,6.7C-0.1,3.0,2.9,.0,6.6,.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape45",
|
|
"name": "shape45",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(0.000000,219.831486)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M6.6,.0L59.8,.0C63.5,.0,66.6,3.0,66.6,6.7L66.6,6.7C66.6,10.5,63.5,13.5,59.8,13.5L6.6,13.5C2.9,13.5,-0.1,10.5,-0.1,6.7L-0.1,6.7C-0.1,3.0,2.9,.0,6.6,.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape46",
|
|
"name": "shape46",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(0.000000,257.991045)",
|
|
"type": "path"
|
|
}
|
|
],
|
|
"id": "group38",
|
|
"name": "group38",
|
|
"transform": "translate(0.130280,0.000000)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M6.6,.0L59.8,.0C63.5,.0,66.6,3.0,66.6,6.7L66.6,6.7C66.6,10.5,63.5,13.5,59.8,13.5L6.6,13.5C2.9,13.5,-0.1,10.5,-0.1,6.7L-0.1,6.7C-0.1,3.0,2.9,.0,6.6,.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape48",
|
|
"name": "shape48",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M6.6,.0L59.8,.0C63.5,.0,66.6,3.0,66.6,6.7L66.6,6.7C66.6,10.5,63.5,13.5,59.8,13.5L6.6,13.5C2.9,13.5,-0.1,10.5,-0.1,6.7L-0.1,6.7C-0.1,3.0,2.9,.0,6.6,.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape49",
|
|
"name": "shape49",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(0.000000,35.670844)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M6.6,.0L59.8,.0C63.5,.0,66.6,3.0,66.6,6.7L66.6,6.7C66.6,10.5,63.5,13.5,59.8,13.5L6.6,13.5C2.9,13.5,-0.1,10.5,-0.1,6.7L-0.1,6.7C-0.1,3.0,2.9,.0,6.6,.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape50",
|
|
"name": "shape50",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(0.000000,74.659640)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M6.6,.0L59.8,.0C63.5,.0,66.6,3.0,66.6,6.7L66.6,6.7C66.6,10.5,63.5,13.5,59.8,13.5L6.6,13.5C2.9,13.5,-0.1,10.5,-0.1,6.7L-0.1,6.7C-0.1,3.0,2.9,.0,6.6,.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape51",
|
|
"name": "shape51",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(0.000000,110.567249)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M6.6,.0L59.8,.0C63.5,.0,66.6,3.0,66.6,6.7L66.6,6.7C66.6,10.5,63.5,13.5,59.8,13.5L6.6,13.5C2.9,13.5,-0.1,10.5,-0.1,6.7L-0.1,6.7C-0.1,3.0,2.9,.0,6.6,.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape52",
|
|
"name": "shape52",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(0.000000,147.423062)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M6.6,.0L59.8,.0C63.5,.0,66.6,3.0,66.6,6.7L66.6,6.7C66.6,10.5,63.5,13.5,59.8,13.5L6.6,13.5C2.9,13.5,-0.1,10.5,-0.1,6.7L-0.1,6.7C-0.1,3.0,2.9,.0,6.6,.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape53",
|
|
"name": "shape53",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(0.000000,184.278875)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M6.6,.0L59.8,.0C63.5,.0,66.6,3.0,66.6,6.7L66.6,6.7C66.6,10.5,63.5,13.5,59.8,13.5L6.6,13.5C2.9,13.5,-0.1,10.5,-0.1,6.7L-0.1,6.7C-0.1,3.0,2.9,.0,6.6,.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape54",
|
|
"name": "shape54",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(0.000000,219.831486)",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M6.6,.0L59.8,.0C63.5,.0,66.6,3.0,66.6,6.7L66.6,6.7C66.6,10.5,63.5,13.5,59.8,13.5L6.6,13.5C2.9,13.5,-0.1,10.5,-0.1,6.7L-0.1,6.7C-0.1,3.0,2.9,.0,6.6,.0z",
|
|
"fill": {
|
|
"paint": "#ffffff",
|
|
"rule": "nonzero"
|
|
},
|
|
"id": "shape55",
|
|
"name": "shape55",
|
|
"stroke": {
|
|
"paint": "#000000",
|
|
"width": "3"
|
|
},
|
|
"transform": "translate(0.000000,257.991045)",
|
|
"type": "path"
|
|
}
|
|
],
|
|
"id": "group47",
|
|
"name": "group47",
|
|
"transform": "translate(136.425137,0.004644)",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"id": "group37",
|
|
"name": "group37",
|
|
"transform": "translate(110.237594,405.443400)",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"id": "group1",
|
|
"name": "group1",
|
|
"transform": "translate(0.000000,5.669291)",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"id": "page1",
|
|
"name": "page1",
|
|
"transform": "",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"preserveAspectRatio": "xMaxYMax",
|
|
"style": {
|
|
"classes": "containers/HoverOver"
|
|
},
|
|
"viewBox": "0 0 1132 804"
|
|
},
|
|
"type": "ia.shapes.svg"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"position": {
|
|
"height": 10,
|
|
"width": 125,
|
|
"x": 127.85,
|
|
"y": 21.71
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"CDtimer": "{view.custom.coolDownTimer}",
|
|
"alarmSeverity": "{parent.custom.alarmSeverity}",
|
|
"cooldown": "{view.custom.coolDown}",
|
|
"runStatus": "{view.custom.running}"
|
|
},
|
|
"waitOnAll": true
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value[\u0027runStatus\u0027]\u003d\u003dTrue and value[\u0027CDtimer\u0027]\u003e0:\n\t\tstate \u003d \u0027Cooldown \u0027+ str(value[\u0027CDtimer\u0027]) + \u0027sec\u0027\n\telif value[\u0027runStatus\u0027] \u003d\u003d True:\n\t\tstate \u003d \u0027Running\u0027\n\telse:\n\t\tstate \u003d \u0027Off\u0027\n\tif value[\u0027alarmSeverity\u0027] \u003e 0:\n\t\tAlarm \u003d \u0027 and alarmed\u0027\n\telse :\n\t\tAlarm \u003d \u0027\u0027\n\treturn state + Alarm\n",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"text": "Off",
|
|
"textStyle": {
|
|
"fontSize": 10
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"position": {
|
|
"height": 11,
|
|
"width": 210,
|
|
"x": 127.9,
|
|
"y": 32.7
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"waitOnAll": true
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"code": "\tstate \u003d system.tag.browse(value[\u0027tagPath\u0027],{\u0027name\u0027:\u0027Run Hours\u0027})[0][\u0027value\u0027].value\n\tstate \u003d \"%.1f\" % state\n\treturn \u0027Run Hrs: \u0027+state+ \u0027 hr\u0027\n\t",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"text": "Run Hrs: 49.6 hrs",
|
|
"textStyle": {
|
|
"fontSize": 10
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_1"
|
|
},
|
|
"position": {
|
|
"height": 10,
|
|
"width": 125,
|
|
"x": 127.9,
|
|
"y": 43.7
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"waitOnAll": true
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"code": "\tstate \u003d system.tag.browse(value[\u0027tagPath\u0027],{\u0027name\u0027:\u0027Fuel Percent\u0027})[0][\u0027value\u0027].value\n\tstate \u003d \"%.1f\" % state\n\treturn \u0027Fuel Percent: \u0027+state+ \u0027%\u0027\n",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"text": "Fuel Percent 91.0%",
|
|
"textStyle": {
|
|
"fontSize": 10
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_2"
|
|
},
|
|
"position": {
|
|
"height": 10,
|
|
"width": 125,
|
|
"x": 127.9,
|
|
"y": 54.7
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"displayName": "\u0027Power Total\u0027",
|
|
"engUnits": "\u0027KW\u0027",
|
|
"tagName": "\u0027Total kW\u0027",
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"waitOnAll": true
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"code": "\tstate \u003d system.tag.browse(value[\u0027tagPath\u0027],{\u0027name\u0027:value[\u0027tagName\u0027]})[0][\u0027value\u0027].value\n\tstate \u003d \"%.1f\" % state\n\treturn value[\u0027displayName\u0027]+\u0027: \u0027+state+ \u0027 \u0027 +value[\u0027engUnits\u0027]",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"text": "Power Total: 0.0 kW",
|
|
"textStyle": {
|
|
"fontSize": 10
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_3"
|
|
},
|
|
"position": {
|
|
"height": 10,
|
|
"width": 125,
|
|
"x": 127.9,
|
|
"y": 65.7
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"displayName": "\"Avg current\"",
|
|
"engUnits": "\"A\"",
|
|
"tagName": "\u0027Average Current\u0027",
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"waitOnAll": true
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"code": "\tstate \u003d system.tag.browse(value[\u0027tagPath\u0027],{\u0027name\u0027:value[\u0027tagName\u0027]})[0][\u0027value\u0027].value\n\tstate \u003d \"%.1f\" % state\n\treturn value[\u0027displayName\u0027]+\u0027: \u0027+state+ \u0027 \u0027 +value[\u0027engUnits\u0027]\n",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"text": "Avg Current- 0.0A",
|
|
"textStyle": {
|
|
"fontSize": 10
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_4"
|
|
},
|
|
"position": {
|
|
"height": 10,
|
|
"width": 241,
|
|
"x": 127.9,
|
|
"y": 76.7
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"waitOnAll": true
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"code": "\tstate \u003d system.tag.browse(value[\u0027tagPath\u0027],{\u0027name\u0027:\u0027Fuel Gallons\u0027})[0][\u0027value\u0027].value\n\tstate \u003d \"%.1f\" % state\n\treturn \u0027Fuel remaining: \u0027+state+ \u0027 Gal\u0027\n",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"text": "Fuel remaining: 8341.0 Gal",
|
|
"textStyle": {
|
|
"fontSize": 10,
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_5"
|
|
},
|
|
"position": {
|
|
"height": 10,
|
|
"width": 125,
|
|
"x": 127.9,
|
|
"y": 87.7
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"displayName": "\u0027Battery voltage\u0027",
|
|
"engUnits": "\u0027V\u0027",
|
|
"tagName": "\u0027Battery Voltage\u0027",
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"waitOnAll": true
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"code": "\tstate \u003d system.tag.browse(value[\u0027tagPath\u0027],{\u0027name\u0027:value[\u0027tagName\u0027]})[0][\u0027value\u0027].value\n\tstate \u003d \"%.1f\" % state\n\treturn value[\u0027displayName\u0027]+\u0027: \u0027+state+ \u0027 \u0027 +value[\u0027engUnits\u0027]",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"text": "Battery Voltage: 25.6V",
|
|
"textStyle": {
|
|
"fontSize": 10
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_6"
|
|
},
|
|
"position": {
|
|
"height": 8.63,
|
|
"width": 104.95,
|
|
"x": 13.26,
|
|
"y": 6.42
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Meta/EqName"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"text": "Gen",
|
|
"textStyle": {
|
|
"backgroundColor": "transparent",
|
|
"fontSize": 10,
|
|
"fontWeight": 650,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "thunder"
|
|
},
|
|
"position": {
|
|
"height": 67,
|
|
"width": 36,
|
|
"x": 93.84,
|
|
"y": 8.759167556762696
|
|
},
|
|
"propConfig": {
|
|
"props.elements[1].elements[0].visibility": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"alarmSeverity": "{parent.custom.alarmSeverity}",
|
|
"running": "{view.custom.running}"
|
|
},
|
|
"waitOnAll": true
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value[\u0027running\u0027] \u003d\u003d True:\n\t\tColor \u003d \u0027visible\u0027\n\telse:\n\t\tColor \u003d \u0027hidden\u0027\n\treturn Color\n",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"elements": [
|
|
{
|
|
"name": "defs",
|
|
"type": "defs"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M171.1,.0L350.1,.0L225.6,297.7L451.2,297.7L31.1,814.6L171.1,430.8L.0,430.8L171.1,.0z",
|
|
"fill": {
|
|
"paint": "orange"
|
|
},
|
|
"id": "shape1",
|
|
"name": "shape1",
|
|
"stroke": {
|
|
"paint": "#101843",
|
|
"width": "4"
|
|
},
|
|
"transform": "translate(40.393701,40.393701)",
|
|
"type": "path"
|
|
}
|
|
],
|
|
"id": "page1",
|
|
"name": "page1",
|
|
"transform": "translate(5.5,5.5)",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"viewBox": "0 0 541 905"
|
|
},
|
|
"type": "ia.shapes.svg"
|
|
}
|
|
],
|
|
"custom": {
|
|
"alarmSeverity": 0
|
|
},
|
|
"meta": {
|
|
"name": "root"
|
|
},
|
|
"position": {
|
|
"x": -116,
|
|
"y": -133.63750076293945
|
|
},
|
|
"propConfig": {
|
|
"custom.alarmSeverity": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/AlarmSummary/ActiveAlarms"
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"code": "\treturn alarm.summary.calcMaxPriority(self.view.params.tagPath)",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.coord"
|
|
}
|
|
} |