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

274 lines
9.8 KiB
JSON

{
"$schema": "../../TcHmiFramework/Schema/ControlDescription.Schema.json",
"apiVersion": 1,
"name": "TcHmiDateTimePicker",
"namespace": "TcHmi.Controls.Beckhoff",
"displayName": "Date Time 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 Date Selection.",
"defaultDesignerEvent": ".onValueChanged",
"properties": {
"containerControl": false,
"geometry": {
"width": 630,
"height": 372
}
},
"icons": [
{
"name": "Icons/16x16.png",
"width": 16,
"height": 16
}
],
"template": "Template.html",
"dependencyFiles": [
{
"name": "Style.css",
"type": "Stylesheet",
"description": ""
},
{
"name": "../dist/TcHmiDateTimePicker/TcHmiDateTimePicker.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/DateTime",
"category": "Common",
"themeable": "Advanced",
"description": "The date and time value defined as ISO time string.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-min-value",
"propertyName": "MinValue",
"propertySetterName": "setMinValue",
"propertyGetterName": "getMinValue",
"displayName": "Min Value",
"visible": true,
"displayPriority": 10,
"type": "tchmi:general#/definitions/DateTime",
"category": "Common",
"themeable": "Advanced",
"description": "The end date and time defined as ISO time string.",
"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/DateTime",
"category": "Common",
"themeable": "Advanced",
"description": "The end date and time defined as ISO time string.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": 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. Remember you can add a background image to interact with it more easily.",
"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-ignore-invalid-values",
"propertyName": "IgnoreInvalidValues",
"propertySetterName": "setIgnoreInvalidValues",
"propertyGetterName": "getIgnoreInvalidValues",
"displayName": "Ignore Invalid Values",
"visible": true,
"themeable": "Standard",
"displayPriority": 30,
"type": "tchmi:general#/definitions/Boolean",
"category": "Common",
"description": "Whether an invalid value should be displayed or not. If not, invalid values are discarded.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": false
},
{
"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
}
],
"functions": [
{
"name": "openDateTimePicker",
"displayName": "openDateTimePicker",
"visible": true,
"description": "Open the DateTimePicker and added to TopMostLayer.",
"category": "Common",
"params": [],
"type": null,
"heritable": true
},
{
"name": "closeDateTimePicker",
"displayName": "closeDateTimePicker",
"visible": true,
"description": "Close the DateTimePicker 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": []
},
{
"name": ".onCancel",
"displayName": ".onCancel",
"visible": true,
"displayPriority": 20,
"category": "Control",
"description": "The cancel event is fired if the DateTimePicker 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"
}
}