48 lines
1.5 KiB
JSON
48 lines
1.5 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": "TeachRecipe.js",
|
|
"type": "JavaScript",
|
|
"description": ""
|
|
}
|
|
],
|
|
"function": {
|
|
"name": "TeachRecipe",
|
|
"namespace": "TcHmi.Functions.Beckhoff",
|
|
"displayName": "TeachRecipe",
|
|
"visible": true,
|
|
"category": "Recipe",
|
|
"waitMode": "Asynchronous",
|
|
"injectContextObject": true,
|
|
"description": "Reads the current values which are referenced from a base recipe and write it into the same recipe.",
|
|
"returnValue": null,
|
|
"arguments": [
|
|
{
|
|
"name": "ctx",
|
|
"displayName": "ctx",
|
|
"type": "tchmi:framework#/definitions/ContextReference",
|
|
"description": "Context Reference",
|
|
"required": true,
|
|
"bindable": false
|
|
},
|
|
{
|
|
"name": "recipeReference",
|
|
"displayName": "RecipeReference",
|
|
"type": "tchmi:framework#/definitions/RecipeReference",
|
|
"description": "Reference (path + '::' + name) of the recipe",
|
|
"defaultValue": null,
|
|
"required": true,
|
|
"bindable": true
|
|
}
|
|
]
|
|
}
|
|
} |