150 lines
4.8 KiB
JSON
150 lines
4.8 KiB
JSON
{
|
|
"$schema": "../../TcHmiFramework/Schema/ControlDescription.Schema.json",
|
|
"apiVersion": 1,
|
|
"name": "TcHmiStateImage",
|
|
"namespace": "TcHmi.Controls.Beckhoff",
|
|
"displayName": "State Image",
|
|
"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 a state.",
|
|
"defaultDesignerEvent": "",
|
|
"properties": {
|
|
"containerControl": false,
|
|
"geometry": {
|
|
"width": 96,
|
|
"height": 96
|
|
}
|
|
},
|
|
"icons": [
|
|
{
|
|
"name": "Icons/16x16.png",
|
|
"width": 16,
|
|
"height": 16
|
|
}
|
|
],
|
|
"template": "Template.html",
|
|
"dependencyFiles": [
|
|
{
|
|
"name": "../dist/TcHmiStateImage/TcHmiStateImage.esm.js",
|
|
"type": "EsModule",
|
|
"description": "Contains all the main logic as ES module."
|
|
},
|
|
{
|
|
"name": "Style.css",
|
|
"type": "Stylesheet",
|
|
"description": ""
|
|
}
|
|
],
|
|
"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-state",
|
|
"propertyName": "State",
|
|
"propertySetterName": "setState",
|
|
"propertyGetterName": "getState",
|
|
"displayName": "State",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 10,
|
|
"type": "tchmi:general#/definitions/Any",
|
|
"category": "Common",
|
|
"description": "The displayed State.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": null
|
|
},
|
|
{
|
|
"name": "data-tchmi-state-list",
|
|
"propertyName": "StateList",
|
|
"propertySetterName": "setStateList",
|
|
"propertyGetterName": "getStateList",
|
|
"displayName": "State List",
|
|
"visible": true,
|
|
"themeable": "Advanced",
|
|
"displayPriority": 20,
|
|
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiStateImage.StateList",
|
|
"category": "Common",
|
|
"description": "List of States.",
|
|
"defaultValue": null,
|
|
"defaultValueInternal": null,
|
|
"readOnly": false,
|
|
"allowSymbolExpressionsInObject": true,
|
|
"bindable": true,
|
|
"heritable": true
|
|
},
|
|
{
|
|
"name": "data-tchmi-fallback-image",
|
|
"propertyName": "FallbackImage",
|
|
"propertySetterName": "setFallbackImage",
|
|
"propertyGetterName": "getFallbackImage",
|
|
"displayName": "Fallback Image",
|
|
"visible": true,
|
|
"themeable": "Advanced",
|
|
"displayPriority": 20,
|
|
"type": "tchmi:framework#/definitions/Path",
|
|
"category": "Common",
|
|
"description": "The fallback image shown when the state is not defined in the state list",
|
|
"defaultValue": null,
|
|
"defaultValueInternal": null,
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"heritable": true
|
|
},
|
|
{
|
|
"name": "data-tchmi-ignore-type-safety",
|
|
"propertyName": "IgnoreTypeSafety",
|
|
"propertySetterName": "setIgnoreTypeSafety",
|
|
"propertyGetterName": "getIgnoreTypeSafety",
|
|
"displayName": "Ignore Type Safety",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 30,
|
|
"type": "tchmi:general#/definitions/Boolean",
|
|
"category": "Common",
|
|
"description": "Defines whether the type safety is ignored when the current state is compared with the list of defined states. ",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": false
|
|
}
|
|
],
|
|
"attributeCategories": [],
|
|
"functions": [],
|
|
"events": [],
|
|
"dataTypes": [
|
|
{
|
|
"schema": "Schema/Types.Schema.json"
|
|
}
|
|
]
|
|
} |