Merge branch 'dev' into test
commit
68a6c85068
@ -0,0 +1,22 @@
|
||||
package cn.estsh.i3plus.pojo.aps.enums;
|
||||
|
||||
/**
|
||||
* 物料分配限制
|
||||
* 主要考虑输出订的最晚计算时间不能晚于输入的最晚计算时间
|
||||
*/
|
||||
public enum MATERIAL_ASSIGN_LIMIT {
|
||||
NONE(0), // 不进行任何制约
|
||||
INVENTORY(1), // 库存制约
|
||||
PURCHASE(2), // 采购制约
|
||||
PRODUCT(4); // 制造制约
|
||||
|
||||
private int _value;
|
||||
|
||||
MATERIAL_ASSIGN_LIMIT(int value) {
|
||||
_value = value;
|
||||
}
|
||||
|
||||
public int value() {
|
||||
return this._value;
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
package cn.estsh.i3plus.pojo.aps.enums;
|
||||
|
||||
public enum WORK_SPLIT_TYPE {
|
||||
NONE, // 不分割
|
||||
RATIO, // 按比例分割
|
||||
COUNT, // 按数量分割
|
||||
BATCH // 按批量分割
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Class name="WorkResource">
|
||||
<Relation field="Resource" name="Resource" reverse="WorkResources" type="MULTI_TO_ONE" owner="false">
|
||||
<Relation field="Resource" name="Resource" type="MULTI_TO_ONE" owner="false">
|
||||
</Relation>
|
||||
<Relation field="OperResource" name="OperResource" reverse="WorkResources" type="MULTI_TO_ONE" owner="false">
|
||||
</Relation>
|
||||
|
Loading…
Reference in New Issue