T-n-T: Priority event pipeline

The problem

It is required to organize the sequence of event processing depending on their priority.

The solution

The solution (diagram).

When this or that event occurs, they are recorded using triggers and the named network “For processing” is assigned a constant from the corresponding 2-in-1 switch. At the same time, when several events occur simultaneously, the network will be assigned the value of a constant set by the switch with a higher sequence number (which is responsible for monitoring events with a higher sequence number). Thus, an event with a higher sequence number is given a higher priority. The constants corresponding to other occurred events, taking into account the priority, will be assigned to the named network after the higher priority event is processed - none of the events that have occurred will be lost.

If necessary, using this approach, you can create cascades for more events.

TODO:TRANSLATE

SEE ALSO