added resistor color codes

fixed double value parsing
This commit is contained in:
bancika
2011-01-27 22:34:41 +00:00
parent b3351ef081
commit 11b7756a59
6 changed files with 86 additions and 0 deletions
@@ -0,0 +1,11 @@
package org.diylc.common;
public enum ResistorColorCode {
_4_BAND, _5_BAND;
@Override
public String toString() {
return name().substring(1).replace("_", " ").toLowerCase();
}
}