From c1801a2327a80fe0ce43f456f2d7da459c33261b Mon Sep 17 00:00:00 2001 From: Wilco Krikke Date: Fri, 2 Oct 2020 21:33:52 +0200 Subject: [PATCH] Added cropfield data and blight output data. --- FarmMapsBlight/BlightApplication.cs | 2 +- FarmmapsApi/Services/GeneralService.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/FarmMapsBlight/BlightApplication.cs b/FarmMapsBlight/BlightApplication.cs index f98f47f..104c6f3 100644 --- a/FarmMapsBlight/BlightApplication.cs +++ b/FarmMapsBlight/BlightApplication.cs @@ -83,7 +83,7 @@ namespace FarmMapsBlight } // advice as json - var data = blightItem.Data; + Console.WriteLine(blightItem.Data); } private void LoadSettings() diff --git a/FarmmapsApi/Services/GeneralService.cs b/FarmmapsApi/Services/GeneralService.cs index c3d0c08..248c33f 100644 --- a/FarmmapsApi/Services/GeneralService.cs +++ b/FarmmapsApi/Services/GeneralService.cs @@ -34,7 +34,7 @@ namespace FarmmapsApi.Services Name = name, DataDate = currentYear, DataEndDate = currentYear.AddYears(1).AddDays(-1), - Data = JObject.Parse("{}"), + Data = JObject.Parse("{\"area\":0,\"code\":\"0552ef068b0e4e6590c317a4c662faea\",\"name\":null,\"polygon\":null,\"soilCode\":\"60\",\"soilName\":null,\"fieldCode\":null,\"schemeUrl\":null,\"externalId\":null,\"schemeCode\":null,\"varietyCode\":\"11113\",\"varietyName\":\"Bintje\",\"cropTypeCode\":\"1010101\",\"cropTypeName\":\"Consumptieaardappelen\",\"productionTypeCode\":\"1\",\"productionPurposeCode\":null,\"productionPurposeName\":null,\"productionSequenceCode\":\"HFDTLT\"}"), Geometry = JObject.Parse(fieldGeomJson) };