--- a/trunk/mqttsparkplug/mqttsparkplug/Sparkplug™ MQTT edge and host/Function Blocks/FB_PrimaryHost/FB_PrimaryHost/PoolManager/allocEdgetoGroupId/svnobj
+++ b/trunk/mqttsparkplug/mqttsparkplug/Sparkplug™ MQTT edge and host/Function Blocks/FB_PrimaryHost/FB_PrimaryHost/PoolManager/allocEdgetoGroupId/svnobj
@@ -1,29 +1,45 @@
-Gx_lL!0…jüo“)¨N‘¸Z€Þ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
¤// steal an object from the pool, register it with the groupID and assign its nameNIF NOT THIS^._edgePool.ListIsEmpty THENà    _itfElement := THIS^._edgePool.HeadElem.RemoveElem(); //Remove it, but now it is not part of a group anymorer    IF __QUERYPOINTER( _itfElement, _fb_RemoteEdge ) THENŠ        _fb_RemoteEdge^( itfGroupID := itfGroupID,  Name := EdgeId );`        allocEdgetoGroupId REF= _fb_RemoteEdge^;
-	ELSET		eError := ERROR.HostNotEnoughBlankEdges;	END_IFELSER	eError := ERROR.HostNotEnoughBlankEdges;END_IFInterfaceL{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}p// Will try to allocate a new EdgeId with the given namelMETHOD allocEdgetoGroupId : REFERENCE TO FB_RemoteEdgeVAR_IN_OUT2    EdgeId     : WSTRING; 4    itfGroupID : IGroupID;!END_VAR"VAR_OUTPUT#&    eError : ERROR;$VAR%<    _itfElement    : IElement;&\    _fb_RemoteEdge : POINTER TO FB_RemoteEdge;ÐÐÐE
ÐÐ	
-­%ÚÐ-
ÐÐ	
-­&ÚÐ-ÐÐ	
-­'ÚÐ-ÐÐ	
-­(ÚÐ-ÐÐ	
-­*ÚÐ-ÐÐ	
-­,ÚÐ-ÐÐ	
-­-ÚÐ-ÐÐ	
-­2ÚÐ-ÐÐ	
-­3ÚÐ-ÐÐ	
-­.ÚÐ-ÐÐ	
-­0ÚÐ-ÐÐ	
-­1ÚÐ-ÐÐ	
-­ÚÐ-ÐÐE
ÐÐ	
-­/ÚÐ-ÐÐ	
-­ÚÐ-ÐÐ	
-­ÚÐ-ÐÐ	
-­ÚÐ-ÐÐ	
-­ÚÐ- ÐÐ	
-­ÚÐ-!ÐÐ	
-­ÚÐ-"ÐÐ	
-­ ÚÐ-#ÐÐ	
-­!ÚÐ-!ÐÐ	
-­"ÚÐ-$ÐÐ	
-­#ÚÐ-%ÐÐ	
-­$ÚÐ-&ÐÐ	
-­ÚÐ-!
\ No newline at end of file
+Gx_lN!0…jüoC8£É#™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
¤// steal an object from the pool, register it with the groupID and assign its nameNIF NOT THIS^._edgePool.ListIsEmpty THENÞ    itfElement := THIS^._edgePool.HeadElem.RemoveElem(); //Remove it, but now it is not part of a group anymorep    IF __QUERYPOINTER( itfElement, pfb_RemoteEdge ) THENŠ        pfb_RemoteEdge^( itfGroupID := itfGroupID,  Name := EdgeId );`        allocEdgetoGroupId REF= pfb_RemoteEdge^;
+	ELSEJ		newObjectFromThinAirPlease := TRUE;	END_IFELSEH	newObjectFromThinAirPlease := TRUE;END_IFDIF newObjectFromThinAirPlease THENb	//No metric? No worries, we will just create one 	pfb_RemoteEdge := _EdgeFactory.Create(itfData := initData, eError => FBFError);8	IF pfb_RemoteEdge <> 0 THENž		//No need to add it to the pool... we add it instead when we assign the ownerT		eError := ERROR.HostNotEnoughBlankEdges; Interface!L{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}"p// Will try to allocate a new EdgeId with the given name#lMETHOD allocEdgetoGroupId : REFERENCE TO FB_RemoteEdge$VAR_IN_OUT%2    EdgeId     : WSTRING;&4    itfGroupID : IGroupID;'END_VAR(VAR_OUTPUT)&    eError : ERROR;*VAR+T    itfElement                 : IElement;,t    pfb_RemoteEdge             : POINTER TO FB_RemoteEdge;-P	initData                   : DummyData;.P	FBFError                   : FBF.ERROR;/F	newObjectFromThinAirPlease : BOOL;ÐÐÐEÐÐ	
+­zÚÐ-
ÐÐ	
+­{ÚÐ-ÐÐ	
+­|ÚÐ-ÐÐ	
+­}ÚÐ-ÐÐ	
+­~ÚÐ-ÐÐ	
+­€ÚÐ-ÐÐ	
+­ÚÐ-ÐÐ	
+­‚ÚÐ-ÐÐ	
+­ƒÚÐ-ÐÐ	
+­„ÚÐ-ÐÐ	
+­…ÚÐ-ÐÐ	
+­†ÚÐ-ÐÐ	
+­‡ÚÐ-ÐÐ	
+­ˆÚÐ-ÐÐ	
+­‰ÚÐ-ÐÐ	
+­ŠÚÐ-ÐÐ	
+­‹ÚÐ-ÐÐ	
+­šÚÐ-ÐÐ	
+­ÚÐ-ÐÐ	
+­ŽÚÐ-ÐÐ	
+­›ÚÐ-ÐÐ	
+­œÚÐ-ÐÐ	
+­’ÚÐ-ÐÐ	
+­“ÚÐ-ÐÐ	
+­”ÚÐ-ÐÐ	
+­AÚÐ-Ð !ÐEÐÐ	
+­nÚÐ-"ÐÐ	
+­oÚÐ-#ÐÐ	
+­pÚÐ-$ÐÐ	
+­qÚÐ-%ÐÐ	
+­rÚÐ-&ÐÐ	
+­sÚÐ-'ÐÐ	
+­tÚÐ-(ÐÐ	
+­uÚÐ-)ÐÐ	
+­vÚÐ-'ÐÐ	
+­wÚÐ-*ÐÐ	
+­xÚÐ-+ÐÐ	
+­yÚÐ-,ÐÐ	
+­˜ÚÐ--ÐÐ	
+­™ÚÐ-.ÐÐ	
+­—ÚÐ-/ÐÐ	
+­ÚÐ-'
\ No newline at end of file