コード例 #1
0
        /// <summary>
        /// Sets the auto load code used by the class.
        /// </summary>
        /// <param name="autoLoad">The auto load for the class to use.</param>
        public void SetAutoCode(AutoLoad autoLoad)
        {
            AutoWaveLoad newAutoLoad = autoLoad as AutoWaveLoad;

            if (newAutoLoad == null)
            {
                return;
            }
            SetAutoCode(newAutoLoad);
        }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AutoSeismic" /> class.
 /// </summary>
 /// <param name="seed">The seed.</param>
 /// <param name="autoWindLoad">The auto wind load for the class to use.</param>
 public AutoWave(CSiApiSeed seed, AutoWaveLoad autoWindLoad) : base(seed)
 {
     _seed        = seed;
     AutoWaveLoad = autoWindLoad;
 }
コード例 #3
0
 /// <summary>
 /// Sets the auto wave load code used by the class.
 /// </summary>
 /// <param name="autoWaveLoad">The auto wave load for the class to use.</param>
 public void SetAutoCode(AutoWaveLoad autoWaveLoad)
 {
     AutoWaveLoad = autoWaveLoad;
 }