//----------------------------------------------------------------------- // // Copyright (c) 2009 Deltares. All rights reserved. // // B.S.T.I.M. The // tom.the@deltares.nl // 18-05-2009 // Class for PL-Line collection //----------------------------------------------------------------------- namespace Deltares.Dam.Data { using System; using System.Collections.Generic; using System.Linq; using System.Text; public class PLLines { IDictionary lines; public PLLines() { lines = new Dictionary(); foreach (PLLineType plLineType in PLLineType.GetValues(typeof(PLLineType))) { this.Lines[plLineType] = new PLLine(); } } public IDictionary Lines { get { return this.lines; } private set { this.lines = value; } } public int PLLineCount { get { return PLLineType.GetValues(typeof(PLLineType)).GetLength(0); } } } }