[91f2a2]: / project / sparkplug™_mqtt_edge_and_host-stack_b9741afd / function_blocks_8ad6e219 / fb_primaryhost_ec6863e3 / fb_topicparser_1c4ee81b / string_to_messagetype_b7b439c9 / b7b439c9e81a40448d61f774b0bde5df.object  Maximize  Restore  History

Download this file

1 lines (1 with data), 4.6 kB

1
{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)b7b439c9-e81a-4044-8d61-f774b0bde5df","ParentGuid":"(Guid)1c4ee81b-8cfb-49af-8fad-e4547b6f90d6","Name":"(string)STRING_TO_MessageType","Properties":{"@Type":"2c41fa04:IDictionary","@Value":{}},"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}","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)87","Tag":null,"Text":"(string)IF Stu.StrFindW(pTopic, ADR(GC_sparkplug.NODE_DEATH_TOPIC), pos1) = pos1 THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)88","Tag":null,"Text":"(string)    STRING_TO_MessageType := SparkplugMessageTypes.NDEATH;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)89","Tag":null,"Text":"(string)ELSIF Stu.StrFindW(pTopic, ADR(GC_sparkplug.NODE_BIRTH_TOPIC), pos1) = pos1 THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)90","Tag":null,"Text":"(string)    STRING_TO_MessageType := SparkplugMessageTypes.NBIRTH;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)91","Tag":null,"Text":"(string)ELSIF Stu.StrFindW(pTopic, ADR(GC_sparkplug.NODE_DATA_TOPIC), pos1) = pos1 THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)92","Tag":null,"Text":"(string)    STRING_TO_MessageType := SparkplugMessageTypes.NDATA;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)93","Tag":null,"Text":"(string)ELSIF Stu.StrFindW(pTopic, ADR(GC_sparkplug.DEVICE_DEATH_TOPIC), pos1) = pos1 THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)94","Tag":null,"Text":"(string)    STRING_TO_MessageType := SparkplugMessageTypes.DDEATH;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)95","Tag":null,"Text":"(string)ELSIF Stu.StrFindW(pTopic, ADR(GC_sparkplug.DEVICE_BIRTH_TOPIC), pos1) = pos1 THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)96","Tag":null,"Text":"(string)    STRING_TO_MessageType := SparkplugMessageTypes.DBIRTH;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)97","Tag":null,"Text":"(string)ELSIF Stu.StrFindW(pTopic, ADR(GC_sparkplug.DEVICE_DATA_TOPIC), pos1) = pos1 THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)98","Tag":null,"Text":"(string)    STRING_TO_MessageType := SparkplugMessageTypes.DDATA;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)99","Tag":null,"Text":"(string)ELSIF Stu.StrFindW(pTopic, ADR(GC_sparkplug.NCMD), pos1) = pos1 THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)100","Tag":null,"Text":"(string)    STRING_TO_MessageType := SparkplugMessageTypes.NCMD;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)101","Tag":null,"Text":"(string)ELSIF Stu.StrFindW(pTopic, ADR(GC_sparkplug.DCMD), pos1) = pos1 THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)102","Tag":null,"Text":"(string)    STRING_TO_MessageType := SparkplugMessageTypes.DCMD;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)103","Tag":null,"Text":"(string)ELSE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)104","Tag":null,"Text":"(string)    STRING_TO_MessageType := SparkplugMessageTypes.UNKNOWN;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)5","Tag":null,"Text":"(string)END_IF"}}]}}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)83","Tag":null,"Text":"(string)METHOD STRING_TO_MessageType : SparkplugMessageTypes"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)84","Tag":null,"Text":"(string)VAR_INPUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)85","Tag":null,"Text":"(string)    pTopic : POINTER TO WSTRING(GC_Sparkplug.supported_string_lengths); // resembles the topic under which the message is posted "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)86","Tag":null,"Text":"(string)    pos1 : UINT; // position of the second slash in the topic"}},{"@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"}