Esempio n. 1
0
 /// <summary>
 /// This function retrieves the value of a concrete 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 GetPreference(ePreferences_Singapore_CP_6599 item,
                           ref double value)
 {
     _callCode = _sapModel.DesignConcrete.Singapore_CP_65_99.GetPreference((int)item, ref value);
     if (throwCurrentApiException(_callCode))
     {
         throw new CSiException();
     }
 }
 /// <summary>
 /// Sets the value of a concrete 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"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception>
 public void SetPreference(ePreferences_Singapore_CP_6599 item,
                           double value)
 {
     _callCode = _sapModel.DesignConcrete.Singapore_CP_65_99.SetPreference((int)item, value);
     if (throwCurrentApiException(_callCode))
     {
         throw new CSiException(API_DEFAULT_ERROR_CODE);
     }
 }
Esempio n. 3
0
 public void SetPreference(ePreferences_Singapore_CP_6599 item,
                           double value)
 {
 }