OTX Reference  
OpenTestSystem.Otx.Extensions.EcuConfiguration.Actions.SetOptionItemValue Class Reference

Sets the value of the OptionItem to the given value. More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.EcuConfiguration.Actions.SetOptionItemValue:
Inheritance graph

Public Attributes

OptionItemTerm optionItem
 OptionItem which value will be set. More...
 
Term value
 Value to be set to the OptionItem. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Actions.ActionRealisation
OtxLink validFor
 Validity of ActionRealisation. More...
 

Detailed Description

Sets the value of the OptionItem to the given value.

The SetOptionItemValue-activity sets the value of the OptionItem to the given value.

Note
The appropriate MVCI system operation is MCDOptionItem::setItemValue.
Exceptions
Core.Exceptions.TypeMismatchExceptionIf the type of the value does not match the expected type for the option item's value.
Core.Exceptions.OutOfBoundsExceptionIf the value supplied as parameter is invalid for the OptionItem (not in range, conversion from physical value to coded value failed).
Syntax
SetOptionItemValue(OptionItemTerm optionItem, Term value);
OptionItemTerm optionItem
OptionItem which value will be set.
Definition: EcuConfiguration.cs:371
Term value
Value to be set to the OptionItem.
Definition: EcuConfiguration.cs:381

Member Data Documentation

◆ optionItem

OptionItemTerm OpenTestSystem.Otx.Extensions.EcuConfiguration.Actions.SetOptionItemValue.optionItem

OptionItem which value will be set.

◆ value

Term OpenTestSystem.Otx.Extensions.EcuConfiguration.Actions.SetOptionItemValue.value

Value to be set to the OptionItem.