InfrastructureGracePeriod Property

General info

Label

Infrastructure Grace

Description

The timespan after which an infrastructure failure is reported as communication error.

Data type

Int32

Default value

1800

Min value

0

Max value

86400

Type

Regular

Code

5332

Symbolic name

MODEL_PROP_INFRASTRUCTUREGRACEPERIOD

Lua access code

syslib.model.properties.InfrastructureGracePeriod

Available since

1.48

Parent classes

HistoryController

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.
PROP_HAS_DEFAULT The property has a default value as standard.
PROP_UNIT The property has an engineering unit.
PROP_HAS_LOLIMIT The property has a low limit.
PROP_HAS_HILIMIT The property has a high limit.

Examples

Read from or write to the InfrastructureGracePeriod property.

  • Lua

  • C#

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

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

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