mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-04-25 22:25:34 +00:00
65 lines
1.3 KiB
Java
65 lines
1.3 KiB
Java
package I;
|
|
|
|
import G.R;
|
|
import G.GComponentCq;
|
|
import G.ManagerUsingArrayList;
|
|
import java.util.ArrayList;
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
|
|
public class IInterfaceOscar implements GComponentCq {
|
|
public static int a = 255;
|
|
|
|
public static int b = 65535;
|
|
|
|
int c = 0;
|
|
|
|
int d = b;
|
|
|
|
R e;
|
|
|
|
String f = null;
|
|
|
|
public List g = new ArrayList();
|
|
|
|
public IInterfaceOscar(R paramR) {
|
|
this.e = paramR;
|
|
}
|
|
|
|
public void a(String paramString, int paramInt) {
|
|
this.f = paramString;
|
|
this.d = paramInt;
|
|
this.c = 0;
|
|
ManagerUsingArrayList.a().a(this.e.c(), paramString, this);
|
|
}
|
|
|
|
public void setCurrentOutputChannelValue(String paramString, double paramDouble) {
|
|
if (this.c <= this.d - 1 && paramDouble < this.c)
|
|
b();
|
|
this.c = (int)paramDouble;
|
|
}
|
|
|
|
public void a() {
|
|
ManagerUsingArrayList.a().a(this);
|
|
}
|
|
|
|
public void a(n paramn) {
|
|
this.g.add(paramn);
|
|
}
|
|
|
|
public void b(n paramn) {
|
|
this.g.remove(paramn);
|
|
}
|
|
|
|
private void b() {
|
|
Iterator<n> iterator = this.g.iterator();
|
|
while (iterator.hasNext())
|
|
((n)iterator.next()).a(this.e.c());
|
|
}
|
|
}
|
|
|
|
|
|
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/I/o.class
|
|
* Java compiler version: 8 (52.0)
|
|
* JD-Core Version: 1.1.3
|
|
*/ |