83 lines
1.7 KiB
Java
83 lines
1.7 KiB
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package com.tridium.sys.engine;
|
|
|
|
import com.tridium.sys.engine.NKnob;
|
|
import javax.baja.naming.BOrd;
|
|
import javax.baja.sys.BComponent;
|
|
import javax.baja.sys.BLink;
|
|
import javax.baja.sys.Slot;
|
|
|
|
public final class ProxyKnob
|
|
extends NKnob {
|
|
BComponent source;
|
|
Slot sourceSlot;
|
|
BOrd targetOrd;
|
|
String targetSlot;
|
|
|
|
public final boolean isLocal() {
|
|
return false;
|
|
}
|
|
|
|
public final boolean isProxy() {
|
|
return true;
|
|
}
|
|
|
|
public final BLink getLink() {
|
|
return null;
|
|
}
|
|
|
|
public final BOrd getTargetOrd() {
|
|
return this.targetOrd;
|
|
}
|
|
|
|
public final BComponent getTargetComponent() {
|
|
return null;
|
|
}
|
|
|
|
public final String getTargetSlotName() {
|
|
return this.targetSlot;
|
|
}
|
|
|
|
public final Slot getTargetSlot() {
|
|
return null;
|
|
}
|
|
|
|
public final BOrd getSourceOrd() {
|
|
return this.source.getOrdInSpace();
|
|
}
|
|
|
|
public final BComponent getSourceComponent() {
|
|
return this.source;
|
|
}
|
|
|
|
public final String getSourceSlotName() {
|
|
return this.sourceSlot.getName();
|
|
}
|
|
|
|
public final Slot getSourceSlot() {
|
|
return this.sourceSlot;
|
|
}
|
|
|
|
public final void copyFrom(NKnob nKnob) {
|
|
try {
|
|
ProxyKnob proxyKnob = (ProxyKnob)nKnob;
|
|
this.targetOrd = proxyKnob.targetOrd;
|
|
this.targetSlot = proxyKnob.targetSlot;
|
|
}
|
|
catch (Exception exception) {
|
|
exception.printStackTrace();
|
|
}
|
|
}
|
|
|
|
public ProxyKnob(int n, BComponent bComponent, Slot slot, BOrd bOrd, String string) {
|
|
super(n);
|
|
this.source = bComponent;
|
|
this.sourceSlot = slot;
|
|
this.targetOrd = bOrd;
|
|
this.targetSlot = string;
|
|
}
|
|
}
|
|
|