线末大屏看板-黄色修改为橙色-43940

tags/yfai-mes-ext-v2.4
臧学普 5 months ago
parent 0250db7d47
commit d53d41b1a3

@ -10,7 +10,6 @@ import cn.estsh.impp.framework.boot.util.ResultBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.text.ParseException;
import java.util.List;
@RestController

@ -415,7 +415,7 @@ public class MesEarlyWarningServiceImpl implements IMesEarlyWarningService {
mesKanBanShowModel.setRealSupplyBufferColor("red");
mesKanBanShowModel.setSupplyRedBuffer(supplyRedBuffer);
}else if (realSupplyBuffer < supplyYellowBuffer){
mesKanBanShowModel.setRealSupplyBufferColor("yellow");
mesKanBanShowModel.setRealSupplyBufferColor("organize");
mesKanBanShowModel.setSupplyRedBuffer(supplyYellowBuffer);
}
@ -438,7 +438,7 @@ public class MesEarlyWarningServiceImpl implements IMesEarlyWarningService {
if (summaryRealSupplyRealCount > summaryWorkOrderRedCount){
mesKanBanShowModel.setSummaryWorkOrderColor("red");
}else if (summaryRealSupplyRealCount > summaryWorkOrderYellowCount){
mesKanBanShowModel.setSummaryWorkOrderColor("yellow");
mesKanBanShowModel.setSummaryWorkOrderColor("organize");
}
//成品缓冲
@ -458,9 +458,9 @@ public class MesEarlyWarningServiceImpl implements IMesEarlyWarningService {
mesKanBanShowModel.setRealProductionBuffer(realProductionBuffer);
Long productionYellowBuffer = kanBan.getProductionYellowBuffer();
if (realProductionBuffer < productionRedBuffer){
mesKanBanShowModel.setRealProductionBufferColor("RED");
mesKanBanShowModel.setRealProductionBufferColor("red");
}else if (realProductionBuffer < productionYellowBuffer){
mesKanBanShowModel.setRealProductionBufferColor("YELLOW");
mesKanBanShowModel.setRealProductionBufferColor("organize");
}
//声音信息
//private String voice;

Loading…
Cancel
Save