internal VegNo_1(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "UserDefVegDevelopment": _userDefVegDevelopment = new UserDefVegDevelopment(sub); break; case "GrowthModVegDevelopment": _growthModVegDevelopment = new GrowthModVegDevelopment(sub); break; case "Irrigation": _irrigation = new Irrigation(sub); break; default: if (sub.Name.Substring(0, 6).Equals("Stage_")) { _stage_1s.Add(new Stage_13(sub)); break; } _unMappedSections.Add(sub.Name); break; } } }
internal VegNo_1(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "UserDefVegDevelopment": _userDefVegDevelopment = new UserDefVegDevelopment(sub); break; case "GrowthModVegDevelopment": _growthModVegDevelopment = new GrowthModVegDevelopment(sub); break; case "Irrigation": _irrigation = new Irrigation(sub); break; default: if (sub.Name.Substring(0,6).Equals("Stage_")) { _stage_1s.Add(new Stage_13(sub)); break; } _unMappedSections.Add(sub.Name); break; } } }