1 2 3 4 5 6 7 8 9 10 11 | METHOD Test_IsConnected VAR // Expecteds ExpConnect : BOOL := TRUE; // Actuals ActConnect : BOOL := FALSE; Message := 'The client has not connected within the set timelimit.' ); CfUnit.TEST_FINISHED(); // Disconnect FB_MQTT.Disconnect(); END_IF; |