コード例 #1
0
        public bool Load(IProject project, ICancelProgressHandler progress)
        {
            ModelService.WorkDirectory = project.FullModelWorkDirectory;
            HeiflowModel model = new HeiflowModel();

            model.ControlFileName = project.RelativeControlFileName;
            model.WorkDirectory   = project.FullModelWorkDirectory;
            model.Project         = project;
            model.Initialize();
            return(model.Load(progress));
        }
コード例 #2
0
        public bool CanImport(IProject project)
        {
            HeiflowModel model = new HeiflowModel();

            return(model.Exsit(project.RelativeControlFileName));
        }