a/trunk/mqttsparkplug/mqttsparkplug/SparkplugB/Function Blocks/FB_PrimaryHost/FB_PrimaryHost/PoolManager/allocDevicetoEdge/svnobj b/trunk/mqttsparkplug/mqttsparkplug/SparkplugB/Function Blocks/FB_PrimaryHost/FB_PrimaryHost/PoolManager/allocDevicetoEdge/svnobj
1
Gx_lƒ!0…jüoúG$ÜxaÄ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
1
Gx_l
2
!0…jüo:iî&1-ÏÚ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
2
longTagText
¤// steal an object from the pool, register it with the groupID and assign its nameRIF NOT THIS^._DevicePool.ListIsEmpty THENä    _itfElement := THIS^._DevicePool.HeadElem.RemoveElem(); //Remove it, but now it is not part of a group anymorex    IF __QUERYPOINTER( _itfElement,  _fb_RemoteDevice ) THENx        _fb_RemoteDevice^( itfPrimaryHost := itfPrimaryHost,f                           itfRemoteEoN := itfEdge,`                           Name := DeviceName );b        allocDevicetoEdge REF= _fb_RemoteDevice^;    END_IFEND_IFInterfaceL{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}p// Will try to allocate a new Device with the given namepMETHOD allocDevicetoEdge :  REFERENCE TO FB_RemoteDeviceVAR_IN_OUT:    DeviceName : WSTRING;    4    itfEdge : IRemoteEdge;F    itfPrimaryHost :  IPrimaryHost;END_VAR VAR_OUTPUT!&    eError : ERROR;"VAR#<    _itfElement    : IElement;$d    _fb_RemoteDevice : POINTER TO FB_RemoteDevice;ÐÐÐE
3
longTagText
¤// steal an object from the pool, register it with the groupID and assign its nameRIF NOT THIS^._DevicePool.ListIsEmpty THENä    _itfElement := THIS^._DevicePool.HeadElem.RemoveElem(); //Remove it, but now it is not part of a group anymorex    IF __QUERYPOINTER( _itfElement,  _fb_RemoteDevice ) THENh        _fb_RemoteDevice^( itfRemoteEdge := itfEdge,`                           Name := DeviceName );b        allocDevicetoEdge REF= _fb_RemoteDevice^;    END_IFEND_IFInterfaceL{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}p// Will try to allocate a new Device with the given namepMETHOD allocDevicetoEdge :  REFERENCE TO FB_RemoteDeviceVAR_IN_OUT:    DeviceName : WSTRING;    4    itfEdge : IRemoteEdge;END_VARVAR_OUTPUT&    eError : ERROR; VAR!<    _itfElement    : IElement;"d    _fb_RemoteDevice : POINTER TO FB_RemoteDevice;ÐÐÐE   ÐÐ  
3
ÐÐ  
4
­ÚÐ-
ÐÐ  
4
­)ÚÐ-
ÐÐ  
5
­ÚÐ-ÐÐ  
5
­*ÚÐ-ÐÐ  
6
­ÚÐ-ÐÐ  
6
­+ÚÐ-ÐÐ  
7
­ÚÐ-ÐÐ  
7
­,ÚÐ-ÐÐ  
8
­ÚÐ-ÐÐ  
8
­-ÚÐ-ÐÐ  
9
­%ÚÐ-ÐÐ  
9
­.ÚÐ-ÐÐ  
10
­&ÚÐ-ÐÐ  
10
­/ÚÐ-ÐÐ  
11
­ÚÐ-ÐÐ  
11
­0ÚÐ-ÐÐ  
12
­ÚÐ-ÐÐ  
12
­ÚÐ-ÐÐE
ÐÐ  
13
­ÚÐ-ÐÐEÐÐ    
14
­(ÚÐ-ÐÐ  
13
­(ÚÐ-ÐÐ  
15
­ÚÐ-ÐÐ  
14
­ÚÐ-ÐÐ  
16
­ÚÐ-ÐÐ  
15
­ÚÐ-ÐÐ  
17
­ÚÐ-ÐÐ  
16
­ÚÐ-ÐÐ  
18
­ÚÐ-ÐÐ  
17
­ÚÐ-ÐÐ  
19
­'ÚÐ-ÐÐ  
20
­   ÚÐ-ÐÐ    
18
­   ÚÐ-ÐÐ    
21
­
19
­
22
ÚÐ- ÐÐ    
20
ÚÐ-ÐÐ    
23
­ÚÐ-!ÐÐ  
21
­ÚÐ-ÐÐ  
24
­ÚÐ-ÐÐ  
22
­ÚÐ-ÐÐ  
25
­
ÚÐ-"ÐÐ    
23
­
ÚÐ- ÐÐ    
26
­ÚÐ-#ÐÐ  
24
­ÚÐ-!ÐÐ  
27
­ÚÐ-$ÐÐ  
25
­ÚÐ-"ÐÐ  
28
­ÚÐ-
26
­ÚÐ-