BNA8/.resources/4cf565a8155228f90e5d98131111874a0abd7b111b8ab21e35e81f64e9287d59

136 lines
3.2 KiB
Plaintext

{
"custom": {},
"params": {
"MCM": "value"
},
"propConfig": {
"params.MCM": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 121,
"width": 400
}
},
"root": {
"children": [
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "32px"
},
"props": {
"text": "Are you sure that you want to Setup Motor Speeds?"
},
"type": "ia.display.label"
}
],
"meta": {
"name": "FlexContainer"
},
"position": {
"grow": 1
},
"props": {
"alignItems": "flex-start",
"direction": "column",
"justify": "space-around",
"style": {
"paddingLeft": 5,
"paddingRight": 5
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"events": {
"component": {
"onActionPerformed": {
"config": {
"script": "\ttag_name \u003d self.view.params.MCM\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Setup_Motor_Speeds\"\n\tsystem.tag.writeBlocking([tag_path],[True])\n\tsystem.perspective.closePopup(\"\")"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Button_0"
},
"position": {
"basis": "144px"
},
"props": {
"primary": false,
"style": {
"marginTop": 3
},
"text": "Yes"
},
"type": "ia.input.button"
},
{
"events": {
"component": {
"onActionPerformed": {
"config": {
"script": "\tsystem.perspective.closePopup(\"\")"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Button_1"
},
"position": {
"basis": "144px"
},
"props": {
"primary": false,
"style": {
"marginTop": 3
},
"text": "No"
},
"type": "ia.input.button"
}
],
"meta": {
"name": "FlexContainer_0"
},
"position": {
"grow": 1
},
"props": {
"alignItems": "center",
"justify": "space-around",
"style": {
"paddingLeft": 5,
"paddingRight": 5
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "root"
},
"props": {
"alignContent": "flex-start",
"direction": "column",
"justify": "space-around"
},
"type": "ia.container.flex"
}
}