private void fireChangeEventsAtCrosspointChange() { if (crosspoint == null) { SourceSignalChanged?.Invoke(this, null); SourceSignalNameChanged?.Invoke(this, null); RedTallyChanged?.Invoke(this, false, false); GreenTallyChanged?.Invoke(this, false, false); } else { SourceSignalChanged?.Invoke(this, crosspoint.SourceSignal); SourceSignalNameChanged?.Invoke(this, crosspoint.SourceSignalName); RedTallyChanged?.Invoke(this, false, crosspoint.RedTally); GreenTallyChanged?.Invoke(this, false, crosspoint.GreenTally); } }
private void crosspointSourceNameChangedHandler(RouterInput input, string newName) { SourceSignalNameChanged?.Invoke(this, newName); }