public ScreenAdderViewModel(WellViewModel well) { this.well = well; svm = well.AddScreen(); NeedToCancel = true; CurrentChange = new ChangeDescriptionViewModel(svm.CVM.ChangeController.NewScreen(svm._screen)); RaisePropertyChanged("CurrentChange"); RaisePropertyChanged("Intakes"); }
public ScreenAdderViewModel(WellViewModel well) { this.well = well; svm = well.AddScreen(); NeedToCancel = true; CurrentChange = new ChangeDescriptionViewModel(svm.CVM.ChangeController.NewScreen(svm._screen)); RaisePropertyChanged("CurrentChange"); RaisePropertyChanged("Intakes"); }
/// <summary> /// Sets the top and bottom layer /// </summary> /// <param name="mshe"></param> /// <param name="thiswell"></param> public void LinkToMshe(Model mshe, WellViewModel thiswell) { if (thiswell.Column >= 0 & thiswell.Row >= 0 ) { if (_screen.TopAsKote.HasValue) MsheTopLayer = mshe.GridInfo.GetLayer(thiswell.Column, thiswell.Row, _screen.TopAsKote.Value); if (_screen.BottomAsKote.HasValue) MsheBottomLayer = mshe.GridInfo.GetLayer(thiswell.Column, thiswell.Row, _screen.BottomAsKote.Value); } }
/// <summary> /// Sets the top and bottom layer /// </summary> /// <param name="mshe"></param> /// <param name="thiswell"></param> public void LinkToMshe(Model mshe, WellViewModel thiswell) { if (thiswell.Column >= 0 & thiswell.Row >= 0) { if (_screen.TopAsKote.HasValue) { MsheTopLayer = mshe.GridInfo.GetLayer(thiswell.Column, thiswell.Row, _screen.TopAsKote.Value); } if (_screen.BottomAsKote.HasValue) { MsheBottomLayer = mshe.GridInfo.GetLayer(thiswell.Column, thiswell.Row, _screen.BottomAsKote.Value); } } }
public MoveToChalkViewModel(WellViewModel Wvm, ScreenViewModel sc) { Well = Wvm; screen = sc; }
public MoveToChalkViewModel(WellViewModel Wvm, ScreenViewModel sc) { Well = Wvm; screen = sc; }