2023-10-18 15:35:34 +00:00
|
|
|
|
using System;
|
|
|
|
|
using Newtonsoft.Json.Linq;
|
|
|
|
|
|
|
|
|
|
namespace FarmmapsKPI.Models
|
|
|
|
|
{
|
|
|
|
|
public class KPIOutput
|
|
|
|
|
{
|
|
|
|
|
public string id { get; set; }
|
|
|
|
|
public KPIOutputData data { get; set; }
|
|
|
|
|
public string type { get; set; }
|
|
|
|
|
public string unit { get; set; }
|
|
|
|
|
public string value { get; set; }
|
|
|
|
|
public string duration { get; set; }
|
|
|
|
|
public string quantity { get; set; }
|
|
|
|
|
public string parentName { get; set; }
|
|
|
|
|
public string targetValue { get; set; }
|
|
|
|
|
public string thresholdValue { get; set; }
|
|
|
|
|
}
|
|
|
|
|
public class KPIOutputData
|
|
|
|
|
{
|
|
|
|
|
public string area { get; set; }
|
|
|
|
|
public string cropTypeCode { get; set; }
|
|
|
|
|
public string cropTypeName { get; set; }
|
2023-11-22 15:16:59 +00:00
|
|
|
|
public KPIenvironmentMeasureData[] environmentMeasureData { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
public class KPIenvironmentMeasureData
|
|
|
|
|
{
|
|
|
|
|
public string date { get; set; }
|
|
|
|
|
public string productCode { get; set; }
|
|
|
|
|
public string productName { get; set; }
|
|
|
|
|
public string quantity { get; set; }
|
|
|
|
|
public string unitCode { get; set; }
|
|
|
|
|
public string soilLife { get; set; }
|
|
|
|
|
public string aquaticLife { get; set; }
|
|
|
|
|
public string groundWater { get; set; }
|
2023-10-18 15:35:34 +00:00
|
|
|
|
}
|
|
|
|
|
}
|