[ecc9bf]: / project / device_b032fdcd / plc_logic_4bbe9722 / application1_8e35a463 / edge1_a5e930f4 / a5e930f4cd844d83a3f7492f198987aa.object  Maximize  Restore  History

Download this file

1 lines (1 with data), 5.9 kB

1
{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)a5e930f4-cd84-4d83-a3f7-492f198987aa","ParentGuid":"(Guid)8e35a463-e747-4a73-9f12-158dbb2b0fb2","Name":"(string)Edge1","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)IF Init THEN\n    AddAllMetrics();\n    Scenario( TestScenario := g_example_settings.TestScenario);\n    GenerateDataPeriod := UINT_TO_TIME( Scenario.publishPeriod - 250 ); // Now we surely change the data before sending it\n    Init := FALSE;\nEND_IF\n\nGenerateDataTimer( IN := NOT GenerateDataTimer.Q,\n                   PT := GenerateDataPeriod,\n                   ET => GenerateDataElapsed );\n\nIF GenerateDataTimer.Q THEN\n\tGenerateEoNData();\n    GenerateDeviceData();\nEND_IF\n\nTON_DelayStartup( IN := TRUE );\nIF NOT Scenario.StillGettingClientCertificate AND TON_DelayStartup.Q THEN\n    EoN( Connect := Connect,\n         ServerUrl := Scenario.ServerUrl,\n         ServerPort := Scenario.ServerPort,\n         PrimaryHostID := g_example_settings.PrimaryHostID1,\n         NodeName := g_example_settings.EdgeName1,             \n         GroupId := g_example_settings.GroupID,       \n         KeepAlive := Scenario.KeepAlive,\n         CleanSession := Scenario.CleanSession,\n         Username := Scenario.Username,\n         Password := Scenario.Password,\n         UseTLS := Scenario.UseTLS,\n         hCert := Scenario.hCert,\n         UseAliases := UseAliases,\n         PingInterval := PingInterval,\n         CommunicationMode := Scenario.CommunicationMode,\n         HttpProxySettings := HttpProxySettings,\n         publishPeriod := Scenario.publishPeriod,\n         // Uncomment this for TLS usage and please alter the initialisation of myTLSContext\n         //         ITLSContextProvider    := ItfTLSContext, // We provide a reference to an instance of TLSContext\n         IASyncPropertyProvider :=,\n         SessionState => EoNConnectionState,\n         NumberOfDevices => NumberOfDevices );         \nELSIF Scenario.StillGettingClientCertificate THEN\n    //The below method creates a Client Certificate for you\n    //It generates a CSR and sends it to test.mosquitto.org to be signed\n    Scenario.AdditionalStepsToRegisterAClientCertificateWithtest_mosquitto_org();\nEND_IF;\n\nMyDevice1( DeviceName := \"Device1\",\n           DeviceHealthy := Device1Healthy,\n           ItfEdge := EoN,\n           PluggedIntoEoN =>,\n           SessionState => MyDevice1State,\n           publishPeriod := Scenario.publishPeriod );\n\nMyDevice2( DeviceName := \"Device2\",\n           DeviceHealthy := Device2Healthy,\n           ItfEdge := EoN,\n           PluggedIntoEoN =>,\n           SessionState => MyDevice2State,\n           publishPeriod := Scenario.publishPeriod );\n\nMyDevice3( DeviceName := \"Device3\",\n           DeviceHealthy := Device3Healthy,\n           ItfEdge := EoN,\n           PluggedIntoEoN =>,\n           SessionState => MyDevice3State,\n           publishPeriod := Scenario.publishPeriod );","LineInfoPersistence":"(string)a5e930f4-cd84-4d83-a3f7-492f198987aa_Impl_LineIds"}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextBlobForSerialisation":"(string)PROGRAM Edge1\nVAR\n    Init : BOOL := TRUE;\n    EoN : SPEdge.FB_Edge;\n    Connect : BOOL := TRUE;    \n    EoNConnectionState : SPStack.SparkplugSessionStateType;\n    UseAliases : BOOL := TRUE;\n    PingInterval : TIME := T#30s; // Ping interval for TCP and Websocket mode, default interval = T#2s\n    // : SPEdge.MQTT.COMMUNICATION_MODE := SPEdge.MQTT.COMMUNICATION_MODE.WEB_SOCKET; // Choose either TCP or WebSockets\n    //\tThe uri OF the websocket server. e.g ‘ws://localhost:8080’ ws-URI = “ws:” “//” host [ ”:” port ] path [ ”?” query ] wss-URI = “wss:” “//” host [ ”:” port ] path [ ”?” query ]\n    HttpProxySettings : SPEdge.MQTT.WEB_SOCKET.HttpProxySettings; // Contains Proxy- Server, Port, User and Password settings     \n    NumberOfDevices : UDINT;\n    MyDevice1 : SPEdge.FB_Device;\n    Device1Healthy : BOOL := FALSE;\n    MyDevice2 : SPEdge.FB_Device;\n    Device2Healthy : BOOL := FALSE;\n    MyDevice3 : SPEdge.FB_Device;\n    Device3Healthy : BOOL := FALSE;\n    MyDevice1State : SPStack.SparkplugSessionStateType;\n    MyDevice2State : SPStack.SparkplugSessionStateType;\n    MyDevice3State : SPStack.SparkplugSessionStateType;\n    GenerateDataPeriod : TIME;\n    GenerateDataElapsed : TIME;\n    GenerateDataTimer : TON;\n    Str : ChangingString;\n    TimeStamp : SPStack.T_DateTime;\n    TON_DelayStartup : TON := (PT := T#5S); \nEND_VAR","LineInfoPersistence":"(string)a5e930f4-cd84-4d83-a3f7-492f198987aa_Decl_LineIds"}}}},"UniqueIdGenerator":"(string)5368","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"}