public PostDiveStageStepInfo(IDiveParametersResultModel diveParametersModel, IDiveModel diveModel, IDiveStepModel diveStep, IGasMixtureModel gasMixture, IGasManagementModel gasManagement, List <double> toleratedAmbientPressures) { _diveParametersModel = diveParametersModel; _diveModel = diveModel; _diveStep = diveStep; _gasMixture = gasMixture; _gasManagement = gasManagement; _toleratedAmbientPressures = toleratedAmbientPressures; }
public IDiveParametersResultViewModel ConvertModelToViewModel( IDiveParametersResultModel diveParametersResultModel) { return(new DiveParametersResultViewModel() { DiveProfileStepHeader = diveParametersResultModel.DiveProfileStepHeader, DiveModelUsed = diveParametersResultModel.DiveModelUsed, Depth = diveParametersResultModel.Depth, Time = diveParametersResultModel.Time, GasName = diveParametersResultModel.GasName, Oxygen = diveParametersResultModel.Oxygen, Helium = diveParametersResultModel.Helium, Nitrogen = diveParametersResultModel.Nitrogen, DiveCeiling = diveParametersResultModel.DiveCeiling, }); }