--- a/branches/aliazzz/mqttsparkplugb/SparkplugB/Function Blocks/FB_SparkplugB_1/FB_SparkplugBSimple/Done/Diag/svnobj
+++ b/branches/aliazzz/mqttsparkplugb/SparkplugB/Function Blocks/FB_SparkplugB_1/FB_SparkplugBSimple/Done/Diag/svnobj
@@ -1,30 +1,33 @@
-Gx_l	!0…jüo7DÂ=å©Iô úSystem.StringL{f8a58466-d7f6-439f-bbb8-d4600e41d099}ImplementationL{3b83b776-fb25-43b8-99f2-3c507c9143fc}TextDocumentL{f3878285-8e4f-490b-bb1b-9acbb7eb04db}TextLinesL{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}	Id
-longTagText
>Diag := 'SimplePayloadEncoder';>IF _PayloadEncoder.xEnable THEN8	Diag := CONCAT(Diag,'.EN');END_IF:IF _PayloadEncoder.xDone THEN8	Diag := CONCAT(Diag,'.DN');:IF _PayloadEncoder.xBusy THEN>	Diag := CONCAT(Diag,'.BUSY');	<IF _PayloadEncoder.xError THENB	Diag := CONCAT(Diag,'.Error= ');p	Diag := CONCAT(Diag,TO_STRING(_PayloadEncoder.eError)); // log on change*IF Diag <> _Diag THEN‚	WriteDeviceLog( TO_DWORD(CmpLog.LogClass.LOG_INFO), '%s', Diag);END_IF;// store _Diag := Diag;Interface L{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}!(METHOD Diag : STRING"VAR_INPUT#END_VARÐÐÐEÐÐ	
+Gx_lÌ	!0…jüo³“§4ÕñdýåSystem.StringL{f8a58466-d7f6-439f-bbb8-d4600e41d099}ImplementationL{3b83b776-fb25-43b8-99f2-3c507c9143fc}TextDocumentL{f3878285-8e4f-490b-bb1b-9acbb7eb04db}TextLinesL{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}	Id
+longTagText
>Diag := 'SimplePayloadEncoder';4IF FlushMetricsPool() THEND    Diag := CONCAT(Diag,'.FLUSH');END_IF>IF _PayloadEncoder.xEnable THEN8	Diag := CONCAT(Diag,'.EN');:IF _PayloadEncoder.xDone THEN8	Diag := CONCAT(Diag,'.DN');:IF _PayloadEncoder.xBusy THEN>	Diag := CONCAT(Diag,'.BUSY');	<IF _PayloadEncoder.xError THENB	Diag := CONCAT(Diag,'.Error= ');p	Diag := CONCAT(Diag,TO_STRING(_PayloadEncoder.eError)); // log on change*IF Diag <> _Diag THEN‚	WriteDeviceLog( TO_DWORD(CmpLog.LogClass.LOG_INFO), '%s', Diag);END_IF;// store  _Diag := Diag;!Interface"L{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}#(METHOD Diag : STRING$VAR_INPUT%END_VARÐÐÐEÐÐ	
 ­	ÚÐ-
ÐÐ	
-­LÚÐ-ÐÐ	
-­DÚÐ-ÐÐ	
-­EÚÐ-ÐÐ	
+­QÚÐ-ÐÐ	
+­RÚÐ-ÐÐ	
+­SÚÐ-ÐÐ	
+­LÚÐ-ÐÐ	
+­DÚÐ-ÐÐ	
+­EÚÐ-ÐÐ	
 ­CÚÐ-ÐÐ	
-­GÚÐ-ÐÐ	
-­HÚÐ-ÐÐ	
+­GÚÐ-ÐÐ	
+­HÚÐ-ÐÐ	
 ­FÚÐ-ÐÐ	
-­JÚÐ-ÐÐ	
-­KÚÐ-ÐÐ	
+­JÚÐ-ÐÐ	
+­KÚÐ-ÐÐ	
 ­IÚÐ-ÐÐ	
 ­
-ÚÐ-ÐÐ	
-­#ÚÐ-ÐÐ	
-­$ÚÐ-ÐÐ	
+ÚÐ-ÐÐ	
+­#ÚÐ-ÐÐ	
+­$ÚÐ-ÐÐ	
 ­ÚÐ-ÐÐ	
 ­ÚÐ-ÐÐ	
-­ÚÐ-ÐÐ	
-­ÚÐ-ÐÐ	
-­ÚÐ-ÐÐ	
-­ ÚÐ-ÐÐ	
+­ÚÐ-ÐÐ	
+­ÚÐ-ÐÐ	
+­ÚÐ-ÐÐ	
+­ ÚÐ-ÐÐ	
 ­!ÚÐ-ÐÐ	
-­"ÚÐ-ÐÐ	
-­ÚÐ-Ð ÐEÐÐ	
-­ÚÐ-!ÐÐ	
-­ÚÐ-"ÐÐ	
-­ÚÐ-#ÐÐ	
+­"ÚÐ-ÐÐ	
+­ÚÐ- Ð!"ÐEÐÐ	
+­ÚÐ-#ÐÐ	
+­ÚÐ-$ÐÐ	
+­ÚÐ-%ÐÐ	
 ­ÚÐ-