示例#1
0
 /// <summary>
 /// This function retrieves the value of a cold formed design preference item.
 /// </summary>
 /// <param name="item">The preference item considered.</param>
 /// <param name="value">The value of the considered preference item.</param>
 /// <exception cref="CSiException">API_DEFAULT_ERROR_CODE</exception>
 public void GetPreference(ePreferences_AISI_ASD_96 item,
                           ref double value)
 {
     _callCode = _sapModel.DesignColdFormed.AISI_ASD96.GetPreference((int)item, ref value);
     if (throwCurrentApiException(_callCode))
     {
         throw new CSiException(API_DEFAULT_ERROR_CODE);
     }
 }
示例#2
0
 /// <summary>
 /// This function sets the value of a cold formed design preference item.
 /// </summary>
 /// <param name="item">The preference item considered.</param>
 /// <param name="value">The value of the considered preference item.</param>
 /// <exception cref="CSiException"></exception>
 public void SetPreference(ePreferences_AISI_ASD_96 item,
                           double value)
 {
     _callCode = _sapModel.DesignColdFormed.AISI_ASD96.SetPreference((int)item, value);
     if (throwCurrentApiException(_callCode))
     {
         throw new CSiException();
     }
 }
示例#3
0
 public void SetPreference(ePreferences_AISI_ASD_96 item,
                           double value)
 {
 }