niewste versie

This commit is contained in:
2023-06-27 12:58:36 +02:00
parent 9be9eb3145
commit b99191b7b1
6 changed files with 60 additions and 4 deletions

View File

@@ -1,8 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<PlatformTarget>x64</PlatformTarget>
<Platforms>AnyCPU;x64</Platforms>
</PropertyGroup>
<ItemGroup>

View File

@@ -142,7 +142,7 @@ namespace FarmmapsKPI
//todo set croprecordings from file
}
// Get KPI data for saving it in a file
// Get KPI data for saving it in a file, here the generalsedrvice is called to get the KPI data
_logger.LogInformation($"Trying to get the cropfielditem: {cropfieldItem}");
var KPIItem = await _generalService.GetKpiItemsForCropField(cropfieldItem);

View File

@@ -5,6 +5,7 @@
//"fieldName": "aardappelveld_test",
//"DownloadFolder": "Downloads", //"C:\\workdir\\groenmonitor\\", // "Downloads", -> if you just put "Downloads" the program will download to somewhere in ..\FarmMapsApiClient_WURtest\FarmmapsDataDownload\bin\Debug\netcoreapp3.1\Downloads\
"GetCropRecordings": false,
//cropfield code. toevoegen
"CropYear": 2022,
"dataDate": "2022-04-15T00:00:00Z",
"dataEndDate": "2022-09-15T00:00:00Z",
@@ -13,7 +14,7 @@
"final": true,
//"soilCode": "5",
"soilName": "Loam",
"cropTypeCode": "1010101",
"cropTypeCode": "1010101", // make a table/list with possible inputs.
"cropTypeName": "Potato",
//"rootDepthMax": 45,
//"emergenceDate": "2022-05-16T00:00:00",