Files
infineon_plc/Packages/Beckhoff.TwinCAT.HMI.Controls.14.4.1/runtimes/native1.12-tchmi/TcHmiPolygon/Description.json
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

234 lines
8.4 KiB
JSON

{
"$schema": "../../TcHmiFramework/Schema/ControlDescription.Schema.json",
"apiVersion": 1,
"name": "TcHmiPolygon",
"namespace": "TcHmi.Controls.Beckhoff",
"displayName": "Polygon",
"version": {
"full": "14.4.1.0",
"major": 14,
"minor": 4,
"build": 1,
"revision": 0
},
"visible": true,
"themeable": "Standard",
"base": "TcHmi.Controls.System.TcHmiControl",
"description": "The polygon control defines a closed shape consisting of a set of connected straight line segments.\nThe last point is connected to the first point.",
"defaultDesignerEvent": ".onPressed",
"properties": {
"containerControl": false,
"geometry": {
"width": 200,
"height": 200
}
},
"icons": [
{
"name": "Icons/16x16.png",
"width": 16,
"height": 16
}
],
"template": "Template.html",
"dependencyFiles": [
{
"name": "Style.css",
"type": "Stylesheet",
"description": ""
},
{
"name": "../dist/TcHmiPolygon/TcHmiPolygon.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-fill-color",
"propertyName": "FillColor",
"propertySetterName": "setFillColor",
"propertyGetterName": "getFillColor",
"displayName": "Fill Color",
"visible": true,
"themeable": "Standard",
"displayPriority": 10,
"type": "tchmi:framework#/definitions/Color",
"category": "Colors",
"description": "Defines the color of the interior of the control.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowSymbolExpressionsInObject": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-stroke-color",
"propertyName": "StrokeColor",
"propertySetterName": "setStrokeColor",
"propertyGetterName": "getStrokeColor",
"displayName": "Stroke Color",
"visible": true,
"themeable": "Standard",
"displayPriority": 10,
"type": "tchmi:framework#/definitions/SolidColor",
"category": "Colors",
"description": "Specifies the color of the outline of the control.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowSymbolExpressionsInObject": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-points",
"propertyName": "Points",
"propertySetterName": "setPoints",
"propertyGetterName": "getPoints",
"displayName": "Points",
"visible": true,
"themeable": "Standard",
"displayPriority": 10,
"type": "tchmi:general#/definitions/String",
"category": "Common",
"description": "Each point is defined by a X and a Y coordinate.\nIt's a common practice (but not required) to use a comma to mark out the X and Y coordinate of each point and to use space to mark out each point.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": "0,100 100,0 200,100 100,200",
"defaultValueInternal": null
},
{
"name": "data-tchmi-stroke-thickness",
"propertyName": "StrokeThickness",
"propertySetterName": "setStrokeThickness",
"propertyGetterName": "getStrokeThickness",
"displayName": "Stroke Thickness",
"visible": true,
"themeable": "Standard",
"displayPriority": 20,
"type": "tchmi:framework#/definitions/MeasurementValue",
"category": "Shape",
"description": "Specifies the width of the shape's stroke in pixels.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-stroke-thickness-unit",
"propertyName": "StrokeThicknessUnit",
"propertyGetterName": "getStrokeThicknessUnit",
"refTo": "StrokeThickness",
"displayName": "Stroke Thickness Unit",
"visible": true,
"displayPriority": 20,
"type": "tchmi:framework#/definitions/PixelUnit",
"category": "Shape",
"description": "Only Pixel is allowed.",
"readOnly": true,
"bindable": false,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValueInternal": "px"
},
{
"name": "data-tchmi-stroke-style",
"propertyName": "StrokeStyle",
"propertySetterName": "setStrokeStyle",
"propertyGetterName": "getStrokeStyle",
"displayName": "Stroke Style",
"visible": true,
"themeable": "Standard",
"displayPriority": 20,
"type": "tchmi:general#/definitions/String",
"category": "Shape",
"description": "It's a list of comma and/or white space separated numbers that specify the lengths of alternating dashes and gaps.\nIf an odd number of values is provided, then the list of values is repeated to yield an even number of values. Thus, 5,3,2 is equivalent to 5,3,2,5,3,2.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": ""
},
{
"name": "data-tchmi-fill-mode",
"propertyName": "FillMode",
"propertySetterName": "setFillMode",
"propertyGetterName": "getFillMode",
"displayName": "Fill Mode",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiPolygon.FillMode",
"category": "Shape",
"description": "Defines the algorithm which is to be used to determine what parts of the canvas are included inside the shape (used with self intersecting polygons).",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "NonZero"
},
{
"name": "data-tchmi-scale-mode",
"propertyName": "ScaleMode",
"propertySetterName": "setScaleMode",
"propertyGetterName": "getScaleMode",
"displayName": "Scale Mode",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/ScaleMode",
"category": "Shape",
"description": "Scale the content to control size.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": "ScaleToFill",
"defaultValueInternal": "None"
}
],
"attributeCategories": [
{
"name": "Shape",
"displayPriority": 500,
"defaultCollapsed": true,
"description": "Attributes defining the shape displayed"
}
],
"functions": [],
"dataTypes": [
{
"schema": "Schema/Types.Schema.json"
}
]
}