public void AddPartIndex(PartIndex idx, PartIdType partIdType) { if (partIdType == PartIdType.SHEETNUMBER) { SheetNumberPartIndicies.Add(idx); } else { SheetNamePartIndicies.Add(idx); } }
public SheetPartData(string libraryId, PartIdType partIdType, int partIdOrder, string partDescription, string partPattern, int partPatternGroup, int partMinLen, int partMaxLen, string partFormat) { LibraryId = libraryId; PartIdType = partIdType; PartIdOrder = partIdOrder; PartDescription = partDescription; PartPattern = partPattern; PartPatternGroup = partPatternGroup; PartMinLen = partMinLen; PartMaxLen = partMaxLen; PartFormat = partFormat; }