forked from ADAPT/ADAPT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
IrrSectionFlow.cs
60 lines (52 loc) · 2.72 KB
/
IrrSectionFlow.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*******************************************************************************
* Copyright (C) 2018 AgGateway and ADAPT Contributors
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html <http://www.eclipse.org/legal/epl-v10.html>
*
* Contributors:
* R. Andres Ferreyra - Adapting from PAIL S632-3 schema.
*******************************************************************************/
using System.Collections.Generic;
using AgGateway.ADAPT.ApplicationDataModel.Products;
using AgGateway.ADAPT.ApplicationDataModel.Representations;
using AgGateway.ADAPT.ApplicationDataModel.Shapes;
namespace AgGateway.ADAPT.ApplicationDataModel.Documents
{
/// <summary>
/// This class describes the applied water / product(s) on the footprint of a section during a certain temporal / spatial scope.
/// Note that the time is not specified within the class, but rather in its IrrItem wrapper.
/// </summary>
public class IrrSectionFlow
{
public IrrSectionFlow()
{
ProductUses = new List<ProductUse>();
}
/// <summary>
/// References the section of interest.
/// </summary>
public int SectionId { get; set; }
/// <summary>
/// Describes the total volume of water put on the section during the spatial and temporal scope of interest.
/// Not necessary if Depth is populated, but declaring both is fine.
/// </summary>
public NumericRepresentationValue Volume { get; set; }
/// <summary>
/// Describes the irrigation depth (in units of distance) put on the section during the spatial and temporal scope of interest.
/// Not necessary if Volume is populated, but declaring both is fine.
/// </summary>
public NumericRepresentationValue Depth { get; set; }
/// <summary>
/// Optional list describing the amount of product(s) such as chemicals, fertilizers, energy, etc. used.
/// </summary>
public List<ProductUse> ProductUses { get; set; }
/// <summary>
/// This multipolygon documents the coverage area for a) irregular coverages on pivots such as corner arms and wraps/benders,
/// b) laterals. and c) Traveling guns. Although it can conceivably be used to document the coverage of pivot spans,
/// using radial scope of the parent IrrItem along with section number is much more compact.
/// </summary>
public MultiPolygon PolygonCoverage { get; set; }
}
}