1096 lines
42 KiB
JSON
1096 lines
42 KiB
JSON
{
|
|
"$schema": "../../TcHmiFramework/Schema/ControlDescription.Schema.json",
|
|
"apiVersion": 1,
|
|
"name": "TcHmiTachometer",
|
|
"namespace": "TcHmi.Controls.Beckhoff",
|
|
"displayName": "Tachometer",
|
|
"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 tachometer.",
|
|
"defaultDesignerEvent": "",
|
|
"properties": {
|
|
"containerControl": false,
|
|
"geometry": {
|
|
"width": 300,
|
|
"height": 300
|
|
}
|
|
},
|
|
"icons": [
|
|
{
|
|
"name": "Icons/16x16.png",
|
|
"width": 16,
|
|
"height": 16
|
|
}
|
|
],
|
|
"template": "Template.html",
|
|
"dependencyFiles": [
|
|
{
|
|
"name": "Style.css",
|
|
"type": "Stylesheet",
|
|
"description": ""
|
|
},
|
|
{
|
|
"name": "../dist/TcHmiTachometer/TcHmiTachometer.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": "Advanced",
|
|
"displayPriority": 10,
|
|
"type": "tchmi:general#/definitions/Number",
|
|
"category": "Common",
|
|
"description": "The value of the tachometer.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": 0
|
|
},
|
|
{
|
|
"name": "data-tchmi-min-value",
|
|
"propertyName": "MinValue",
|
|
"propertySetterName": "setMinValue",
|
|
"propertyGetterName": "getMinValue",
|
|
"displayName": "Min Value",
|
|
"visible": true,
|
|
"themeable": "Advanced",
|
|
"displayPriority": 10,
|
|
"type": "tchmi:general#/definitions/Number",
|
|
"category": "Common",
|
|
"description": "The smallest value the tachometer could have.",
|
|
"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": "Advanced",
|
|
"displayPriority": 10,
|
|
"type": "tchmi:general#/definitions/Number",
|
|
"category": "Common",
|
|
"description": "The biggest value the tachometer could have.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": 100
|
|
},
|
|
{
|
|
"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-range",
|
|
"propertyName": "Range",
|
|
"propertySetterName": "setRange",
|
|
"propertyGetterName": "getRange",
|
|
"displayName": "Range",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 40,
|
|
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.GaugeRangeDefinitionList",
|
|
"category": "Value",
|
|
"description": "The range of the tachometer",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"allowSymbolExpressionsInObject": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": []
|
|
},
|
|
{
|
|
"name": "data-tchmi-show-value-text",
|
|
"propertyName": "ShowValueText",
|
|
"propertySetterName": "setShowValueText",
|
|
"propertyGetterName": "getShowValueText",
|
|
"displayName": "Show Value Text",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 40,
|
|
"type": "tchmi:general#/definitions/Boolean",
|
|
"category": "Value",
|
|
"description": "Whether to show the current value in text or not.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": true,
|
|
"defaultValueInternal": false
|
|
},
|
|
{
|
|
"name": "data-tchmi-value-font-family",
|
|
"propertyName": "ValueFontFamily",
|
|
"propertySetterName": "setValueFontFamily",
|
|
"propertyGetterName": "getValueFontFamily",
|
|
"displayName": "Value Font Family",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 70,
|
|
"type": "tchmi:framework#/definitions/FontFamily",
|
|
"category": "Value",
|
|
"description": "Comma separated list of family name or keyword: 'serif', 'sans-serif', 'monospace'.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": null
|
|
},
|
|
{
|
|
"name": "data-tchmi-value-font-size",
|
|
"propertyName": "ValueFontSize",
|
|
"propertySetterName": "setValueFontSize",
|
|
"propertyGetterName": "getValueFontSize",
|
|
"displayName": "Value Font Size",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 70,
|
|
"type": "tchmi:framework#/definitions/MeasurementValue",
|
|
"category": "Value",
|
|
"description": "The size of the font. Percent values are relative to the parent elements font size.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": 20
|
|
},
|
|
{
|
|
"name": "data-tchmi-value-font-size-unit",
|
|
"propertyName": "ValueFontSizeUnit",
|
|
"propertySetterName": "setValueFontSizeUnit",
|
|
"propertyGetterName": "getValueFontSizeUnit",
|
|
"refTo": "ValueFontSize",
|
|
"displayName": "Value Font Size Unit",
|
|
"visible": true,
|
|
"themeable": "Advanced",
|
|
"displayPriority": 70,
|
|
"type": "tchmi:framework#/definitions/MeasurementUnit",
|
|
"category": "Value",
|
|
"description": "Could be 'px' or for relative sizing '%'.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": "px"
|
|
},
|
|
{
|
|
"name": "data-tchmi-value-font-style",
|
|
"propertyName": "ValueFontStyle",
|
|
"propertySetterName": "setValueFontStyle",
|
|
"propertyGetterName": "getValueFontStyle",
|
|
"displayName": "Value Font Style",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 70,
|
|
"type": "tchmi:framework#/definitions/FontStyle",
|
|
"category": "Value",
|
|
"description": "'Normal', 'Italic' (slanted with special glyphs), 'Oblique' (slanted normal glyphs) or 'Auto' for inherited.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": "Auto"
|
|
},
|
|
{
|
|
"name": "data-tchmi-value-font-weight",
|
|
"propertyName": "ValueFontWeight",
|
|
"propertySetterName": "setValueFontWeight",
|
|
"propertyGetterName": "getValueFontWeight",
|
|
"displayName": "Value Font Weight",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 70,
|
|
"type": "tchmi:framework#/definitions/FontWeight",
|
|
"category": "Value",
|
|
"description": "'Normal', 'Bold' (glyphs with more weight) or 'Auto' for inherited.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": "Auto"
|
|
},
|
|
{
|
|
"name": "data-tchmi-value-format",
|
|
"propertyName": "ValueFormat",
|
|
"propertySetterName": "setValueFormat",
|
|
"propertyGetterName": "getValueFormat",
|
|
"displayName": "Value Format",
|
|
"visible": true,
|
|
"themeable": "Advanced",
|
|
"displayPriority": 70,
|
|
"type": "tchmi:framework#/definitions/Function",
|
|
"allowedFunctions": {
|
|
"returnType": "tchmi:general#/definitions/String",
|
|
"requiredArguments": [
|
|
{
|
|
"type": "tchmi:general#/definitions/Number",
|
|
"description": "The value to format."
|
|
}
|
|
],
|
|
"requiredWaitMode": "Synchronous"
|
|
},
|
|
"category": "Value",
|
|
"description": "A formatting function to format the value text (no HTML allowed).",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"allowSymbolExpressionsInObject": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": null
|
|
},
|
|
{
|
|
"name": "data-tchmi-show-labels",
|
|
"propertyName": "ShowLabels",
|
|
"propertySetterName": "setShowLabels",
|
|
"propertyGetterName": "getShowLabels",
|
|
"displayName": "Show Labels",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 10,
|
|
"type": "tchmi:general#/definitions/Boolean",
|
|
"category": "Labels",
|
|
"description": "Whether to show labels or not.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": true,
|
|
"defaultValueInternal": false
|
|
},
|
|
{
|
|
"name": "data-tchmi-label-range",
|
|
"propertyName": "LabelRange",
|
|
"propertySetterName": "setLabelRange",
|
|
"propertyGetterName": "getLabelRange",
|
|
"displayName": "Label Range",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 20,
|
|
"type": "tchmi:general#/definitions/Number",
|
|
"category": "Labels",
|
|
"description": "The range between labels of the tachometer.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": 20,
|
|
"defaultValueInternal": null
|
|
},
|
|
{
|
|
"name": "data-tchmi-label-position",
|
|
"propertyName": "LabelPosition",
|
|
"propertySetterName": "setLabelPosition",
|
|
"propertyGetterName": "getLabelPosition",
|
|
"displayName": "Label Position",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 20,
|
|
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiTachometer.LabelPosition",
|
|
"category": "Labels",
|
|
"description": "The inside or outside position of labels.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": "Inside"
|
|
},
|
|
{
|
|
"name": "data-tchmi-label-font-family",
|
|
"propertyName": "LabelFontFamily",
|
|
"propertySetterName": "setLabelFontFamily",
|
|
"propertyGetterName": "getLabelFontFamily",
|
|
"displayName": "Label Font Family",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 60,
|
|
"type": "tchmi:framework#/definitions/FontFamily",
|
|
"category": "Labels",
|
|
"description": "Comma separated list of family name or keyword: 'serif', 'sans-serif', 'monospace'.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": null
|
|
},
|
|
{
|
|
"name": "data-tchmi-label-font-size",
|
|
"propertyName": "LabelFontSize",
|
|
"propertySetterName": "setLabelFontSize",
|
|
"propertyGetterName": "getLabelFontSize",
|
|
"displayName": "Label Font Size",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 60,
|
|
"type": "tchmi:framework#/definitions/MeasurementValue",
|
|
"category": "Labels",
|
|
"description": "The size of the font. Percent values are relative to the parent elements font size.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": 12
|
|
},
|
|
{
|
|
"name": "data-tchmi-label-font-size-unit",
|
|
"propertyName": "LabelFontSizeUnit",
|
|
"propertySetterName": "setLabelFontSizeUnit",
|
|
"propertyGetterName": "getLabelFontSizeUnit",
|
|
"refTo": "LabelFontSize",
|
|
"displayName": "Label Font Size Unit",
|
|
"visible": true,
|
|
"themeable": "Advanced",
|
|
"displayPriority": 60,
|
|
"type": "tchmi:framework#/definitions/MeasurementUnit",
|
|
"category": "Labels",
|
|
"description": "Could be 'px' or for relative sizing '%'.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": "px"
|
|
},
|
|
{
|
|
"name": "data-tchmi-label-font-style",
|
|
"propertyName": "LabelFontStyle",
|
|
"propertySetterName": "setLabelFontStyle",
|
|
"propertyGetterName": "getLabelFontStyle",
|
|
"displayName": "Label Font Style",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 60,
|
|
"type": "tchmi:framework#/definitions/FontStyle",
|
|
"category": "Labels",
|
|
"description": "'Normal', 'Italic' (slanted with special glyphs), 'Oblique' (slanted normal glyphs) or 'Auto' for inherited.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": "Auto"
|
|
},
|
|
{
|
|
"name": "data-tchmi-label-font-weight",
|
|
"propertyName": "LabelFontWeight",
|
|
"propertySetterName": "setLabelFontWeight",
|
|
"propertyGetterName": "getLabelFontWeight",
|
|
"displayName": "Label Font Weight",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"type": "tchmi:framework#/definitions/FontWeight",
|
|
"category": "Labels",
|
|
"displayPriority": 60,
|
|
"description": "'Normal', 'Bold' (glyphs with more weight) or 'Auto' for inherited.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": "Auto"
|
|
},
|
|
{
|
|
"name": "data-tchmi-label-format",
|
|
"propertyName": "LabelFormat",
|
|
"propertySetterName": "setLabelFormat",
|
|
"propertyGetterName": "getLabelFormat",
|
|
"displayName": "Label Format",
|
|
"visible": true,
|
|
"themeable": "Advanced",
|
|
"displayPriority": 60,
|
|
"type": "tchmi:framework#/definitions/Function",
|
|
"allowedFunctions": {
|
|
"returnType": "tchmi:general#/definitions/String",
|
|
"requiredArguments": [
|
|
{
|
|
"type": "tchmi:general#/definitions/Number",
|
|
"description": "The label number to format."
|
|
}
|
|
],
|
|
"requiredWaitMode": "Synchronous"
|
|
},
|
|
"category": "Labels",
|
|
"description": "A formatting function to format the label texts (no HTML allowed).",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"allowSymbolExpressionsInObject": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": null
|
|
},
|
|
{
|
|
"name": "data-tchmi-show-ticks",
|
|
"propertyName": "ShowTicks",
|
|
"propertySetterName": "setShowTicks",
|
|
"propertyGetterName": "getShowTicks",
|
|
"displayName": "Show Ticks",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 10,
|
|
"type": "tchmi:general#/definitions/Boolean",
|
|
"category": "Ticks",
|
|
"description": "Whether to show ticks or not.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": true,
|
|
"defaultValueInternal": false
|
|
},
|
|
{
|
|
"name": "data-tchmi-tick-definition",
|
|
"propertyName": "TickDefinition",
|
|
"propertySetterName": "setTickDefinition",
|
|
"propertyGetterName": "getTickDefinition",
|
|
"displayName": "Tick Definition",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 60,
|
|
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.GaugeTickDefinition",
|
|
"category": "Ticks",
|
|
"description": "Describes the ticks.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"allowSymbolExpressionsInObject": true,
|
|
"defaultValue": {
|
|
"mainTickRange": 20,
|
|
"subTickRange": 5
|
|
},
|
|
"defaultValueInternal": null
|
|
},
|
|
{
|
|
"name": "data-tchmi-decimal-digits",
|
|
"propertyName": "DecimalDigits",
|
|
"propertySetterName": "setDecimalDigits",
|
|
"propertyGetterName": "getDecimalDigits",
|
|
"displayName": "Decimal Digits",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 40,
|
|
"type": "tchmi:general#/definitions/Number",
|
|
"category": "Common",
|
|
"description": "Number of displayed decimal digits. Does not affect the value. No restriction if it's unset.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": 3,
|
|
"defaultValueInternal": null
|
|
},
|
|
{
|
|
"name": "data-tchmi-unit",
|
|
"propertyName": "Unit",
|
|
"propertySetterName": "setUnit",
|
|
"propertyGetterName": "getUnit",
|
|
"displayName": "Unit",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 10,
|
|
"type": "tchmi:general#/definitions/String",
|
|
"category": "Unit",
|
|
"description": "Description of the tachometer value and its unit.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": ""
|
|
},
|
|
{
|
|
"name": "data-tchmi-sub-tick-position",
|
|
"propertyName": "SubTickPosition",
|
|
"propertySetterName": "setSubTickPosition",
|
|
"propertyGetterName": "getSubTickPosition",
|
|
"displayName": "Sub Tick Position",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 10,
|
|
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiTachometer.LabelPosition",
|
|
"category": "Ticks",
|
|
"description": "Defines if the sub ticks are inside or outside compared to main ticks of the tachometer.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": "Outside"
|
|
},
|
|
{
|
|
"name": "data-tchmi-unit-font-family",
|
|
"propertyName": "UnitFontFamily",
|
|
"propertySetterName": "setUnitFontFamily",
|
|
"propertyGetterName": "getUnitFontFamily",
|
|
"displayName": "Unit Font Family",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 60,
|
|
"type": "tchmi:framework#/definitions/FontFamily",
|
|
"category": "Unit",
|
|
"description": "Comma separated list of family name or keyword: 'serif', 'sans-serif', 'monospace'.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": null
|
|
},
|
|
{
|
|
"name": "data-tchmi-unit-font-size",
|
|
"propertyName": "UnitFontSize",
|
|
"propertySetterName": "setUnitFontSize",
|
|
"propertyGetterName": "getUnitFontSize",
|
|
"displayName": "Unit Font Size",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 60,
|
|
"type": "tchmi:framework#/definitions/MeasurementValue",
|
|
"category": "Unit",
|
|
"description": "The size of the font. Percent values are relative to the parent elements font size.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": 12
|
|
},
|
|
{
|
|
"name": "data-tchmi-unit-font-size-unit",
|
|
"propertyName": "UnitFontSizeUnit",
|
|
"propertySetterName": "setUnitFontSizeUnit",
|
|
"propertyGetterName": "getUnitFontSizeUnit",
|
|
"refTo": "UnitFontSize",
|
|
"displayName": "Unit Font Size Unit",
|
|
"visible": true,
|
|
"themeable": "Advanced",
|
|
"type": "tchmi:framework#/definitions/MeasurementUnit",
|
|
"category": "Unit",
|
|
"displayPriority": 60,
|
|
"description": "Could be 'px' or for relative sizing '%'.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": "px"
|
|
},
|
|
{
|
|
"name": "data-tchmi-unit-font-style",
|
|
"propertyName": "UnitFontStyle",
|
|
"propertySetterName": "setUnitFontStyle",
|
|
"propertyGetterName": "getUnitFontStyle",
|
|
"displayName": "Unit Font Style",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 60,
|
|
"type": "tchmi:framework#/definitions/FontStyle",
|
|
"category": "Unit",
|
|
"description": "'Normal', 'Italic' (slanted with special glyphs), 'Oblique' (slanted normal glyphs) or 'Auto' for inherited.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": "Auto"
|
|
},
|
|
{
|
|
"name": "data-tchmi-unit-font-weight",
|
|
"propertyName": "UnitFontWeight",
|
|
"propertySetterName": "setUnitFontWeight",
|
|
"propertyGetterName": "getUnitFontWeight",
|
|
"displayName": "Unit Font Weight",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 60,
|
|
"type": "tchmi:framework#/definitions/FontWeight",
|
|
"category": "Unit",
|
|
"description": "'Normal', 'Bold' (glyphs with more weight) or 'Auto' for inherited.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": "Auto"
|
|
},
|
|
{
|
|
"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
|
|
},
|
|
{
|
|
"name": "data-tchmi-start-position",
|
|
"propertyName": "StartPosition",
|
|
"propertySetterName": "setStartPosition",
|
|
"propertyGetterName": "getStartPosition",
|
|
"displayName": "Start Position",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 10,
|
|
"type": "tchmi:general#/definitions/Number",
|
|
"category": "Appearance",
|
|
"description": "The start angle of the tachometer.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": 220
|
|
},
|
|
{
|
|
"name": "data-tchmi-end-position",
|
|
"propertyName": "EndPosition",
|
|
"propertySetterName": "setEndPosition",
|
|
"propertyGetterName": "getEndPosition",
|
|
"displayName": "End Position",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 10,
|
|
"type": "tchmi:general#/definitions/Number",
|
|
"category": "Appearance",
|
|
"description": "The end angle of the tachometer.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": -40
|
|
},
|
|
{
|
|
"name": "data-tchmi-value-color",
|
|
"propertyName": "ValueColor",
|
|
"propertySetterName": "setValueColor",
|
|
"propertyGetterName": "getValueColor",
|
|
"displayName": "Value Color",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 60,
|
|
"type": "tchmi:framework#/definitions/SolidColor",
|
|
"category": "Colors",
|
|
"description": "Color of the value text.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"allowSymbolExpressionsInObject": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": null
|
|
},
|
|
{
|
|
"name": "data-tchmi-label-color",
|
|
"propertyName": "LabelColor",
|
|
"propertySetterName": "setLabelColor",
|
|
"propertyGetterName": "getLabelColor",
|
|
"displayName": "Label Color",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 60,
|
|
"type": "tchmi:framework#/definitions/SolidColor",
|
|
"category": "Colors",
|
|
"description": "Color for the axis tick labels",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"allowSymbolExpressionsInObject": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": null
|
|
},
|
|
{
|
|
"name": "data-tchmi-unit-color",
|
|
"propertyName": "UnitColor",
|
|
"propertySetterName": "setUnitColor",
|
|
"propertyGetterName": "getUnitColor",
|
|
"displayName": "Unit Color",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 60,
|
|
"type": "tchmi:framework#/definitions/SolidColor",
|
|
"category": "Colors",
|
|
"description": "The color of the displayed unit",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"allowSymbolExpressionsInObject": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": null
|
|
},
|
|
{
|
|
"name": "data-tchmi-tick-color",
|
|
"propertyName": "TickColor",
|
|
"propertySetterName": "setTickColor",
|
|
"propertyGetterName": "getTickColor",
|
|
"displayName": "Tick Color",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 60,
|
|
"type": "tchmi:framework#/definitions/SolidColor",
|
|
"category": "Colors",
|
|
"description": "The color of the displayed ticks",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"allowSymbolExpressionsInObject": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": null
|
|
},
|
|
{
|
|
"name": "data-tchmi-gauge-background-color",
|
|
"propertyName": "GaugeBackgroundColor",
|
|
"propertySetterName": "setGaugeBackgroundColor",
|
|
"propertyGetterName": "getGaugeBackgroundColor",
|
|
"displayName": "Gauge Background Color",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 20,
|
|
"type": "tchmi:framework#/definitions/Color",
|
|
"category": "Colors",
|
|
"description": "Color of the round tachometer itself.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"allowSymbolExpressionsInObject": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": null
|
|
},
|
|
{
|
|
"name": "data-tchmi-needle-color",
|
|
"propertyName": "NeedleColor",
|
|
"propertySetterName": "setNeedleColor",
|
|
"propertyGetterName": "getNeedleColor",
|
|
"displayName": "Needle Color",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 60,
|
|
"type": "tchmi:framework#/definitions/SolidColor",
|
|
"category": "Colors",
|
|
"description": "Color of the needle.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"allowSymbolExpressionsInObject": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": null
|
|
},
|
|
{
|
|
"name": "data-tchmi-needle-length",
|
|
"propertyName": "NeedleLength",
|
|
"propertySetterName": "setNeedleLength",
|
|
"propertyGetterName": "getNeedleLength",
|
|
"displayName": "Needle Length",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 60,
|
|
"type": "tchmi:general#/definitions/Number",
|
|
"category": "Common",
|
|
"description": "The length of the needle in percentage related to the radius of the tachometer.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": 70
|
|
},
|
|
{
|
|
"name": "data-tchmi-gauge-alignment",
|
|
"propertyName": "GaugeAlignment",
|
|
"propertySetterName": "setGaugeAlignment",
|
|
"propertyGetterName": "getGaugeAlignment",
|
|
"displayName": "Gauge Alignment",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 20,
|
|
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiTachometer.GaugeAlignment",
|
|
"category": "Appearance",
|
|
"description": "The orientation of the whole tachometer if height and width are not the same.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": "Center"
|
|
},
|
|
{
|
|
"name": "data-tchmi-markers",
|
|
"propertyName": "Markers",
|
|
"propertySetterName": "setMarkers",
|
|
"propertyGetterName": "getMarkers",
|
|
"displayName": "Markers",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 40,
|
|
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.GaugeMarkerDefinitionList",
|
|
"category": "Value",
|
|
"description": "The markers of the gauge",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"allowSymbolExpressionsInObject": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": null
|
|
},
|
|
{
|
|
"name": "data-tchmi-legend-font-family",
|
|
"propertyName": "LegendFontFamily",
|
|
"propertySetterName": "setLegendFontFamily",
|
|
"propertyGetterName": "getLegendFontFamily",
|
|
"displayName": "Legend Font Family",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 50,
|
|
"type": "tchmi:framework#/definitions/FontFamily",
|
|
"category": "Legend",
|
|
"description": "Defines the font family of the legend. Comma separated list of family name or keyword: 'serif', 'sans-serif', 'monospace'.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": null
|
|
},
|
|
{
|
|
"name": "data-tchmi-legend-font-size",
|
|
"propertyName": "LegendFontSize",
|
|
"propertySetterName": "setLegendFontSize",
|
|
"propertyGetterName": "getLegendFontSize",
|
|
"displayName": "Legend Font Size",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 50,
|
|
"type": "tchmi:framework#/definitions/MeasurementValue",
|
|
"category": "Legend",
|
|
"description": "Defines the font size of the legend.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": 12
|
|
},
|
|
{
|
|
"name": "data-tchmi-legend-font-size-unit",
|
|
"propertyName": "LegendFontSizeUnit",
|
|
"propertyGetterName": "getLegendFontSizeUnit",
|
|
"refTo": "LegendFontSize",
|
|
"displayName": "Legend Font Size Unit",
|
|
"visible": true,
|
|
"displayPriority": 50,
|
|
"type": "tchmi:framework#/definitions/PixelUnit",
|
|
"category": "Legend",
|
|
"description": "Is 'px'.",
|
|
"readOnly": true,
|
|
"bindable": false,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValueInternal": "px"
|
|
},
|
|
{
|
|
"name": "data-tchmi-legend-font-style",
|
|
"propertyName": "LegendFontStyle",
|
|
"propertySetterName": "setLegendFontStyle",
|
|
"propertyGetterName": "getLegendFontStyle",
|
|
"displayName": "Legend Font Style",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 50,
|
|
"type": "tchmi:framework#/definitions/FontStyle",
|
|
"category": "Legend",
|
|
"description": "Defines the font style of the legend. 'Normal', 'Italic' (slanted with special glyphs), 'Oblique' (slanted normal glyphs) or 'Auto' for inherited.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": "Auto"
|
|
},
|
|
{
|
|
"name": "data-tchmi-legend-font-weight",
|
|
"propertyName": "LegendFontWeight",
|
|
"propertySetterName": "setLegendFontWeight",
|
|
"propertyGetterName": "getLegendFontWeight",
|
|
"displayName": "Legend Font Weight",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 50,
|
|
"type": "tchmi:framework#/definitions/FontWeight",
|
|
"category": "Legend",
|
|
"description": "Defines the font weight of the legened. 'Normal', 'Bold' (glyphs with more weight) or 'Auto' for inherited.",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": "Auto"
|
|
},
|
|
{
|
|
"name": "data-tchmi-legend-label-color",
|
|
"propertyName": "LegendLabelColor",
|
|
"propertySetterName": "setLegendLabelColor",
|
|
"propertyGetterName": "getLegendLabelColor",
|
|
"displayName": "Legend Label Color",
|
|
"visible": true,
|
|
"themeable": "Standard",
|
|
"displayPriority": 60,
|
|
"type": "tchmi:framework#/definitions/SolidColor",
|
|
"category": "Colors",
|
|
"description": "Color for the legend labels",
|
|
"readOnly": false,
|
|
"bindable": true,
|
|
"defaultBindingMode": "OneWay",
|
|
"heritable": true,
|
|
"allowSymbolExpressionsInObject": true,
|
|
"defaultValue": null,
|
|
"defaultValueInternal": null
|
|
}
|
|
],
|
|
"attributeCategories": [
|
|
{
|
|
"name": "Value",
|
|
"displayPriority": 500,
|
|
"defaultCollapsed": false,
|
|
"description": "Attributes defining the representation value"
|
|
},
|
|
{
|
|
"name": "Labels",
|
|
"displayPriority": 510,
|
|
"defaultCollapsed": true,
|
|
"description": "Attributes defining the representation labels"
|
|
},
|
|
{
|
|
"name": "Ticks",
|
|
"displayPriority": 520,
|
|
"defaultCollapsed": true,
|
|
"description": "Attributes defining the representation of the ticks"
|
|
},
|
|
{
|
|
"name": "Unit",
|
|
"displayPriority": 530,
|
|
"defaultCollapsed": true,
|
|
"description": "Attributes defining the representation unit"
|
|
},
|
|
{
|
|
"name": "Appearance",
|
|
"displayPriority": 540,
|
|
"defaultCollapsed": true,
|
|
"description": "Attributes defining the general appearance"
|
|
},
|
|
{
|
|
"name": "Legend",
|
|
"displayPriority": 550,
|
|
"defaultCollapsed": true,
|
|
"description": "Attributes defining the representation of the legend"
|
|
}
|
|
],
|
|
"themedResources": [],
|
|
"functions": [],
|
|
"events": [
|
|
{
|
|
"name": ".onValueChanged",
|
|
"displayName": ".onValueChanged",
|
|
"visible": true,
|
|
"displayPriority": 10,
|
|
"category": "Control",
|
|
"description": "The valuechanged event is fired when the value was changed. This event could be fired multiples times while a user interaction.",
|
|
"heritable": true,
|
|
"arguments": []
|
|
}
|
|
],
|
|
"dataTypes": [
|
|
{
|
|
"schema": "Schema/Types.Schema.json"
|
|
}
|
|
],
|
|
"languages": {
|
|
"en": "Lang/Language.en.json",
|
|
"de": "Lang/Language.de.json"
|
|
}
|
|
} |