aw6374: each year new calculation model; fix OM -> Carbon switch, calculation based on carbon
All checks were successful
FarmMaps.Develop/CarbonLib/pipeline/head This commit looks good

This commit is contained in:
2024-10-15 08:52:36 +02:00
parent 06b7b252f5
commit 4416146ff4
27 changed files with 2134 additions and 41951 deletions

40
CarbonCalculation25.cs Normal file
View File

@@ -0,0 +1,40 @@
using CarbonLib;
using CarbonService.Models;
using FarmMapsAPI.Carbon.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FarmMapsAPI.Carbon
{
public class CarbonCalculation25 : ICarbonCalculation
{
public CarbonCalculation25(string configPath)
{
}
public CarbonRequest MapFarmMapsToMiterra(FarmMapsCarbonRequest farmInput)
{
throw new NotImplementedException();
}
public string Validate(CarbonRequest farmInput)
{
throw new NotImplementedException();
}
public CarbonSummary Calculate(CarbonRequest farmInput)
{
var response = new CarbonSummary();
return response;
}
public double? GetCropYield(string cropCode, int year, int postalCode)
{
throw new NotImplementedException();
}
}
}