Lamp


Description

The class LampWheel is a very simple example of a component that simulates the behavior of a generic lamp wheel.  
The description of the lamp wheel is on the CDB using the format dictated by the schema definition. It has one asynchronous method: move(...) that rotates the lamp wheel to the position of the selected slot. It also has three read-only properties: position, desc, slots.

What can I gain from this example?



Links