-
inherited
callInterpreter(_dataToInterpret, _function)
-
Validates the data and calls interpretData.
Name |
Type |
Description |
_dataToInterpret |
AttributeValueList
|
Data that should be interpreted. |
_function |
function
|
nullable
For additional actions, if an asynchronous function is used. |
-
-
Checks whether the specified data match the expected.
-
-
Check status.
Name |
Type |
Description |
json |
Array
|
|
-
-
Returns the id of the interpreter.
-
-
Returns the expected inAttributeTypes.
-
-
Returns the interpreted data.
-
-
Returns the description of this component.
-
inherited
protectedgetLastInterpretionTime(){Date}
-
Returns the time of the last interpretation.
-
-
Returns the name of the interpreter.
-
-
Returns the provided outAttributeTypes.
-
-
Returns the type of this class, in this case
"Interpreter".
-
privategoogleGetAddress(json, self)
-
Stores address in array.
-
protectedinitInAttributes()
-
Initializes inAttributes. For this class: Latitude and
Longitude
-
-
Initializes interpreter and sets the expected inAttributes
and provided outAttributes.
-
protectedinitOutAttributes()
-
Initializes outAttributes. For this class: Address as String
-
protectedinterpretData(_data, _function)
-
Changes coordinates to address
Name |
Type |
Description |
_data |
AttributeValueList
|
list of data that should be interpreted |
_function |
function
|
nullable
for additional actions, if an asynchronous function is used |
-
inherited
protectedisInAttribute(_attribute){boolean}
-
Verifies whether the specified attribute is contained in inAttributeList.
Name |
Type |
Description |
_attribute |
AttributeValue
|
Attribute that should be verified. |
-
inherited
protectedisOutAttribute(_attribute){boolean}
-
Verifies whether the specified attribute is contained in outAttributeList.
Name |
Type |
Description |
_attribute |
AttributeValue
|
Attribute that should be verified. |
-
-
Registers the component to the associated Discoverer.
-
-
Sets and registers to the associated Discoverer.
Name |
Type |
Description |
_discoverer |
Discoverer
|
Discoverer |
-
inherited
protectedsetInAttribute(_name, _type, _value, _parameter)
-
Sets an inAttribute.
Name |
Type |
Description |
_name |
string
|
name of the attribute |
_type |
string
|
type of the attribute |
_value |
string
|
value of the attribute |
_parameter |
ParameterList
|
Array
|
Parameter of the attribute. |
-
inherited
protectedsetInAttributeValues(_attributeValueList)
-
Sets an inAttributes.
-
inherited
protectedsetOutAttribute(_name, _type, _value, _parameter)
-
Adds an outAttribute.
Name |
Type |
Description |
_name |
string
|
name of the attribute |
_type |
string
|
type of the attribute |
_value |
string
|
value of the attribute |
_parameter |
ParameterList
|
Array
|
Parameter of the attribute. |