Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ISO_ADM_Exporter/ISO_ADM_Exporter.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<PackageReference Include="AgGatewayADAPTFramework" Version="3.1.0" />
<PackageReference Include="AgGatewayADMPlugin" Version="3.0.2" />
<PackageReference Include="AgGatewayISOPlugin" Version="5.4.0" />
<!-- PackageReference Include="AgGateway.ADAPT.StandardPlugin" Version="0.9.7" / -->
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
</ItemGroup>
Expand Down
7 changes: 5 additions & 2 deletions ISO_ADM_Exporter/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ static void Main(string[] args)

AgGateway.ADAPT.ISOv4Plugin.Plugin isoPlugin = new AgGateway.ADAPT.ISOv4Plugin.Plugin();
AgGateway.ADAPT.ADMPlugin.Plugin admPlugin = new AgGateway.ADAPT.ADMPlugin.Plugin();
// AgGateway.ADAPT.StandardPlugin.Plugin standardPlugin = new AgGateway.ADAPT.StandardPlugin.Plugin();

;
int countModel = models.Count;
Expand All @@ -34,9 +35,11 @@ static void Main(string[] args)
Directory.CreateDirectory(folder);

isoPlugin.Export(models[i], folder, p);
Console.WriteLine("Wrote ISO file to " + folder);
Console.WriteLine("Wrote ISO files to " + folder);
admPlugin.Export(models[i], folder, p);
Console.WriteLine("Wrote ADM file to " + folder);
Console.WriteLine("Wrote ADM files to " + folder);
// standardPlugin.Export(models[i], folder, p);
// Console.WriteLine("Wrote ADAPT Std files to " + folder);

}
}
Expand Down
14 changes: 14 additions & 0 deletions ISO_ADM_Exporter/output/0/TASKDATA/LINKLIST.XML
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<LNK A="PDT1" B="Product.Name|3230Enlist" />
<LNK A="PDT1" B="Product.BrandName|Beck's" />
<LNK A="PDT1" B="Product.VarietyName|3230Enlist" />
<LNK A="PDT1" B="Product.GTIN|" />
<LNK A="PDT1" B="Product.Classification.Type|Crop" />
<LNK A="PDT1" B="Product.Classification.Codes.1.CropType|Soybeans" />
<LNK A="PDT1" B="Product.Classification.Codes.1.ListAgencyId|USDA" />
Expand All @@ -31,6 +32,7 @@
<LNK A="PDT2" B="Product.Name|3510Enlist" />
<LNK A="PDT2" B="Product.BrandName|Beck's" />
<LNK A="PDT2" B="Product.VarietyName|3510Enlist" />
<LNK A="PDT2" B="Product.GTIN|" />
<LNK A="PDT2" B="Product.Classification.Type|Crop" />
<LNK A="PDT2" B="Product.Classification.Codes.1.CropType|Soybeans" />
<LNK A="PDT2" B="Product.Classification.Codes.1.ListAgencyId|USDA" />
Expand All @@ -51,6 +53,7 @@
<LNK A="PDT3" B="Product.Name|XL 6081AM " />
<LNK A="PDT3" B="Product.BrandName|Beck's" />
<LNK A="PDT3" B="Product.VarietyName|XL 6081AM " />
<LNK A="PDT3" B="Product.GTIN|" />
<LNK A="PDT3" B="Product.Classification.Type|Crop" />
<LNK A="PDT3" B="Product.Classification.Codes.1.CropType|Corn" />
<LNK A="PDT3" B="Product.Classification.Codes.1.ListAgencyId|USDA" />
Expand All @@ -71,6 +74,7 @@
<LNK A="PDT4" B="Product.Name|XL 6241QR " />
<LNK A="PDT4" B="Product.BrandName|Beck's" />
<LNK A="PDT4" B="Product.VarietyName|XL 6241QR " />
<LNK A="PDT4" B="Product.GTIN|" />
<LNK A="PDT4" B="Product.Classification.Type|Crop" />
<LNK A="PDT4" B="Product.Classification.Codes.1.CropType|Corn" />
<LNK A="PDT4" B="Product.Classification.Codes.1.ListAgencyId|USDA" />
Expand All @@ -91,6 +95,7 @@
<LNK A="PDT5" B="Product.Name|6374VT2P B" />
<LNK A="PDT5" B="Product.BrandName|Beck's" />
<LNK A="PDT5" B="Product.VarietyName|6374VT2P B" />
<LNK A="PDT5" B="Product.GTIN|" />
<LNK A="PDT5" B="Product.Classification.Type|Crop" />
<LNK A="PDT5" B="Product.Classification.Codes.1.CropType|Corn" />
<LNK A="PDT5" B="Product.Classification.Codes.1.ListAgencyId|USDA" />
Expand All @@ -111,6 +116,7 @@
<LNK A="PDT6" B="Product.Name|6414VT2P B" />
<LNK A="PDT6" B="Product.BrandName|Beck's" />
<LNK A="PDT6" B="Product.VarietyName|6414VT2P B" />
<LNK A="PDT6" B="Product.GTIN|" />
<LNK A="PDT6" B="Product.Classification.Type|Crop" />
<LNK A="PDT6" B="Product.Classification.Codes.1.Corn|C" />
<LNK A="PDT6" B="Product.Classification.Codes.1.ListAgencyId|AGIIS" />
Expand All @@ -129,6 +135,7 @@
<LNK A="PDT7" B="Product.Name|3830Enlist" />
<LNK A="PDT7" B="Product.BrandName|Beck's" />
<LNK A="PDT7" B="Product.VarietyName|3830Enlist" />
<LNK A="PDT7" B="Product.GTIN|" />
<LNK A="PDT7" B="Product.Classification.Type|Crop" />
<LNK A="PDT7" B="Product.Classification.Codes.1.CropType|Soybeans" />
<LNK A="PDT7" B="Product.Classification.Codes.1.ListAgencyId|USDA" />
Expand All @@ -149,6 +156,7 @@
<LNK A="PDT8" B="Product.Name|4320Enlist" />
<LNK A="PDT8" B="Product.BrandName|Beck's" />
<LNK A="PDT8" B="Product.VarietyName|4320Enlist" />
<LNK A="PDT8" B="Product.GTIN|" />
<LNK A="PDT8" B="Product.Classification.Type|Crop" />
<LNK A="PDT8" B="Product.Classification.Codes.1.CropType|Soybeans" />
<LNK A="PDT8" B="Product.Classification.Codes.1.ListAgencyId|USDA" />
Expand All @@ -169,6 +177,7 @@
<LNK A="PDT9" B="Product.Name|4030Enlist" />
<LNK A="PDT9" B="Product.BrandName|Beck's" />
<LNK A="PDT9" B="Product.VarietyName|4030Enlist" />
<LNK A="PDT9" B="Product.GTIN|" />
<LNK A="PDT9" B="Product.Classification.Type|Crop" />
<LNK A="PDT9" B="Product.Classification.Codes.1.CropType|Soybeans" />
<LNK A="PDT9" B="Product.Classification.Codes.1.ListAgencyId|USDA" />
Expand All @@ -188,6 +197,7 @@
<LNK A="PDT10" B="Product.Name|3030Enlist" />
<LNK A="PDT10" B="Product.BrandName|Beck's" />
<LNK A="PDT10" B="Product.VarietyName|3030Enlist" />
<LNK A="PDT10" B="Product.GTIN|" />
<LNK A="PDT10" B="Product.Classification.Type|Crop" />
<LNK A="PDT10" B="Product.Classification.Codes.1.CropType|Soybeans" />
<LNK A="PDT10" B="Product.Classification.Codes.1.ListAgencyId|USDA" />
Expand All @@ -208,6 +218,7 @@
<LNK A="PDT11" B="Product.Name|4030Enlist" />
<LNK A="PDT11" B="Product.BrandName|Beck's" />
<LNK A="PDT11" B="Product.VarietyName|4030Enlist" />
<LNK A="PDT11" B="Product.GTIN|" />
<LNK A="PDT11" B="Product.Classification.Type|Crop" />
<LNK A="PDT11" B="Product.Classification.Codes.1.CropType|Soybeans" />
<LNK A="PDT11" B="Product.Classification.Codes.1.ListAgencyId|USDA" />
Expand All @@ -228,6 +239,7 @@
<LNK A="PDT12" B="Product.Name|A6544" />
<LNK A="PDT12" B="Product.BrandName|AgriGold" />
<LNK A="PDT12" B="Product.VarietyName|A6544" />
<LNK A="PDT12" B="Product.GTIN|" />
<LNK A="PDT12" B="Product.Classification.Type|Crop" />
<LNK A="PDT12" B="Product.Classification.Codes.1.CropType|Corn" />
<LNK A="PDT12" B="Product.Classification.Codes.1.ListAgencyId|USDA" />
Expand All @@ -246,6 +258,7 @@
<LNK A="PDT13" B="Product.Name|A64516" />
<LNK A="PDT13" B="Product.BrandName|AgriGold" />
<LNK A="PDT13" B="Product.VarietyName|A64516" />
<LNK A="PDT13" B="Product.GTIN|" />
<LNK A="PDT13" B="Product.Classification.Type|Crop" />
<LNK A="PDT13" B="Product.Classification.Codes.1.CropType|Corn" />
<LNK A="PDT13" B="Product.Classification.Codes.1.ListAgencyId|USDA" />
Expand All @@ -264,6 +277,7 @@
<LNK A="PDT14" B="Product.Name|A64259" />
<LNK A="PDT14" B="Product.BrandName|AgriGold" />
<LNK A="PDT14" B="Product.VarietyName|A64259" />
<LNK A="PDT14" B="Product.GTIN|" />
<LNK A="PDT14" B="Product.Classification.Type|Crop" />
<LNK A="PDT14" B="Product.Classification.Codes.1.CropType|Corn" />
<LNK A="PDT14" B="Product.Classification.Codes.1.ListAgencyId|USDA" />
Expand Down
2 changes: 1 addition & 1 deletion ISO_ADM_Exporter/output/0/TASKDATA/TASKDATA.XML
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<ISO11783_TaskData VersionMajor="4" VersionMinor="2" ManagementSoftwareManufacturer="AgGateway" ManagementSoftwareVersion="1.0" TaskControllerManufacturer="" TaskControllerVersion="" DataTransferOrigin="1">
<!--Export created 5/1/2025 10:45:19 PM-->
<!--Export created 8/8/2025 7:15:34 AM-->
<PGP A="PGP1" B="CropType" C="2" />
<CTP A="CTP1" B="Soybeans" C="PGP1">
<CVT A="CVT1" B="3230Enlist-E22388816X" C="PDT1" />
Expand Down
Loading