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,32 @@
{
public class BAI : AbstractCode
{
public BAI() : base("Einragendes Dichtungsmaterial", CalculateMethods.Dichtheit | CalculateMethods.Betriebsicherheit)
public BAI() : base("Einragendes Dichtungsmaterial")
{
throw new NotImplementedException () ;
}
public override int CalculateDK()
{
return 2;
}
public override int CalculateBK()
{
if(Ch1.Equals("A"))
{
if (Ch2.Equals("A")) return 4;
return 3;
}
switch(Q1)
{
case >= 50: return 0;
case >= 35: return 1;
case >= 20: return 2;
case >= 5: return 3;
default: return 4;
}
}
}
}