Exemplo n.º 1
0
        public void LinkProcess()
        {
            if (sourceObject == null)
            {
                return;
            }
            if (string.IsNullOrEmpty(CmdKey) || string.IsNullOrEmpty(BlockName))
            {
                return;
            }
            if (csvLineData == null)
            {
                return;
            }
            Block _block = sourceObject.FindBlock(BlockName);

            if (_block == null)
            {
                return;
            }

            AdvCSVLine line = AdvUtility.SearchLineByKey(csvLineData, CmdKey);

            if (line != null)
            {
                line.generateBlock = _block;
            }

            ViewCSVLineData(sourceObject);
            AdvUtility.Log("Link Block Success");
        }