OTX Reference  
OpenTestSystem.Otx.Extensions.Persistence.Actions.Load Class Reference

Loads the value of a previously stored OTX variable. More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.Persistence.Actions.Load:
Inheritance graph

Public Attributes

BooleanVariable isLoaded
 Optional return value if the OTX variable was previously stored and can be laoded (True) or not (False). More...
 
Variable value
 The Variable to be retrieved from the storage. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Actions.ActionRealisation
OtxLink validFor
 Validity of ActionRealisation. More...
 

Detailed Description

Loads the value of a previously stored OTX variable.

The Load activity loads the value of a previously stored OTX variable from the storage. If the variable cannot be retrieved from the storage the value of the variable shall be unchanged.

Checker rules
CheckerRule.Persistence_Chk001 – Persistable data types
CheckerRule.Persistence_Chk002 – No Path in persisted value

Syntax
Persistence.Load(BooleanVariable isLoaded, Variable value);
Variable value
The Variable to be retrieved from the storage.
Definition: Persistence.cs:225
BooleanVariable isLoaded
Optional return value if the OTX variable was previously stored and can be laoded (True) or not (Fals...
Definition: Persistence.cs:215
Examples
// Local Declarations
Float Float1;
Boolean IsLoaded1 = true;
// Flow
Persistence.Load(IsLoaded1, Float1);

Member Data Documentation

◆ isLoaded

BooleanVariable OpenTestSystem.Otx.Extensions.Persistence.Actions.Load.isLoaded

Optional return value if the OTX variable was previously stored and can be laoded (True) or not (False).

◆ value

Variable OpenTestSystem.Otx.Extensions.Persistence.Actions.Load.value

The Variable to be retrieved from the storage.