Ejemplo n.º 1
0
        internal StoringOfResults(PFSSection Section)
        {
            _pfsHandle = Section;

            for (int i = 1; i <= Section.GetSectionsNo(); i++)
            {
                PFSSection sub = Section.GetSection(i);
                switch (sub.Name)
                {
                case "DetailedTimeseriesOutput":
                    _detailedTimeseriesOutput = new DetailedTimeseriesOutput(sub);
                    break;

                case "DetailedM11TimeseriesOutput":
                    _detailedM11TimeseriesOutput = new DetailedM11TimeseriesOutput(sub);
                    break;

                case "GridSeriesOutput":
                    _gridSeriesOutput = new GridSeriesOutput(sub);
                    break;

                default:
                    _unMappedSections.Add(sub.Name);
                    break;
                }
            }
        }
Ejemplo n.º 2
0
    internal StoringOfResults(PFSSection Section)
    {
      _pfsHandle = Section;

      for (int i = 1; i <= Section.GetSectionsNo(); i++)
      {
        PFSSection sub = Section.GetSection(i);
        switch (sub.Name)
        {
        case "DetailedTimeseriesOutput":
          _detailedTimeseriesOutput = new DetailedTimeseriesOutput(sub);
          break;
        case "DetailedM11TimeseriesOutput":
          _detailedM11TimeseriesOutput = new DetailedM11TimeseriesOutput(sub);
          break;
        case "GridSeriesOutput":
          _gridSeriesOutput = new GridSeriesOutput(sub);
          break;
          default:
            _unMappedSections.Add(sub.Name);
          break;
        }
      }
    }