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