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