forked from FarmMaps/FarmMapsApiClient
		
	added project to only download some data
This commit is contained in:
		
							
								
								
									
										26
									
								
								FarmmapsDataDownload/Models/DataDownloadInput.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								FarmmapsDataDownload/Models/DataDownloadInput.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,26 @@
 | 
			
		||||
using System;
 | 
			
		||||
using Newtonsoft.Json.Linq;
 | 
			
		||||
 | 
			
		||||
namespace FarmmapsDataDownload.Models
 | 
			
		||||
{
 | 
			
		||||
    public class DataDownloadInput
 | 
			
		||||
    {
 | 
			
		||||
        public bool UseCreatedCropfield { get; set; }
 | 
			
		||||
        public string File { get; set; }
 | 
			
		||||
        public string InputVariable { get; set; }
 | 
			
		||||
        public string OutputFileName { get; set; }
 | 
			
		||||
        public DateTime CropYear { get; set; }
 | 
			
		||||
        public JObject GeometryJson { get; set; }
 | 
			
		||||
        public string InputLayerName { get; set; }
 | 
			
		||||
        public string fieldName { get; set; }
 | 
			
		||||
        public bool GetSatelliteData  { get; set; }
 | 
			
		||||
        public bool GetVanDerSatData { get; set; }
 | 
			
		||||
        public string SatelliteBand { get; set; }
 | 
			
		||||
        public bool StoreSatelliteStatistics { get; set; }
 | 
			
		||||
        public bool StoreVanDerSatStatistics { get; set; }
 | 
			
		||||
        public bool GetShadowData { get; set; }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										11
									
								
								FarmmapsDataDownload/Models/Settings.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								FarmmapsDataDownload/Models/Settings.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
namespace FarmmapsDataDownload
 | 
			
		||||
{
 | 
			
		||||
    public class Settings
 | 
			
		||||
    {
 | 
			
		||||
        public string CropfieldItemCode { get; set; }
 | 
			
		||||
        public string SatelliteTaskCode { get; set; }
 | 
			
		||||
        public string VanDerSatTaskCode { get; set; }
 | 
			
		||||
        public string WatBalTaskCode { get; set; }
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										9
									
								
								FarmmapsDataDownload/Models/TargetNData.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								FarmmapsDataDownload/Models/TargetNData.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
namespace FarmmapsDataDownload.Models
 | 
			
		||||
{
 | 
			
		||||
    public class TargetNData
 | 
			
		||||
    {
 | 
			
		||||
        public double TSum { get; set; }
 | 
			
		||||
        public int TargetYield { get; set; }
 | 
			
		||||
        public double TargetN { get; set; }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user