Added cropfield data and blight output data.

Wilco Krikke 2020-10-02 21:33:52 +02:00
parent b60f4ec1e3
commit d041a033f9
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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)
};