|
|
@ -410,6 +410,13 @@ public class YkbkHandServiceImpl implements YkbkHandService { |
|
|
|
standardInspectSiteDevicedriver.setBatch(batch); |
|
|
|
device.setBatch(batch); |
|
|
|
} |
|
|
|
if (device.getDeviceDriver() instanceof StandardOrdinarySiteDeviceDriver) { |
|
|
|
StandardOrdinarySiteDeviceDriver driver = (StandardOrdinarySiteDeviceDriver) device.getDeviceDriver(); |
|
|
|
driver.setMaterial(material_type); |
|
|
|
device.setMaterial_type(material_type); |
|
|
|
driver.setBatch(batch); |
|
|
|
device.setBatch(batch); |
|
|
|
} |
|
|
|
//伊科拜克默认物料
|
|
|
|
if (device.getDeviceDriver() instanceof YkbkSpecialDeviceDriver) { |
|
|
|
ykbkSpecialDeviceDriver = (YkbkSpecialDeviceDriver) device.getDeviceDriver(); |
|
|
@ -430,6 +437,14 @@ public class YkbkHandServiceImpl implements YkbkHandService { |
|
|
|
device.setMaterial_type(""); |
|
|
|
device.setBatch(""); |
|
|
|
} |
|
|
|
|
|
|
|
if (device.getDeviceDriver() instanceof StandardOrdinarySiteDeviceDriver) { |
|
|
|
StandardOrdinarySiteDeviceDriver driver = (StandardOrdinarySiteDeviceDriver) device.getDeviceDriver(); |
|
|
|
driver.setMaterial(""); |
|
|
|
device.setMaterial_type(""); |
|
|
|
driver.setBatch(""); |
|
|
|
device.setBatch(""); |
|
|
|
} |
|
|
|
//伊科拜克默认物料
|
|
|
|
if (device.getDeviceDriver() instanceof YkbkSpecialDeviceDriver) { |
|
|
|
ykbkSpecialDeviceDriver = (YkbkSpecialDeviceDriver) device.getDeviceDriver(); |
|
|
|