private void VisitWire(NationalInstruments.SourceModel.Wire wire) { var dfirWire = (NationalInstruments.Dfir.Wire)_map.GetDfirForModel(wire); bool isFirstVariableWire = dfirWire.GetIsFirstVariableWire(); wire.SetIsFirstVariableWire(isFirstVariableWire); NationalInstruments.Dfir.Terminal dfirSourceTerminal; if (dfirWire.TryGetSourceTerminal(out dfirSourceTerminal)) { wire.SetWireVariable(dfirSourceTerminal.GetFacadeVariable()); } if (!isFirstVariableWire) { wire.SetWireBeginsMutableVariable(false); } }
public void VisitWire(Wire wire) { _modelWires.Add(wire); }