Help Center/
IoT/
FAQs/
Secondary Development/
FAQs About Product Development/
Profile Definition/
How to Select a Data Type When Developing a Profile Online
Updated on 2022-02-24 GMT+08:00
How to Select a Data Type When Developing a Profile Online
The rules for configuring Data Type are as follows:
- int: If the reported data is an integer or Boolean value, set the data type to this value. The plug-in can be of the int or array type.
- decimal: If the reported data is a decimal, set the data type to this value. The plug-in can be of the string, int, or array type.
- string: If the reported data is a string, enumerated value, or Boolean value, set the data type to this value. If enumerated or Boolean values are reported, use commas (,) to separate the values. The plug-in can be of the string or array type.
- DateTime: If the reported data is a date, set the data type to this value. The plug-in can be of the string or array type.
- jsonObject: If the reported data is in JSON structure, set the data type to this value. The plug-in can be of the string or array type.
Parent topic: Profile Definition
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot