public EventSignal CurrentEventSignal; //gc-warning: using struct for EventSignal public StateEvent() { CurrentEventSetting = EventSetting.CreateNullEventAction(); CurrentEventSignal = EventSignal.CreateNullEventAction(); }
public EventSignal(int timeOfOutput, EventSetting eventAction) : this(timeOfOutput, eventAction.GetLengthOfDelay(), eventAction.GetLengthOfOn(), eventAction.GetModulusOfSignal(), eventAction.GetLengthOfSignal(), eventAction.GetAmplificationOfAction()) { }