Skip to content

/AWS1/CL_IOISENSOR

An input component that reports the environmental condition of a vehicle.

You can collect data about fluid levels, temperatures, vibrations, or battery voltage from sensors.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_fullyqualifiedname TYPE /AWS1/IOISTRING /AWS1/IOISTRING

The fully qualified name of the sensor. For example, the fully qualified name of a sensor might be Vehicle.Body.Engine.Battery.

iv_datatype TYPE /AWS1/IOINODEDATATYPE /AWS1/IOINODEDATATYPE

The specified data type of the sensor.

Optional arguments:

iv_description TYPE /AWS1/IOIDESCRIPTION /AWS1/IOIDESCRIPTION

A brief description of a sensor.

iv_unit TYPE /AWS1/IOISTRING /AWS1/IOISTRING

The scientific unit of measurement for data collected by the sensor.

it_allowedvalues TYPE /AWS1/CL_IOILISTOFSTRINGS_W=>TT_LISTOFSTRINGS TT_LISTOFSTRINGS

A list of possible values a sensor can take.

iv_min TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

The specified possible minimum value of the sensor.

iv_max TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

The specified possible maximum value of the sensor.

iv_deprecationmessage TYPE /AWS1/IOIMESSAGE /AWS1/IOIMESSAGE

The deprecation message for the node or the branch that was moved or deleted.

iv_comment TYPE /AWS1/IOIMESSAGE /AWS1/IOIMESSAGE

A comment in addition to the description.

iv_structfullyqualifiedname TYPE /AWS1/IOINODEPATH /AWS1/IOINODEPATH

The fully qualified name of the struct node for a sensor if the data type of the actuator is Struct or StructArray. For example, the struct fully qualified name of a sensor might be Vehicle.ADAS.CameraStruct.


Queryable Attributes

fullyQualifiedName

The fully qualified name of the sensor. For example, the fully qualified name of a sensor might be Vehicle.Body.Engine.Battery.

Accessible with the following methods

Method Description
GET_FULLYQUALIFIEDNAME() Getter for FULLYQUALIFIEDNAME, with configurable default
ASK_FULLYQUALIFIEDNAME() Getter for FULLYQUALIFIEDNAME w/ exceptions if field has no
HAS_FULLYQUALIFIEDNAME() Determine if FULLYQUALIFIEDNAME has a value

dataType

The specified data type of the sensor.

Accessible with the following methods

Method Description
GET_DATATYPE() Getter for DATATYPE, with configurable default
ASK_DATATYPE() Getter for DATATYPE w/ exceptions if field has no value
HAS_DATATYPE() Determine if DATATYPE has a value

description

A brief description of a sensor.

Accessible with the following methods

Method Description
GET_DESCRIPTION() Getter for DESCRIPTION, with configurable default
ASK_DESCRIPTION() Getter for DESCRIPTION w/ exceptions if field has no value
HAS_DESCRIPTION() Determine if DESCRIPTION has a value

unit

The scientific unit of measurement for data collected by the sensor.

Accessible with the following methods

Method Description
GET_UNIT() Getter for UNIT, with configurable default
ASK_UNIT() Getter for UNIT w/ exceptions if field has no value
HAS_UNIT() Determine if UNIT has a value

allowedValues

A list of possible values a sensor can take.

Accessible with the following methods

Method Description
GET_ALLOWEDVALUES() Getter for ALLOWEDVALUES, with configurable default
ASK_ALLOWEDVALUES() Getter for ALLOWEDVALUES w/ exceptions if field has no value
HAS_ALLOWEDVALUES() Determine if ALLOWEDVALUES has a value

min

The specified possible minimum value of the sensor.

Accessible with the following methods

Method Description
GET_MIN() Getter for MIN, with configurable default
ASK_MIN() Getter for MIN w/ exceptions if field has no value
STR_MIN() String format for MIN, with configurable default
HAS_MIN() Determine if MIN has a value

max

The specified possible maximum value of the sensor.

Accessible with the following methods

Method Description
GET_MAX() Getter for MAX, with configurable default
ASK_MAX() Getter for MAX w/ exceptions if field has no value
STR_MAX() String format for MAX, with configurable default
HAS_MAX() Determine if MAX has a value

deprecationMessage

The deprecation message for the node or the branch that was moved or deleted.

Accessible with the following methods

Method Description
GET_DEPRECATIONMESSAGE() Getter for DEPRECATIONMESSAGE, with configurable default
ASK_DEPRECATIONMESSAGE() Getter for DEPRECATIONMESSAGE w/ exceptions if field has no
HAS_DEPRECATIONMESSAGE() Determine if DEPRECATIONMESSAGE has a value

comment

A comment in addition to the description.

Accessible with the following methods

Method Description
GET_COMMENT() Getter for COMMENT, with configurable default
ASK_COMMENT() Getter for COMMENT w/ exceptions if field has no value
HAS_COMMENT() Determine if COMMENT has a value

structFullyQualifiedName

The fully qualified name of the struct node for a sensor if the data type of the actuator is Struct or StructArray. For example, the struct fully qualified name of a sensor might be Vehicle.ADAS.CameraStruct.

Accessible with the following methods

Method Description
GET_STRUCTFULLYQUALIFIEDNAME() Getter for STRUCTFULLYQUALIFIEDNAME, with configurable defau
ASK_STRUCTFULLYQUALIFIEDNAME() Getter for STRUCTFULLYQUALIFIEDNAME w/ exceptions if field h
HAS_STRUCTFULLYQUALIFIEDNAME() Determine if STRUCTFULLYQUALIFIEDNAME has a value