Klassifizierungssystem hinzugefügt
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user