add expression to aps
parent
d187f8b3e1
commit
68da44de9e
@ -0,0 +1,10 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.aps.holders;
|
||||||
|
|
||||||
|
public enum EBaseOrder {
|
||||||
|
Works,
|
||||||
|
Material,
|
||||||
|
PrevRelations,
|
||||||
|
PostRelations,
|
||||||
|
UpperOrders,
|
||||||
|
LowerOrders
|
||||||
|
}
|
@ -0,0 +1,5 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.aps.holders;
|
||||||
|
|
||||||
|
public enum EDayShift {
|
||||||
|
ResCalendar
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.aps.holders;
|
||||||
|
|
||||||
|
public enum EMaterial {
|
||||||
|
ProductRouting,
|
||||||
|
OperInputs,
|
||||||
|
OperOutputs,
|
||||||
|
WorkInputs,
|
||||||
|
WorkOutputs,
|
||||||
|
WorkRelations,
|
||||||
|
Orders
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.aps.holders;
|
||||||
|
|
||||||
|
public enum EOperInput {
|
||||||
|
Operation,
|
||||||
|
Material,
|
||||||
|
WorkInputs
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.aps.holders;
|
||||||
|
|
||||||
|
public enum EOperOutput {
|
||||||
|
Operation,
|
||||||
|
Material,
|
||||||
|
WorkOutputs
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.aps.holders;
|
||||||
|
|
||||||
|
public enum EOperResource {
|
||||||
|
Operation,
|
||||||
|
Resource,
|
||||||
|
WorkResources
|
||||||
|
}
|
@ -0,0 +1,10 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.aps.holders;
|
||||||
|
|
||||||
|
public enum EOperation {
|
||||||
|
ProductRouting,
|
||||||
|
OperInputs,
|
||||||
|
OperOutputs,
|
||||||
|
OperResources,
|
||||||
|
StandOperation,
|
||||||
|
Works
|
||||||
|
}
|
@ -0,0 +1,5 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.aps.holders;
|
||||||
|
|
||||||
|
public enum EPlanFeedback {
|
||||||
|
Work
|
||||||
|
}
|
@ -0,0 +1,5 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.aps.holders;
|
||||||
|
|
||||||
|
public enum EProductOrder {
|
||||||
|
ProductRouting
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.aps.holders;
|
||||||
|
|
||||||
|
public enum EProductRouting {
|
||||||
|
Material,
|
||||||
|
Operations,
|
||||||
|
ProductOrders
|
||||||
|
}
|
@ -0,0 +1,6 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.aps.holders;
|
||||||
|
|
||||||
|
public enum EResCalendar {
|
||||||
|
DayShifts,
|
||||||
|
Resources,
|
||||||
|
}
|
@ -0,0 +1,6 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.aps.holders;
|
||||||
|
|
||||||
|
public enum EResource {
|
||||||
|
OperResources,
|
||||||
|
WorkResources
|
||||||
|
}
|
@ -0,0 +1,5 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.aps.holders;
|
||||||
|
|
||||||
|
public enum EStandOperation {
|
||||||
|
Operations
|
||||||
|
}
|
@ -0,0 +1,12 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.aps.holders;
|
||||||
|
|
||||||
|
public enum EWork {
|
||||||
|
Order,
|
||||||
|
WorkResources,
|
||||||
|
WorkInputs,
|
||||||
|
WorkOutputs,
|
||||||
|
WorkRelationInputs,
|
||||||
|
WorkRelationOutputs,
|
||||||
|
Operation,
|
||||||
|
PlanFeedback
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.aps.holders;
|
||||||
|
|
||||||
|
public enum EWorkInput {
|
||||||
|
Work,
|
||||||
|
WorkRelations,
|
||||||
|
Material,
|
||||||
|
OperInput
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.aps.holders;
|
||||||
|
|
||||||
|
public enum EWorkOutput {
|
||||||
|
Work,
|
||||||
|
WorkRelations,
|
||||||
|
Material,
|
||||||
|
OperOutput
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.aps.holders;
|
||||||
|
|
||||||
|
public enum EWorkRelation {
|
||||||
|
WorkInput,
|
||||||
|
WorkOutput,
|
||||||
|
PrevWork,
|
||||||
|
PostWork,
|
||||||
|
PrevOrder,
|
||||||
|
PostOrder,
|
||||||
|
Material
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.aps.holders;
|
||||||
|
|
||||||
|
public enum EWorkResource {
|
||||||
|
Work,
|
||||||
|
Resource,
|
||||||
|
OperResource
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Class name="BaseOrder">
|
||||||
|
<Relation field="Material" name="Material" reverse="Orders" type="MULTI_TO_ONE" owner="false">
|
||||||
|
</Relation>
|
||||||
|
<Relation field="Works" name="Work" reverse="Order" type="ONE_TO_MULTI" owner="true">
|
||||||
|
</Relation>
|
||||||
|
<Relation field="PrevRelations" name="WorkRelation" reverse="PrevOrder" type="ONE_TO_MULTI" owner="false">
|
||||||
|
</Relation>
|
||||||
|
<Relation field="PostRelations" name="WorkRelation" reverse="PostOrder" type="ONE_TO_MULTI" owner="false">
|
||||||
|
</Relation>
|
||||||
|
<Relation field="UpperOrders" name="BaseOrder" reverse="LowerOrders" type="MULTI_TO_MULTI" owner="false">
|
||||||
|
</Relation>
|
||||||
|
</Class>
|
@ -0,0 +1,3 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Class name="DayShift">
|
||||||
|
</Class>
|
@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Class name="Material">
|
||||||
|
<Relation field="ProductRouting" name="ProductRouting" reverse="Material" type="ONE_TO_MULTI" owner="true">
|
||||||
|
</Relation>
|
||||||
|
</Class>
|
@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Class name="OperInput">
|
||||||
|
<Relation field="Material" name="Material" reverse="OperInputs" type="MULTI_TO_ONE" owner="false">
|
||||||
|
</Relation>
|
||||||
|
</Class>
|
@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Class name="OperOutput">
|
||||||
|
<Relation field="Material" name="Material" reverse="OperOutputs" type="MULTI_TO_ONE" owner="false">
|
||||||
|
</Relation>
|
||||||
|
</Class>
|
@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Class name="OperResource">
|
||||||
|
<Relation field="Resource" name="Resource" reverse="OperResources" type="MULTI_TO_ONE" owner="false">
|
||||||
|
</Relation>
|
||||||
|
</Class>
|
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Class name="Operation">
|
||||||
|
<Relation field="OperInputs" name="OperInput" reverse="Operation" type="ONE_TO_MULTI" owner="true">
|
||||||
|
</Relation>
|
||||||
|
<Relation field="OperOutputs" name="OperOutput" reverse="Operation" type="ONE_TO_MULTI" owner="true">
|
||||||
|
</Relation>
|
||||||
|
<Relation field="OperResources" name="OperResource" reverse="Operation" type="ONE_TO_MULTI" owner="true">
|
||||||
|
</Relation>
|
||||||
|
</Class>
|
@ -0,0 +1,3 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Class name="PlanFeedback">
|
||||||
|
</Class>
|
@ -0,0 +1,3 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Class name="ProductOrder" extends="BaseOrder">
|
||||||
|
</Class>
|
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Class name="ProductRouting">
|
||||||
|
<Relation field="Operations" name="Operation" reverse="ProductRouting" type="ONE_TO_MULTI" owner="true">
|
||||||
|
</Relation>
|
||||||
|
<Relation field="ProductOrders" name="ProductOrder" reverse="ProductRouting" type="ONE_TO_MULTI" owner="false">
|
||||||
|
</Relation>
|
||||||
|
</Class>
|
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Class name="ResCalendar">
|
||||||
|
<Relation field="DayShifts" name="DayShift" reverse="ResCalendar" type="MULTI_TO_MULTI" owner="false">
|
||||||
|
</Relation>
|
||||||
|
<Relation field="Resources" name="Resource" type="MULTI_TO_MULTI" owner="false">
|
||||||
|
</Relation>
|
||||||
|
</Class>
|
@ -0,0 +1,3 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Class name="Resource">
|
||||||
|
</Class>
|
@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Class name="StandOperation">
|
||||||
|
<Relation field="Operations" name="Operation" reverse="StandOperation" type="ONE_TO_MULTI" owner="false">
|
||||||
|
</Relation>
|
||||||
|
</Class>
|
@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Class name="Work">
|
||||||
|
<Relation field="WorkOutputs" name="WorkOutput" reverse="Work" type="ONE_TO_MULTI" owner="true">
|
||||||
|
</Relation>
|
||||||
|
<Relation field="WorkInputs" name="WorkInput" reverse="Work" type="ONE_TO_MULTI" owner="true">
|
||||||
|
</Relation>
|
||||||
|
<Relation field="WORK_RESOURCES" name="WorkResource" reverse="Work" type="ONE_TO_MULTI" owner="true">
|
||||||
|
</Relation>
|
||||||
|
<Relation field="WorkRelationOutputs" name="WorkRelation" reverse="PrevWork" type="ONE_TO_MULTI" owner="false">
|
||||||
|
</Relation>
|
||||||
|
<Relation field="WorkRelationInputs" name="WorkRelation" reverse="PostWork" type="ONE_TO_MULTI" owner="false">
|
||||||
|
</Relation>
|
||||||
|
<Relation field="Operation" name="Operation" reverse="Works" type="MULTI_TO_ONE" owner="false">
|
||||||
|
</Relation>
|
||||||
|
<Relation field="PlanFeedback" name="PlanFeedback" reverse="Work" type="ONE_TO_MULTI" owner="true">
|
||||||
|
</Relation>
|
||||||
|
</Class>
|
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Class name="WorkInput">
|
||||||
|
<Relation field="WorkRelations" name="WorkRelation" reverse="WorkInput" type="ONE_TO_MULTI" owner="true">
|
||||||
|
</Relation>
|
||||||
|
<Relation field="Material" name="Material" reverse="WorkInputs" type="MULTI_TO_ONE" owner="false">
|
||||||
|
</Relation>
|
||||||
|
<Relation field="OperInput" name="OperInput" reverse="WorkInputs" type="MULTI_TO_ONE" owner="false">
|
||||||
|
</Relation>
|
||||||
|
</Class>
|
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Class name="WorkOutput">
|
||||||
|
<Relation field="WorkRelations" name="WorkRelation" reverse="WorkOutput" type="ONE_TO_MULTI" owner="true">
|
||||||
|
</Relation>
|
||||||
|
<Relation field="Material" name="Material" reverse="WorkOutputs" type="MULTI_TO_ONE" owner="false">
|
||||||
|
</Relation>
|
||||||
|
<Relation field="OperOutput" name="OperOutput" reverse="WorkOutputs" type="MULTI_TO_ONE" owner="false">
|
||||||
|
</Relation>
|
||||||
|
</Class>
|
@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Class name="WorkRelation">
|
||||||
|
<Relation field="Material" name="Material" reverse="WorkRelations" type="MULTI_TO_ONE" owner="false">
|
||||||
|
</Relation>
|
||||||
|
</Class>
|
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Class name="WorkResource">
|
||||||
|
<Relation field="Resource" name="Resource" reverse="WorkResources" type="MULTI_TO_ONE" owner="false">
|
||||||
|
</Relation>
|
||||||
|
<Relation field="OperResource" name="OperResource" reverse="WorkResources" type="MULTI_TO_ONE" owner="false">
|
||||||
|
</Relation>
|
||||||
|
</Class>
|
Loading…
Reference in New Issue