diff options
| author | Foghrye4 <foghrye4@gmail.com> | 2017-06-17 08:12:18 +0300 |
|---|---|---|
| committer | Foghrye4 <foghrye4@gmail.com> | 2017-06-17 08:12:18 +0300 |
| commit | dc3df3edd5843bde0c1335d6a8e460b2c832aa48 (patch) | |
| tree | af13bfeee567f2351e35e1ef176d168fe37c8aac /ihl/metallurgy/constants/Insulation.java | |
| parent | 1da8dcd58647e34c9af94ceeecaeaf3b0d08c48c (diff) | |
full project files
Diffstat (limited to 'ihl/metallurgy/constants/Insulation.java')
| -rw-r--r-- | ihl/metallurgy/constants/Insulation.java | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/ihl/metallurgy/constants/Insulation.java b/ihl/metallurgy/constants/Insulation.java deleted file mode 100644 index cd8f8c9..0000000 --- a/ihl/metallurgy/constants/Insulation.java +++ /dev/null @@ -1,40 +0,0 @@ -package ihl.metallurgy.constants;
-
-public enum Insulation {
- TarPitch(10000,6000),
- RawRubber(10000,6000),
- PVC(18000,20000),
- Rubber(20000,10000),
- Plastic(40000,35000),//Polyethylene
- XPVC(30000,100000);
- Insulation(int maxVoltagePermm1, int maxVoltageCap1)
- {
- maxVoltagePermm=maxVoltagePermm1;//V/mm
- maxVoltageCap=maxVoltageCap1;
- }
- public final int maxVoltagePermm;
- public final int maxVoltageCap;
- public static int getMaxVoltagePermm(String name)
- {
- if(Insulation.valueOf(name)==null)
- {
- return 0;
- }
- else
- {
- return Insulation.valueOf(name).maxVoltagePermm;
- }
- }
- public static int getMaxVoltageCap(String name)
- {
- if(Insulation.valueOf(name)==null)
- {
- return 0;
- }
- else
- {
- return Insulation.valueOf(name).maxVoltageCap;
- }
- }
-
-}
|
