Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To add information on the DEMO_DEVICE object, do the following:

  1. Open intellect.ddi file in one of the following ways:
    1. Go to the Intellect\Tools folder and run ddi.exe.
      1. In the program window, select the DDI tab.
      2. In the File menu, select Open. The Open dialog box appears.
      3. Go to the Intellect\Languages\en folder and select intellect.ddi. The window of ddi.exe shows a list of objects.
    2. Open the Intellect\Tools folder in Windows Explorer or any other file manager, then double-click the intellect.ddi file.
  2. Add the object by selecting Add in the list's context menu or by pressing the Insert key.
  3. 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.

  4. In the Names tab, enter an object name.

  5. In the relevant tabs, add information on the DEMO_DEVICE object.
    1.  In the Events tab, add the ON and OFF events.
    2. In the Reactions tab, add the ON and OFF actions.
    3.  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.
    4. 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).

      Info
      titleNote.
      The names of the BMP files in the Intellect\Bmp folder must have the following format:
      <Image ID>_<State ID>
      If an image ID is not set, the BMP file name must be the following:
      <Object ID>_<State ID>


      Info
      titleNote.
       The Map may show objects using lines (that is, without using BMP files). In this case, when an object changes its state, the line color changes.  For a state, the color (RGB) is set as follows:
       <State>$R:G:B


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

      Info
      titleNote.

      If the Transition from state field is left blank, the rule will apply to all starting states.


  6. To save changes, in the File menu, select Save.

...