OTX Reference  
OpenTestSystem.Otx.Extensions.Range.Actions.SetRangedFloatValue Class Reference

Sets the value of the given RangedFloat More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.Range.Actions.SetRangedFloatValue:
Inheritance graph

Public Attributes

RangedFloatVariable rangedObject
 This is the variable which refers to the RangedFloat. More...
 
NumericTerm value
 Represents the value of the RangedFloat. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Actions.ActionRealisation
OtxLink validFor
 Cardinality [0..1]
Validity of ActionRealisation. More...
 

Detailed Description

Sets the value of the given RangedFloat

SetRangedFloatValue sets the value of the given RangedFloat.

Syntax
Range.SetRangedFloatValue(RangedFloatVariable rangedObject, NumericTerm value);
NumericTerm value
Represents the value of the RangedFloat.
Definition: Range.cs:858
RangedFloatVariable rangedObject
This is the variable which refers to the RangedFloat.
Definition: Range.cs:848
Examples
// Local Declarations
Range.FloatInterval FloatInterval1;
List<Range.FloatInterval> ListInterval1;
Range.RangedFloat RangedFloat1;
Float Value1;
// Flow
FloatInterval1 = Range.CreateFloatInterval(5.0, 100.0, @IntervalSemantic:SUCCESS, "Label1");
ListAppendItems(ListInterval1, {FloatInterval1});
RangedFloat1 = Range.CreateRangedFloat(20.5, ListInterval1);
Value1 = Range.GetRangedFloatValue(RangedFloat1);
Range.SetRangedFloatValue(RangedFloat1, 50.5);
Value1 = Range.GetRangedFloatValue(RangedFloat1);

Member Data Documentation

◆ rangedObject

RangedFloatVariable OpenTestSystem.Otx.Extensions.Range.Actions.SetRangedFloatValue.rangedObject

This is the variable which refers to the RangedFloat.

◆ value

NumericTerm OpenTestSystem.Otx.Extensions.Range.Actions.SetRangedFloatValue.value

Represents the value of the RangedFloat.