|
@ -6,9 +6,11 @@ import a8k.app.dao.db.type.ProjExtInfoCard; |
|
|
import a8k.app.factory.ProjExtInfoCardFactory; |
|
|
import a8k.app.factory.ProjExtInfoCardFactory; |
|
|
import a8k.app.service.data.ProjIdCardInfoMgrService; |
|
|
import a8k.app.service.data.ProjIdCardInfoMgrService; |
|
|
import a8k.app.service.data.ProjInfoMgrService; |
|
|
import a8k.app.service.data.ProjInfoMgrService; |
|
|
|
|
|
import a8k.app.service.lowerctrl.PlateBoxCtrlService; |
|
|
import a8k.app.service.lowerctrl.ProjIDCardCtrlAndMonitorService; |
|
|
import a8k.app.service.lowerctrl.ProjIDCardCtrlAndMonitorService; |
|
|
import a8k.app.service.statemgr.GStateMgrService; |
|
|
import a8k.app.service.statemgr.GStateMgrService; |
|
|
import a8k.app.utils.ProjBuildinInfo; |
|
|
import a8k.app.utils.ProjBuildinInfo; |
|
|
|
|
|
import a8k.app.utils.ReactionPlate2DCodeHelper; |
|
|
import a8k.app.utils.ZDateUtils; |
|
|
import a8k.app.utils.ZDateUtils; |
|
|
import a8k.extui.mgr.ExtApiPageMgr; |
|
|
import a8k.extui.mgr.ExtApiPageMgr; |
|
|
import a8k.extui.type.ExtApiStatu; |
|
|
import a8k.extui.type.ExtApiStatu; |
|
@ -113,6 +115,21 @@ public class P01ProjInfoDebugPage { |
|
|
projIDCardCtrlAndMonitorService.setVirtualMountedIdCardInfo(null); |
|
|
projIDCardCtrlAndMonitorService.setVirtualMountedIdCardInfo(null); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public String createPlateBox2dCodeByIDCard() { |
|
|
|
|
|
if (projIdCardInfoMgrService.getMountedProjInfoCard() == null) { |
|
|
|
|
|
return "没有挂载的项目卡信息"; |
|
|
|
|
|
} |
|
|
|
|
|
String lotId = projIdCardInfoMgrService.getMountedProjInfoCard().lotId; |
|
|
|
|
|
return ReactionPlate2DCodeHelper.build2DCode(lotId); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public String createLittleBuffer2dCodeByIDCard() { |
|
|
|
|
|
if (projIdCardInfoMgrService.getMountedProjInfoCard() == null) { |
|
|
|
|
|
return "没有挂载的项目卡信息"; |
|
|
|
|
|
} |
|
|
|
|
|
return projIdCardInfoMgrService.getMountedProjInfoCard().lotId; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Resource |
|
|
@Resource |
|
|
ExtApiPageMgr extApiPageMgr; |
|
|
ExtApiPageMgr extApiPageMgr; |
|
@ -133,6 +150,11 @@ public class P01ProjInfoDebugPage { |
|
|
page.newGroup("ID卡模拟操作(虚拟模式)"); |
|
|
page.newGroup("ID卡模拟操作(虚拟模式)"); |
|
|
page.addFunction("插入ID卡", this::insertVirtualIdCard); |
|
|
page.addFunction("插入ID卡", this::insertVirtualIdCard); |
|
|
page.addFunction("拔出ID卡", this::removeVirtualIdCard); |
|
|
page.addFunction("拔出ID卡", this::removeVirtualIdCard); |
|
|
|
|
|
page.newGroup("二维码生成"); |
|
|
|
|
|
page.addFunction("生成反应板二维码(参考)", this::createPlateBox2dCodeByIDCard); |
|
|
|
|
|
page.addFunction("生成缓冲液二维码(参考)", this::createLittleBuffer2dCodeByIDCard); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
extApiPageMgr.addPage(page); |
|
|
extApiPageMgr.addPage(page); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |