Beispiel #1
0
        public static string GetLocalSetting(IServiceProvider serviceProvider, string loadingName)
        {
            IVsApplication application  = (IVsApplication)serviceProvider.GetService(typeof(IVsApplication));
            string         loadingValue = application.GetSetting(loadingName);

            return(loadingValue);
        }
Beispiel #2
0
        protected override void LoadDocument()
        {
            var item = (IMenuDocItem)this.Document.ProjectItem;

            _result      = (IExperimentResultItem)item.Arguments[0];
            _application = (IVsApplication)GetService(typeof(IVsApplication));
            _resultCtx   = _result.GetCtx <ResultDataContext>();

            Globals.InitFactoryTime(_result.Model);

            SetControl();
        }
Beispiel #3
0
        protected override void LoadDocument()
        {
            var item = (IMenuDocItem)this.Document.ProjectItem;

            _result      = (IExperimentResultItem)item.Arguments[0];
            _application = (IVsApplication)GetService(typeof(IVsApplication));

            Globals.InitFactoryTime(_result);

            _planStartTime = _result.StartTime;
            _resultDict    = new Dictionary <string, CompareItem>();

            SetControls();
        }
Beispiel #4
0
        protected override void LoadDocument()
        {
            var item = (IMenuDocItem)this.Document.ProjectItem;

            _result      = (IExperimentResultItem)item.Arguments[0];
            _application = (IVsApplication)GetService(typeof(IVsApplication));
            _resultCtx   = _result.GetCtx <ResultDataContext>();

            Globals.InitFactoryTime(_result.Model);

            this.EqpMgr.LoadEqp(_result);


            SetValidEqpIDList();

            PrepareData_StdStep();
            PrepareDispatchingData();

            SetControl();
        }
Beispiel #5
0
        public static void SetLocalSetting(IServiceProvider serviceProvider, string settingName, string settingValue)
        {
            IVsApplication application = (IVsApplication)serviceProvider.GetService(typeof(IVsApplication));

            application.SetSetting(settingName, settingValue);
        }