05-18-2012 05:07 PM
Hi would you please let me know which design pattern is good to implement something like the following flowchart. how is event+state diagram
05-18-2012 05:10 PM
It looks like a pretty basic state machine to me. It may not even have to be that. It seems to be pretty much just two comparisons back to back.
I don't see anything in what you've shown that implies you need any event handling.
What happens if the seconday sensor active is "yes" at the bottom of the chart?