From fe58d524e091a54ee665c1772b451afbdf65c074 Mon Sep 17 00:00:00 2001 From: Mark van der Wal Date: Tue, 14 Apr 2020 09:49:43 +0200 Subject: [PATCH] Translated herbicideAgent --- FarmmapsHerbicide/HerbicideService.cs | 2 +- FarmmapsHerbicide/Models/HerbicideAgent.cs | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) 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; }