diff --git a/FarmmapsHerbicide/HerbicideService.cs b/FarmmapsHerbicide/HerbicideService.cs index 2314a1b..8fc1926 100644 --- a/FarmmapsHerbicide/HerbicideService.cs +++ b/FarmmapsHerbicide/HerbicideService.cs @@ -55,7 +55,7 @@ namespace FarmmapsHerbicide return null; } - var itemName = $"VRAHerbicide {agent.Middel}"; + var itemName = $"VRAHerbicide {agent.Name}"; var applianceMapItem = await _generalService.FindChildItemAsync(cropfieldItem.Code, GEOTIFF_PROCESSED_ITEMTYPE, itemName, i => i.Updated >= itemTask.Finished.GetValueOrDefault(DateTime.UtcNow) && diff --git a/FarmmapsHerbicide/Models/HerbicideAgent.cs b/FarmmapsHerbicide/Models/HerbicideAgent.cs index 7b76e03..7930b06 100644 --- a/FarmmapsHerbicide/Models/HerbicideAgent.cs +++ b/FarmmapsHerbicide/Models/HerbicideAgent.cs @@ -3,13 +3,13 @@ namespace FarmmapsHerbicide.Models public class HerbicideAgent { public string ProductType { get; set; } - public string Middel { get; set; } - public string Grondsoort { get; set; } - public string ActieveStofGehalte{ get; set; } - public string Gewas { get; set; } - public string Opmerking { get; set; } + public string Name { get; set; } + public string SoilType { get; set; } + public string ActiveSubstanceContent{ get; set; } + public string Crop { get; set; } + public string Description { get; set; } public string TankMix { get; set; } - public string ExtraProductType { get; set; } + public string ExtraInputType { get; set; } public float MinDosis { get; set; } public float MaxDosis { get; set; } public float A { get; set; }