Exemple #1
0
        public override List <ICBLineStructure> ExportIcbLinesStructure()
        {
            var line = new ICBLineStructure(this);

            DuraformOption?.UpdateIcbLineStructure(this, line);

            return(new List <ICBLineStructure> {
                line
            });
        }
Exemple #2
0
        public override string GetInvoiceDescription()
        {
            var desc = $"Door - {Height:F0} x {Width:F0}";

            if (DuraformOption != null)
            {
                desc += $" - {DuraformOption.GetInvoiceDescription()}";
            }

            return(desc);
        }
Exemple #3
0
        public override string GetInvoiceDescription()
        {
            var desc = $"Pantry - {Height:F0} x {Width:F0} - {ChairRailHeight:F0} x {ChairRailType.Name}";

            desc += ExtraRailBottom.HasValue ? $" - BOT={ExtraRailBottom:F0}" : string.Empty;

            if (DuraformOption != null)
            {
                desc += $" - {DuraformOption.GetInvoiceDescription()}";
            }

            return(desc);
        }
Exemple #4
0
        public override string GetInvoiceDescription()
        {
            var desc = $"IB Back - {Height:F0} x {Width:F0} - {NumberOfShields} shields - {RailLeft:F0} x {RailCenter:F0} x {RailRight:F0}";

            desc += ExtraRailBottom.HasValue ? $" - BOT={ExtraRailBottom:F0}" : string.Empty;

            desc += ExtraRailTop.HasValue ? $" - TOP={ExtraRailTop:F0}" : string.Empty;

            if (DuraformOption != null)
            {
                desc += $" - {DuraformOption.GetInvoiceDescription()}";
            }

            return(desc);
        }
Exemple #5
0
        public override List <ICBLineStructure> ExportIcbLinesStructure()
        {
            var line = new ICBLineStructure(this)
            {
                ABB       = ExtraRailBottom.HasValue ? (int)ExtraRailBottom : 0,
                BDH       = (int)ChairRailHeight,
                BDBT      = DuraformEnquiry.DuraformDesign.BB,
                BDH_ADDON = ChairRailType.Name.Equals("Single") ? 0 : DuraformEnquiry.DuraformDesign.BB
            };

            DuraformOption?.UpdateIcbLineStructure(this, line);

            return(new List <ICBLineStructure> {
                line
            });
        }
Exemple #6
0
        public override List <ICBLineStructure> ExportIcbLinesStructure()
        {
            var line = new ICBLineStructure(this)
            {
                BL      = (int)RailLeft,
                BR      = (int)RailRight,
                ABB     = ExtraRailBottom.HasValue ? (int)ExtraRailBottom.Value : 0,
                NOPN    = NumberOfShields,
                PANDIV  = NumberOfShields > 1 ? (int)RailCenter : 0,
                CNCTYPE = "IB"
            };

            line.BT += ExtraRailTop.HasValue ? (int)ExtraRailTop.Value : 0;

            DuraformOption?.UpdateIcbLineStructure(this, line);

            return(new List <ICBLineStructure> {
                line
            });
        }