TatDaylightSavingsActive Property
General info
Label |
Daylight Savings Active |
Description |
Indicates the daylights savings state reported by the host OS for the service component. |
Data type |
Boolean |
Type |
Regular |
Code |
12705 |
Symbolic name |
MODEL_PROP_TATDAYLIGHTSAVINGSACTIVE |
Lua access code |
syslib.model.properties.TatDaylightSavingsActive |
Available since |
1.78 |
- Parent properties
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 TatDaylightSavingsActive property.
-- Read from the TatDaylightSavingsActive
syslib.getvalue("<OBJECT FULL PATH>.TatPreview.TatDaylightSavingsActive")
-- Write to the TatDaylightSavingsActive
syslib.setvalue("<OBJECT FULL PATH>.TatPreview.TatDaylightSavingsActive", 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 TatDaylightSavingsActive
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.TatPreview.TatDaylightSavingsActive"));
// Write to the TatDaylightSavingsActive
Result result = sli.WriteValue(sc, new WriteItem(true, "<OBJECT FULL PATH>.TatPreview.TatDaylightSavingsActive"));