183 lines
5.9 KiB
JSON
183 lines
5.9 KiB
JSON
{
|
|
"$schema": "../../TcHmiFramework/Schema/ControlDescription.Schema.json",
|
|
"apiVersion": 1,
|
|
"name": "TcHmiProgressBar",
|
|
"namespace": "TcHmi.Controls.Beckhoff",
|
|
"displayName": "Progress Bar",
|
|
"version": {
|
|
"full": "14.4.1.0",
|
|
"major": 14,
|
|
"minor": 4,
|
|
"build": 1,
|
|
"revision": 0
|
|
},
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"base": "TcHmi.Controls.System.TcHmiControl",
|
|
"description": "A bar control to display progress",
|
|
"defaultDesignerEvent": ".onValueChanged",
|
|
"properties": {
|
|
"containerControl": false,
|
|
"geometry": {
|
|
"width": 360,
|
|
"height": 40
|
|
}
|
|
},
|
|
"icons": [
|
|
{
|
|
"name": "Icons/16x16.png",
|
|
"width": 16,
|
|
"height": 16
|
|
}
|
|
],
|
|
"template": "Template.html",
|
|
"dependencyFiles": [
|
|
{
|
|
"name": "Style.css",
|
|
"type": "Stylesheet",
|
|
"description": ""
|
|
},
|
|
{
|
|
"name": "../dist/TcHmiProgressBar/TcHmiProgressBar.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,
|
|
"themeable": "Standard",
|
|
"displayPriority": 10,
|
|
"type": "tchmi:general#/definitions/Number",
|
|
"category": "Common",
|
|
"description": "Value of the progress bar.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": 0,
|
|
"defaultValueInternal": null
|
|
},
|
|
{
|
|
"name": "data-tchmi-min-value",
|
|
"propertyName": "MinValue",
|
|
"propertySetterName": "setMinValue",
|
|
"propertyGetterName": "getMinValue",
|
|
"displayName": "Min Value",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 20,
|
|
"type": "tchmi:general#/definitions/Number",
|
|
"category": "Common",
|
|
"description": "Minimal value of the progress bar.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": 0
|
|
},
|
|
{
|
|
"name": "data-tchmi-max-value",
|
|
"propertyName": "MaxValue",
|
|
"propertySetterName": "setMaxValue",
|
|
"propertyGetterName": "getMaxValue",
|
|
"displayName": "Max Value",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 30,
|
|
"type": "tchmi:general#/definitions/Number",
|
|
"category": "Common",
|
|
"description": "Maximal value of the progress bar.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": 100
|
|
},
|
|
{
|
|
"name": "data-tchmi-bar-color",
|
|
"propertyName": "BarColor",
|
|
"propertySetterName": "setBarColor",
|
|
"propertyGetterName": "getBarColor",
|
|
"displayName": "Bar Color",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 10,
|
|
"type": "tchmi:framework#/definitions/Color",
|
|
"category": "Colors",
|
|
"description": "Defines the color of the progress bar.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"allowSymbolExpressionsInObject": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": null
|
|
},
|
|
{
|
|
"name": "data-tchmi-base-animation-time",
|
|
"propertyName": "BaseAnimationTime",
|
|
"propertySetterName": "setBaseAnimationTime",
|
|
"propertyGetterName": "getBaseAnimationTime",
|
|
"displayName": "Base Animation Time",
|
|
"visible": true,
|
|
"themeable": "Advanced",
|
|
"displayPriority": 100,
|
|
"type": "tchmi:general#/definitions/UDINT",
|
|
"category": "Common",
|
|
"description": "Base animation time in milliseconds.\nBase animation time refers to the time it takes to animate a change from min value to max value.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": 1000,
|
|
"defaultValueInternal": 0
|
|
}
|
|
],
|
|
"attributeCategories": [],
|
|
"functions": [],
|
|
"events": [
|
|
{
|
|
"name": ".onValueChanged",
|
|
"displayName": ".onValueChanged",
|
|
"visible": true,
|
|
"displayPriority": 10,
|
|
"category": "Control",
|
|
"description": "The valuechanged event is fired when the result was changed. This event could be fired multiples times during a user interaction.",
|
|
"heritable": true,
|
|
"arguments": []
|
|
}
|
|
],
|
|
"dataTypes": [
|
|
{
|
|
"schema": "Schema/Types.Schema.json"
|
|
}
|
|
]
|
|
} |