Ejemplo n.º 1
0
        public void VIC_list()
        {
            Add_block_title("VIC VESSEL");

            vic = new VIC(productInfo);
            switch (productInfo.PackageSize)
            {
            case "MVIC-16":
                productInfo.VesselSize        = 24;
                productInfo.VesselShellLength = 96;
                productInfo.VesselOAL         = 112;
                Copy_list(vic.VIC_24_112());
                break;

            case "MVIC-20":
                productInfo.VesselSize        = 24;
                productInfo.VesselShellLength = 96;
                productInfo.VesselOAL         = 112;
                Copy_list(vic.VIC_24_112());
                break;

            case "MVIC-24":
                productInfo.VesselSize        = 24;
                productInfo.VesselShellLength = 96;
                productInfo.VesselOAL         = 112;
                Copy_list(vic.VIC_24_112());
                break;

            case "MVIC-30":
                productInfo.VesselSize        = 30;
                productInfo.VesselShellLength = 96;
                productInfo.VesselOAL         = 115;
                Copy_list(vic.VIC_30_115());
                break;

            case "MVIC-36":
                productInfo.VesselSize        = 36;
                productInfo.VesselShellLength = 96;
                productInfo.VesselOAL         = 118;
                Copy_list(vic.VIC_36_118());
                break;

            case "MVIC-42":
                productInfo.VesselSize        = 42;
                productInfo.VesselShellLength = 119;
                productInfo.VesselOAL         = 144;
                Copy_list(vic.VIC_42_144());
                break;

            case "MVIC-48":
                productInfo.VesselSize        = 48;
                productInfo.VesselShellLength = 119;
                productInfo.VesselOAL         = 147;
                Copy_list(vic.VIC_48_147());
                break;

            case "MVIC-54":
                productInfo.VesselSize        = 54;
                productInfo.VesselShellLength = 119;
                productInfo.VesselOAL         = 150;
                Copy_list(vic.VIC_54_150());
                break;

            case "MVIC-60":
                productInfo.VesselSize        = 60;
                productInfo.VesselShellLength = 119;
                productInfo.VesselOAL         = 153;
                Copy_list(vic.VIC_60_153());
                break;

            case "MVIC-72":
                productInfo.VesselSize        = 72;
                productInfo.VesselShellLength = 119;
                productInfo.VesselOAL         = 159;
                Copy_list(vic.VIC_72_159());
                break;

            case "MVIC-84":
                productInfo.VesselSize        = 84;
                productInfo.VesselShellLength = 119;
                productInfo.VesselOAL         = 165;
                Copy_list(vic.VIC_84_165());
                break;

            case "MVIC-96":
                productInfo.VesselSize        = 96;
                productInfo.VesselShellLength = 119;
                productInfo.VesselOAL         = 171;
                Copy_list(vic.VIC_96_171());
                break;

            case "MVIC-108":
                productInfo.VesselSize        = 108;
                productInfo.VesselShellLength = 119;
                productInfo.VesselOAL         = 177;
                Copy_list(vic.VIC_108_177());
                break;

            case "MVIC-120":
                productInfo.VesselSize        = 120;
                productInfo.VesselShellLength = 119;
                productInfo.VesselOAL         = 183;
                Copy_list(vic.VIC_120_183());
                break;

            case "MVIC-144":
                productInfo.VesselSize        = 144;
                productInfo.VesselShellLength = 119;
                productInfo.VesselOAL         = 195;
                Copy_list(vic.VIC_144_195());
                break;

            default:
                break;
            }

            Add_blank_item();
            Add_labor_item("MOUNT VESSEL", 1.5);
            Add_blank_item();
        }
Ejemplo n.º 2
0
        private void assemble_vic()
        {
            vic = new VIC(qs.productInfo);
            switch (qs.productInfo.Tag)
            {
                case "VIC16-96":
                    ListItems = vic.VIC_16_96();
                    break;

                case "VIC20-108":
                    ListItems = vic.VIC_20_108();
                    break;

                case "VIC24-112":
                    ListItems = vic.VIC_24_112();
                    break;

                case "VIC30-115":
                    ListItems = vic.VIC_30_115();
                    break;

                case "VIC36-118":
                    ListItems = vic.VIC_36_118();
                    break;

                case "VIC42-144":
                    ListItems = vic.VIC_42_144();
                    break;

                case "VIC48-147":
                    ListItems = vic.VIC_48_147();
                    break;

                case "VIC54-150":
                    ListItems = vic.VIC_54_150();
                    break;

                case "VIC60-153":
                    ListItems = vic.VIC_60_153();
                    break;

                case "VIC72-159":
                    ListItems = vic.VIC_72_159();
                    break;

                case "VIC84-165":
                    ListItems = vic.VIC_84_165();
                    break;

                case "VIC96-171":
                    ListItems = vic.VIC_96_171();
                    break;

                case "VIC108-177":
                    ListItems = vic.VIC_108_177();
                    break;

                case "VIC120-183":
                    ListItems = vic.VIC_120_183();
                    break;

                case "VIC144-195":
                    ListItems = vic.VIC_144_195();
                    break;

                default:
                    ListItems = empty_list();
                    break;
            }
        }