[91f2a2]: / project / sparkplug™_mqtt_edge_and_host-stack_b9741afd / function_blocks_8ad6e219 / fb_primaryhost_ec6863e3 / fb_primaryhost_948b5570 / poolmanager_5b41423e / allocedgetogroupid_f478680b / f478680b49cf4c98aa590fd9c3597bbc.object  Maximize  Restore  History

Download this file

1 lines (1 with data), 6.4 kB

1
{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)f478680b-49cf-4c98-aa59-0fd9c3597bbc","ParentGuid":"(Guid)948b5570-7cc5-435c-9690-793c65eb192c","Name":"(string)allocEdgetoGroupId","Properties":{"@Type":"2c41fa04:IDictionary","@Value":[{"@Key":"(Guid)829a18f2-c514-4f6e-9634-1df173429203","@Value":{"@Type":"829a18f2","@Value":{"ParentObjects":{"@Type":"fa2ee218:IDictionary","@Value":[{"@Key":"(Guid)21af5390-2942-461a-bf89-951aaf6999f1","@Value":"(Guid)5b41423e-5075-4030-998f-2e6fd689615c"}]}}}}]},"TypeGuid":"(Guid)f8a58466-d7f6-439f-bbb8-d4600e41d099","EmbeddedTypeGuids":{"@Type":"[Guid]","@Value":["(Guid)a9ed5b7e-75c5-4651-af16-d2c27e98cb94","(Guid)3b83b776-fb25-43b8-99f2-3c507c9143fc"]}}},"TypeInfos":{"2c41fa04":"{2c41fa04-1834-41c1-816e-303c7aa2c05b}","81297157":"{81297157-7ec9-45ce-845e-84cab2b88ade}","829a18f2":"{829a18f2-c514-4f6e-9634-1df173429203}","fa2ee218":"{fa2ee218-a39b-4b6d-b249-49dbddbd168a}","Guid":"System.Guid","string":"System.String"}},"object":{"Graph":{"@Type":"f8a58466","@Value":{"Implementation":{"@Type":"3b83b776","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)172","Tag":null,"Text":"(string)// steal an object from the pool, register it with the groupID and assign its name"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)173","Tag":null,"Text":"(string)IF NOT THIS^._edgePool.ListIsEmpty THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)174","Tag":null,"Text":"(string)    itfElement := THIS^._edgePool.HeadElem.RemoveElem(); //Remove it, but now it is not part of a group anymore"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)175","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)176","Tag":null,"Text":"(string)    IF __QUERYPOINTER(itfElement, pfb_RemoteEdge) THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)177","Tag":null,"Text":"(string)        pfb_RemoteEdge^(itfGroupID := itfGroupID, Name := EdgeId);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)178","Tag":null,"Text":"(string)        allocEdgetoGroupId REF= pfb_RemoteEdge^;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)179","Tag":null,"Text":"(string)    ELSE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)180","Tag":null,"Text":"(string)        newObjectFromThinAirPlease := TRUE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)181","Tag":null,"Text":"(string)    END_IF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)182","Tag":null,"Text":"(string)ELSE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)183","Tag":null,"Text":"(string)    newObjectFromThinAirPlease := TRUE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)184","Tag":null,"Text":"(string)END_IF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)185","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)186","Tag":null,"Text":"(string)IF newObjectFromThinAirPlease THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)187","Tag":null,"Text":"(string)    //No metric? No worries, we will just create one"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)188","Tag":null,"Text":"(string)    pfb_RemoteEdge := _EdgeFactory.Create(itfData := initData, eError => FBFError);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)189","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)190","Tag":null,"Text":"(string)    IF pfb_RemoteEdge <> 0 THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)191","Tag":null,"Text":"(string)        pfb_RemoteEdge^(itfGroupID := itfGroupID, Name := EdgeId);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)192","Tag":null,"Text":"(string)        allocEdgetoGroupId REF= pfb_RemoteEdge^;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)193","Tag":null,"Text":"(string)        //No need to add it to the pool... we add it instead when we assign the owner"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)194","Tag":null,"Text":"(string)    ELSE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)195","Tag":null,"Text":"(string)        eError := ERROR.HostNotEnoughBlankEdges;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)196","Tag":null,"Text":"(string)    END_IF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)197","Tag":null,"Text":"(string)END_IF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)65","Tag":null,"Text":"(string)"}}]}}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)157","Tag":null,"Text":"(string)// Will try to allocate a new EdgeId with the given name"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)158","Tag":null,"Text":"(string)METHOD allocEdgetoGroupId : REFERENCE TO FB_RemoteEdge"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)159","Tag":null,"Text":"(string)VAR_IN_OUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)160","Tag":null,"Text":"(string)    EdgeId : WSTRING;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)161","Tag":null,"Text":"(string)    itfGroupID : IGroupID;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)162","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)163","Tag":null,"Text":"(string)VAR_OUTPUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)164","Tag":null,"Text":"(string)    eError : ERROR;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)165","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)166","Tag":null,"Text":"(string)VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)167","Tag":null,"Text":"(string)    itfElement : LinkedList.IElement;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)168","Tag":null,"Text":"(string)    pfb_RemoteEdge : POINTER TO FB_RemoteEdge;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)169","Tag":null,"Text":"(string)    initData : DummyData;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)170","Tag":null,"Text":"(string)    FBFError : FBF.ERROR;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)171","Tag":null,"Text":"(string)    newObjectFromThinAirPlease : BOOL;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1","Tag":null,"Text":"(string)END_VAR"}}]}}}}}}},"TypeInfos":{"3b83b776":"{3b83b776-fb25-43b8-99f2-3c507c9143fc}","a5de0b0b":"{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}","a9ed5b7e":"{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}","f3878285":"{f3878285-8e4f-490b-bb1b-9acbb7eb04db}","f8a58466":"{f8a58466-d7f6-439f-bbb8-d4600e41d099}","long":"System.Int64","string":"System.String"}}},"FormatVersion":"1.0"}