Files
m.heisig 2d11c43579 Added minimal functionality for Robot teaching
- Added minimal HMI
- Added possibility to open and close all chamber doors
2026-01-17 09:20:39 +01:00

144 lines
4.9 KiB
JSON

{
"$schema": "../../TcHmiFramework/Schema/ControlDescription.Schema.json",
"apiVersion": 1,
"name": "TcHmiToggleButton",
"namespace": "TcHmi.Controls.Beckhoff",
"displayName": "Toggle Button",
"version": {
"full": "14.4.1.0",
"major": 14,
"minor": 4,
"build": 1,
"revision": 0
},
"visible": true,
"themeable": "Standard",
"base": "TcHmi.Controls.Beckhoff.TcHmiButton",
"description": "A Button which toggles between two States.",
"defaultDesignerEvent": ".onStateChanged",
"properties": {
"containerControl": false,
"geometry": {
"width": 100,
"height": 50
}
},
"icons": [
{
"name": "Icons/16x16.png",
"width": 16,
"height": 16
}
],
"dependencyFiles": [
{
"name": "../dist/TcHmiToggleButton/TcHmiToggleButton.esm.js",
"type": "EsModule",
"description": "Contains all the main logic as ES module."
}
],
"themes": {},
"attributes": [
{
"name": "data-tchmi-toggle-group",
"propertyName": "ToggleGroup",
"propertySetterName": "setToggleGroup",
"propertyGetterName": "getToggleGroup",
"displayName": "Toggle Group",
"visible": true,
"themeable": "Advanced",
"displayPriority": 51,
"type": "tchmi:general#/definitions/String",
"category": "Common",
"description": "Custom name for a toggle group. Only one Control in a toggleGroup is held active.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-toggle-state",
"propertyName": "ToggleState",
"propertySetterName": "setToggleState",
"propertyGetterName": "getToggleState",
"displayName": "Toggle State",
"visible": true,
"themeable": "Advanced",
"displayPriority": 20,
"type": "tchmi:framework#/definitions/ToggleState",
"category": "Common",
"description": "Possible values are Normal, Active.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "Normal"
}
],
"functions": [],
"events": [
{
"name": ".onToggleStateChanged",
"displayName": ".onToggleStateChanged",
"visible": true,
"displayPriority": 10,
"category": "Control",
"description": "The onToggleStateChanged event is fired when the toggle state of the button has changed.",
"heritable": true,
"arguments": []
},
{
"name": ".onStateChanged",
"displayName": ".onStateChanged",
"visible": true,
"displayPriority": 10,
"category": "Control",
"description": "The onStateChanged event is fired when the state of the button has changed.",
"heritable": true,
"arguments": [
{
"type": "tchmi:framework#/definitions/TcHmiToggleButtonStateChangedEventObject",
"description": "The event object containing information about the state change."
}
]
},
{
"name": ".onStatePressed",
"displayName": ".onStatePressed",
"visible": true,
"displayPriority": 10,
"category": "Control",
"description": "The onStatePressed event is fired when the state of the button has changed to true.",
"heritable": true,
"arguments": [
{
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiToggleButton",
"description": "Reference to the toggle button control that fired the event."
}
]
},
{
"name": ".onStateReleased",
"displayName": ".onStateReleased",
"visible": true,
"displayPriority": 10,
"category": "Control",
"description": "The onStateReleased event is fired when the state of the button has changed to false.",
"heritable": true,
"arguments": [
{
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiToggleButton",
"description": "Reference to the toggle button control that fired the event."
}
]
}
],
"dataTypes": [
{
"schema": "Schema/Types.Schema.json"
}
]
}