Ejemplo n.º 1
0
 public SegmentData(int id, LinkData link, IntersectionData intersection, AreaType SerVolAreaType, int BaseFFS, int upstreamIntersectionWidth)
 {
     _id           = id;
     _link         = link;
     _intersection = intersection;
     _thresholds   = new ThresholdData(SerVolAreaType, BaseFFS);
     _results      = new ResultsSegmentData();
     _upstreamIntersectionWidth = upstreamIntersectionWidth;
     _lengthFt = link.LengthFt + upstreamIntersectionWidth;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Parameterless constructor needed for XML de/serialization. Do not use.
 /// </summary>
 public SegmentData()
 {
     //Parameterless constructor needed for XML de/serialization
     _thresholds = new ThresholdData();
     _results    = new ResultsSegmentData();
 }