public override void ReceivedAxissegment(IImportedSegment axisSegment) { if (Pass != AxisImportPass.Segmente) { return; } ReceivedItem(axisSegment); }
public override void ReceivedAxissegment(IImportedSegment axisSegment) { if (Pass != AxisImportPass.Segmente) { return; } //if (axisSegment.Operation != AxisImportOperation.INSERT) throw new AxisImportException("invalid operation for segment id=" + axisSegment.Id); ReceivedItem(axisSegment); }
public void ReceivedAxissegment(IImportedSegment axisSegment) { var d = axisSegment.Shape; if (!achsenToSegmentDict.ContainsKey(axisSegment.AchsenId)) { achsenToSegmentDict[axisSegment.AchsenId] = new List <IImportedSegment>(2); } achsenToSegmentDict[axisSegment.AchsenId].Add(axisSegment); achsenSegmentDict.Add(axisSegment.Id, axisSegment); //Console.WriteLine("segment" + axisSegment.AchsenId + " -> shape: " + axisSegment.Shape); }
public abstract void ReceivedAxissegment(IImportedSegment axisSegment);
protected void CloneSegmentAttributesWithoutId(KopieAchsenSegment targetItem, IImportedSegment importedSegment) { targetItem.AchsenId = importedSegment.AchsenId; targetItem.Name = importedSegment.Name; targetItem.Sequence = importedSegment.Sequence; targetItem.Operation = importedSegment.Operation; targetItem.Shape = importedSegment.Shape; }