Added cropfield data and blight output data.

This commit is contained in:
Wilco Krikke 2020-10-02 21:33:52 +02:00 committed by Mark van der Wal
parent 67ff626e87
commit c1801a2327
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ namespace FarmMapsBlight
} }
// advice as json // advice as json
var data = blightItem.Data; Console.WriteLine(blightItem.Data);
} }
private void LoadSettings() private void LoadSettings()

View File

@ -34,7 +34,7 @@ namespace FarmmapsApi.Services
Name = name, Name = name,
DataDate = currentYear, DataDate = currentYear,
DataEndDate = currentYear.AddYears(1).AddDays(-1), 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) Geometry = JObject.Parse(fieldGeomJson)
}; };