예제 #1
0
    internal MOUSE_Computation(PFSSection Section)
    {
      _pfsHandle = Section;

      for (int i = 1; i <= Section.GetSectionsNo(); i++)
      {
        PFSSection sub = Section.GetSection(i);
        switch (sub.Name)
        {
        case "MOUSE_Files":
          MOUSE_Files = new MOUSE_Files(sub);
          break;
        case "MOUSE_HD_parameters":
          MOUSE_HD_parameters = new MOUSE_HD_parameters(sub);
          break;
        case "MOUSE_RUNOFF_parameters":
          MOUSE_RUNOFF_parameters = new MOUSE_RUNOFF_parameters(sub);
          break;
          default:
            _unMappedSections.Add(sub.Name);
          break;
        }
      }

    }
예제 #2
0
        internal MOUSE_Computation(PFSSection Section)
        {
            _pfsHandle = Section;

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

                case "MOUSE_HD_parameters":
                    MOUSE_HD_parameters = new MOUSE_HD_parameters(sub);
                    break;

                case "MOUSE_RUNOFF_parameters":
                    MOUSE_RUNOFF_parameters = new MOUSE_RUNOFF_parameters(sub);
                    break;

                default:
                    _unMappedSections.Add(sub.Name);
                    break;
                }
            }
        }
예제 #3
0
        public MOUSE_Computation(string pfsname)
        {
            _pfsHandle = new PFSSection(pfsname);

            _pfsHandle.AddKeyword(new PFSKeyword("Computation_Type", PFSParameterType.Integer, 0));

            _pfsHandle.AddKeyword(new PFSKeyword("Language_Type", PFSParameterType.Integer, 0));

            _pfsHandle.AddKeyword(new PFSKeyword("Unit_Type", PFSParameterType.Integer, 0));

            MOUSE_Files = new MOUSE_Files("MOUSE_Files");
            _pfsHandle.AddSection(MOUSE_Files._pfsHandle);

            MOUSE_HD_parameters = new MOUSE_HD_parameters("MOUSE_HD_parameters");
            _pfsHandle.AddSection(MOUSE_HD_parameters._pfsHandle);

            MOUSE_RUNOFF_parameters = new MOUSE_RUNOFF_parameters("MOUSE_RUNOFF_parameters");
            _pfsHandle.AddSection(MOUSE_RUNOFF_parameters._pfsHandle);
        }
예제 #4
0
    public MOUSE_Computation(string pfsname)
    {
      _pfsHandle = new PFSSection(pfsname);

      _pfsHandle.AddKeyword(new PFSKeyword("Computation_Type", PFSParameterType.Integer, 0));

      _pfsHandle.AddKeyword(new PFSKeyword("Language_Type", PFSParameterType.Integer, 0));

      _pfsHandle.AddKeyword(new PFSKeyword("Unit_Type", PFSParameterType.Integer, 0));

      MOUSE_Files = new MOUSE_Files("MOUSE_Files" );
      _pfsHandle.AddSection(MOUSE_Files._pfsHandle);

      MOUSE_HD_parameters = new MOUSE_HD_parameters("MOUSE_HD_parameters" );
      _pfsHandle.AddSection(MOUSE_HD_parameters._pfsHandle);

      MOUSE_RUNOFF_parameters = new MOUSE_RUNOFF_parameters("MOUSE_RUNOFF_parameters" );
      _pfsHandle.AddSection(MOUSE_RUNOFF_parameters._pfsHandle);

    }