153 lines
5.0 KiB
JSON
153 lines
5.0 KiB
JSON
{
|
|
"$schema": "../../TcHmiFramework/Schema/ControlDescription.Schema.json",
|
|
"apiVersion": 1,
|
|
"name": "TcHmiAdsState",
|
|
"namespace": "TcHmi.Controls.Beckhoff",
|
|
"displayName": "ADS State",
|
|
"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 control which displays the state of a TwinCAT runtime.",
|
|
"defaultDesignerEvent": "",
|
|
"properties": {
|
|
"containerControl": false,
|
|
"geometry": {
|
|
"width": 64,
|
|
"height": 64
|
|
}
|
|
},
|
|
"icons": [
|
|
{
|
|
"name": "Icons/16x16.png",
|
|
"width": 16,
|
|
"height": 16
|
|
}
|
|
],
|
|
"template": "Template.html",
|
|
"dependencyFiles": [
|
|
{
|
|
"name": "../dist/TcHmiAdsState/TcHmiAdsState.esm.js",
|
|
"type": "EsModule",
|
|
"description": "Contains all the main logic as ES module."
|
|
},
|
|
{
|
|
"name": "Style.css",
|
|
"type": "Stylesheet",
|
|
"description": "Theme independent style"
|
|
}
|
|
],
|
|
"themes": {
|
|
"Base": {
|
|
"resources": [
|
|
{
|
|
"name": "Themes/Base/Style.css",
|
|
"type": "Stylesheet",
|
|
"description": "Theme dependent style"
|
|
}
|
|
]
|
|
},
|
|
"Base-Dark": {
|
|
"resources": [
|
|
{
|
|
"name": "Themes/Base-Dark/Style.css",
|
|
"type": "Stylesheet",
|
|
"description": "Theme dependent style"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"attributes": [
|
|
{
|
|
"name": "data-tchmi-ads-runtime",
|
|
"propertyName": "AdsRuntime",
|
|
"propertySetterName": "setAdsRuntime",
|
|
"propertyGetterName": "getAdsRuntime",
|
|
"displayName": "ADS Runtime",
|
|
"visible": true,
|
|
"themeable": "Advanced",
|
|
"displayPriority": 10,
|
|
"type": "tchmi:general#/definitions/String",
|
|
"category": "Common",
|
|
"description": "The ADS extension runtime to be watched.",
|
|
"defaultValue": "PLC1",
|
|
"defaultValueInternal": null,
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"heritable": true
|
|
},
|
|
{
|
|
"name": "data-tchmi-server-interval",
|
|
"propertyName": "ServerInterval",
|
|
"propertySetterName": "setServerInterval",
|
|
"propertyGetterName": "getServerInterval",
|
|
"displayName": "Server Interval",
|
|
"visible": true,
|
|
"themeable": "Advanced",
|
|
"displayPriority": 100,
|
|
"type": "tchmi:general#/definitions/Number",
|
|
"category": "Common",
|
|
"description": "Sets the interval for the ADS state subscription in milliseconds. This might be expensive performance wise, so do not set to a very low value.",
|
|
"defaultValue": 500,
|
|
"defaultValueInternal": null,
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"heritable": true
|
|
},
|
|
{
|
|
"name": "data-tchmi-server-domain",
|
|
"propertyName": "ServerDomain",
|
|
"propertySetterName": "setServerDomain",
|
|
"propertyGetterName": "getServerDomain",
|
|
"displayName": "Server Domain",
|
|
"visible": true,
|
|
"themeable": "Advanced",
|
|
"displayPriority": 100,
|
|
"type": "tchmi:general#/definitions/String",
|
|
"category": "Common",
|
|
"description": "The domain of the ADS extension in the server. Defaults to 'ADS'.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"heritable": true,
|
|
"defaultValue": "",
|
|
"defaultValueInternal": "ADS"
|
|
},
|
|
{
|
|
"name": "data-tchmi-state-Images",
|
|
"propertyName": "StateImages",
|
|
"propertySetterName": "setStateImages",
|
|
"propertyGetterName": "getStateImages",
|
|
"displayName": "State Images",
|
|
"visible": true,
|
|
"themeable": "Advanced",
|
|
"displayPriority": 20,
|
|
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiAdsState.StateImages",
|
|
"category": "Common",
|
|
"description": "A structure defining an image for each state the control can have and the fallback image.",
|
|
"defaultValue": null,
|
|
"defaultValueInternal": null,
|
|
"readOnly": false,
|
|
"allowSymbolExpressionsInObject": true,
|
|
"bindable": true,
|
|
"heritable": true
|
|
}
|
|
],
|
|
"attributeCategories": [],
|
|
"functions": [],
|
|
"events": [],
|
|
"dataTypes": [
|
|
{
|
|
"schema": "Schema/Types.Schema.json"
|
|
}
|
|
],
|
|
"languages": {
|
|
"en": "Lang/Language.en.json",
|
|
"de": "Lang/Language.de.json"
|
|
}
|
|
} |