{ "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" }, "position": { "basis": "300px" }, "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": "25px" }, "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": "25px" }, "props": { "color": "var(--call-to-action)", "path": "material/add_box" }, "type": "ia.display.icon" }, { "meta": { "name": "NumericEntryField" }, "position": { "basis": "100px" }, "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": "75px" }, "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-start", "alignItems": "center", "justify": "flex-end", "style": { "gap": "var(--space-sm)", "padding": "var(--space-xs)" } }, "type": "ia.container.flex" } }