[91f2a2]: / project / sparkplug™_mqtt_edge_and_host-stack_b9741afd / function_blocks_8ad6e219 / fb_primaryhost_ec6863e3 / fb_primaryhostmqtt_5eddef6f / client_e31d9c9c / setlastwill_7f92d4aa / 7f92d4aa6c7e4fd59edd38bdeaefcef3.object  Maximize  Restore  History

Download this file

1 lines (1 with data), 4.5 kB

1
{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)7f92d4aa-6c7e-4fd5-9edd-38bdeaefcef3","ParentGuid":"(Guid)5eddef6f-704e-42d7-820d-1501e598bd8a","Name":"(string)SetLastWill","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)e31d9c9c-a38f-41c5-9bac-03b13803b176"}]}}}}]},"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)293","Tag":null,"Text":"(string)_LastWillTopic := Topic;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)294","Tag":null,"Text":"(string)_LastWillMessage := Message;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)295","Tag":null,"Text":"(string)_LastWillMessageSize := MessageSize;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)296","Tag":null,"Text":"(string)_LastWilQos := Qos;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)297","Tag":null,"Text":"(string)_LastWillRetain := Retained;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)153","Tag":null,"Text":"(string)SetLastWill := TRUE;"}}]}}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)276","Tag":null,"Text":"(string)(*"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)277","Tag":null,"Text":"(string)    Sets a lastwill message and returns TRUE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)278","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)279","Tag":null,"Text":"(string)        Example:"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)280","Tag":null,"Text":"(string)        lwm: 'Bulb1 Gone Offline' // Last will message"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)281","Tag":null,"Text":"(string)        topic1='bulb1' // the topic"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)282","Tag":null,"Text":"(string)        client2.SetLastWill(\"bulb1\", lwm, QOS1, False)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)283","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)284","Tag":null,"Text":"(string)    Note: Setting a QOS of 1 for the last will message attempts to make sure the subscriber sees it."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)285","Tag":null,"Text":"(string)*)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)286","Tag":null,"Text":"(string)METHOD SetLastWill : BOOL"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)287","Tag":null,"Text":"(string)VAR_INPUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)288","Tag":null,"Text":"(string)    Topic : WSTRING(GC_Sparkplug.supported_string_lengths); // Last Will Topic"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)289","Tag":null,"Text":"(string)    Message : POINTER TO BYTE; // Pointer to Byte, start address for Last Will Message"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)290","Tag":null,"Text":"(string)    MessageSize : UINT; // Last Will Message Size"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)291","Tag":null,"Text":"(string)    Qos : MQTT.MQTT_QOS; // QoS Level of Last Will message"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)292","Tag":null,"Text":"(string)    Retained : BOOL; // TRUE: Saves the Last Will message on server. If Client Subs later, then it receives the last stack message from server. "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)4","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"}