1 2 3 4 5 6 7 8 9 10 11 12 13 14 | {attribute 'hide'} METHOD PrintHeader : BOOL VAR // Show Library Summary sText := 'Visit https://forge.codesys.com/prj/mqttsparkplugb or '; // Should be self explaining TO_STRING( GetTextProperty( "Company" ) ) ); ver := GetLibVersion(); sText := 'Version '; TO_STRING( ver.uiMajor ) ); '.' ); TO_STRING( ver.uiMinor ) ); TO_STRING( ver.uiServicePack ) ); TO_STRING( ver.uiPatch ) ); sText := 'This library is published under MIT license'; |