/// /// <summary> * initializes this node to a given ICS version </summary> /// * <param name="icsLevel"> the level to init to (1,2 or 3) </param> /// public override void init() { if (misICSLevel < 0) { return; } string icsTag = "MIS_L" + misICSLevel + "-" + theVersion.getName(); theNode.appendAttribute(AttributeName.ICSVERSIONS, icsTag, null, " ", true); if (!theNode.hasAttribute(AttributeName.DESCRIPTIVENAME)) { theNode.setDescriptiveName("MIS Golden Ticket Example Job - version: " + JDFAudit.software()); } if (!theNode.hasAncestorAttribute(AttributeName.JOBID, null)) { theNode.setJobID("Job" + JDFElement.uniqueID(0)); } //ORIGINAL LINE: final VString types = getTypes(); VString types = getTypes(); if (types != null) { theNode.setCategory(getCategory()); theNode.setCombined(types); if (grayBox) { theNode.setType(org.cip4.jdflib.node.JDFNode.EnumType.ProcessGroup); } } initNodeInfo(); initCustomerInfo(); }
/// /// <summary> * initializes this node to a given ICS version </summary> /// * <param name="icsLevel"> the level to init to (1,2 or 3) </param> /// public override void init() { string icsTag = "IDP_L" + icsLevel + "-" + theVersion.getName(); theNode.appendAttribute(AttributeName.ICSVERSIONS, icsTag, null, " ", true); if (!theNode.hasAttribute(AttributeName.DESCRIPTIVENAME)) { theNode.setDescriptiveName("IDP Golden Ticket Example Job - version: " + JDFAudit.software()); } base.init(); setActivePart(vParts, true); initDocumentRunList(); initDigitalPrintingParams(); initOutputComponent(); initInterpretingParams(); }
/// /// <summary> * initializes this node to a given ICS version /// * </summary> /// * <param name="icsLevel"> the level to init to (1,2 or 3) </param> /// public override void init() { theNode.setType(EnumType.ProcessGroup); initColsFromParent(); theNode.linkOutputs(thePreviousNode); // put level methods? int ncols = getNCols(); while (cols.Count > ncols && ncols > 0) { cols.RemoveAt(ncols); } if (icsLevel < 0) { return; } string icsTag = "MISPre_L" + icsLevel + "-" + theVersion.getName(); theNode.appendAttribute(AttributeName.ICSVERSIONS, icsTag, null, " ", true); if (!theNode.hasAttribute(AttributeName.DESCRIPTIVENAME)) { theNode.setDescriptiveName("MISPre Golden Ticket Example Job - version: " + JDFAudit.software()); } string cat = getCategory(); if (MISPRE_CONTENTCREATION.Equals(cat)) { initGBContentCreation(); } else if (MISPRE_PREPRESSPREPARATION.Equals(cat)) { initGBPrePressPreparation(); } else if (MISPRE_IMPOSITIONPREPARATION.Equals(cat)) { initGBImpositionPreparation(); } else if (MISPRE_IMPOSITIONRIPING.Equals(cat)) { initGBImpositionRIPing(); } else if (MISPRE_PLATESETTING.Equals(cat)) { initGBPlateSetting(); } else if (MISPRE_PLATEMAKING.Equals(cat)) { initGBPlateMaking(); } base.init(); setActivePart(vParts, true); }
/// /// <summary> * initializes this node to a given ICS version /// * </summary> /// * <param name="icsLevel"> the level to init to (1,2 or 3) </param> /// public override void init() { initColsFromParent(); initAmountsFromParent(); if (partIDKeys == null) { partIDKeys = new VString("SignatureName SheetName Side Separation", null); } // put level methods? int ncols = getNCols(); while (cols.Count > ncols && ncols > 0) { cols.RemoveAt(ncols); } if (icsLevel < 0) { return; } string icsTag = "MISCPS_L" + icsLevel + "-" + theVersion.getName(); theNode.appendAttribute(AttributeName.ICSVERSIONS, icsTag, null, " ", true); if (!theNode.hasAttribute(AttributeName.DESCRIPTIVENAME)) { theNode.setDescriptiveName("MISCPS Golden Ticket Example Job - version: " + JDFAudit.software()); } if (!grayBox) { theNode.setType(EnumType.ConventionalPrinting); } initColorantControl(); initConventionalPrintingParams(); JDFMedia m = initPaperMedia(); initPlateXM(EnumUsage.Input); initDevice(thePreviousNode); JDFComponent c = initOutputComponent(); initInk(); base.init(); initPreview(); setActivePart(vParts, true); theStatusCounter.setTrackWaste(c.getID(), true); theStatusCounter.setTrackWaste(m.getID(), true); }
/// /// <summary> * initializes this node to a given ICS version /// * </summary> /// * <param name="icsLevel"> the level to init to (1,2 or 3) </param> /// public override void init() { if (icsLevel < 0) { return; } // String icsTag="MISCPS_L"+icsLevel+"-"+theVersion.getName(); // theNode.appendAttribute(AttributeName.ICSVERSIONS, icsTag, null, " ", // true); if (!theNode.hasAttribute(AttributeName.DESCRIPTIVENAME)) { theNode.setDescriptiveName("Product Golden Ticket Example Job - version: " + JDFAudit.software()); } theNode.setType(EnumType.Product); base.init(); }
/// /// <summary> * </summary> /// protected internal virtual void initJDF() { string icsTag = "Base_L" + baseICSLevel + "-" + theVersion.getName(); theNode.appendAttribute(AttributeName.ICSVERSIONS, icsTag, null, " ", true); theNode.setVersion(theVersion); theNode.setMaxVersion(theVersion); theNode.setStatus(EnumNodeStatus.Waiting); if (!theNode.hasAttribute(AttributeName.DESCRIPTIVENAME)) { theNode.setDescriptiveName("Base Golden Ticket Example Job - version: " + JDFAudit.software()); } if (theParentNode == null && !theNode.hasAttribute(AttributeName.COMMENTURL)) { theNode.setCommentURL(UrlUtil.StringToURL("http://www.example.com").ToString()); } }