Example #1
0
        public IInterpreterPreConfiguration PreConfig(IPreConfigParameters parameters)
        {
            var config = new PrepareIFabConfig();

            config.ProjectDirectory = parameters.ProjectDirectory;
            return(config);
        }
Example #2
0
        /// <summary>
        /// Preconfig gets called first. No transaction is open, but one may be opened.
        /// In this function model may be processed and some object ids get serialized
        /// and returned as preconfiguration (project-wise configuration).
        /// </summary>
        /// <param name="preConfigParameters"></param>
        /// <returns>Null if no configuration is required by the DoGUIConfig.</returns>
        public IInterpreterPreConfiguration PreConfig(IPreConfigParameters preConfigParameters)
        {
            //var preConfig = new CyPhy2Schematic_v2PreConfiguration()
            //{
            //    ProjectDirectory = preConfigParameters.ProjectDirectory
            //};

            //return preConfig;
            return(null);
        }
Example #3
0
 public IInterpreterPreConfiguration PreConfig(IPreConfigParameters preConfigParameters)
 {
     return(null);
 }
 public IInterpreterPreConfiguration PreConfig(IPreConfigParameters parameters)
 {
     var config = new CADAnalysisConfig();
     config.ProjectDirectory = parameters.ProjectDirectory;
     return config;
 }
 public IInterpreterPreConfiguration PreConfig(IPreConfigParameters parameters)
 {
     var config = new PrepareIFabConfig();
     config.ProjectDirectory = parameters.ProjectDirectory;
     return config;
 }
 public IInterpreterPreConfiguration PreConfig(IPreConfigParameters parameters)
 {
     return null;
 }
Example #7
0
        /// <summary>
        /// Preconfig gets called first. No transaction is open, but one may be opened.
        /// In this function model may be processed and some object ids get serialized
        /// and returned as preconfiguration (project-wise configuration).
        /// </summary>
        /// <param name="preConfigParameters"></param>
        /// <returns>Null if no configuration is required by the DoGUIConfig.</returns>
        public IInterpreterPreConfiguration PreConfig(IPreConfigParameters parameters)
        {
            // TODO: configure CyPhy2Modelica only if needed (requires a MI change too)
            // CyPhy.ParametricExploration pet = ISIS.GME.Common.Utils.CreateObject<CyPhyClasses.ParametricExploration>(parameters.TestBench as MgaObject);
            //throw new NotImplementedException();

            return null;
        }
        /// <summary>
        /// Preconfig gets called first. No transaction is open, but one may be opened.
        /// In this function model may be processed and some object ids get serialized
        /// and returned as preconfiguration (project-wise configuration).
        /// </summary>
        /// <param name="preConfigParameters"></param>
        /// <returns>Null if no configuration is required by the DoGUIConfig.</returns>
        public IInterpreterPreConfiguration PreConfig(IPreConfigParameters preConfigParameters)
        {
            //var preConfig = new CyPhy2RF_v2PreConfiguration()
            //{
            //    ProjectDirectory = preConfigParameters.ProjectDirectory
            //};

            //return preConfig;
            return null;
        }
        /// <summary>
        /// Preconfig gets called first. No transaction is open, but one may be opened.
        /// In this function model may be processed and some object ids get serialized
        /// and returned as preconfiguration (project-wise configuration).
        /// </summary>
        /// <param name="preConfigParameters"></param>
        /// <returns>Null if no configuration is required by the DoGUIConfig.</returns>
        public IInterpreterPreConfiguration PreConfig(IPreConfigParameters preConfigParameters)
        {
            var preConfig = new CyPhy2Modelica_v2PreConfiguration()
            {
                ProjectDirectory = preConfigParameters.ProjectDirectory
            };

            return preConfig;
        }