[761a70]: / project / sparkplug™_mqtt_host_b9741afd / function_blocks_8ad6e219 / fb_groupid_9b76de8b / fb_groupid_86df5ee5 / imessagesource_bc7841b9 / getmessage_8ef177a6 / 8ef177a62ec04bc5be1b57015cadfd69.object  Maximize  Restore  History

Download this file

1 lines (1 with data), 3.5 kB

1
{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)8ef177a6-2ec0-4bc5-be1b-57015cadfd69","ParentGuid":"(Guid)86df5ee5-7dc7-4c4f-b4c3-231eb41f2fa1","Name":"(string)getMessage","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)bc7841b9-e4fb-42ac-9d5f-b62b50b8162b"}]}}}}]},"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":{"TextBlobForSerialisation":"(string)IF NOT THIS^._IMessageSource_publishing THEN\n\tIF readyForPublish() THEN\n\t\tTHIS^._IMessageSource_publishing := TRUE;\n\t\tIF __QUERYINTERFACE(_IMessageSource_Edge, itfMessageSource) THEN\n\t\t\tIF itfMessageSource.getMessage(pPayload => pPayload, \n                                                         pTopic => pTopic,\n                                                         timeout => timeout) THEN\n\t\t\t    getMessage               := TRUE; // SUCCESS\n\t\t\t\tTHIS^._IMessageSource_published := FALSE;\n\t\t\tELSE\n\t\t\t    THIS^._IMessageSource_publishing := FALSE;\n            END_IF\n\t\tELSE\n\t\t    THIS^._IMessageSource_publishing := FALSE;\n\t\tEND_IF\n\tELSE\n\t\tTHIS^._IMessageSource_publishing := FALSE;\n\tEND_IF\nEND_IF","LineInfoPersistence":"(string)8ef177a6-2ec0-4bc5-be1b-57015cadfd69_Impl_LineIds"}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextBlobForSerialisation":"(string)// Congratulations! You're going to be published!!\n// Returning TRUE indicates that you accept the deal for exclusive publishing rights!\n// Returns false if you've already given the rights away, OR if you don't even have anything to publish\nMETHOD getMessage : BOOL\nVAR_OUTPUT\n\t// contains the unencoded FB_PayloadSimpleEncoder\n\t// the IMessageSource will not set the SeqNum, this will be done by the publisher!\n\t// 0 (Null pointer) if it doesn't want published\n    pSparkplugB : POINTER TO SPStack.FB_SparkplugBxCoderHandler;    \n\tpPayload : POINTER TO SPStack.FB_Payload;\n\tpTopic   : POINTER TO WSTRING(SPStack.GC_Sparkplug.supported_string_lengths); // resembles the topic under which the message is posted\n\t// LT#0s if there's no timeout, and the publisher can just sit on your work for ever\n\t// Otherwise, you can assume after timeout expires that the publish was unsuccessful.\n\t// Note that your publiser probably \n\ttimeout  : LTIME;\nEND_VAR\nVAR\n\titfMessageSource : SPStack.IMessageSource;\nEND_VAR\n","LineInfoPersistence":"(string)8ef177a6-2ec0-4bc5-be1b-57015cadfd69_Decl_LineIds"}}}}}},"TypeInfos":{"3b83b776":"{3b83b776-fb25-43b8-99f2-3c507c9143fc}","a9ed5b7e":"{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}","f3878285":"{f3878285-8e4f-490b-bb1b-9acbb7eb04db}","f8a58466":"{f8a58466-d7f6-439f-bbb8-d4600e41d099}","string":"System.String"}}},"FormatVersion":"1.0"}