Exemple #1
0
 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);
     }
 }
Exemple #2
0
 private void crosspointSourceNameChangedHandler(RouterInput input, string newName)
 {
     SourceSignalNameChanged?.Invoke(this, newName);
 }