Beispiel #1
0
        public GaugesWidget(IReactivePublisher publisher
                            , GuagesViewModel ViewModel) : base(publisher)
        {
            this.ViewModel = ViewModel;
            this.ViewModel.ParentWidget = this;


            this.Parameters       = new GuagesParameters();
            this.pluginParameters = new GuagesParameters();
            this.Parameters.SetParams(this.pluginParameters.GetParams());
            this.ViewModel.Parameters = (GuagesParameters)this.Parameters;


            _viewerWindow  = new GuagesView(this.ViewModel);
            this.UiElement = _viewerWindow;
            this.publisher = publisher;
        }
 public GuagesSettingViewModel(GuagesViewModel ViewerModel, GuagesView ViewerMainWindow)
 {
     this._viewerModel = ViewerModel;
     this._Viewer      = ViewerMainWindow;
 }