[341ca1]: / project / scenario_5b021564 / 5b021564ecc44ac98ad1ee45df139b22.object  Maximize  Restore  History

Download this file

1 lines (1 with data), 4.0 kB

1
{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)5b021564-ecc4-4ac9-8ad1-ee45df139b22","ParentGuid":"(Guid)00000000-0000-0000-0000-000000000000","Name":"(string)Scenario","Properties":{"@Type":"2c41fa04:IDictionary","@Value":{}},"TypeGuid":"(Guid)6f9dac99-8de1-4efc-8465-68ac443b7d08","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":"6f9dac99","@Value":{"SpecialFunc":{"@Type":"0db3d7bb:Enum","@Value":"None"},"Implementation":{"@Type":"3b83b776","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextBlobForSerialisation":"(string)scenario();","LineInfoPersistence":"(string)5b021564-ecc4-4ac9-8ad1-ee45df139b22_Impl_LineIds"}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextBlobForSerialisation":"(string)PROGRAM Scenario\nVAR_INPUT\n    TestScenario : UINT;\nEND_VAR\nVAR_OUTPUT\n    CommunicationMode : SPStack.MQTT.COMMUNICATION_MODE; // Choose either TCP or WebSockets\n    ServerUrl : STRING;\n    ServerPort : UINT;\n    KeepAlive : UINT;\n    CleanSession : BOOL := FALSE;\n    Username : WSTRING := \"\";\n    Password : WSTRING := \"\";\n    UseTLS : BOOL := FALSE;\n    hCert : SysTypes.RTS_IEC_HANDLE := SysTypes.RTS_INVALID_HANDLE; // Handle to the client certificate (optional) only used if UseTLS is TRUE\n    wsCSRorClientCertOut : WSTRING( 2048 );\n    publishPeriod : UINT := 500; //  milliseconds interval so 1000 = 1s\nEND_VAR\nVAR\n    //Encapsulates all the data neccessaray to handle/check  encrypted tcp connections\n    //Static initialization, as shown in the following code snippet;\n\n    //VAR\n    //    commonName : STRING := 'MyRasPi';\n    //    ciCertInfo : NBS.CERT_INFO := (psInfo:=ADR(commonName), udiSize:=LEN(commonName));\n    //    myTLSContext : NBS.TLSContext := (\n    //        ePurpose:=NBS.PURPOSE.CLIENT_SIDE,\n    //        sUseCaseName:='NBSTest',\n    //        sTLSVersion:='1.3',\n    //        ciCertInfo:=ciCertInfo,\n    //        udiVerificationMode:=2\n    //    );\n    //END_VAR\n    commonName : STRING := 'MyRasPi';\n    ciCertInfo : SPStack.MQTT.NBS.CERT_INFO := (psInfo := ADR( commonName ), udiSize := TO_UDINT( LEN( commonName ) ));\n    sUseCaseName : STRING;\n    ePurpose : SPStack.MQTT.NBS.PURPOSE;\n    sHostname : SPStack.MQTT.NBS.HOSTNAME;\n    udiVerificationMode : UDINT;\n    myTLS : SPStack.MQTT.NBS.TLSContext := ( sUseCaseName := sUseCaseName,\n                                                ePurpose := ePurpose,\n                                                sHostname := sHostname,\n                                                udiVerificationMode := udiVerificationMode );\n    ItfTLSContext : SPStack.MQTT.NBS.ITLSContext;\n\n   \n    //These are specific for registering certificates at test.mqtt.org\n    getClientCert : SPStack.GetClientCert;\n    RegisterCSR : Web_Client.WebClient;\n    countClientCert : INT;\n    httpPost : WSTRING( 2048 );\n    StillGettingClientCertificate : BOOL;\n    WaitForTheServerToRegisterCert : TON := (PT := T#1S);\n \nEND_VAR","LineInfoPersistence":"(string)5b021564-ecc4-4ac9-8ad1-ee45df139b22_Decl_LineIds"}}}},"UniqueIdGenerator":"(string)96","POULevel":{"@Type":"8e575c5b:Enum","@Value":"Standard"},"ChildObjectGuids":{"@Type":"ArrayList:IList","@Value":[]},"AddAttributeSubsequent":"(bool)False"}},"TypeInfos":{"0db3d7bb":"{0db3d7bb-cde0-4416-9a7b-ce49a0124323}","3b83b776":"{3b83b776-fb25-43b8-99f2-3c507c9143fc}","6f9dac99":"{6f9dac99-8de1-4efc-8465-68ac443b7d08}","8e575c5b":"{8e575c5b-1d37-49c6-941b-5c0ec7874787}","a9ed5b7e":"{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}","ArrayList":"System.Collections.ArrayList","bool":"System.Boolean","f3878285":"{f3878285-8e4f-490b-bb1b-9acbb7eb04db}","string":"System.String"}}},"FormatVersion":"1.0"}