Klassifizierungssystem hinzugefügt

This commit is contained in:
2023-09-13 12:56:39 +02:00
parent 49ab3598d7
commit bfa77de720
42 changed files with 886 additions and 112 deletions

View File

@@ -2,9 +2,27 @@
{
public class BAH : AbstractCode
{
public BAH() : base("Schadhafter Anschluss", CalculateMethods.Dichtheit | CalculateMethods.Standsicherheit | CalculateMethods.Betriebsicherheit)
public BAH() : base("Schadhafter Anschluss")
{
throw new NotImplementedException () ;
}
public override int CalculateDK()
{
switch(Ch1)
{
case "B":
case "C":
case "D": return 2;
case "Z": return 7;
default: return 5;
}
}
public override int CalculateSK()
{
if (Ch1.Equals("Z")) return 7;
return 5;
}
}
}