Ejemplo n.º 1
0
        /// <summary>
        /// 获取MaskLayer
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void GetDieLayer()
        {
            //CopperLayresCount
            int boardlayers = theJob.CopperLayresCount();

            Dictionary <string, string>[] dictDieLayer = new Dictionary <string, string> [boardlayers - 1];
            jobNum_DIE_LAYER = dictDieLayer.Length;
            for (int dictLength = 0; dictLength < dictDieLayer.Length; dictLength++)
            {
                dictDieLayer[dictLength] = new Dictionary <string, string>();
            }
            for (int i = 0; i < dictDieLayer.Count(); i++)
            {
                dictDieLayer[i].Add("DIE_LAYER_INDEX", (i + 1).ToString());
                dictDieLayer[i].Add("DIE_RAW_THICKNESS", "0");
                dictDieLayer[i].Add("DIE_FINISH_THICKNESS", "0");
                dictDieLayer[i].Add("RESIN_FILLED_CU_THK", "0");
                dictDieLayer[i].Add("RESIN_FLOW_THK", "0");
                dictDieLayer[i].Add("RESIN_FILLED_VIA_THK", "0");
            }
            listDieLayerT = new List <Dictionary <string, string> >();
            foreach (var item in dictDieLayer)
            {
                listDieLayerT.Add(item);
            }
        }