TatManualAdjustmentRuleset Property

General info

Label

Adjustment Ruleset

Description

Daylight Saving adjustment data per individual year.

Data type

String

Default value

"{\"meta\":{\"id\":\"urn:id:76:12\"}}"

Type

TableSchemaBound

Code

13003

Symbolic name

MODEL_PROP_TATMANUALADJUSTMENTRULESET

Lua access code

syslib.model.properties.TatManualAdjustmentRuleset

Available since

1.80

Parent properties

TatManualConfiguration

Attributes

Name Tooltip
PROP_CONFIGURABLE The property is configurable and can be changed with DataStudio and the various inmation APIs.
PROP_VISIBLE The property is visible in DataStudio and can be read by the inmation APIs.

Schema Definition

Name: TatAdjustmentRuleset

Description:

Columns
Column Data Type Nullable Unique Default Min Max Description
AdjustmentTime Number false false 60 Adjustment Time in Minutes
DaylightSavingFrom DateTime false false Daylight Saving Time From (UTC)
DaylightSavingTo DateTime false false Daylight Saving Time To (UTC)
Enabled Boolean false false true This entry is enabled

Examples

Read from or write to the TatManualAdjustmentRuleset property.

  • Lua

  • C#

-- Read from the TatManualAdjustmentRuleset
syslib.getvalue("<OBJECT FULL PATH>.TatAdvancedConfiguration.TatManualConfiguration.TatManualAdjustmentRuleset")

-- Write to the TatManualAdjustmentRuleset
syslib.setvalue("<OBJECT FULL PATH>.TatAdvancedConfiguration.TatManualConfiguration.TatManualAdjustmentRuleset", '{"meta":{"id":"urn:id:22:2"},"data":{"Input":[1.0,2.0],"Value":["v1","v2"]}}')
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "<username>", Password = "<password>" };
StatelessInterface sli = new StatelessInterface(tcpcfg);

// Read from the TatManualAdjustmentRuleset
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.TatAdvancedConfiguration.TatManualConfiguration.TatManualAdjustmentRuleset"));
// Write to the TatManualAdjustmentRuleset
Result result = sli.WriteValue(sc, new WriteItem('{"meta":{"id":"urn:id:22:2"},"data":{"Input":[1.0,2.0],"Value":["v1","v2"]}}', "<OBJECT FULL PATH>.TatAdvancedConfiguration.TatManualConfiguration.TatManualAdjustmentRuleset"));