forked from FarmMaps/FarmMapsApiClient
Added cropfield data and blight output data.
This commit is contained in:
parent
67ff626e87
commit
c1801a2327
@ -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()
|
||||||
|
@ -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)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user