1 2 3 4 5 6 7 8 9 10 11 12 13 | IF stKey = "Author" THEN GetTextProperty2 := ADR("H-Hermsen & I-Campbell"); ELSIF stKey = "Company" THEN GetTextProperty2 := ADR("Follows the SparkplugB v2.2 Specification Sparkplug and the Sparkplug logo are trademarks of the Eclipse Foundation GetTextProperty2 := ADR("SparkplugB MQTT Topic and Payload Definition"); ELSIF stKey = "UnitTestingDefine" THEN GetTextProperty2 := ADR("unittest"); ELSE GetTextProperty2 := ADR(""); END_IF |