public InternalLink(ILinkableComponent1 component1Source, IOutputExchangeItem source1, ITimeSpan timeHorizon) { _component1Source = component1Source; _component1Target = new DummyComponent1Target(timeHorizon); _quantity1 = source1.Quantity; _elementSet1 = source1.ElementSet; }
public InternalLink(ILinkableComponent1 component1Target, IInputExchangeItem target1, ITimeSpan timeHorizon, IValueSetConverterTime convertor, bool isVector) { _component1Source = new DummyComponent1Source(timeHorizon, convertor, isVector); _component1Target = component1Target; _quantity1 = target1.Quantity; _elementSet1 = target1.ElementSet; }