Diff of /hmi_at135_v1b_aladdin/Device/Plc Logic/Application/Gestion_Client_NTP/NTP_DATA_TO_DT/svnobj [000000] .. [r15]  Maximize  Restore

Switch to side-by-side view

--- a
+++ b/hmi_at135_v1b_aladdin/Device/Plc Logic/Application/Gestion_Client_NTP/NTP_DATA_TO_DT/svnobj
@@ -0,0 +1,5 @@
+Gx_lR!0…jüoÁ
+Lóôi¿¦†ÜSystem.StringL{6f9dac99-8de1-4efc-8465-68ac443b7d08}SpecialFuncL{0db3d7bb-cde0-4416-9a7b-ce49a0124323}NoneImplementationL{3b83b776-fb25-43b8-99f2-3c507c9143fc}TextDocument	L{f3878285-8e4f-490b-bb1b-9acbb7eb04db}
+TextLinesL{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}Id
longTagTextôdwNtpServerTime		:=	MEM.PackBytesToDword (abyNtpResponse[40], abyNtpResponse[41], abyNtpResponse[42], abyNtpResponse[43]);hliNtpServerTime		:=	DWORD_TO_LINT (dwNtpServerTime);ŠNTP_DATA_TO_DT		:=	LINT_TO_DT (liNtpServerTime - c_dwNtpToUnixTimeOffset + iUtcOffset * c_usiMinutesPerHour * c_usiSecondsPerMinute);InterfaceL{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}8FUNCTION NTP_DATA_TO_DT : DTVAR_INPUT>	// Packet reçu du serveur NTP T	abyNtpResponse:				ARRAY [0..47] OF BYTE;,	// Fuseau horaire UTCJ	iUtcOffset:					INT(-12..14)			:=	3;END_VARVAR0	// Variable pour caclul8	dwNtpServerTime: 			DWORD;	 8	liNtpServerTime: 			LINT; 	!VAR CONSTANT"²	// Le nombre de secondes entre les points de référence Heure du format NTP et Heure Unix#h	c_dwNtpToUnixTimeOffset: 	DWORD					:=	2208988800;	$>	// Nombre de minutes par heure%N	c_usiMinutesPerHour:		USINT					:=	60;&R	// Le nombre de secondes dans une minute'R	c_usiSecondsPerMinute:		USINT					:=	60;("UniqueIdGenerator)92*POULevel+L{8e575c5b-1d37-49c6-941b-5c0ec7874787},Standard- ChildObjectGuids.8System.Collections.ArrayList/,AddAttributeSubsequent0boolÐÐ-ÐÐ	E
+ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­AÚÐ-ÐÐ
­9ÚÐ-ÐÐ
­7ÚÐ-ÐÐ
­6ÚÐ-ÐÐ
­5ÚÐ-ÐÐ	E
+ÐÐ
­ÚÐ-ÐÐ
­!ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­"ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ- ÐÐ
­BÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-!ÐÐ
­ÚÐ-"ÐÐ
­	ÚÐ-#ÐÐ
­ÚÐ-$ÐÐ
­ÚÐ-%ÐÐ
­ÚÐ-&ÐÐ
­ÚÐ-'ÐÐ
­3ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-Ð(-)Ð*+-,-.Ð/0­
\ No newline at end of file