Diff of /project/sparkplug™_mqtt_edge_b9741afd/function_blocks_d9bd2ff1/fb_device_309d3c13/fb_device_98658e3f/getmetric_25630e71/25630e7165484792b7f3ee1d9e022fb7.object [a48499] .. [ac6d98]  Maximize  Restore

Switch to side-by-side view

--- a/project/sparkplug™_mqtt_edge_b9741afd/function_blocks_d9bd2ff1/fb_device_309d3c13/fb_device_98658e3f/getmetric_25630e71/25630e7165484792b7f3ee1d9e022fb7.object
+++ b/project/sparkplug™_mqtt_edge_b9741afd/function_blocks_d9bd2ff1/fb_device_309d3c13/fb_device_98658e3f/getmetric_25630e71/25630e7165484792b7f3ee1d9e022fb7.object
@@ -1 +1 @@
-{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)25630e71-6548-4792-b7f3-ee1d9e022fb7","ParentGuid":"(Guid)98658e3f-2022-4201-ad82-e23b1cb5aaf1","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":{"TextBlobForSerialisation":"(string)IF hasAlias THEN\n    // we use GetMetricByAlias\n    THIS^.GetMetricbyAlias( Alias := Alias,\n                            Metric => itfMetric,\n                            GetTimestamp => Timestamp,\n                            xError => xError,\n                            eError => eError);\n                    \nELSE\n    // we use GetMetricByName\n    THIS^.GetMetricbyName( \n                           MetricName := Name,\n                           Metric => itfMetric,\n                           xError => xError,\n                           eError => eError);\nEND_IF","LineInfoPersistence":"(string)25630e71-6548-4792-b7f3-ee1d9e022fb7_Impl_LineIds"}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextBlobForSerialisation":"(string)METHOD GetMetric\nVAR_INPUT\n\thasAlias : BOOL; // False searches on Name, True seaches on alias and ignores name input\n\tName : WSTRING(SPStack.GC_sparkplug.supported_string_lengths);\n\tAlias : ULINT;\nEND_VAR\nVAR_OUTPUT\n\titfMetric : SPStack.IMetric; // points to an excisting metric\n    Timestamp : SPStack.T_DateTime; //NOT IMPLEMENTED\n    xError : BOOL;\n    eError : SPStack.ERROR;    \nEND_VAR\n","LineInfoPersistence":"(string)25630e71-6548-4792-b7f3-ee1d9e022fb7_Decl_LineIds"}}}}}},"TypeInfos":{"3b83b776":"{3b83b776-fb25-43b8-99f2-3c507c9143fc}","a9ed5b7e":"{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}","f3878285":"{f3878285-8e4f-490b-bb1b-9acbb7eb04db}","f8a58466":"{f8a58466-d7f6-439f-bbb8-d4600e41d099}","string":"System.String"}}},"FormatVersion":"1.0"}
\ No newline at end of file
+{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)25630e71-6548-4792-b7f3-ee1d9e022fb7","ParentGuid":"(Guid)98658e3f-2022-4201-ad82-e23b1cb5aaf1","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":{"TextBlobForSerialisation":"(string)IF hasAlias THEN\n    // we use GetMetricByAlias\n    THIS^.GetMetricbyAlias( Alias := Alias,\n                            Metric => itfMetric,\n                            GetTimestamp => Timestamp,\n                            xError => xError,\n                            eError => eError );\n\nELSE\n    // we use GetMetricByName\n    THIS^.GetMetricbyName( MetricName := Name,\n                           Metric => itfMetric,\n                           xError => xError,\n                           eError => eError );\nEND_IF","LineInfoPersistence":"(string)25630e71-6548-4792-b7f3-ee1d9e022fb7_Impl_LineIds"}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextBlobForSerialisation":"(string)METHOD GetMetric\nVAR_INPUT\n    hasAlias : BOOL; // False searches on Name, True seaches on alias and ignores name input\n    Name : WSTRING( SPStack.GC_sparkplug.supported_string_lengths );\n    Alias : ULINT;\nEND_VAR\nVAR_OUTPUT\n    itfMetric : SPStack.IMetric; // points to an excisting metric\n    Timestamp : SPStack.T_DateTime; //NOT IMPLEMENTED\n    xError : BOOL;\n    eError : SPStack.ERROR;\nEND_VAR\n","LineInfoPersistence":"(string)25630e71-6548-4792-b7f3-ee1d9e022fb7_Decl_LineIds"}}}}}},"TypeInfos":{"3b83b776":"{3b83b776-fb25-43b8-99f2-3c507c9143fc}","a9ed5b7e":"{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}","f3878285":"{f3878285-8e4f-490b-bb1b-9acbb7eb04db}","f8a58466":"{f8a58466-d7f6-439f-bbb8-d4600e41d099}","string":"System.String"}}},"FormatVersion":"1.0"}
\ No newline at end of file