Interktion im WPF erweitert

This commit is contained in:
HuskyTeufel
2021-09-22 16:26:56 +02:00
parent efa52c117c
commit e23f898f14
48 changed files with 1946 additions and 88 deletions

View File

@@ -12,6 +12,6 @@ namespace DaSaSo.Domain.Model
public string BuildingSiteNumber { get; set; }
public string Country { get; set; }
public string ContactPerson { get; set; }
public IEnumerable<SewerObject> SewerObjects { get; set; }
public ICollection<SewerObject> SewerObjects { get; set; } = new List<SewerObject>();
}
}

View File

@@ -13,7 +13,7 @@ namespace DaSaSo.Domain.Model
public string Country { get; set; }
public string Street { get; set; }
public string Postcode { get; set; }
public IEnumerable<Project> Projects { get; set; }
public ICollection<Project> Projects { get; set; } = new List<Project>();
}
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DaSaSo.Domain.Model
{
public class Impregnation : DomainObject
{
public int DN { get; set; }
public string Number { get; set; }
public decimal Linerlength { get; set; }
public bool IsAvaible { get; set; }
public DateTime Date { get; set; }
public string LinerNumber { get; set; }
public decimal WallThickness { get; set; }
}
}

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DaSaSo.Domain.Model
{
public class PipeLiner : SewerRehabilation
{
public decimal InversionPressure { get; set; }
public Impregnation Impregnation { get; set; }
public bool ClosedEnd { get; set; }
public bool Preliner { get; set; }
public decimal TemperaturAssembly { get; set; }
public decimal TemperaturStorage { get; set; }
public decimal LinerLength { get; set; }
}
}

View File

@@ -10,6 +10,6 @@ namespace DaSaSo.Domain.Model
{
public string Name { get; set; }
public Client Client { get; set; }
public IEnumerable<Buildingsite> BuildingSites { get; set; }
public ICollection<Buildingsite> BuildingSites { get; set; } = new List<Buildingsite>();
}
}

View File

@@ -20,7 +20,8 @@ namespace DaSaSo.Domain.Model
public bool WaterBarrier { get; set; }
public bool PermitNeeded { get; set; }
public bool BuildingsiteBarier { get; set; }
public IEnumerable<SewerDamage> SewerDamages { get; set; }
public PipeLiner? PipeLiner { get; set; }
public ICollection<SewerDamage> SewerDamages { get; set; } = new List<SewerDamage>();
//Not for Databinding
[NotMapped]

View File

@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DaSaSo.Domain.Model
{
public abstract class SewerRehabilation : DomainObject
{
public string Operator { get; set; }
public DateTime Date { get; set; }
public decimal TemperatureOutdoors { get; set; }
public decimal TemperatureSewer { get; set; }
public string Weather { get; set; }
public bool CleanedHD { get; set; }
public bool CleanedMechanisch { get; set; }
public bool CleanedRoborter { get; set; }
public bool WaterBaried { get; set; }
public bool PermitNeeded { get; set; }
public bool STVO { get; set; }
}
}