opt: 优化
This commit is contained in:
@@ -14,6 +14,8 @@ import org.nl.acs.device_driver.DeviceDriver;
|
|||||||
import org.nl.acs.device_driver.RouteableDeviceDriver;
|
import org.nl.acs.device_driver.RouteableDeviceDriver;
|
||||||
import org.nl.acs.device_driver.driver.AbstractOpcDeviceDriver;
|
import org.nl.acs.device_driver.driver.AbstractOpcDeviceDriver;
|
||||||
import org.nl.acs.device_driver.driver.ExecutableDeviceDriver;
|
import org.nl.acs.device_driver.driver.ExecutableDeviceDriver;
|
||||||
|
import org.nl.acs.ext.wms.data.ApplyManipulatorActionRequest;
|
||||||
|
import org.nl.acs.ext.wms.data.ApplyManipulatorActionResponse;
|
||||||
import org.nl.acs.ext.wms.data.ApplyPaperActionRequest;
|
import org.nl.acs.ext.wms.data.ApplyPaperActionRequest;
|
||||||
import org.nl.acs.ext.wms.data.ApplyPaperActionResponse;
|
import org.nl.acs.ext.wms.data.ApplyPaperActionResponse;
|
||||||
import org.nl.acs.ext.wms.service.AcsToWmsService;
|
import org.nl.acs.ext.wms.service.AcsToWmsService;
|
||||||
@@ -225,8 +227,6 @@ public class CasingStationConveyorDeviceDriver extends AbstractOpcDeviceDriver i
|
|||||||
message = "";
|
message = "";
|
||||||
Instruction instruction = null;
|
Instruction instruction = null;
|
||||||
List toInstructions;
|
List toInstructions;
|
||||||
|
|
||||||
|
|
||||||
//纸管库申请任务
|
//纸管库申请任务
|
||||||
switch (mode) {
|
switch (mode) {
|
||||||
case 1:
|
case 1:
|
||||||
@@ -259,8 +259,7 @@ public class CasingStationConveyorDeviceDriver extends AbstractOpcDeviceDriver i
|
|||||||
last_material2 = material2;
|
last_material2 = material2;
|
||||||
last_to_command = to_command;
|
last_to_command = to_command;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 更新指令状态
|
* 更新指令状态
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user