Diff of /project/sparkplug™_mqtt_edge_b9741afd/function_blocks_d9bd2ff1/fb_edge_df8b6e33/fb_edge_af25efb2/getmetric_9f0ee75e/9f0ee75e83e04d35b8983b1166fdc4bb.object [000000] .. [b48d2c]  Maximize  Restore

Switch to side-by-side view

--- a
+++ b/project/sparkplug™_mqtt_edge_b9741afd/function_blocks_d9bd2ff1/fb_edge_df8b6e33/fb_edge_af25efb2/getmetric_9f0ee75e/9f0ee75e83e04d35b8983b1166fdc4bb.object
@@ -0,0 +1 @@
+{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)9f0ee75e-83e0-4d35-b898-3b1166fdc4bb","ParentGuid":"(Guid)af25efb2-e7d3-4d17-9b46-1d6d5c77fe77","Name":"(string)GetMetric","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)154","Tag":null,"Text":"(string)IF hasAlias THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)183","Tag":null,"Text":"(string)    // we use GetMetricByAlias"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)184","Tag":null,"Text":"(string)    THIS^.GetMetricbyAlias( Alias := Alias,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)185","Tag":null,"Text":"(string)                            Metric => itfMetric,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)186","Tag":null,"Text":"(string)                            GetTimestamp => Timestamp,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)187","Tag":null,"Text":"(string)                            xError => xError,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)161","Tag":null,"Text":"(string)                            eError => eError);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)162","Tag":null,"Text":"(string)                    "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)163","Tag":null,"Text":"(string)ELSE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)182","Tag":null,"Text":"(string)    // we use GetMetricByName"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)177","Tag":null,"Text":"(string)    THIS^.GetMetricbyName( DeviceId := \"\","}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)178","Tag":null,"Text":"(string)                           MetricName := Name,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)179","Tag":null,"Text":"(string)                           Metric => itfMetric,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)180","Tag":null,"Text":"(string)                           GetTimestamp => Timestamp,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)181","Tag":null,"Text":"(string)                           xError => xError,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)170","Tag":null,"Text":"(string)                           eError => eError);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)12","Tag":null,"Text":"(string)END_IF"}}]}}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)143","Tag":null,"Text":"(string)METHOD GetMetric"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)144","Tag":null,"Text":"(string)VAR_INPUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)145","Tag":null,"Text":"(string)\thasAlias : BOOL; // False searches on Name, True seaches on alias and ignores name input"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)146","Tag":null,"Text":"(string)\tName : WSTRING(SPStack.GC_sparkplug.supported_string_lengths);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)147","Tag":null,"Text":"(string)\tAlias : ULINT;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)148","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)149","Tag":null,"Text":"(string)VAR_OUTPUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)150","Tag":null,"Text":"(string)\titfMetric : SPStack.IMetric; // points to an excisting metric"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)172","Tag":null,"Text":"(string)    Timestamp : SPStack.T_DateTime; //NOT IMPLEMENTED"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)173","Tag":null,"Text":"(string)    xError : BOOL;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)171","Tag":null,"Text":"(string)    eError : SPStack.ERROR;    "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)152","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1","Tag":null,"Text":"(string)"}}]}}}}}}},"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"}
\ No newline at end of file