260502 Backup
This commit is contained in:
@@ -0,0 +1,371 @@
|
||||
{
|
||||
"custom": {
|
||||
"key": "value"
|
||||
},
|
||||
"params": {
|
||||
"Tag": "STU",
|
||||
"faulted": 8,
|
||||
"running": 3,
|
||||
"standby": 25
|
||||
},
|
||||
"propConfig": {
|
||||
"custom.key": {
|
||||
"persistent": true
|
||||
},
|
||||
"params.Tag": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.faulted": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.running": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.standby": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 119,
|
||||
"width": 110
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Group"
|
||||
},
|
||||
"propConfig": {
|
||||
"position.height": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "../PieChart.position.height"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"position.width": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "../PieChart.position.width"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"position.x": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "../PieChart.position.x"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"position.y": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "../PieChart.position.y"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.text": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.Tag"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"textStyle": {
|
||||
"fontSize": 12,
|
||||
"textAlign": "center"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "PieChart"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.8908,
|
||||
"width": 1
|
||||
},
|
||||
"propConfig": {
|
||||
"props.data[0].count": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.running"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.data[1].count": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.standby"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.data[2].count": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.faulted"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"colors": [
|
||||
"#E3F2FD",
|
||||
"#B1B3B2",
|
||||
"#E22028"
|
||||
],
|
||||
"cutoutRadius": 50,
|
||||
"data": [
|
||||
{
|
||||
"category": "Running"
|
||||
},
|
||||
{
|
||||
"category": "Standby"
|
||||
},
|
||||
{
|
||||
"category": "Faulted"
|
||||
}
|
||||
],
|
||||
"labels": {
|
||||
"showName": false,
|
||||
"showValue": false,
|
||||
"wrap": {
|
||||
"maxWidth": 500
|
||||
}
|
||||
},
|
||||
"legend": {
|
||||
"fontSize": 12
|
||||
},
|
||||
"sectionOutline": {
|
||||
"color": "#F00404"
|
||||
},
|
||||
"showLabels": false,
|
||||
"showLegend": false,
|
||||
"style": {
|
||||
"outlineColor": "#FF0012",
|
||||
"outlineStyle": "none",
|
||||
"outlineWidth": 2,
|
||||
"overflow": "visible",
|
||||
"paddingBottom": -5,
|
||||
"paddingLeft": -5,
|
||||
"paddingRight": -5,
|
||||
"paddingTop": -5
|
||||
},
|
||||
"tooltipFormat": "{category} : {value.formatNumber(\u0027#\u0027)}",
|
||||
"valueFormat": {
|
||||
"showValueAsPercent": false
|
||||
}
|
||||
},
|
||||
"type": "ia.chart.pie"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Fault_lbl",
|
||||
"tooltip": {
|
||||
"enabled": true,
|
||||
"text": "Faulted"
|
||||
}
|
||||
},
|
||||
"position": {
|
||||
"basis": "15px",
|
||||
"grow": 1
|
||||
},
|
||||
"propConfig": {
|
||||
"position.display": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "this.props.text"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\tresponse \u003d False\n\tif(value\u003e0):\n\t\tresponse\u003dTrue\n\treturn response",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.text": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.faulted"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"fontSize": 12
|
||||
},
|
||||
"textStyle": {
|
||||
"backgroundColor": "var(--state-faulted)",
|
||||
"borderBottomLeftRadius": "3px",
|
||||
"borderBottomRightRadius": "3px",
|
||||
"borderTopLeftRadius": "3px",
|
||||
"borderTopRightRadius": "3px",
|
||||
"color": "White",
|
||||
"textAlign": "center"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Standby_lbl",
|
||||
"tooltip": {
|
||||
"enabled": true,
|
||||
"text": "Standby"
|
||||
}
|
||||
},
|
||||
"position": {
|
||||
"basis": "15px",
|
||||
"grow": 1
|
||||
},
|
||||
"propConfig": {
|
||||
"position.display": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "this.props.text"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\tresponse \u003d False\n\tif(value\u003e0):\n\t\tresponse\u003dTrue\n\treturn response",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.text": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.standby"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"fontSize": 12
|
||||
},
|
||||
"textStyle": {
|
||||
"backgroundColor": "var(--state-standby)",
|
||||
"borderBottomLeftRadius": "3px",
|
||||
"borderBottomRightRadius": "3px",
|
||||
"borderTopLeftRadius": "3px",
|
||||
"borderTopRightRadius": "3px",
|
||||
"textAlign": "center"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Running_lbl",
|
||||
"tooltip": {
|
||||
"enabled": true,
|
||||
"text": "Running"
|
||||
}
|
||||
},
|
||||
"position": {
|
||||
"basis": "15px",
|
||||
"grow": 1
|
||||
},
|
||||
"propConfig": {
|
||||
"position.display": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "this.props.text"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\tresponse \u003d False\n\tif(value\u003e0):\n\t\tresponse\u003dTrue\n\treturn response",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.text": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.running"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"backgroundColor": "var(--state-running)",
|
||||
"borderBottomLeftRadius": 3,
|
||||
"borderBottomRightRadius": 3,
|
||||
"borderTopLeftRadius": 3,
|
||||
"borderTopRightRadius": 3,
|
||||
"fontSize": 12,
|
||||
"textAlign": "center"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
}
|
||||
],
|
||||
"custom": {
|
||||
"values": {
|
||||
"running": 18
|
||||
}
|
||||
},
|
||||
"meta": {
|
||||
"name": "FlexContainer"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.2,
|
||||
"width": 1,
|
||||
"x": 0.0091,
|
||||
"y": 0.8039
|
||||
},
|
||||
"props": {
|
||||
"alignContent": "center",
|
||||
"alignItems": "center",
|
||||
"justify": "center",
|
||||
"style": {
|
||||
"gap": 5,
|
||||
"paddingLeft": 15,
|
||||
"paddingRight": 15
|
||||
}
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"props": {
|
||||
"mode": "percent",
|
||||
"style": {
|
||||
"overflow": "visible"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.coord"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user