1.提高设备产能

2.优化排产算法结果记录逻辑及日志输入出
3.增加自由边处理工序及设备定义
4.修复3垮平铁排产漏洞
master
董哲奇 11 months ago
parent b3047daef2
commit 9bb2ae7c76

@ -51,6 +51,7 @@ public interface Constant {
01(., "打磨01", "", 2.0, 3.0, 100.0, 13.0, 13.0), 01(., "打磨01", "", 2.0, 3.0, 100.0, 13.0, 13.0),
01(., "自由边处理01", "", 2.0, 3.0, 100.0, 13.0, 13.0), 01(., "自由边处理01", "", 2.0, 3.0, 100.0, 13.0, 13.0),
01(., "光电01", "", 2.0, 3.0, 100.0, 13.0, 13.0),
01(.NULL, "未知01", "", 2.0, 3.0, 100.0, 13.0, 13.0), 01(.NULL, "未知01", "", 2.0, 3.0, 100.0, 13.0, 13.0),
; ;
public _; public _;
@ -82,7 +83,7 @@ public interface Constant {
("09"), ("09"),
("11"), ("11"),
(""), (""),
(""), ("66"),
(""), (""),
; ;

@ -290,7 +290,7 @@ public class DataFactory {
return new ().(bom); return new ().(bom);
case "161110": case "161110":
return new ().(bom); return new ().(bom);
case "171010": case "171120":
return new ().(bom); return new ().(bom);
default: default:
return null; return null;
@ -358,10 +358,13 @@ public class DataFactory {
.put(Constant..01., new 21(Constant..01)) .put(Constant..01., new 21(Constant..01))
.build(); .build();
return new 21(_); return new 21(_);
case :
_=ImmutableMap.<String, >builder()
.put(Constant..01., new 31(Constant..01))
.build();
return new 31(_);
// case 预配盘: // case 预配盘:
// return new 工序01上料(_工序,_设备); // return new 工序01上料(_工序,_设备);
// case 光电结束:
// return new 工序01上料(_工序,_设备);
// case 配送: // case 配送:
// return new 工序01上料(_工序,_设备); // return new 工序01上料(_工序,_设备);
default: default:

@ -0,0 +1,33 @@
package com.dsic.gj_erp.pc.dto.gx;
import com.dsic.gj_erp.pc.Constant;
import com.dsic.gj_erp.pc.dto.;
import com.dsic.gj_erp.pc.dto.;
import lombok.Getter;
import lombok.Setter;
import java.util.Map;
@Getter
@Setter
public class 31 extends {
public 31(Map<String, > _) {
super(Constant..,_);
}
@Override
public void () {
this.=0;
if (this.>0){
this.+=this.*Constant..01.get()/7.0;
}
if (this.>0){
this.+=this.*Constant..01.get()/7.0;
}
}
@Override
public void (double ) {
super.();
}
}

@ -0,0 +1,11 @@
package com.dsic.gj_erp.pc.dto.sb;
import com.dsic.gj_erp.pc.Constant;
import com.dsic.gj_erp.pc.dto.;
public class 31 extends {
public 31(Constant. _) {
super(_);
}
}

@ -44,6 +44,7 @@ public class 三跨平铁 extends 套料图工序 {
public (Bom bom) { public (Bom bom) {
this.kw = "6"; this.kw = "6";
this.zl = "4230"; this.zl = "4230";
this.bom = bom;
this. = ImmutableList.<Constant.>builder() this. = ImmutableList.<Constant.>builder()
.add(Constant..) .add(Constant..)
.add(Constant..) .add(Constant..)

Loading…
Cancel
Save