The Method SendFeedback is used to send any type of feedback to a given asset. The feedback can be a text input or other types of feedback supported by the asset.
Note: The types of feedback files supported is application specific. Refer to the application documentation or configuration for the details of the feedback files.
The signature of this Method is specified below. Table 68 and
Table 69 specify the Arguments and AddressSpace representation, respectively.
Signature
SendFeedback (
[in]0:String productInstanceUri,
[in]0:Int16 feedbackType,
[in]0:String feedbackText,
[in]0:String feedbackFile,
[out]0:Int64 status,
[out]0:LocalizedText statusMessage)
Table 68 – SendFeedback Method Arguments
Argument |
Description |
productInstanceUri |
With this argument the Client can provide the identifier of the asset on which this method is applicable. It can be empty if the method is modelled directly under the required asset. If it is empty, the system can consider the identifier of the asset where the Server is running. |
feedbackType |
It is the type of feedback and has the following pre-defined values: 0 – UNDEFINED 1 – OTHER 2 – TEXT 3 – VISUAL 4 – AUDIO 5 – VIBRATE |
feedbackText |
It is the text feedback if the feedbackType is TEXT. It is empty for any other feedback type. |
feedbackFile |
It is the file available in the asset which needs to be run for different types of feedback such as AUDIO, VIBRATE, etc. This can be retrieved using the GetFeedbackFileList method. It is optional and not applicable for text feedback. |
status |
It provides the status of the Method execution. Refer 7.2.3 for details. |
statusMessage |
It provides the high-level status information in a user-friendly text. |
Table 69 – SendFeedback Method AddressSpace Definition
Attribute |
Value |
||||
BrowseName |
SendFeedback |
||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
0:HasProperty |
Variable |
0:InputArguments |
0:Argument[] |
0:PropertyType |
0:Mandatory |
0:HasProperty |
Variable |
0:OutputArguments |
0:Argument[] |
0:PropertyType |
0:Mandatory |