Interktion im WPF erweitert
This commit is contained in:
@@ -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>();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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>();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
19
DaSaSo.Domain/Model/Impregnation.cs
Normal file
19
DaSaSo.Domain/Model/Impregnation.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
20
DaSaSo.Domain/Model/PipeLiner.cs
Normal file
20
DaSaSo.Domain/Model/PipeLiner.cs
Normal 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; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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>();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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]
|
||||
|
||||
24
DaSaSo.Domain/Model/SewerRehabilation.cs
Normal file
24
DaSaSo.Domain/Model/SewerRehabilation.cs
Normal 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; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user