Extract referenced configuration name with part.
This commit is contained in:
@@ -12,10 +12,10 @@
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<PublishUrl>\\SERVER4\Data\Software\ExportDXF\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<InstallFrom>Unc</InstallFrom>
|
||||
<UpdateEnabled>true</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
@@ -23,8 +23,8 @@
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<PublisherName>Rogers Engineering</PublisherName>
|
||||
<ApplicationRevision>3</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.2.%2a</ApplicationVersion>
|
||||
<ApplicationRevision>6</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.3.%2a</ApplicationVersion>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<PublishWizardCompleted>true</PublishWizardCompleted>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
|
||||
@@ -584,6 +584,7 @@ namespace ExportDXF.Forms
|
||||
partsSheet.Cells[row, col++].Value = item.Quantity;
|
||||
partsSheet.Cells[row, col++].Value = item.Description;
|
||||
partsSheet.Cells[row, col++].Value = item.PartName;
|
||||
partsSheet.Cells[row, col++].Value = item.Configuration;
|
||||
|
||||
if (item.Thickness > 0)
|
||||
partsSheet.Cells[row, col].Value = item.Thickness;
|
||||
|
||||
@@ -10,6 +10,8 @@ namespace ExportDXF
|
||||
|
||||
public string PartName { get; set; }
|
||||
|
||||
public string Configuration { get; set; }
|
||||
|
||||
public int Quantity { get; set; }
|
||||
|
||||
public string Description { get; set; }
|
||||
|
||||
@@ -81,6 +81,7 @@ namespace ExportDXF
|
||||
}
|
||||
|
||||
item.Component = GetComponent(rowIndex);
|
||||
item.Configuration = item.Component.ReferencedConfiguration;
|
||||
|
||||
return item;
|
||||
}
|
||||
@@ -185,7 +186,8 @@ namespace ExportDXF
|
||||
{
|
||||
PartName = name,
|
||||
Quantity = group.Count(),
|
||||
Component = component
|
||||
Component = component,
|
||||
Configuration = component.ReferencedConfiguration
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user