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
eeros_architecture:safety_system:properties [2021/05/19 15:32] ursgrafeeros_architecture:safety_system:properties [2023/02/25 07:30] (current) – [Safety Events] ursgraf
Line 60: Line 60:
 <code c> <code c>
   // Add events to multiple levels   // Add events to multiple levels
-  addEventToLevelAndAbove(slPowerOn, seDoEmergency, kPublicEvent);+  addEventToLevelAndAbove(slPowerOn, seDoEmergency, slEmergency, kPublicEvent);
 </code> </code>
 Two more functions serve a similar purpose. Two more functions serve a similar purpose.
 <code c> <code c>
   // 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, event, destLevel, kPublicEvent);
   // Add events to all levels in between lowerLevel and upperLevel (including lowerLevel and upperLevel)   // Add events to all levels in between lowerLevel and upperLevel (including lowerLevel and upperLevel)
-  addEventToAllLevelsBetween(lowerLevel, upperLevel, destLevel, event, kPublicEvent);+  addEventToAllLevelsBetween(lowerLevel, upperLevel, event, destLevel, kPublicEvent);
 </code> </code>
  
eeros_architecture/safety_system/properties.1621431139.txt.gz · Last modified: 2021/05/19 15:32 by ursgraf