PHDBridgeOpenTime Property

General info

Label

Bridge Open Time

Description

The duration the PHD-Bridge is open.

Data type

String

Type

Regular

Code

12494

Symbolic name

MODEL_PROP_PHDBRIDGEOPENTIME

Lua access code

syslib.model.properties.PHDBridgeOpenTime

Available since

1.74

Parent properties

PHDBridgeDiagnostics

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 PHDBridgeOpenTime property.

  • Lua

  • C#

-- Read from the PHDBridgeOpenTime
syslib.getvalue("<OBJECT FULL PATH>.TransporterConfiguration.AlternativeInterfaceParameter.PHDConnection.PHDBridgeDiagnostics.PHDBridgeOpenTime")

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

// Read from the PHDBridgeOpenTime
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.TransporterConfiguration.AlternativeInterfaceParameter.PHDConnection.PHDBridgeDiagnostics.PHDBridgeOpenTime"));
// Write to the PHDBridgeOpenTime
Result result = sli.WriteValue(sc, new WriteItem("new value", "<OBJECT FULL PATH>.TransporterConfiguration.AlternativeInterfaceParameter.PHDConnection.PHDBridgeDiagnostics.PHDBridgeOpenTime"));