You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Next »
This section shows how to add information on the DEMO_SERVICE object to intellect.ddi by using the ddi.exe tool.
To add information on the DEMO_DEVICE object, do the following:
- Open intellect.ddi file in one of the following ways:
- Go to the Intellect\Tools folder and run ddi.exe.
- In the program window, select the DDI tab.
- In the File menu, select Open. The Open dialog box appears.
- Go to the Intellect\Languages\en folder and select intellect.ddi. The window of ddi.exe shows a list of objects.
- Open the Intellect\Tools folder in Windows Explorer or any other file manager, then double-click the intellect.ddi file.
- Add the object by selecting Add in the list's context menu or by pressing the Insert key.
A dialog box opens. In the ID field, enter an object name (used for identification) and click OK.

The DEMO_DEVICE object is now shown in the list of objects.
In the Names tab, enter an object name.

- In the relevant tabs, add information on the DEMO_DEVICE object.
- In the Events tab, add the ON and OFF events.

- In the Reactions tab, add the ON and OFF actions.

- In the Icons tab, enter a BMP file name (the part that serves as an image ID). Image IDs allow you to use multiple BMP files to show objects of the same type on the Map.

In the States tab, add the ON and OFF states. To show an object state on the Map, enter a BMP file name (the part that serves as an ID of the state).

In the Transition Rules tab, set a rule for transitioning from one state to another after a certain event.

- To save changes, in the File menu, select Save.
The information on the DEMO_DEVICE object is now added.