[91f2a2]: / project / sparkplug™_mqtt_edge_and_host-stack_b9741afd / function_blocks_8ad6e219 / fb_groupid_9b76de8b / fb_groupid_86df5ee5 / getmetricbyname_52a7ab47 / 52a7ab47f1a8488c9105ef6504e93678.object  Maximize  Restore  History

Download this file

1 lines (1 with data), 4.5 kB

1
{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)52a7ab47-f1a8-488c-9105-ef6504e93678","ParentGuid":"(Guid)86df5ee5-7dc7-4c4f-b4c3-231eb41f2fa1","Name":"(string)GetMetricbyName","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)158","Tag":null,"Text":"(string)refEdge REF= THIS^.GetEdge(EdgeId := EdgeId,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)159","Tag":null,"Text":"(string)    eError => eError);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)160","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)161","Tag":null,"Text":"(string)IF eError = ERROR.NO_ERROR THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)162","Tag":null,"Text":"(string)    refEdge.GetMetricbyName(DeviceId := DeviceId,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)163","Tag":null,"Text":"(string)        MetricName := MetricName,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)164","Tag":null,"Text":"(string)        Metric => Metric,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)165","Tag":null,"Text":"(string)        GetTimestamp => GetTimestamp,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)166","Tag":null,"Text":"(string)        xError => xError,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)167","Tag":null,"Text":"(string)        eError => eError);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)168","Tag":null,"Text":"(string)END_IF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)169","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)170","Tag":null,"Text":"(string)xError := (eError <> ERROR.NO_ERROR);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)171","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)172","Tag":null,"Text":"(string)IF Metric = 0 THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)173","Tag":null,"Text":"(string)    Metric := GVL_sparkplug.InvalidMetric;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)143","Tag":null,"Text":"(string)END_IF"}}]}}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)144","Tag":null,"Text":"(string)METHOD GetMetricbyName"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)145","Tag":null,"Text":"(string)VAR_IN_OUT CONSTANT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)146","Tag":null,"Text":"(string)    EdgeId : WSTRING;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)147","Tag":null,"Text":"(string)    DeviceId : WSTRING; //Leave Blank for Edge Metrics"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)148","Tag":null,"Text":"(string)    MetricName : WSTRING;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)149","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)150","Tag":null,"Text":"(string)VAR_OUTPUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)151","Tag":null,"Text":"(string)    Metric : IMetric;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)152","Tag":null,"Text":"(string)    GetTimestamp : T_DateTime; //NOT IMPLEMENTED"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)153","Tag":null,"Text":"(string)    xError : BOOL;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)154","Tag":null,"Text":"(string)    eError : ERROR;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)155","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)156","Tag":null,"Text":"(string)VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)157","Tag":null,"Text":"(string)    refEdge : REFERENCE TO FB_RemoteEdge;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)75","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"}