Esempio n. 1
0
        public virtual void testMISPreImpositionPreparation()
        {
            for (int i = 0; i < 4; i++)
            {
                MISPreGoldenTicket goldenTicket = new MISPreGoldenTicket(1, null, 2, 2, vMap);
                goldenTicket.bStripping = i % 2 == 1;
                goldenTicket.nCols[0]   = goldenTicket.nCols[1] = 4;
                goldenTicket.workStyle  = EnumWorkStyle.WorkAndTurn;
                goldenTicket.setCategory(MISPreGoldenTicket.MISPRE_IMPOSITIONPREPARATION);

                JDFNode nodePre = null;
                if (i < 2)
                {
                    ProductGoldenTicket pgt = new ProductGoldenTicket(0, EnumVersion.Version_1_3, 0, 0);
                    pgt.assign(null);
                    pgt.createHDCity();
                    JDFNode node = pgt.getNode();
                    nodePre = node.addJDFNode(EnumType.ProcessGroup);
                }
                else
                {
                    // nop
                }

                goldenTicket.assign(nodePre);
                BaseGoldenTicketTest.write3GTFiles(this, goldenTicket, "MISPre_" + (i < 2 ? "GB_" : "") + "ImpositionPreparation" + (goldenTicket.bStripping ? "Strip" : ""));
            }
        }
Esempio n. 2
0
 ///
 ///	 <summary> * create a BaseGoldenTicket
 ///	 *  </summary>
 ///	 * <param name="icsLevel"> the level to init to (1,2 or 3) </param>
 ///	 * <param name="jdfVersion"> the version to generate a golden ticket for </param>
 ///	 * <param name="jmfLevel"> level of jmf ICS to support </param>
 ///	 * <param name="misLevel"> level of MIS ICS to support </param>
 ///	 * <param name="isGrayBox"> if true, write a grayBox </param>
 ///
 public MISPreGoldenTicket(MISPreGoldenTicket previous, VJDFAttributeMap _vparts)
     : base(previous.misICSLevel, previous.theVersion, previous.jmfICSLevel)
 {
     partIDKeys      = new VString(previous.partIDKeys);
     vParts          = _vparts == null ? new VJDFAttributeMap(previous.vParts) : _vparts;
     icsLevel        = previous.icsLevel;
     nCols           = previous.nCols;
     workStyle       = previous.workStyle;
     thePreviousNode = previous.theNode;
     theParentNode   = previous.theParentNode;
 }
Esempio n. 3
0
        public virtual void testMIPreComplex()
        {
            for (int i = 0; i < 4; i++)
            {
                for (int ii = 0; ii < 2; ii++)
                {
                    bool bExpand            = ii == 0;
                    ProductGoldenTicket pgt = new ProductGoldenTicket(0, EnumVersion.Version_1_3, 0, 0);
                    pgt.assign(null);
                    pgt.createHDCity();
                    JDFNode node = pgt.getNode();

                    JDFNode            nodePre      = node.addJDFNode(EnumType.ProcessGroup);
                    MISPreGoldenTicket goldenTicket = new MISPreGoldenTicket(1, null, 2, 2, null);
                    goldenTicket.nCols[0]       = goldenTicket.nCols[1] = 4;
                    goldenTicket.workStyle      = EnumWorkStyle.WorkAndTurn;
                    goldenTicket.bExpandGrayBox = bExpand;

                    goldenTicket.setCategory(MISPreGoldenTicket.MISPRE_PREPRESSPREPARATION);
                    goldenTicket.assign(nodePre);
                    pgt.addKid(goldenTicket);

                    MISPreGoldenTicket goldenTicket2 = new MISPreGoldenTicket(goldenTicket, vMap);
                    goldenTicket2.bStripping     = i % 2 == 1;
                    goldenTicket2.bExpandGrayBox = bExpand;

                    JDFNode nodeImp = node.addJDFNode(EnumType.ProcessGroup);
                    goldenTicket2.setCategory(MISPreGoldenTicket.MISPRE_IMPOSITIONPREPARATION);
                    goldenTicket2.assign(nodeImp);
                    pgt.addKid(goldenTicket2);

                    MISPreGoldenTicket goldenTicket3 = new MISPreGoldenTicket(goldenTicket2, null);
                    JDFNode            nodeRIP       = node.addJDFNode(EnumType.ProcessGroup);
                    goldenTicket3.bExpandGrayBox = bExpand;
                    goldenTicket3.setCategory(i < 2 ? MISPreGoldenTicket.MISPRE_IMPOSITIONRIPING : MISPreGoldenTicket.MISPRE_PLATEMAKING);
                    goldenTicket3.assign(nodeRIP);
                    pgt.addKid(goldenTicket3);

                    if (i < 2)
                    {
                        MISPreGoldenTicket goldenTicket4 = new MISPreGoldenTicket(goldenTicket3, null);
                        JDFNode            nodePlateSet  = node.addJDFNode(EnumType.ProcessGroup);
                        goldenTicket4.setCategory(MISPreGoldenTicket.MISPRE_PLATESETTING);
                        goldenTicket4.assign(nodePlateSet);
                        pgt.addKid(goldenTicket4);
                    }

                    BaseGoldenTicketTest.write3GTFiles(this, pgt, "MISPre_ComplexPlate" + (i >= 2 ? "Making" : "Setting") + (goldenTicket2.bStripping ? "Strip" : "") + (bExpand ? "Expand" : ""));
                }
            }
        }
Esempio n. 4
0
        public virtual void testMISPreContentCreation()
        {
            MISPreGoldenTicket goldenTicket = new MISPreGoldenTicket(1, null, 2, 2, vMap);

            goldenTicket.nCols[0]  = goldenTicket.nCols[1] = 4;
            goldenTicket.workStyle = EnumWorkStyle.WorkAndTurn;
            goldenTicket.setCategory(MISPreGoldenTicket.MISPRE_CONTENTCREATION);

            ProductGoldenTicket pgt = new ProductGoldenTicket(0, EnumVersion.Version_1_3, 0, 0);

            pgt.assign(null);
            pgt.createHDCity();
            JDFNode node    = pgt.getNode();
            JDFNode nodePre = node.addJDFNode(EnumType.ProcessGroup);

            goldenTicket.assign(nodePre);
            BaseGoldenTicketTest.write3GTFiles(this, goldenTicket, "MISPre_ContentCreation");
        }
Esempio n. 5
0
 ///
 ///	 <summary> * create a BaseGoldenTicket
 ///	 *  </summary>
 ///	 * <param name="icsLevel"> the level to init to (1,2 or 3) </param>
 ///	 * <param name="jdfVersion"> the version to generate a golden ticket for </param>
 ///	 * <param name="jmfLevel"> level of jmf ICS to support </param>
 ///	 * <param name="misLevel"> level of MIS ICS to support </param>
 ///	 * <param name="isGrayBox"> if true, write a grayBox </param>
 ///
 public MISPreGoldenTicket(MISPreGoldenTicket parent)
     : base(parent)
 {
 }