Commit 54923d23 authored by 周航's avatar 周航

cyq commit

parent c5beba28
package tohi.app.rlrelaymanage;
import java.rmi.RemoteException;
import psdi.mbo.MAXTableDomain;
import psdi.mbo.MboRemote;
import psdi.mbo.MboSetRemote;
import psdi.mbo.MboValue;
import psdi.util.MXException;
public class AircompressoractimeNum extends MAXTableDomain{
public AircompressoractimeNum(MboValue mbv) {
super(mbv);
String thisname = getMboValue().getAttributeName();
String[] hz = { "AIRCOMPRESSORACTIMEID" };
String[] target = new String[1];
target[0] = thisname;
setLookupKeyMapInOrder(target, hz);
setRelationship("AIRCOMPRESSORACTIME", "AIRCOMPRESSORACTIMEID=:" + thisname +" ");
}
}
package tohi.app.rlrelaymanage;
import java.rmi.RemoteException;
import psdi.mbo.MAXTableDomain;
import psdi.mbo.MboRemote;
import psdi.mbo.MboSetRemote;
import psdi.mbo.MboValue;
import psdi.util.MXException;
public class ExportBreakerNum extends MAXTableDomain {
public ExportBreakerNum(MboValue mbv) {
super(mbv);
String thisname = getMboValue().getAttributeName();
String[] hz = { "EXPORTBREAKERID" };
String[] target = new String[1];
target[0] = thisname;
setLookupKeyMapInOrder(target, hz);
setRelationship("EXPORTBREAKER", "EXPORTBREAKERID=:" + thisname +" ");
}
}
......@@ -16,25 +16,12 @@ public class FldplateNum extends MAXTableDomain{
public FldplateNum(MboValue mbv) {
super(mbv);
String thisname = getMboValue().getAttributeName();
String[] hz = { "PLATENUM" };
String[] hz = { "SHIFTINJECTORPUMPID" };
String[] target = new String[1];
target[0] = thisname;
setLookupKeyMapInOrder(target, hz);
setRelationship("PROTEPLATELINE", "PLATENUM=:" + thisname +" ");
setRelationship("SHIFTINJECTORPUMP", "SHIFTINJECTORPUMPID=:" + thisname +" ");
}
@Override
public MboSetRemote getList() throws MXException, RemoteException {
MboRemote mbo=getMboValue().getMbo();
String PROTEPLATENUM=mbo.getString("PROTEPLATENUM");
System.out.println("PROTEP"+PROTEPLATENUM);
setListCriteria("PROTEPLATENUM = '"+PROTEPLATENUM+"'");
return super.getList();
}
}
package tohi.app.rlrelaymanage;
import psdi.mbo.MAXTableDomain;
import psdi.mbo.MboValue;
import psdi.mbo.MboRemote;
import psdi.mbo.MboSetRemote;
import psdi.util.MXException;
public class OiladjustNum extends MAXTableDomain{
public OiladjustNum(MboValue mbv) {
super(mbv);
String thisname = getMboValue().getAttributeName();
String[] hz = { "OILADJUSTID" };
String[] target = new String[1];
target[0] = thisname;
setLookupKeyMapInOrder(target, hz);
setRelationship("OILADJUST", "OILADJUSTID=:" + thisname +" ");
}
}
package tohi.app.rlrelaymanage;
import psdi.mbo.MAXTableDomain;
import psdi.mbo.MboValue;
import psdi.mbo.MboRemote;
import psdi.mbo.MboSetRemote;
import psdi.util.MXException;
public class RlarresterleakNum extends MAXTableDomain{
public RlarresterleakNum(MboValue mbv) {
super(mbv);
String thisname = getMboValue().getAttributeName();
String[] hz = { "RLARRESTERLEAKID" };
String[] target = new String[1];
target[0] = thisname;
setLookupKeyMapInOrder(target, hz);
setRelationship("RLARRESTERLEAK", "RLARRESTERLEAKID=:" + thisname +" ");
}
}
package tohi.app.rlrelaymanage;
import psdi.mbo.MAXTableDomain;
import psdi.mbo.MboValue;
import psdi.mbo.MboRemote;
import psdi.mbo.MboSetRemote;
import psdi.util.MXException;
public class RldestartupcheckNum extends MAXTableDomain {
public RldestartupcheckNum(MboValue mbv) {
super(mbv);
String thisname = getMboValue().getAttributeName();
String[] hz = { "RLDESTARTUPCHECKID" };
String[] target = new String[1];
target[0] = thisname;
setLookupKeyMapInOrder(target, hz);
setRelationship("RLDESTARTUPCHECK", "RLDESTARTUPCHECKID=:" + thisname +" ");
}
}
package tohi.app.rlrelaymanage;
import psdi.mbo.MAXTableDomain;
import psdi.mbo.MboValue;
import psdi.mbo.MboRemote;
import psdi.mbo.MboSetRemote;
import psdi.util.MXException;
public class RldynamoinsNum extends MAXTableDomain {
public RldynamoinsNum(MboValue mbv) {
super(mbv);
String thisname = getMboValue().getAttributeName();
String[] hz = { "RLDYNAMOINSID" };
String[] target = new String[1];
target[0] = thisname;
setLookupKeyMapInOrder(target, hz);
setRelationship("RLDYNAMOINS", "RLDYNAMOINSID=:" + thisname +" ");
}
}
package tohi.app.rlrelaymanage;
import psdi.mbo.MAXTableDomain;
import psdi.mbo.MboValue;
import psdi.mbo.MboRemote;
import psdi.mbo.MboSetRemote;
import psdi.util.MXException;
public class RlearthcurrentNum extends MAXTableDomain{
public RlearthcurrentNum(MboValue mbv) {
super(mbv);
String thisname = getMboValue().getAttributeName();
String[] hz = { "RLEARTHCURRENTID" };
String[] target = new String[1];
target[0] = thisname;
setLookupKeyMapInOrder(target, hz);
setRelationship("RLEARTHCURRENT", "RLEARTHCURRENTID=:" + thisname +" ");
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment