Esempio n. 1
0
        ///
        ///	 * <param name="icsLevel">
        ///	 * @return </param>
        ///
        protected internal override JDFNodeInfo initNodeInfo()
        {
            JDFNodeInfo ni = base.initNodeInfo();

            if (vParts != null)
            {
                VJDFAttributeMap reducedMap = new VJDFAttributeMap(vParts);
                VString          reduceKeys = new VString(partIDKeys);
                // simplex and perfecting are one run only
                if (EnumWorkStyle.Simplex.Equals(workStyle) || EnumWorkStyle.Perfecting.Equals(workStyle))
                {
                    reduceKeys.Remove(AttributeName.SIDE);
                }
                reducedMap.reduceMap(reduceKeys.getSet());
                theNode.setPartStatus(reducedMap, EnumNodeStatus.Waiting, null);
                for (int i = 0; i < reducedMap.Count; i++)
                {
                    JDFAttributeMap part   = reducedMap[i];
                    JDFNodeInfo     niPart = (JDFNodeInfo)ni.getCreatePartition(part, partIDKeys);
                    niPart.setDescriptiveName("Printing for" + part.ToString());
                }
            }
            return(ni);
        }