// diverse constructors are used for different modi public DeviceSignalSequencer(DeviceSignalSequencerConfiguration config, ITimer PulseOnTimer, ITimer PulseOffTimer ) { _config = config; _PulseOnTimer = PulseOnTimer; _PulseOffTimer = PulseOffTimer; _PulseOnTimer.Elapsed += _PulseOnTimer_Elapsed; _PulseOffTimer.Elapsed += _PulseOffTimer_Elapsed; Constructor( ); }
public DeviceSignalSequencer(DeviceSignalSequencerConfiguration config, ITimer PulseOffTimer, ITimer PulseOnTimer, ITimer NextSequenceTimer, ITimer SequencerFinishedTimer) { _config = config; _PulseOnTimer = PulseOnTimer; _PulseOffTimer = PulseOffTimer; _NextSequenceTimer = NextSequenceTimer; _SequencerFinishedTimer = SequencerFinishedTimer; _PulseOnTimer.Elapsed += _PulseOnTimer_Elapsed; _PulseOffTimer.Elapsed += _PulseOffTimer_Elapsed; _NextSequenceTimer.Elapsed += _NextSequenceTimer_Elapsed; _SequencerFinishedTimer.Elapsed += _SequencerFinishedTimer_Elapsed; Constructor( ); }