Pibd-22_Emelyanov_A.S._Airb.../IlluminatorCount.java
2022-11-16 16:44:07 +04:00

23 lines
364 B
Java

public enum IlluminatorCount {
Ten,
Twenty,
Thirty;
public static IlluminatorCount GetIlluminatorCount(int Value)
{
switch(Value)
{
case 10:
return Ten;
case 20:
return Twenty;
case 30:
return Thirty;
}
return null;
}
}