TatTimezoneChange Property

General info

Label

Timezone Change

Description

Indicates whether the time zone reported by the host OS for the service component has changed.

Data type

Boolean

Type

Regular

Code

12706

Symbolic name

MODEL_PROP_TATTIMEZONECHANGE

Lua access code

syslib.model.properties.TatTimezoneChange

Available since

1.78

Parent properties

TatPreview

Attributes

Name Tooltip
PROP_VISIBLE The property is visible in DataStudio and can be read by the inmation APIs.
PROP_VOLATILE The property exists during runtime of the service only and is not saved to the image.

Examples

Read from or write to the TatTimezoneChange property.

  • Lua

  • C#

-- Read from the TatTimezoneChange
syslib.getvalue("<OBJECT FULL PATH>.TatPreview.TatTimezoneChange")

-- Write to the TatTimezoneChange
syslib.setvalue("<OBJECT FULL PATH>.TatPreview.TatTimezoneChange", true)
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "<username>", Password = "<password>" };
StatelessInterface sli = new StatelessInterface(tcpcfg);

// Read from the TatTimezoneChange
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.TatPreview.TatTimezoneChange"));
// Write to the TatTimezoneChange
Result result = sli.WriteValue(sc, new WriteItem(true, "<OBJECT FULL PATH>.TatPreview.TatTimezoneChange"));