forked from FarmMaps/FarmMapsApiClient
Spray must now contain all fungicide properties
This commit is contained in:
48
FarmMapsBlight/Models/Fungicide.cs
Normal file
48
FarmMapsBlight/Models/Fungicide.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace FarmMapsBlight.Models
|
||||
{
|
||||
public class Fungicide
|
||||
{
|
||||
public string code { get; set; }
|
||||
public string name { get; set; }
|
||||
public string ctgbregistrationnumber { get; set; }
|
||||
public string ai1 { get; set; }
|
||||
public string ai2 { get; set; }
|
||||
public string ai3 { get; set; }
|
||||
public double contentai1 { get; set; }
|
||||
public double contentai2 { get; set; }
|
||||
public double contentai3 { get; set; }
|
||||
public string contentunit { get; set; }
|
||||
public string aidescription { get; set; }
|
||||
public int protectioncategory { get; set; }
|
||||
public double preventivescore { get; set; }
|
||||
public double curativescore { get; set; }
|
||||
public string applicationrateunit { get; set; }
|
||||
public double recommendeddose { get; set; }
|
||||
public double newgrowth { get; set; }
|
||||
public double tuberprotection { get; set; }
|
||||
public double dryingtimemin { get; set; }
|
||||
public double dryingtimemax { get; set; }
|
||||
public double rainfastness { get; set; }
|
||||
public double mindose { get; set; }
|
||||
public double maxdose { get; set; }
|
||||
public int? maxapplications { get; set; }
|
||||
public bool vracompatible { get; set; }
|
||||
public double eradicativescore { get; set; }
|
||||
public bool emergence { get; set; }
|
||||
public bool fastgrowth { get; set; }
|
||||
public bool earlytubersetting { get; set; }
|
||||
public bool tuberfilling { get; set; }
|
||||
public int? safedays { get; set; }
|
||||
public double takeback
|
||||
{
|
||||
get
|
||||
{
|
||||
return curativescore * 6;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@@ -4,8 +4,8 @@ namespace FarmMapsBlight.Models
|
||||
{
|
||||
public class Spray
|
||||
{
|
||||
public DateTime SprayTime { get; set; }
|
||||
public string fungicideCode { get; set; }
|
||||
public DateTime sprayTime { get; set; }
|
||||
public Fungicide fungicide { get; set; }
|
||||
public double dose { get; set; }
|
||||
public bool isVRA { get; set; }
|
||||
}
|
||||
|
Reference in New Issue
Block a user