|
|
|
@@ -15,6 +15,7 @@ namespace FarmmapsDownloadCL.Models
|
|
|
|
|
//then below create a new CLxxxitem with fieldnames as you see them in the just downloaded new codelist
|
|
|
|
|
this.dictCl.Add("CL022", new List<string> { "vnd.farmmaps.itemtype.codelist.cl022", "CL022item" });
|
|
|
|
|
this.dictCl.Add("CL127", new List<string> { "vnd.farmmaps.itemtype.codelist.cl127", "CL127item" });
|
|
|
|
|
this.dictCl.Add("CL251", new List<string> { "vnd.farmmaps.itemtype.codelist.cl251", "CL251item" });
|
|
|
|
|
this.dictCl.Add("CL263", new List<string> { "vnd.farmmaps.itemtype.codelist.cl263", "CL263item" });
|
|
|
|
|
this.dictCl.Add("CL405", new List<string> { "vnd.farmmaps.itemtype.codelist.cl405", "CL405item" });
|
|
|
|
|
}
|
|
|
|
@@ -60,6 +61,27 @@ namespace FarmmapsDownloadCL.Models
|
|
|
|
|
public string culturalPracticeLevel1 { get; set; }
|
|
|
|
|
public string culturalPracticeLevel2 { get; set; }
|
|
|
|
|
}
|
|
|
|
|
public class CL251item
|
|
|
|
|
{
|
|
|
|
|
public CL251item()
|
|
|
|
|
{
|
|
|
|
|
this.headers = new string[] { "codelist", "code", "rvo", "active", "primary", "description", "description_fr", "description_nl" };
|
|
|
|
|
this.codelist = "CL251";
|
|
|
|
|
this.about = new string[] { "Codering teeltdoelen (CropProductionPurposeCode)", "primary: 1 = primary; 2 = secondary", "rvo: 1 = yes; 0 = no" };
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string[] headers { get; }
|
|
|
|
|
public string codelist { get; }
|
|
|
|
|
public string[] about { get; }
|
|
|
|
|
public string code { get; set; }
|
|
|
|
|
public string rvo { get; set; }
|
|
|
|
|
public string active { get; set; }
|
|
|
|
|
public string primary { get; set; }
|
|
|
|
|
public string description { get; set; }
|
|
|
|
|
public string description_nl { get; set; }
|
|
|
|
|
public string description_fr { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
public class CL263item
|
|
|
|
|
{
|
|
|
|
|
public CL263item()
|
|
|
|
|