Esempio n. 1
0
        public void VI_list()
        {
            Add_block_title("VI VESSEL");

            vi = new VI(productInfo);
            switch (productInfo.PackageSize)
            {
            case "MVI-16":
                productInfo.VesselSize        = 24;
                productInfo.VesselShellLength = 96;
                productInfo.VesselOAL         = 112;
                Copy_list(vi.VI_24_112());
                break;

            case "MVI-20":
                productInfo.VesselSize        = 24;
                productInfo.VesselShellLength = 96;
                productInfo.VesselOAL         = 112;
                Copy_list(vi.VI_24_112());
                break;

            case "MVI-24":
                productInfo.VesselSize        = 24;
                productInfo.VesselShellLength = 96;
                productInfo.VesselOAL         = 112;
                Copy_list(vi.VI_24_112());
                break;

            case "MVI-30":
                productInfo.VesselSize        = 30;
                productInfo.VesselShellLength = 96;
                productInfo.VesselOAL         = 115;
                Copy_list(vi.VI_30_115());
                break;

            case "MVI-36":
                productInfo.VesselSize        = 36;
                productInfo.VesselShellLength = 96;
                productInfo.VesselOAL         = 118;
                Copy_list(vi.VI_36_118());
                break;

            case "MVI-42":
                productInfo.VesselSize        = 42;
                productInfo.VesselShellLength = 119;
                productInfo.VesselOAL         = 144;
                Copy_list(vi.VI_42_144());
                break;

            case "MVI-48":
                productInfo.VesselSize        = 48;
                productInfo.VesselShellLength = 119;
                productInfo.VesselOAL         = 147;
                Copy_list(vi.VI_48_147());
                break;

            case "MVI-54":
                productInfo.VesselSize        = 54;
                productInfo.VesselShellLength = 119;
                productInfo.VesselOAL         = 150;
                Copy_list(vi.VI_54_150());
                break;

            case "MVI-60":
                productInfo.VesselSize        = 60;
                productInfo.VesselShellLength = 119;
                productInfo.VesselOAL         = 153;
                Copy_list(vi.VI_60_153());
                break;

            case "MVI-72":
                productInfo.VesselSize        = 72;
                productInfo.VesselShellLength = 119;
                productInfo.VesselOAL         = 159;
                Copy_list(vi.VI_72_159());
                break;

            case "MVI-84":
                productInfo.VesselSize        = 84;
                productInfo.VesselShellLength = 119;
                productInfo.VesselOAL         = 165;
                Copy_list(vi.VI_84_165());
                break;

            case "MVI-96":
                productInfo.VesselSize        = 96;
                productInfo.VesselShellLength = 119;
                productInfo.VesselOAL         = 171;
                Copy_list(vi.VI_96_171());
                break;

            case "MVI-108":
                productInfo.VesselSize        = 108;
                productInfo.VesselShellLength = 119;
                productInfo.VesselOAL         = 177;
                Copy_list(vi.VI_108_177());
                break;

            case "MVI-120":
                productInfo.VesselSize        = 120;
                productInfo.VesselShellLength = 119;
                productInfo.VesselOAL         = 183;
                Copy_list(vi.VI_120_183());
                break;

            case "MVI-144":
                productInfo.VesselSize        = 144;
                productInfo.VesselShellLength = 119;
                productInfo.VesselOAL         = 195;
                Copy_list(vi.VI_144_195());
                break;

            default:
                break;
            }

            Add_blank_item();
            Add_labor_item("MOUNT VESSEL", 1.5);
            Add_blank_item();
        }
Esempio n. 2
0
        private void assemble_vi()
        {
            vi = new VI(qs.productInfo);
            switch (qs.productInfo.Tag)
            {
                case "VI16-96":
                    ListItems = vi.VI_16_96();
                    break;

                case "VI20-108":
                    ListItems = vi.VI_20_108();
                    break;

                case "VI24-112":
                    ListItems = vi.VI_24_112();
                    break;

                case "VI30-115":
                    ListItems = vi.VI_30_115();
                    break;

                case "VI36-118":
                    ListItems = vi.VI_36_118();
                    break;

                case "VI42-144":
                    ListItems = vi.VI_42_144();
                    break;

                case "VI48-147":
                    ListItems = vi.VI_48_147();
                    break;

                case "VI54-150":
                    ListItems = vi.VI_54_150();
                    break;

                case "VI60-153":
                    ListItems = vi.VI_60_153();
                    break;

                case "VI72-159":
                    ListItems = vi.VI_72_159();
                    break;

                case "VI84-165":
                    ListItems = vi.VI_84_165();
                    break;

                case "VI96-171":
                    ListItems = vi.VI_96_171();
                    break;

                case "VI108-177":
                    ListItems = vi.VI_108_177();
                    break;

                case "VI120-183":
                    ListItems = vi.VI_120_183();
                    break;

                case "VI144-195":
                    ListItems = vi.VI_144_195();
                    break;

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