Ejemplo n.º 1
0
        //执行推荐方案
        private string ExecuteStrategyRecommendCommand(StrategyElement arg)
        {
            //物理镜像【测试代码】
            SubView = DevHomePageSubViewHelper.GetOrCreateView(ExportKeys.MirrorView, CurDevModel.IDevSource);

            return($"执行推荐方案{arg.SolutionStrategyName}");
        }
Ejemplo n.º 2
0
        private void ExecuteAutoExtractCommand()
        {
            var adorner = CurDevModel.DeviceExtractionAdorner as DeviceExtractionAdorner;

            XLY.SF.Project.CaseManagement.ExtractItem ei =
                adorner.Target.CreateExtract(SystemContext.LanguageManager[Languagekeys.ViewLanguage_View_StrategyRecommend_AutoExtraction],
                                             SystemContext.LanguageManager[Languagekeys.ViewLanguage_View_StrategyRecommend_AutoExtraction]);

            Pump @params = new Pump(ei.Path, "data.db");

            @params.Type   = EnumPump.USB;
            @params.OSType = (CurDevModel.IDevSource as Domains.Device).OSType;
            @params.Source = CurDevModel.IDevSource;
            SubView        = DevHomePageSubViewHelper.GetOrCreateView(ExportKeys.ExtractionView, @params);
        }