Topic: Algorithm of interpretation
Let's admit there is a device which lights color LEDs signaling about the state.
It is necessary to interpret these states, them can be much and write down in a collection of events
1. Burn only and others do not burn - there was an event And if together with other events burn also Instead of was.
2. Burn , and the state of others - happened event B.
How to describe and store in the code all these combinations of cases? Language C#