public void UpdateFromProject(VProject vProject) { _model = (VWindWave)vProject.ProjectModel; _model.PropertyChanged += _model_PropertyChanged; DataContext = _model; CalculateOutput(); }
public void UpdateFromProject(VProject vProject) { _model = (VWindWave) vProject.ProjectModel; _model.PropertyChanged += _model_PropertyChanged; DataContext = _model; CalculateOutput(); }
public override object CreateProjectModel() { var m = new VWindWave(); m.Ug = 7; m.Zg = 20; m.Zhub = 100; m.Td = 100; m.Ef = 35; m.Cw = 2; return m; }
public override object CreateProjectModel() { var m = new VWindWave(); m.Ug = 7; m.Zg = 20; m.Zhub = 100; m.Td = 100; m.Ef = 35; m.Cw = 2; return(m); }