Table of Contents

Class IpcTime

Namespace
TwinSharp.IPC
Assembly
TwinSharp.dll

The IpcTime class provides methods to interact with time settings on the IPC. It allows getting and setting various time-related properties such as SNTP server address, SNTP refresh interval, seconds since 1970, textual date-time representation, timezone, and time offset.

public class IpcTime
Inheritance
IpcTime
Inherited Members

Properties

SNTPRefreshInSeconds

SNTP Refresh1 in Seconds On WindowsCE lowest allowed value is 5 Seconds. The system must be rebooted in order for the changes to take effect.

public uint SNTPRefreshInSeconds { get; set; }

Property Value

uint

SNTPServer

Name or IP Address of the timeserver "NoSync" = No synchronization "NT5DS" = Use domain hierarchy settings(Win32 only – no WinCE) May contain the following flags: See "NtpServer" msdn(Win32 only – no WinCE) The system must be rebooted in order for the changes to take effect.

public string SNTPServer { get; set; }

Property Value

string

SecondsSince1970

Seconds since midnight January 1, 1970 (local time)

public uint SecondsSince1970 { get; set; }

Property Value

uint

TextualDateTime

Textual DateTime presentation(local time) (ISO 8601) YYYY-MM-DDThh:mm:ss.sTZD

public string TextualDateTime { get; set; }

Property Value

string

TimeOffset

Time Offset – offset in seconds of the current local time relative to the coordinated universal time (UTC) (supports only steps of 15 minutes = 900 seconds) only for TC/RTOS

public int TimeOffset { get; set; }

Property Value

int

Timezone

Timezone - Zero based index of currently active timezone as listed in object 0x8nn2.Sub indizes in Oject 0x8nn2 are one based.To lookup timezone information you need to query sub idx @ "this value"+1 Not for TC/RTOS

public ushort Timezone { get; set; }

Property Value

ushort