public override void DoubleClick(Action <string> showMsg)
        {
            IShortBranchTreeGenerator graph = new DigraphBuilder();

            graph.buildRoutes();
            if (pro.VccToCF == null)
            {
                pro.VccToCF = graph.getVccToCFBranch();
            }
            showMsg("加载总正至测试点部分图纸...\r\n");
            Messenger.Default.Send <BranchView>(
                pro.VccToCF
                , "ShowGraph");
        }
Example #2
0
        public override void DoubleClick(Action <string> showMsg)
        {
            IShortBranchTreeGenerator graph = new DigraphBuilder();

            graph.buildRoutes();
            if (pro.CompleteBr == null)
            {
                pro.CompleteBr = graph.getAllBranch();
            }
            showMsg("加载布线总图...\r\n");
            Messenger.Default.Send <BranchView>(
                pro.CompleteBr
                , "ShowGraph");
        }