Beispiel #1
0
 public void RemoveInput(RouterInput input)
 {
     inputs.Remove(input);
     input.RemovedFromRouter(this);
     updateInputIndices();
 }
Beispiel #2
0
 protected abstract bool setCrosspoint(RouterOutput output, RouterInput input);
Beispiel #3
0
 public Label(Labelset labelset, string text, RouterInput routerInput)
 {
     this.Labelset    = labelset;
     this.text        = text;
     this.RouterInput = routerInput;
 }
Beispiel #4
0
 public void restoreRouterInputAssociation()
 {
     RouterInput = RouterDatabase.Instance.GetTById(_routerId).Inputs[_routerInputIndex];
 }
Beispiel #5
0
 public Crosspoint(RouterOutput output, RouterInput input)
 {
     Output = output;
     Input  = input;
 }
Beispiel #6
0
 private void crosspointGreenTallyChangedHandler(RouterInput input, bool newState)
 {
     GreenTallyChanged?.Invoke(this, false, newState);
 }
Beispiel #7
0
 private void crosspointSourceNameChangedHandler(RouterInput input, string newName)
 {
     SourceSignalNameChanged?.Invoke(this, newName);
 }
Beispiel #8
0
 private void crosspointSourceChangingHandler(RouterInput input, ISignal oldSource, ISignal newSource)
 {
     removeIndirectTalliesFromSource(oldSource);
 }
Beispiel #9
0
 private void crosspointSourceChangedHandler(RouterInput input, ISignal oldSource, ISignal newSource)
 {
     sendIndirectTalliesToSource(newSource);
 }