57 lines
1.9 KiB
JSON
57 lines
1.9 KiB
JSON
{
|
|
"$schema": "../TcHmiFramework/Schema/FunctionDescription.Schema.json",
|
|
"apiVersion": 1,
|
|
"version": {
|
|
"full": "14.3.340.0",
|
|
"major": 14,
|
|
"minor": 3,
|
|
"build": 340,
|
|
"revision": 0
|
|
},
|
|
"dependencyFiles": [
|
|
{
|
|
"name": "ExportEvents.js",
|
|
"type": "JavaScript",
|
|
"description": ""
|
|
}
|
|
],
|
|
"function": {
|
|
"name": "ExportEvents",
|
|
"namespace": "TcHmi.Functions.Beckhoff",
|
|
"displayName": "ExportEvents",
|
|
"visible": true,
|
|
"category": "Event",
|
|
"waitMode": "Asynchronous",
|
|
"injectContextObject": true,
|
|
"description": "Exports one, many or all events of a server. \nThis needs to be triggered by a user interaction (not on load or symbol change).",
|
|
"returnValue": null,
|
|
"arguments": [
|
|
{
|
|
"name": "ctx",
|
|
"displayName": "ctx",
|
|
"type": "tchmi:framework#/definitions/ContextReference",
|
|
"description": "Context Reference",
|
|
"required": true,
|
|
"bindable": false
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"displayName": "Filter",
|
|
"type": "tchmi:server#/definitions/eventFilter",
|
|
"description": "Filter/reduce download list to some events. \nIf this is null/unset this downloads all events.",
|
|
"defaultValue": null,
|
|
"required": true,
|
|
"bindable": true
|
|
},
|
|
{
|
|
"name": "filename",
|
|
"displayName": "Filename",
|
|
"type": "tchmi:general#/definitions/String",
|
|
"description": "The filename for the exported file. \nIf this is null/unset a default name is used.",
|
|
"defaultValue": null,
|
|
"required": false,
|
|
"bindable": true
|
|
}
|
|
]
|
|
}
|
|
} |