{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)9430ecdb-bc36-4b04-9e80-d4ea880366fa","ParentGuid":"(Guid)44341408-57ee-4916-b868-1bd6303e3101","Name":"(string)Get","Properties":{"@Type":"2c41fa04:IDictionary","@Value":{}},"TypeGuid":"(Guid)792f2eb6-721e-4e64-ba20-bc98351056db","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":"792f2eb6","@Value":{"Implementation":{"@Type":"3b83b776","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextBlobForSerialisation":"(string)IF  NOT __ISVALIDREF(settings) THEN\n\tComponent_Manager.CMAddComponent2('User Application', 16#00000001, ADR(udiCmpId), 0);\n\tCmpLog.LogAdd2(CmpLog.LOG_STD_LOGGER, udiCmpId, CmpLog.LogClass.LOG_EXCEPTION, 1, 1, '*APPLICATION STOPPED* atTODWithOffset has an invalid settings reference');\n\t\n\t//Get App instance\n\t//_pApp := AppGetCurrent(pResult := ADR(_Result));\n\t//AppStopApplication(_pApp);\n\tRETURN;\nEND_IF\n\n//Get seconds since midnight from real time clock\n//SysTimeRtcGet return seconds since 1.1.1970 00:00:00 UTC\nIF in_fromRTC THEN\n\thardwareMs := (DWORD_TO_DINT(SysTimeRtcGet(pResult := result)) MOD 86400) * 1000; //get hardware real time clock\n\t_utcMs := (hardwareMs + settings.RTCAdjustment) MOD 86400000; //Add adjustment to get true time. Use mod to keep between 0 - 24 hours\nEND_IF\n\n//Get the saved ms since midnight\nutcMs := _utcMs;\t\n\n","LineInfoPersistence":"(string)9430ecdb-bc36-4b04-9e80-d4ea880366fa_Impl_LineIds"}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextBlobForSerialisation":"(string)VAR\n\tresult: RTS_IEC_RESULT;\n\thardwareMs: DINT; //Time in ms from the hardware real time clock\n\tudiCmpId: UDINT;\n\t_pApp       : POINTER TO CmpApp.APPLICATION;\n    _Result     : SysTypes.RTS_IEC_RESULT;\nEND_VAR\n","LineInfoPersistence":"(string)9430ecdb-bc36-4b04-9e80-d4ea880366fa_Decl_LineIds"}}}},"IsGet":"(bool)True"}},"TypeInfos":{"3b83b776":"{3b83b776-fb25-43b8-99f2-3c507c9143fc}","792f2eb6":"{792f2eb6-721e-4e64-ba20-bc98351056db}","a9ed5b7e":"{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}","bool":"System.Boolean","f3878285":"{f3878285-8e4f-490b-bb1b-9acbb7eb04db}","string":"System.String"}}},"FormatVersion":"1.0"}