mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 09:12:09 +10:00
29 lines
545 B
Java
29 lines
545 B
Java
package org.diylc.components.passive;
|
|
|
|
import org.diylc.core.measures.Resistance;
|
|
|
|
public class PotentiometerValue {
|
|
|
|
private Resistance resistance;
|
|
private Taper taper;
|
|
|
|
public PotentiometerValue(Resistance resistance, Taper taper) {
|
|
super();
|
|
this.resistance = resistance;
|
|
this.taper = taper;
|
|
}
|
|
|
|
public Resistance getResistance() {
|
|
return resistance;
|
|
}
|
|
|
|
public Taper getTaper() {
|
|
return taper;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return resistance.toString() + " " + taper.toString();
|
|
}
|
|
}
|