mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-11 01:32:08 +10:00
added resistor color codes
fixed double value parsing
This commit is contained in:
+11
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user