Imprägnierungedit weitergeschrieben

This commit is contained in:
HuskyTeufel
2021-10-28 15:53:35 +02:00
parent e2e7fbc9c4
commit b4a896f5bf
9 changed files with 108 additions and 125 deletions

View File

@@ -1,4 +1,6 @@
using System;
using DaSaSo.Domain.Model;
using DaSaSo.ViewModel.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -8,5 +10,52 @@ namespace DaSaSo.ViewModel
{
public class ImpregnierungEditViewModel : BaseViewModel
{
private Impregnation _model;
public int DN
{
get => _model.DN;
set
{
_model.DN = value;
}
}
public string LinerCharge
{
get => _model.LinerNumber;
set
{
_model.LinerNumber = value;
}
}
public decimal Wandstärke
{
get => _model.WallThickness;
set
{
_model.WallThickness = value;
}
}
public decimal LinerLänge
{
get => _model.Linerlength;
set
{
_model.Linerlength = value;
}
}
public string Imprägniernummer
{
get => _model.Number;
set
{
_model.Number = value;
}
}
public ImpregnierungEditViewModel(IActualProject actualProject)
{
_model = actualProject.AktuellImpregnation;
}
}
}