TPMCustomReasonsTranslationUserdefined Property

General info

Label

Userdefined Custom Reasons Translation

Description

Userdefined Custom Reasons Translation.

Data type

String

Default value

"{\"meta\":{\"id\":\"urn:id:87:5\"}}"

Type

TableSchemaBound

Code

13270

Symbolic name

MODEL_PROP_TPMCUSTOMREASONSTRANSLATIONUSERDEFINED

Lua access code

syslib.model.properties.TPMCustomReasonsTranslationUserdefined

Available since

1.88

Parent properties

TPMTranslationsUserdefined

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: TPMCustomReasonsTranslation

Description:

Columns
Column Data Type Nullable Unique Default Min Max Description
CustomReasonID String false false
TranslationTarget Integer false false

Examples

Read from or write to the TPMCustomReasonsTranslationUserdefined property.

  • Lua

  • C#

-- Read from the TPMCustomReasonsTranslationUserdefined
syslib.getvalue("<OBJECT FULL PATH>.TPMStopReasonCodingsUserdefined.TPMTranslationsUserdefined.TPMCustomReasonsTranslationUserdefined")

-- Write to the TPMCustomReasonsTranslationUserdefined
syslib.setvalue("<OBJECT FULL PATH>.TPMStopReasonCodingsUserdefined.TPMTranslationsUserdefined.TPMCustomReasonsTranslationUserdefined", '{"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 TPMCustomReasonsTranslationUserdefined
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.TPMStopReasonCodingsUserdefined.TPMTranslationsUserdefined.TPMCustomReasonsTranslationUserdefined"));
// Write to the TPMCustomReasonsTranslationUserdefined
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>.TPMStopReasonCodingsUserdefined.TPMTranslationsUserdefined.TPMCustomReasonsTranslationUserdefined"));