-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
081dff0
commit 750960c
Showing
9 changed files
with
106 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
using H.Core.Models; | ||
using H.Core.Models.LandManagement.Fields; | ||
|
||
namespace H.Core.Calculators.Nitrogen | ||
{ | ||
public interface IN2OEmissionFactorCalculator | ||
{ | ||
void Initialize(Farm farm); | ||
|
||
/// <summary> | ||
/// (kg N2O-N ha^-1) | ||
/// </summary> | ||
double CalculateTotalDirectN2ONFromExportedManure(Farm farm, ManureExportViewItem manureExportViewItem); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,36 @@ | ||
namespace H.Core.Models.Results | ||
using System; | ||
using H.Core.CustomAttributes; | ||
using H.Core.Enumerations; | ||
|
||
namespace H.Core.Models.Results | ||
{ | ||
public class ManureExportResultViewItem : ResultsViewItemBase | ||
{ | ||
#region Fields | ||
|
||
private DateTime _dateOfExport; | ||
private double _n2ON; | ||
|
||
#endregion | ||
|
||
#region Propeties | ||
|
||
public DateTime DateOfExport | ||
{ | ||
get => _dateOfExport; | ||
set => SetProperty(ref _dateOfExport, value); | ||
} | ||
|
||
/// <summary> | ||
/// (kg N2O-N ha^-1) | ||
/// </summary> | ||
[Units(MetricUnitsOfMeasurement.KilogramsN2ONPerHectare)] | ||
public double N2ON | ||
{ | ||
get => _n2ON; | ||
set => SetProperty(ref _n2ON, value); | ||
} | ||
|
||
#endregion | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters