Example #1
0
        /// <summary>
        /// Creates Spare COBieSheet Data
        /// </summary>
        /// <param name="model">IModel to read data from</param>
        /// <returns>COBieSheet</returns>
        public COBieSheet <COBieSpareRow> GetCOBieSpareSheet()
        {
            COBieDataSpare spares = new COBieDataSpare(Context);

            (spares as IAttributeProvider).InitialiseAttributes(ref _attributes);
            return(spares.Fill());
        }
Example #2
0
 /// <summary>
 /// Creates Spare COBieSheet Data
 /// </summary>
 /// <param name="model">IModel to read data from</param>
 /// <returns>COBieSheet<COBieSpareRow></returns>
 public COBieSheet<COBieSpareRow> GetCOBieSpareSheet()
 {
     COBieDataSpare spares = new COBieDataSpare(Context);
     (spares as IAttributeProvider).InitialiseAttributes(ref _attributes);
     return spares.Fill();
 }