{ "$schema": "../../TcHmiFramework/Schema/ControlDescription.Schema.json", "apiVersion": 1, "name": "TcHmiEventLine", "namespace": "TcHmi.Controls.Beckhoff", "displayName": "Event Line", "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 last received event.", "defaultDesignerEvent": "", "properties": { "containerControl": false, "geometry": { "width": 560, "height": 40 } }, "icons": [ { "name": "Icons/16x16.png", "width": 16, "height": 16 } ], "template": "Template.html", "dependencyFiles": [ { "name": "../dist/TcHmiEventLine/TcHmiEventLine.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-message-format", "displayName": "Message Format", "propertyName": "MessageFormat", "propertySetterName": "setMessageFormat", "propertyGetterName": "getMessageFormat", "visible": true, "themeable": "Standard", "displayPriority": 10, "type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiEventLine.MessageFormat", "category": "Common", "description": "The parts that form the displayed event message.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": [ { "name": "timeRaised" }, { "text": " | " }, { "name": "domain" }, { "text": " | " }, { "name": "text" } ] }, { "name": "data-tchmi-target-region", "propertyName": "TargetRegion", "propertySetterName": "setTargetRegion", "propertyGetterName": "getTargetRegion", "displayName": "Target Region", "visible": true, "themeable": "Advanced", "displayPriority": 15, "type": "tchmi:framework#/definitions/TcHmi.Controls.System.TcHmiRegion", "category": "Common", "description": "The target region control where content will be displayed on click or touch on the event line control.", "defaultValue": null, "defaultValueInternal": null, "readOnly": false, "bindable": true, "heritable": true }, { "name": "data-tchmi-target-content", "propertyName": "TargetContent", "propertySetterName": "setTargetContent", "propertyGetterName": "getTargetContent", "displayName": "Target Content", "visible": true, "themeable": "Advanced", "displayPriority": 20, "type": "tchmi:framework#/definitions/ContentPath", "category": "Common", "description": "Path to the target content page which will be displayed on click or touch on the event line control.", "defaultValue": null, "defaultValueInternal": null, "readOnly": false, "bindable": true, "heritable": true }, { "name": "data-tchmi-filter", "displayName": "Filter", "propertyName": "Filter", "propertySetterName": "setFilter", "propertyGetterName": "getFilter", "visible": true, "themeable": "Standard", "displayPriority": 25, "type": "tchmi:server#/definitions/eventFilter", "category": "Common", "description": "The filter the events should match.", "readOnly": false, "bindable": true, "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": [ { "path": "domain", "comparator": "==", "value": "TcHmiEventLogger" }, { "logic": "OR" }, { "path": "domain", "comparator": "==", "value": "TcHmiAlarm" } ], "defaultValueInternal": null }, { "name": "data-tchmi-sorting", "displayName": "Sorting", "propertyName": "Sorting", "propertySetterName": "setSorting", "propertyGetterName": "getSorting", "visible": true, "themeable": "Advanced", "displayPriority": 30, "type": "tchmi:framework#/definitions/Sorting", "category": "Common", "description": "The criteria according to which the events are sorted.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": [ { "name": "timeRaised", "order": "Descending" } ], "defaultValueInternal": [] }, { "name": "data-tchmi-server-interval", "displayName": "Server Interval", "propertyName": "ServerInterval", "propertySetterName": "setServerInterval", "propertyGetterName": "getServerInterval", "visible": true, "themeable": "Advanced", "displayPriority": 60, "type": "tchmi:general#/definitions/Number", "category": "Common", "description": "Sets the interval for the ListEvents subscription in milliseconds. This is quite expensive performance wise, so do not set to a very low value.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": 1000, "defaultValueInternal": null }, { "name": "data-tchmi-text-color", "propertyName": "TextColor", "propertySetterName": "setTextColor", "propertyGetterName": "getTextColor", "displayName": "Text Color", "visible": true, "type": "tchmi:framework#/definitions/SolidColor", "themeable": "Standard", "category": "Colors", "description": "General text color.", "readOnly": false, "bindable": true, "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-text-font-family", "propertyName": "TextFontFamily", "propertySetterName": "setTextFontFamily", "propertyGetterName": "getTextFontFamily", "displayName": "Text Font Family", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/FontFamily", "category": "Text", "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-text-font-size", "propertyName": "TextFontSize", "propertySetterName": "setTextFontSize", "propertyGetterName": "getTextFontSize", "displayName": "Text Font Size", "visible": true, "themeable": "Standard", "displayPriority": 30, "type": "tchmi:framework#/definitions/MeasurementValue", "category": "Text", "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": null }, { "name": "data-tchmi-text-font-size-unit", "propertyName": "TextFontSizeUnit", "propertySetterName": "setTextFontSizeUnit", "propertyGetterName": "getTextFontSizeUnit", "refTo": "TextFontSize", "displayName": "Text Font Size Unit", "visible": true, "themeable": "Advanced", "displayPriority": 30, "type": "tchmi:framework#/definitions/MeasurementUnit", "category": "Text", "description": "Could be 'px' or for relative sizing '%'.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "px" }, { "name": "data-tchmi-text-font-style", "propertyName": "TextFontStyle", "propertySetterName": "setTextFontStyle", "propertyGetterName": "getTextFontStyle", "displayName": "Text Font Style", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/FontStyle", "category": "Text", "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-text-font-weight", "propertyName": "TextFontWeight", "propertySetterName": "setTextFontWeight", "propertyGetterName": "getTextFontWeight", "displayName": "Text Font Weight", "visible": true, "themeable": "Standard", "displayPriority": 60, "type": "tchmi:framework#/definitions/FontWeight", "category": "Text", "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-ignore-escape-sequences", "propertyName": "IgnoreEscapeSequences", "propertySetterName": "setIgnoreEscapeSequences", "propertyGetterName": "getIgnoreEscapeSequences", "displayName": "Ignore Escape Sequences", "visible": true, "themeable": "Advanced", "displayPriority": 100, "type": "tchmi:general#/definitions/Boolean", "category": "Text", "description": "When set to true a backslash in an event text will be shown verbatim in the HMI.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": false }, { "name": "data-tchmi-show-message-if-empty", "propertyName": "ShowMessageIfEmpty", "propertySetterName": "setShowMessageIfEmpty", "propertyGetterName": "getShowMessageIfEmpty", "displayName": "Show Message If Empty", "visible": true, "themeable": "Advanced", "displayPriority": 70, "type": "tchmi:general#/definitions/Boolean", "category": "Common", "description": "Defines whether a message is shown when the control received no events.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": true }, { "name": "data-tchmi-text-overflow", "propertyName": "TextOverflow", "propertySetterName": "setTextOverflow", "propertyGetterName": "getTextOverflow", "displayName": "Text Overflow", "visible": true, "themeable": "Advanced", "displayPriority": 10, "type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiEventLine.TextOverflow", "category": "Text", "description": "Defines how the message is displayed when it overflows the EventLine.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "Ellipsis" }, { "name": "data-tchmi-marquee-speed-factor", "propertyName": "MarqueeSpeedFactor", "propertySetterName": "setMarqueeSpeedFactor", "propertyGetterName": "getMarqueeSpeedFactor", "displayName": "Marquee Speed Factor", "visible": true, "themeable": "Advanced", "displayPriority": 11, "type": "tchmi:framework#/definitions/PositiveNumber", "category": "Text", "description": "Defines a factor for the speed of the scrolling animation. Only matters if TextOverflow is displayed with a marquee.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": 1 } ], "attributeCategories": [ { "name": "Text", "displayPriority": 500, "defaultCollapsed": true, "description": "Attributes defining the text of the control." } ], "functions": [], "events": [], "dataTypes": [ { "schema": "Schema/Types.Schema.json" } ], "languages": { "en": "Lang/Language.en.json", "de": "Lang/Language.de.json" } }