Example #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)
        {
            AutoSeismicLoad newAutoLoad = autoLoad as AutoSeismicLoad;

            if (newAutoLoad == null)
            {
                return;
            }
            SetAutoCode(newAutoLoad);
        }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AutoSeismic" /> class.
 /// </summary>
 /// <param name="seed">The seed.</param>
 /// <param name="autoSeismicLoad">The auto seismic load for the class to use.</param>
 public AutoSeismic(CSiApiSeed seed, AutoSeismicLoad autoSeismicLoad) : base(seed)
 {
     _seed           = seed;
     AutoSeismicLoad = autoSeismicLoad;
 }
Example #3
0
 /// <summary>
 /// Sets the auto seismic load code used by the class.
 /// </summary>
 /// <param name="autoSeismicLoad">The auto seismic load for the class to use.</param>
 public void SetAutoCode(AutoSeismicLoad autoSeismicLoad)
 {
     AutoSeismicLoad = autoSeismicLoad;
 }