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

304 lines
11 KiB
JSON

{
"$schema": "../../TcHmiFramework/Schema/ControlDescription.Schema.json",
"apiVersion": 1,
"name": "TcHmiTimespanPicker",
"namespace": "TcHmi.Controls.Beckhoff",
"displayName": "Timespan Picker",
"version": {
"full": "14.4.1.0",
"major": 14,
"minor": 4,
"build": 1,
"revision": 0
},
"visible": true,
"themeable": "Standard",
"base": "TcHmi.Controls.System.TcHmiControl",
"description": "Control for Time Span Selection.",
"defaultDesignerEvent": ".onValueChanged",
"properties": {
"containerControl": false,
"geometry": {
"width": 540,
"height": 220
}
},
"icons": [
{
"name": "Icons/16x16.png",
"width": 16,
"height": 16
}
],
"template": "Template.html",
"dependencyFiles": [
{
"name": "Style.css",
"type": "Stylesheet",
"description": ""
},
{
"name": "../dist/TcHmiTimespanPicker/TcHmiTimespanPicker.esm.js",
"type": "EsModule",
"description": "Contains all the main logic as ES module."
}
],
"themes": {
"Base": {
"resources": [
{
"name": "Themes/Base/Style.css",
"type": "Stylesheet",
"description": ""
}
]
},
"Base-Dark": {
"resources": [
{
"name": "Themes/Base-Dark/Style.css",
"type": "Stylesheet",
"description": ""
}
]
}
},
"attributes": [
{
"name": "data-tchmi-value",
"propertyName": "Value",
"propertySetterName": "setValue",
"propertyGetterName": "getValue",
"displayName": "Value",
"visible": true,
"displayPriority": 10,
"type": "tchmi:general#/definitions/TimeSpan",
"category": "Common",
"description": "The timespan value defined as ISO timespan.",
"themeable": "Advanced",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-max-value",
"propertyName": "MaxValue",
"propertySetterName": "setMaxValue",
"propertyGetterName": "getMaxValue",
"displayName": "Max Value",
"visible": true,
"displayPriority": 10,
"type": "tchmi:general#/definitions/TimeSpan",
"category": "Common",
"description": "The max value defined as ISO timespan.",
"themeable": "Advanced",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-value-symbol",
"propertyName": "ValueSymbol",
"propertySetterName": "setValueSymbol",
"propertyGetterName": "getValueSymbol",
"displayName": "Value Symbol",
"visible": true,
"themeable": "None",
"displayPriority": 10,
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiTimespanPicker.ValueSymbol",
"category": "Common",
"description": "A symbol which represents a time variable from the server. This attribute overwrites an existing Value attribute.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowEarlySymbolReferenceInjection": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-direct-display",
"propertyName": "DirectDisplay",
"propertySetterName": "setDirectDisplay",
"propertyGetterName": "getDirectDisplay",
"displayName": "Direct Display",
"visible": true,
"displayPriority": 10,
"type": "tchmi:general#/definitions/Boolean",
"category": "Common",
"themeable": "Advanced",
"description": "Wether the control is directly displayed in the view or used as a popup. \nThe popup can be opened by a function provided by the control or by clicking on the empty control in the view.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": true,
"defaultValueInternal": false
},
{
"name": "data-tchmi-show-confirmation-buttons",
"propertyName": "ShowConfirmationButtons",
"propertySetterName": "setShowConfirmationButtons",
"propertyGetterName": "getShowConfirmationButtons",
"displayName": "Show Confirmation Buttons",
"visible": true,
"displayPriority": 10,
"type": "tchmi:general#/definitions/Boolean",
"category": "Common",
"themeable": "Advanced",
"description": "Wether the control provides an OK and a cancel button to confirm the interaction. This property does not affect the popup.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": false,
"defaultValueInternal": true
},
{
"name": "data-tchmi-is-read-only",
"propertyName": "IsReadOnly",
"propertySetterName": "setIsReadOnly",
"propertyGetterName": "getIsReadOnly",
"displayName": "Is Read Only",
"visible": true,
"themeable": "Standard",
"displayPriority": 52,
"type": "tchmi:general#/definitions/Boolean",
"category": "Common",
"description": "Controls whose primary purpose is data input can be set to read-only to only display data without allowing modification.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": false
},
{
"name": "data-tchmi-time-units",
"propertyName": "TimeUnits",
"propertySetterName": "setTimeUnits",
"propertyGetterName": "getTimeUnits",
"displayName": "Time Units",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiTimespanPicker.TimeUnits",
"category": "Common",
"description": "Defines for each field whether it should be displayed.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowSymbolExpressionsInObject": true,
"defaultValue": null,
"defaultValueInternal": {
"days": true,
"hours": true,
"milliseconds": true,
"minutes": true,
"months": true,
"seconds": true,
"years": true
}
}
],
"functions": [
{
"name": "openTimespanPicker",
"displayName": "openTimespanPicker",
"visible": true,
"description": "Open the TimespanPicker and added to TopMostLayer.",
"category": "Common",
"params": [],
"type": null,
"heritable": true
},
{
"name": "closeTimespanPicker",
"displayName": "closeTimespanPicker",
"visible": true,
"description": "Close the TimespanPicker and remove from TopMostLayer.",
"category": "Common",
"params": [],
"type": null,
"heritable": true
}
],
"events": [
{
"name": ".onValueChanged",
"displayName": ".onValueChanged",
"visible": true,
"displayPriority": 10,
"category": "Control",
"description": "The valuechanged event is fired when the value was changed.",
"heritable": true,
"arguments": [
{
"type": "tchmi:general#/definitions/TimeSpan",
"description": "The new value of the TimespanPicker."
}
]
},
{
"name": ".onValueSymbolChanged",
"displayName": ".onValueSymbolChanged",
"visible": true,
"displayPriority": 15,
"category": "Control",
"description": "The valuechanged event is fired when the symbol value was changed.",
"heritable": true,
"arguments": [
{
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiTimespanPicker.ValueSymbol",
"description": "The new value symbol of the TimespanPicker."
}
]
},
{
"name": ".onCancel",
"displayName": ".onCancel",
"visible": true,
"displayPriority": 20,
"category": "Control",
"description": "The cancel event is fired if the TimespanPicker has canceled (with cancel button or click next to the topmostlayer). The changes are discarded.",
"heritable": true,
"arguments": []
},
{
"name": ".onConfirmed",
"displayName": ".onConfirmed",
"visible": true,
"displayPriority": 30,
"category": "Control",
"description": "The confirmed event is fired if the confirm button was clicked.",
"heritable": true,
"arguments": []
},
{
"name": ".onUserInteractionFinished",
"displayName": ".onUserInteractionFinished",
"visible": true,
"displayPriority": 5,
"category": "Operator",
"description": "The userinteractionfinished event is fired when the controls looses focus through clicking on another element or pressing the enter key (in direct diplay mode without confirmation buttons), one of the confirmation buttons was clicked or the space next to the topmostlayer was clicked.",
"heritable": true,
"arguments": []
}
],
"dataTypes": [
{
"schema": "Schema/Types.Schema.json"
}
],
"languages": {
"en": "Lang/Language.en.json",
"de": "Lang/Language.de.json"
}
}