Updated Blight and Zonering

This commit is contained in:
2021-03-01 14:04:18 +01:00
parent a29b973268
commit 6debe82085
8 changed files with 80 additions and 31 deletions

View File

@@ -0,0 +1,44 @@
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;
}
}
}
}

View File

@@ -4,8 +4,9 @@ namespace FarmMapsBlight.Models
{
public class Spray
{
public DateTime SprayTime { get; set; }
public DateTime sprayTime { get; set; }
public string fungicideCode { get; set; }
public Fungicide fungicide { get; set; }
public double dose { get; set; }
public bool isVRA { get; set; }
}