Implements the UIComponent interface to produce and control a restaurant component. Refer to the documentation of dashboard/UIComponent for more detailed information.
Note the dashboard assumes web components are defined with the special name 'componentName'. It will replace this string before intialization.
- Version:
- $$Id$$
- Source:
Inputs:
Name | Type | Description |
---|---|---|
userInput |
A JSON message produced by the instantiated restaurant web component in the dashboard. |
Outputs:
Name | Type | Description |
---|---|---|
componentUpdate |
A websocket message produced upon initialization to send the restaurant component to the dashboard app. |
Parameters:
Name | Type | Description |
---|---|---|
componentID |
A unique ID used for communication with the restaurant component. |
Members
(inner) parkingComponentTimeout
Set up the accessor by defining the inputs and outputs.
(inner) restaurantComponentTimeout
Set up the accessor by defining the inputs and outputs.