Esempio n. 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="bbPropertySet"></param>
        /// <param name="status">One of "Default", "ReadyForProcurement", "ReadyForMill", "IssuedForFabrication"</param>
        /// <param name="changeStatus">One of "Default", "Changed", "Deleted"</param>
        /// <param name="approved"></param>
        /// <returns></returns>
        public static BbCastellation Create(
            BbPropertySet bbPropertySet,
            string castellationType,
            double castellationEndPostWidth1,
            double castellationEndPostWidth2,
            double castellationSpacing,
            double castellationHeight,
            double castellationWidth,
            double castellationDepth)
        {
            var ai = new BbCastellation(
                bbPropertySet,
                castellationType,
                castellationEndPostWidth1,
                castellationEndPostWidth2,
                castellationSpacing,
                castellationHeight,
                castellationWidth,
                castellationDepth);

            return(ai);
        }
Esempio n. 2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="bbPropertySet"></param>
 /// <param name="status">One of "Default", "ReadyForProcurement", "ReadyForMill", "IssuedForFabrication"</param>
 /// <param name="changeStatus">One of "Default", "Changed", "Deleted"</param>
 /// <param name="approved"></param>
 /// <returns></returns>
 public static BbCastellation Create(
    BbPropertySet bbPropertySet,
     string castellationType,
     double castellationEndPostWidth1,
     double castellationEndPostWidth2,
     double castellationSpacing,
     double castellationHeight,
     double castellationWidth,
     double castellationDepth)
 {
     var ai = new BbCastellation(
         bbPropertySet,
         castellationType,
         castellationEndPostWidth1,
         castellationEndPostWidth2,
         castellationSpacing,
         castellationHeight,
         castellationWidth,
         castellationDepth);
     return ai;
 }