-
Notifications
You must be signed in to change notification settings - Fork 1
/
RoadLog.cs
31 lines (25 loc) · 1.07 KB
/
RoadLog.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
// Author: Clément Hardy
// With many elements copied from the corresponding class
// in the "Base Fire" extension by Robert M. Scheller and James B. Domingo
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Landis.Library.Metadata;
namespace Landis.Extension.ForestRoadsSimulation
{
public class RoadLog
{
[DataFieldAttribute(Unit = FieldUnits.Year, Desc = "Simulation Year")]
public int Timestep { set; get; }
[DataFieldAttribute(Unit = FieldUnits.Count, Desc = "Number of harvested sites to connect")]
public int NumberOfHarvestedSitesToConnect { set; get; }
[DataFieldAttribute(Unit = FieldUnits.Count, Desc = "Number of roads constructed")]
public int NumberOfRoadsConstructed { set; get; }
[DataFieldAttribute(Unit = FieldUnits.minutes, Desc = "Time taken for the construction")]
public int TimeTaken { set; get; }
[DataFieldAttribute(Unit = FieldUnits.Count, Desc = "Cost of road construction or repair in monetary units")]
public double CostOfConstructionAndRepairs { set; get; }
}
}