var TcHmi;!function(TcHmi){let Functions;!function(Functions){let Beckhoff;!function(Beckhoff){Beckhoff.ConvertBooleanToEnum=function(value,trueValue,falseValue){return!0===TcHmi.ValueConverter.toBoolean(value)?trueValue:falseValue}}(Beckhoff=Functions.Beckhoff||(Functions.Beckhoff={}))}(Functions=TcHmi.Functions||(TcHmi.Functions={}))}(TcHmi||(TcHmi={})),TcHmi.Functions.registerFunctionEx("ConvertBooleanToEnum","TcHmi.Functions.Beckhoff",TcHmi.Functions.Beckhoff.ConvertBooleanToEnum);