Table of Contents |
---|
...
Info |
---|
This reference describes all objects included with the Quantum IoT Developer Releaserelease 1.0 . Objects include WidgetsHardware, GadgetsInterface, Snippets Code and GatewaysServices. Applications are built by connecting these objects to perform desired functions. |
Anatomy of an Object
Name
The object name is shown at the top of the object. This name is defined by the user and be of any value.
Categories
Categories are used to efficiently map the application to the various hardware components in the system.
Ports
Ports are the connection point to attach links to the object. Type checking ensures only compatible ports can be connected. When possible, type conversion is performed automatically. For example, passing an integer to a text field will convert the number to a string.
Every port can be initialized at runtime by setting the default value.
Port Properties
Info |
---|
Port properties are set in the App Builder by clicking on a port attach point on the object. |
Name | Description |
---|---|
Name | The name of the port. Can’t be changed except for Custom Snippets. |
Trigger | Default on. When set, any messages sent to this port will trigger execution of the object. If off, object will retain the message and not call the object code. |
Message Type | Specifies the port message type. |
Default Value | Loads the message with a default value. Application specific data can be provided by setting the Default Value and not connecting a Link to the Port. |
Object Properties
Info |
---|
These properties affect the object as a whole. |
Name | Type of Objects | Description |
---|---|---|
Name | Hardware, Interface, Code, Service, Misc | The name of the object on the canvas. |
App Mapping Description | Hardware | When a hardware object requires mapping, this description is shown when the mapping function has been opened. |
Multiwidget | Hardware | Decide wether or not this hardware object can be mapped to single or multiple hardware components. |
Group | Interface | The group (and tab) this interface object is assigned to on the dashboard of the app. |
Label | Interface | The label of the Interface Object on the Dashboard. |
Show Code View | Code | The switch to turn on code view for the Code Object. |