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

Saves the value of an OTX variable. More...

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

Public Attributes

Variable value
 The Variable to be stored persistently. The variable shall have a valid datatype, which is checked by a new checker rule. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Actions.ActionRealisation
OtxLink validFor
 Validity of ActionRealisation. More...
 

Detailed Description

Saves the value of an OTX variable.

The Save activity saves the value of an OTX variable of a valid datatype to the storage.

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

Syntax
Persistence.Save(Variable value);
Variable value
The Variable to be stored persistently. The variable shall have a valid datatype, which is checked by...
Definition: Persistence.cs:152
Examples
// Local Declarations
Float Float1;
// Flow
Persistence.Save(Float1);

Member Data Documentation

◆ value

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

The Variable to be stored persistently. The variable shall have a valid datatype, which is checked by a new checker rule.