Diff of /project/sparkplug™_mqtt_host_b9741afd/function_blocks_8ad6e219/fb_primaryhost_ec6863e3/fb_topicparser_1c4ee81b/1c4ee81b8cfb49af8fade4547b6f90d6.object [b6d3b1] .. [4e24b4]  Maximize  Restore

Switch to side-by-side view

--- a/project/sparkplug™_mqtt_host_b9741afd/function_blocks_8ad6e219/fb_primaryhost_ec6863e3/fb_topicparser_1c4ee81b/1c4ee81b8cfb49af8fade4547b6f90d6.object
+++ b/project/sparkplug™_mqtt_host_b9741afd/function_blocks_8ad6e219/fb_primaryhost_ec6863e3/fb_topicparser_1c4ee81b/1c4ee81b8cfb49af8fade4547b6f90d6.object
@@ -1 +1 @@
-{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)1c4ee81b-8cfb-49af-8fad-e4547b6f90d6","ParentGuid":"(Guid)00000000-0000-0000-0000-000000000000","Name":"(string)FB_TopicParser","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)ec6863e3-35a1-4237-b54f-4c4d98ebfb4e"}]}}}}]},"TypeGuid":"(Guid)6f9dac99-8de1-4efc-8465-68ac443b7d08","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":"6f9dac99","@Value":{"SpecialFunc":{"@Type":"0db3d7bb:Enum","@Value":"None"},"Implementation":{"@Type":"3b83b776","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)85","Tag":null,"Text":"(string)FW_SLASH_position[0] := Stu.StrFindW( pTopic,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)86","Tag":null,"Text":"(string)                                      ADR( SPStack.GC_sparkplug.FW_SLASH ),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)87","Tag":null,"Text":"(string)                                      0 );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)88","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)89","Tag":null,"Text":"(string)IF FW_SLASH_position[0] > 0 THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)90","Tag":null,"Text":"(string)    //1 or 2 or 3 or 4 slashes"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)91","Tag":null,"Text":"(string)    FW_SLASH_position[1] := Stu.StrFindW( pTopic,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)92","Tag":null,"Text":"(string)                                          ADR( SPStack.GC_sparkplug.FW_SLASH ),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)93","Tag":null,"Text":"(string)                                          TO_UINT( FW_SLASH_position[0] + 1 ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)94","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)95","Tag":null,"Text":"(string)    IF FW_SLASH_position[1] > 0 THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)96","Tag":null,"Text":"(string)        //2 or 3 or 4 slashes"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)97","Tag":null,"Text":"(string)        FW_SLASH_position[2] := Stu.StrFindW( pTopic,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)98","Tag":null,"Text":"(string)                                              ADR( SPStack.GC_sparkplug.FW_SLASH ),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)99","Tag":null,"Text":"(string)                                              TO_UINT( FW_SLASH_position[1] + 1 ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)100","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)101","Tag":null,"Text":"(string)        IF FW_SLASH_position[2] > 0 THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)102","Tag":null,"Text":"(string)            //3 or 4 slashes"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)103","Tag":null,"Text":"(string)            Namespace := STRING_TO_Namespace( pTopic );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)104","Tag":null,"Text":"(string)            Stu.StrMidW( pTopic,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)105","Tag":null,"Text":"(string)                         SIZEOF( pTopic^ ),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)106","Tag":null,"Text":"(string)                         FW_SLASH_position[1] - FW_SLASH_position[0] - 1,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)107","Tag":null,"Text":"(string)                         FW_SLASH_position[0] + 1,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)108","Tag":null,"Text":"(string)                         ADR( GroupId ),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)109","Tag":null,"Text":"(string)                         SIZEOF( GroupID ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)110","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)111","Tag":null,"Text":"(string)            MessageType := STRING_TO_MessageType( pTopic,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)112","Tag":null,"Text":"(string)                                                  TO_UINT( FW_SLASH_position[1] ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)113","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)114","Tag":null,"Text":"(string)            FW_SLASH_position[3] := Stu.StrFindW( pTopic,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)115","Tag":null,"Text":"(string)                                                  ADR( SPStack.GC_sparkplug.FW_SLASH ),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)116","Tag":null,"Text":"(string)                                                  TO_UINT( FW_SLASH_position[2] + 1 ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)117","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)118","Tag":null,"Text":"(string)            IF FW_SLASH_position[3] > 0 THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)119","Tag":null,"Text":"(string)                //4 slashes"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)120","Tag":null,"Text":"(string)                //Device"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)121","Tag":null,"Text":"(string)                Stu.StrMidW( pTopic,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)122","Tag":null,"Text":"(string)                             SIZEOF( pTopic^ ),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)123","Tag":null,"Text":"(string)                             FW_SLASH_position[3] - FW_SLASH_position[2] - 1,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)124","Tag":null,"Text":"(string)                             FW_SLASH_position[2] + 1,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)125","Tag":null,"Text":"(string)                             ADR( EdgeId ),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)126","Tag":null,"Text":"(string)                             SIZEOF( EdgeId ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)127","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)128","Tag":null,"Text":"(string)                Stu.StrMidW( pTopic,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)129","Tag":null,"Text":"(string)                             SIZEOF( pTopic^ ),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)130","Tag":null,"Text":"(string)                             TO_INT( Stu.StrLenW( pTopic ) ) - FW_SLASH_position[3],"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)131","Tag":null,"Text":"(string)                             FW_SLASH_position[3] + 1,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)132","Tag":null,"Text":"(string)                             ADR( DeviceId ),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)133","Tag":null,"Text":"(string)                             SIZEOF( DeviceID ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)134","Tag":null,"Text":"(string)            ELSE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)135","Tag":null,"Text":"(string)                //3 slashes"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)136","Tag":null,"Text":"(string)                //Edge"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)137","Tag":null,"Text":"(string)                Stu.StrMidW( pTopic,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)138","Tag":null,"Text":"(string)                             SIZEOF( pTopic^ ),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)139","Tag":null,"Text":"(string)                             TO_INT( Stu.StrLenW( pTopic ) ) - FW_SLASH_position[2],"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)140","Tag":null,"Text":"(string)                             FW_SLASH_position[2] + 1,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)141","Tag":null,"Text":"(string)                             ADR( EdgeId ),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)142","Tag":null,"Text":"(string)                             SIZEOF( EdgeId ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)143","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)144","Tag":null,"Text":"(string)                DeviceId := \"\";"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)145","Tag":null,"Text":"(string)            END_IF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)146","Tag":null,"Text":"(string)        ELSE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)147","Tag":null,"Text":"(string)            //two slashes"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)148","Tag":null,"Text":"(string)            ClearAll();"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)149","Tag":null,"Text":"(string)        END_IF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)150","Tag":null,"Text":"(string)    ELSE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)151","Tag":null,"Text":"(string)        //one slash"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)152","Tag":null,"Text":"(string)        ClearAll();"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)153","Tag":null,"Text":"(string)    END_IF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)154","Tag":null,"Text":"(string)ELSE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)155","Tag":null,"Text":"(string)    //no slashes"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)156","Tag":null,"Text":"(string)    ClearAll();"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)21","Tag":null,"Text":"(string)END_IF"}}]}}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)72","Tag":null,"Text":"(string)FUNCTION_BLOCK FB_TopicParser"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)73","Tag":null,"Text":"(string)VAR_INPUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)74","Tag":null,"Text":"(string)    pTopic : POINTER TO WSTRING(SPStack.GC_Sparkplug.supported_string_lengths); // resembles the topic under which the message is posted "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)75","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)76","Tag":null,"Text":"(string)VAR_OUTPUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)77","Tag":null,"Text":"(string)    Namespace   : SPStack.SparkplugNamespaces;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)78","Tag":null,"Text":"(string)    GroupId     : WSTRING;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)79","Tag":null,"Text":"(string)    MessageType : SPStack.SparkplugMessageTypes;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)80","Tag":null,"Text":"(string)    EdgeId      : WSTRING;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)81","Tag":null,"Text":"(string)    DeviceId    : WSTRING;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)82","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)83","Tag":null,"Text":"(string)VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)84","Tag":null,"Text":"(string)    FW_SLASH_position : ARRAY[0..3] OF INT; // 0 = substring not found, -1 = null pointer given"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1","Tag":null,"Text":"(string)END_VAR"}}]}}}}},"UniqueIdGenerator":"(string)156","POULevel":{"@Type":"8e575c5b:Enum","@Value":"Standard"},"ChildObjectGuids":{"@Type":"ArrayList:IList","@Value":[]},"AddAttributeSubsequent":"(bool)False"}},"TypeInfos":{"0db3d7bb":"{0db3d7bb-cde0-4416-9a7b-ce49a0124323}","3b83b776":"{3b83b776-fb25-43b8-99f2-3c507c9143fc}","6f9dac99":"{6f9dac99-8de1-4efc-8465-68ac443b7d08}","8e575c5b":"{8e575c5b-1d37-49c6-941b-5c0ec7874787}","a5de0b0b":"{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}","a9ed5b7e":"{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}","ArrayList":"System.Collections.ArrayList","bool":"System.Boolean","f3878285":"{f3878285-8e4f-490b-bb1b-9acbb7eb04db}","long":"System.Int64","string":"System.String"}}},"FormatVersion":"1.0"}
\ No newline at end of file
+{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)1c4ee81b-8cfb-49af-8fad-e4547b6f90d6","ParentGuid":"(Guid)00000000-0000-0000-0000-000000000000","Name":"(string)FB_TopicParser","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)ec6863e3-35a1-4237-b54f-4c4d98ebfb4e"}]}}}}]},"TypeGuid":"(Guid)6f9dac99-8de1-4efc-8465-68ac443b7d08","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":"6f9dac99","@Value":{"SpecialFunc":{"@Type":"0db3d7bb:Enum","@Value":"None"},"Implementation":{"@Type":"3b83b776","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)85","Tag":null,"Text":"(string)FW_SLASH_position[0] := Stu.StrFindW( pTopic,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)86","Tag":null,"Text":"(string)                                      ADR( SPStack.GC_sparkplug.FW_SLASH ),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)87","Tag":null,"Text":"(string)                                      0 );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)167","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)168","Tag":null,"Text":"(string)WriteHostLog( CmpLog.LogClass.LOG_INFO, 'Host received from: %s', TO_STRING( pTopic^ ) ); "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)88","Tag":null,"Text":"(string)            "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)89","Tag":null,"Text":"(string)IF FW_SLASH_position[0] > 0 THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)90","Tag":null,"Text":"(string)    //1 or 2 or 3 or 4 slashes"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)91","Tag":null,"Text":"(string)    FW_SLASH_position[1] := Stu.StrFindW( pTopic,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)92","Tag":null,"Text":"(string)                                          ADR( SPStack.GC_sparkplug.FW_SLASH ),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)93","Tag":null,"Text":"(string)                                          TO_UINT( FW_SLASH_position[0] + 1 ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)94","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)95","Tag":null,"Text":"(string)    IF FW_SLASH_position[1] > 0 THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)96","Tag":null,"Text":"(string)        //2 or 3 or 4 slashes"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)97","Tag":null,"Text":"(string)        FW_SLASH_position[2] := Stu.StrFindW( pTopic,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)98","Tag":null,"Text":"(string)                                              ADR( SPStack.GC_sparkplug.FW_SLASH ),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)99","Tag":null,"Text":"(string)                                              TO_UINT( FW_SLASH_position[1] + 1 ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)100","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)101","Tag":null,"Text":"(string)        IF FW_SLASH_position[2] > 0 THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)102","Tag":null,"Text":"(string)            //3 or 4 slashes"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)103","Tag":null,"Text":"(string)            Namespace := STRING_TO_Namespace( pTopic );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)104","Tag":null,"Text":"(string)            Stu.StrMidW( pTopic,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)105","Tag":null,"Text":"(string)                         SIZEOF( pTopic^ ),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)106","Tag":null,"Text":"(string)                         FW_SLASH_position[1] - FW_SLASH_position[0] - 1,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)107","Tag":null,"Text":"(string)                         FW_SLASH_position[0] + 1,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)108","Tag":null,"Text":"(string)                         ADR( GroupId ),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)109","Tag":null,"Text":"(string)                         SIZEOF( GroupID ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)110","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)111","Tag":null,"Text":"(string)            MessageType := STRING_TO_MessageType( pTopic,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)112","Tag":null,"Text":"(string)                                                  TO_UINT( FW_SLASH_position[1] ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)113","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)114","Tag":null,"Text":"(string)            FW_SLASH_position[3] := Stu.StrFindW( pTopic,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)115","Tag":null,"Text":"(string)                                                  ADR( SPStack.GC_sparkplug.FW_SLASH ),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)116","Tag":null,"Text":"(string)                                                  TO_UINT( FW_SLASH_position[2] + 1 ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)117","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)118","Tag":null,"Text":"(string)            IF FW_SLASH_position[3] > 0 THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)119","Tag":null,"Text":"(string)                //4 slashes"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)120","Tag":null,"Text":"(string)                //Device"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)121","Tag":null,"Text":"(string)                Stu.StrMidW( pTopic,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)122","Tag":null,"Text":"(string)                             SIZEOF( pTopic^ ),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)123","Tag":null,"Text":"(string)                             FW_SLASH_position[3] - FW_SLASH_position[2] - 1,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)124","Tag":null,"Text":"(string)                             FW_SLASH_position[2] + 1,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)125","Tag":null,"Text":"(string)                             ADR( EdgeId ),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)126","Tag":null,"Text":"(string)                             SIZEOF( EdgeId ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)127","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)128","Tag":null,"Text":"(string)                Stu.StrMidW( pTopic,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)129","Tag":null,"Text":"(string)                             SIZEOF( pTopic^ ),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)130","Tag":null,"Text":"(string)                             TO_INT( Stu.StrLenW( pTopic ) ) - FW_SLASH_position[3],"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)131","Tag":null,"Text":"(string)                             FW_SLASH_position[3] + 1,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)132","Tag":null,"Text":"(string)                             ADR( DeviceId ),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)133","Tag":null,"Text":"(string)                             SIZEOF( DeviceID ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)134","Tag":null,"Text":"(string)            ELSE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)135","Tag":null,"Text":"(string)                //3 slashes"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)136","Tag":null,"Text":"(string)                //Edge"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)137","Tag":null,"Text":"(string)                Stu.StrMidW( pTopic,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)138","Tag":null,"Text":"(string)                             SIZEOF( pTopic^ ),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)139","Tag":null,"Text":"(string)                             TO_INT( Stu.StrLenW( pTopic ) ) - FW_SLASH_position[2],"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)140","Tag":null,"Text":"(string)                             FW_SLASH_position[2] + 1,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)141","Tag":null,"Text":"(string)                             ADR( EdgeId ),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)142","Tag":null,"Text":"(string)                             SIZEOF( EdgeId ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)143","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)144","Tag":null,"Text":"(string)                DeviceId := \"\";"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)145","Tag":null,"Text":"(string)            END_IF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)169","Tag":null,"Text":"(string)            "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)146","Tag":null,"Text":"(string)        ELSE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)147","Tag":null,"Text":"(string)            //two slashes"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)148","Tag":null,"Text":"(string)            ClearAll();"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)149","Tag":null,"Text":"(string)        END_IF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)170","Tag":null,"Text":"(string)        "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)150","Tag":null,"Text":"(string)    ELSE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)151","Tag":null,"Text":"(string)        //one slash"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)152","Tag":null,"Text":"(string)        ClearAll();"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)153","Tag":null,"Text":"(string)    END_IF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)171","Tag":null,"Text":"(string)    "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)154","Tag":null,"Text":"(string)ELSE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)155","Tag":null,"Text":"(string)    //no slashes"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)156","Tag":null,"Text":"(string)    ClearAll();"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)21","Tag":null,"Text":"(string)END_IF"}}]}}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)72","Tag":null,"Text":"(string)FUNCTION_BLOCK FB_TopicParser"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)73","Tag":null,"Text":"(string)VAR_INPUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)74","Tag":null,"Text":"(string)    pTopic : POINTER TO WSTRING(SPStack.GC_Sparkplug.supported_string_lengths); // resembles the topic under which the message is posted "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)75","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)76","Tag":null,"Text":"(string)VAR_OUTPUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)77","Tag":null,"Text":"(string)    Namespace   : SPStack.SparkplugNamespaces;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)78","Tag":null,"Text":"(string)    GroupId     : WSTRING;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)79","Tag":null,"Text":"(string)    MessageType : SPStack.SparkplugMessageTypes;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)80","Tag":null,"Text":"(string)    EdgeId      : WSTRING;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)81","Tag":null,"Text":"(string)    DeviceId    : WSTRING;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)82","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)83","Tag":null,"Text":"(string)VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)84","Tag":null,"Text":"(string)    FW_SLASH_position : ARRAY[0..3] OF INT; // 0 = substring not found, -1 = null pointer given"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1","Tag":null,"Text":"(string)END_VAR"}}]}}}}},"UniqueIdGenerator":"(string)171","POULevel":{"@Type":"8e575c5b:Enum","@Value":"Standard"},"ChildObjectGuids":{"@Type":"ArrayList:IList","@Value":[]},"AddAttributeSubsequent":"(bool)False"}},"TypeInfos":{"0db3d7bb":"{0db3d7bb-cde0-4416-9a7b-ce49a0124323}","3b83b776":"{3b83b776-fb25-43b8-99f2-3c507c9143fc}","6f9dac99":"{6f9dac99-8de1-4efc-8465-68ac443b7d08}","8e575c5b":"{8e575c5b-1d37-49c6-941b-5c0ec7874787}","a5de0b0b":"{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}","a9ed5b7e":"{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}","ArrayList":"System.Collections.ArrayList","bool":"System.Boolean","f3878285":"{f3878285-8e4f-490b-bb1b-9acbb7eb04db}","long":"System.Int64","string":"System.String"}}},"FormatVersion":"1.0"}
\ No newline at end of file