{
    "$schema": "../TcHmiFramework/Schema/FunctionDescription.Schema.json",
    "apiVersion": 1,
    "version": {
        "full": "1.12.762.46",
        "major": 1,
        "minor": 12,
        "build": 762,
        "revision": 46
    },
    "dependencyFiles": [
        {
            "name": "EnumToString.js",
            "type": "JavaScript",
            "description": ""
        }
    ],
    "function": {
        "name": "EnumToString",
        "namespace": "TcHmi.Functions.Beckhoff",
        "displayName": "EnumToString",
        "visible": true,
        "description": "Converts numerical enumeration values to their string names.",
        "category": "Data Conversion",
        "returnValue": {
            "type": "tchmi:general#/definitions/String"
        },
        "arguments": [
            {
                "name": "value",
                "displayName": "value",
                "type": "tchmi:general#/definitions/Integer",
                "description": "Value to be converted",
                "required": true,
                "bindable": true
            },
            {
                "name": "mapping",
                "displayName": "mapping",
                "type": "tchmi:framework#/definitions/EnumMapping",
                "description": "An object that maps numerical enum values to strings",
                "required": true,
                "bindable": true
            }
        ]
    }
}