Versions Compared

Key

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

...

  1. Create the Rule of states transition object.
    1. Select Create object  Rule of states transition in the context menu of the Region object.
    2. Enter the number and the name of the created object.

      Info
      titleNote

      The number of the object should be in the range from 1 to 65534.

    3. Click the Apply button.

      Info
      titleNote

      As a result, the settings panel for the Rule of states transition object will be displayed.

  2. Set the condition for triggering the rule on the settings panel of the Rule of states transition object.
    1. Select the object type from the Type list in the Objects states table and in the State list specify list specify the state of this object at which the Region region state should be changed.

      InfotitleNote

    2. Repeat step 2.a for all required object types.
    3. From the Type of comparison list, select a required value:
      1. AND (all objects)—to change

         If

        the state of the

        Region should be changed when

        region if all objects of the specified types

        added to the Objects states table

        are in

        these states, select the AND (all objects) value from the Type of comparison list.If

        all specified states.

      2. OR (at least one object)—to change the state of the

        Region should be changed when

        region if at least one object of the specified type

        added to the Objects states table

        is in at least one of the specified states

        , select the OR (at least one object) value from the Type of comparison list

        .

    4. In the Event list of the Send events table, select the event generated by the Region object when the rule condition is met.
  3. Click the Apply button to save the changes.

The Rule of states transition is now created.