Diff of /project/device_b032fdcd/plc_logic_4bbe9722/application_8e35a463/fb_tests_91fe9bff/fb_sparkplugbsimple_testsuite_3aba256c/test_encoderwithsimplemetricbool_41d266b3/41d266b3c15c4b05a5063588354dd0cd.object [15b50d] .. [4fb19e]  Maximize  Restore

Switch to side-by-side view

--- a/project/device_b032fdcd/plc_logic_4bbe9722/application_8e35a463/fb_tests_91fe9bff/fb_sparkplugbsimple_testsuite_3aba256c/test_encoderwithsimplemetricbool_41d266b3/41d266b3c15c4b05a5063588354dd0cd.object
+++ b/project/device_b032fdcd/plc_logic_4bbe9722/application_8e35a463/fb_tests_91fe9bff/fb_sparkplugbsimple_testsuite_3aba256c/test_encoderwithsimplemetricbool_41d266b3/41d266b3c15c4b05a5063588354dd0cd.object
@@ -1 +1 @@
-{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)41d266b3-c15c-4b05-a506-3588354dd0cd","ParentGuid":"(Guid)3aba256c-b491-449a-943a-d1111cf717a8","Name":"(string)Test_EncoderWithSimpleMetricBool","Properties":{"@Type":"2c41fa04:IDictionary","@Value":[{"@Key":"(Guid)24568a24-c491-472c-a21f-ee5d33859fab","@Value":{"@Type":"24568a24","@Value":{"MemoryReserveForOnlineChange":"(int)0","ExcludeFromBuild":"(bool)False","External":"(bool)False","EnableSystemCall":"(bool)False","CompilerDefines":"(string)","LinkAlways":"(bool)False","Undefines":{"@Type":"[string]","@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":{"24568a24":"{24568a24-c491-472c-a21f-ee5d33859fab}","2c41fa04":"{2c41fa04-1834-41c1-816e-303c7aa2c05b}","81297157":"{81297157-7ec9-45ce-845e-84cab2b88ade}","bool":"System.Boolean","Guid":"System.Guid","int":"System.Int32","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)965","Tag":null,"Text":"(string)coUnit.TEST_ORDERED( 'Test_EncoderWithSimpleMetricBool' );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)966","Tag":null,"Text":"(string)SparkPlug( AllMetricsList := GVL_VAR.MasterMetricsList );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)967","Tag":null,"Text":"(string)CASE TestStep OF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)968","Tag":null,"Text":"(string)    0: // init"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)969","Tag":null,"Text":"(string)        TestStep           := 10;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)970","Tag":null,"Text":"(string)        SimpleMetric.Name  := \"Test_EncoderWithSimpleMetricBool\";"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)971","Tag":null,"Text":"(string)        SimpleMetric.Value := MetricValue;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)972","Tag":null,"Text":"(string)    10:"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)973","Tag":null,"Text":"(string)        SysTimeRtc.SysTimeRtcHighResGet( pTimestamp := Timestamp );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)974","Tag":null,"Text":"(string)        SparkPlug.InitEncoderBeforeAddingMetrics( Timestamp,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)975","Tag":null,"Text":"(string)                                                  1,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)976","Tag":null,"Text":"(string)                                                  TRUE,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)977","Tag":null,"Text":"(string)                                                  GVL_VAR.MasterMetricsList );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)978","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)979","Tag":null,"Text":"(string)        TestStep := 20;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)980","Tag":null,"Text":"(string)    20:"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)981","Tag":null,"Text":"(string)        Actual := SparkPlug.AddMetricSimple( Timestamp,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)982","Tag":null,"Text":"(string)                                             SimpleMetric,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)983","Tag":null,"Text":"(string)                                             GVL_VAR.MasterMetricsList );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)984","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)985","Tag":null,"Text":"(string)        TestStep := 30;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)986","Tag":null,"Text":"(string)    30:"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)987","Tag":null,"Text":"(string)        AssertEquals( Expected := Expected,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)988","Tag":null,"Text":"(string)                      Actual := Actual,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)989","Tag":null,"Text":"(string)                      Message := TO_STRING( Actual ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)990","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)991","Tag":null,"Text":"(string)        EncodingState := 1;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)992","Tag":null,"Text":"(string)        TestStep      := 40;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)993","Tag":null,"Text":"(string)    40: // hold"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)994","Tag":null,"Text":"(string)        TestStep := 40;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)995","Tag":null,"Text":"(string)END_CASE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)996","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)997","Tag":null,"Text":"(string)CASE EncodingState OF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)998","Tag":null,"Text":"(string)    0: //Hold"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)999","Tag":null,"Text":"(string)        EncodingState := 0;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1000","Tag":null,"Text":"(string)    1: // Start "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1001","Tag":null,"Text":"(string)        SparkPlug.Encode( Enable := TRUE );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1002","Tag":null,"Text":"(string)        EncodingState := 10;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1003","Tag":null,"Text":"(string)    10: // Encoding"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1004","Tag":null,"Text":"(string)        IF SparkPlug.Encoded() OR SparkPlug.EncodeError( eError => Actual ) THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1005","Tag":null,"Text":"(string)            EncodingState := 100;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1006","Tag":null,"Text":"(string)        END_IF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1007","Tag":null,"Text":"(string)    100: // Ready => copy BLOB to result"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1008","Tag":null,"Text":"(string)        SparkPlug.GetEncodedBlob( Blob := MyBlob,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1009","Tag":null,"Text":"(string)                                  BlobSize := MyBlobSize );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1010","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1011","Tag":null,"Text":"(string)        SparkPlug.Encode( Enable := FALSE );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1012","Tag":null,"Text":"(string)        AssertEquals( Expected := Expected,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1013","Tag":null,"Text":"(string)                      Actual := Actual,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1014","Tag":null,"Text":"(string)                      Message := TO_STRING( Actual ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1015","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1016","Tag":null,"Text":"(string)        EncodingState := 1000;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1017","Tag":null,"Text":"(string)    1000:"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1018","Tag":null,"Text":"(string)        IF NOT Dumped THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1019","Tag":null,"Text":"(string)            FileName := CONCAT( GVL_CONST.BaseFileDir,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1020","Tag":null,"Text":"(string)                                'Test_EncoderWithSimpleMetricBool' );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1021","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1022","Tag":null,"Text":"(string)            FileName := CONCAT( FileName,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1023","Tag":null,"Text":"(string)                                GVL_CONST.BaseFileExtension );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1024","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1025","Tag":null,"Text":"(string)            FileControl.Open( FileName,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1026","Tag":null,"Text":"(string)                              GVL_CONST.FileAccessMode );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1027","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1028","Tag":null,"Text":"(string)            FileControl.Write( ADR( MyBlob ),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1029","Tag":null,"Text":"(string)                               TO_UDINT( MyBlobSize ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1030","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1031","Tag":null,"Text":"(string)            FileControl.Close();"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1032","Tag":null,"Text":"(string)            Dumped := TRUE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1033","Tag":null,"Text":"(string)        END_IF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1034","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1035","Tag":null,"Text":"(string)        coUnit.TEST_FINISHED();"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1036","Tag":null,"Text":"(string)ELSE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1037","Tag":null,"Text":"(string)    coUnit.TEST_FINISHED();"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)5","Tag":null,"Text":"(string)END_CASE"}}]}}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)950","Tag":null,"Text":"(string)METHOD Test_EncoderWithSimpleMetricBool"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)951","Tag":null,"Text":"(string)VAR_STAT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)952","Tag":null,"Text":"(string)    MetricValue   : BOOL := TRUE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)953","Tag":null,"Text":"(string)    SimpleMetric  : SparkplugB.FB_SparkplugBoolean;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)954","Tag":null,"Text":"(string)    Timestamp     : ULINT;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)955","Tag":null,"Text":"(string)    SparkPlug     : SparkplugB.FB_SparkPlugBSimple;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)956","Tag":null,"Text":"(string)    MyBlob        : ARRAY[0..65535] OF BYTE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)957","Tag":null,"Text":"(string)    MyBlobSize    : UDINT;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)958","Tag":null,"Text":"(string)    FileControl   : coUnit.FB_FileControl;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)959","Tag":null,"Text":"(string)    FileName      : T_MaxString;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)960","Tag":null,"Text":"(string)    Expected      : SparkplugB.ERROR := SparkPlugB.ERROR.NO_ERROR;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)961","Tag":null,"Text":"(string)    Actual        : SparkplugB.ERROR;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)962","Tag":null,"Text":"(string)    TestStep      : UDINT := 0;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)963","Tag":null,"Text":"(string)    EncodingState : UDINT := 0;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)964","Tag":null,"Text":"(string)    Dumped        : BOOL  := FALSE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)623","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"}
\ No newline at end of file
+{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)41d266b3-c15c-4b05-a506-3588354dd0cd","ParentGuid":"(Guid)3aba256c-b491-449a-943a-d1111cf717a8","Name":"(string)Test_EncoderWithSimpleMetricBool","Properties":{"@Type":"2c41fa04:IDictionary","@Value":[{"@Key":"(Guid)24568a24-c491-472c-a21f-ee5d33859fab","@Value":{"@Type":"24568a24","@Value":{"MemoryReserveForOnlineChange":"(int)0","ExcludeFromBuild":"(bool)False","External":"(bool)False","EnableSystemCall":"(bool)False","CompilerDefines":"(string)","LinkAlways":"(bool)False","Undefines":{"@Type":"[string]","@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":{"24568a24":"{24568a24-c491-472c-a21f-ee5d33859fab}","2c41fa04":"{2c41fa04-1834-41c1-816e-303c7aa2c05b}","81297157":"{81297157-7ec9-45ce-845e-84cab2b88ade}","bool":"System.Boolean","Guid":"System.Guid","int":"System.Int32","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)965","Tag":null,"Text":"(string)coUnit.TEST_ORDERED( 'Test_EncoderWithSimpleMetricBool' );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)966","Tag":null,"Text":"(string)SparkPlug( AllMetricsList := GVL_VAR.MasterMetricsList );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)967","Tag":null,"Text":"(string)CASE TestStep OF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)968","Tag":null,"Text":"(string)    0: // init"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)969","Tag":null,"Text":"(string)        TestStep           := 10;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)970","Tag":null,"Text":"(string)        SimpleMetric.Name  := \"Test_EncoderWithSimpleMetricBool\";"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)971","Tag":null,"Text":"(string)        SimpleMetric.Value := MetricValue;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)972","Tag":null,"Text":"(string)    10:"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)973","Tag":null,"Text":"(string)        SysTimeRtc.SysTimeRtcHighResGet( pTimestamp := Timestamp );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)974","Tag":null,"Text":"(string)        SPStack.InitEncoderBeforeAddingMetrics( Timestamp,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)975","Tag":null,"Text":"(string)                                                  1,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)976","Tag":null,"Text":"(string)                                                  TRUE,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)977","Tag":null,"Text":"(string)                                                  GVL_VAR.MasterMetricsList );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)978","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)979","Tag":null,"Text":"(string)        TestStep := 20;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)980","Tag":null,"Text":"(string)    20:"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)981","Tag":null,"Text":"(string)        Actual := SPStack.AddMetricSimple( Timestamp,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)982","Tag":null,"Text":"(string)                                             SimpleMetric,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)983","Tag":null,"Text":"(string)                                             GVL_VAR.MasterMetricsList );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)984","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)985","Tag":null,"Text":"(string)        TestStep := 30;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)986","Tag":null,"Text":"(string)    30:"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)987","Tag":null,"Text":"(string)        AssertEquals( Expected := Expected,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)988","Tag":null,"Text":"(string)                      Actual := Actual,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)989","Tag":null,"Text":"(string)                      Message := TO_STRING( Actual ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)990","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)991","Tag":null,"Text":"(string)        EncodingState := 1;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)992","Tag":null,"Text":"(string)        TestStep      := 40;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)993","Tag":null,"Text":"(string)    40: // hold"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)994","Tag":null,"Text":"(string)        TestStep := 40;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)995","Tag":null,"Text":"(string)END_CASE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)996","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)997","Tag":null,"Text":"(string)CASE EncodingState OF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)998","Tag":null,"Text":"(string)    0: //Hold"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)999","Tag":null,"Text":"(string)        EncodingState := 0;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1000","Tag":null,"Text":"(string)    1: // Start "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1001","Tag":null,"Text":"(string)        SPStack.Encode( Enable := TRUE );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1002","Tag":null,"Text":"(string)        EncodingState := 10;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1003","Tag":null,"Text":"(string)    10: // Encoding"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1004","Tag":null,"Text":"(string)        IF SPStack.Encoded() OR SPStack.EncodeError( eError => Actual ) THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1005","Tag":null,"Text":"(string)            EncodingState := 100;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1006","Tag":null,"Text":"(string)        END_IF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1007","Tag":null,"Text":"(string)    100: // Ready => copy BLOB to result"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1008","Tag":null,"Text":"(string)        SPStack.GetEncodedBlob( Blob := MyBlob,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1009","Tag":null,"Text":"(string)                                  BlobSize := MyBlobSize );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1010","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1011","Tag":null,"Text":"(string)        SPStack.Encode( Enable := FALSE );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1012","Tag":null,"Text":"(string)        AssertEquals( Expected := Expected,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1013","Tag":null,"Text":"(string)                      Actual := Actual,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1014","Tag":null,"Text":"(string)                      Message := TO_STRING( Actual ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1015","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1016","Tag":null,"Text":"(string)        EncodingState := 1000;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1017","Tag":null,"Text":"(string)    1000:"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1018","Tag":null,"Text":"(string)        IF NOT Dumped THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1019","Tag":null,"Text":"(string)            FileName := CONCAT( GVL_CONST.BaseFileDir,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1020","Tag":null,"Text":"(string)                                'Test_EncoderWithSimpleMetricBool' );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1021","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1022","Tag":null,"Text":"(string)            FileName := CONCAT( FileName,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1023","Tag":null,"Text":"(string)                                GVL_CONST.BaseFileExtension );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1024","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1025","Tag":null,"Text":"(string)            FileControl.Open( FileName,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1026","Tag":null,"Text":"(string)                              GVL_CONST.FileAccessMode );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1027","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1028","Tag":null,"Text":"(string)            FileControl.Write( ADR( MyBlob ),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1029","Tag":null,"Text":"(string)                               TO_UDINT( MyBlobSize ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1030","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1031","Tag":null,"Text":"(string)            FileControl.Close();"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1032","Tag":null,"Text":"(string)            Dumped := TRUE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1033","Tag":null,"Text":"(string)        END_IF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1034","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1035","Tag":null,"Text":"(string)        coUnit.TEST_FINISHED();"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1036","Tag":null,"Text":"(string)ELSE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1037","Tag":null,"Text":"(string)    coUnit.TEST_FINISHED();"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)5","Tag":null,"Text":"(string)END_CASE"}}]}}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)950","Tag":null,"Text":"(string)METHOD Test_EncoderWithSimpleMetricBool"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)951","Tag":null,"Text":"(string)VAR_STAT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)952","Tag":null,"Text":"(string)    MetricValue   : BOOL := TRUE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)953","Tag":null,"Text":"(string)    SimpleMetric  : SparkplugB.FB_SparkplugBoolean;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)954","Tag":null,"Text":"(string)    Timestamp     : ULINT;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)955","Tag":null,"Text":"(string)    SparkPlug     : SparkplugB.FB_SparkPlugBSimple;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)956","Tag":null,"Text":"(string)    MyBlob        : ARRAY[0..65535] OF BYTE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)957","Tag":null,"Text":"(string)    MyBlobSize    : UDINT;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)958","Tag":null,"Text":"(string)    FileControl   : coUnit.FB_FileControl;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)959","Tag":null,"Text":"(string)    FileName      : T_MaxString;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)960","Tag":null,"Text":"(string)    Expected      : SparkplugB.ERROR := SparkPlugB.ERROR.NO_ERROR;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)961","Tag":null,"Text":"(string)    Actual        : SparkplugB.ERROR;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)962","Tag":null,"Text":"(string)    TestStep      : UDINT := 0;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)963","Tag":null,"Text":"(string)    EncodingState : UDINT := 0;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)964","Tag":null,"Text":"(string)    Dumped        : BOOL  := FALSE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)623","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"}
\ No newline at end of file