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
All checks were successful
FarmMaps.Develop/CarbonLib/pipeline/head This commit looks good
This commit is contained in:
40
CarbonCalculation25.cs
Normal file
40
CarbonCalculation25.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user