35 lines
890 B
C#
35 lines
890 B
C#
namespace DaSaSo.Domain.Model
|
|
{
|
|
[Flags]
|
|
public enum EDamageType
|
|
{
|
|
NONE = 0,
|
|
Riss = 1,
|
|
Bruch = 2,
|
|
Scherbe = 4,
|
|
Wurzel = 8,
|
|
Inkrustation = 16,
|
|
Ablagerung = 32,
|
|
EinrageneStutzen = 64,
|
|
Infiltration = 128,
|
|
Static = Riss | Bruch | Scherbe,
|
|
Betrieb = Wurzel | Inkrustation | Ablagerung,
|
|
Other = EinrageneStutzen | Infiltration
|
|
}
|
|
[Flags]
|
|
public enum EPreparationType
|
|
{
|
|
NONE = 0,
|
|
CleanedHD = 1,
|
|
CleanedMechanisch = 2,
|
|
CleanedRoboter = 4,
|
|
FaekalienFrei = 8
|
|
}
|
|
public class SewerDamage : DomainObject
|
|
{
|
|
public SewerObject SewerObject { get; set; }
|
|
public decimal Distance { get; set; }
|
|
public EDamageType DamageType { get; set; }
|
|
public EPreparationType PreparationType { get; set; }
|
|
}
|
|
} |