User Tools

Site Tools


eeros_architecture:safety_system:properties

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
eeros_architecture:safety_system:properties [2017/07/25 08:46] – [Safety Events] grafeeros_architecture:safety_system:properties [2017/07/25 08:48] – [Safety Events] graf
Line 59: Line 59:
 It is also possible to add an event to many levels. In the following example we add from the level //slPowerOn// until the level //slMoving// the event //seDoEmergency//, which causes a transition to the level //emergency// and is a public event. It is also possible to add an event to many levels. In the following example we add from the level //slPowerOn// until the level //slMoving// the event //seDoEmergency//, which causes a transition to the level //emergency// and is a public event.
 <code c> <code c>
- // Add events to multiple levels+  // Add events to multiple levels
   addEventToLevelAndAbove(slPowerOn, slMoving, seDoEmergency, kPublicEvent);   addEventToLevelAndAbove(slPowerOn, slMoving, seDoEmergency, kPublicEvent);
 </code> </code>
Line 66: Line 66:
   // Add events to all levels equal or smaller than srcLevel   // Add events to all levels equal or smaller than srcLevel
   addEventToLevelAndBelow(srcLevel, destLevel, event, kPublicEvent);   addEventToLevelAndBelow(srcLevel, destLevel, event, kPublicEvent);
 +  // Add events to all levels in between lowerLevel and upperLevel (including lowerLevel and upperLevel)
 +  addEventToAllLevelsBetween(lowerLevel, upperLevel, destLevel, event, kPublicEvent);
 </code> </code>
  
eeros_architecture/safety_system/properties.txt · Last modified: 2024/06/10 09:45 by ursgraf