コード例 #1
0
 /// <summary>
 /// This function sets the output option for power spectral density results.
 /// </summary>
 /// <param name="outputOption">The output option.</param>
 /// <exception cref="CSiException"></exception>
 /// <exception cref="MPT.CSI.API.Core.Support.CSiException"></exception>
 public void SetOptionPSD(eAnalysisPSDOptions outputOption)
 {
     _callCode = _sapModel.Results.Setup.SetOptionPSD((int)outputOption);
     if (throwCurrentApiException(_callCode))
     {
         throw new CSiException();
     }
 }
コード例 #2
0
        /// <summary>
        /// This function retrieves the output option for power spectral density results.
        /// </summary>
        /// <param name="outputOption">The output option.</param>
        /// <exception cref="CSiException"></exception>
        /// <exception cref="MPT.CSI.API.Core.Support.CSiException"></exception>
        public void GetOptionPSD(ref eAnalysisPSDOptions outputOption)
        {
            int csiValue = 0;

            _callCode = _sapModel.Results.Setup.GetOptionPSD(ref csiValue);
            if (throwCurrentApiException(_callCode))
            {
                throw new CSiException();
            }

            outputOption = (eAnalysisPSDOptions)csiValue;
        }
コード例 #3
0
 public void GetOptionPSD(ref eAnalysisPSDOptions outputOption)
 {
 }
コード例 #4
0
        /// <summary>
        /// Sets the output option for power spectral density results.
        /// </summary>
        /// <param name="outputOption">The output option.</param>
        /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception>
        /// <exception cref="MPT.CSI.API.Core.Support.CSiException"></exception>
        public void SetOptionPSD(eAnalysisPSDOptions outputOption)
        {
            _analysisResultsSetup.SetOptionPSD(outputOption);

            OutputPSDOption = outputOption;
        }
コード例 #5
0
 public void SetOptionPSD(eAnalysisPSDOptions outputOption)
 {
 }