|
@ -45,7 +45,7 @@ import java.util.Map; |
|
|
@Slf4j |
|
|
@Slf4j |
|
|
@Data |
|
|
@Data |
|
|
@RequiredArgsConstructor |
|
|
@RequiredArgsConstructor |
|
|
public class StandardInspectSiteDeviceDriver extends AbstractOpcDeviceDriver implements DeviceDriver, ExecutableDeviceDriver, RouteableDeviceDriver , DeviceStageMonitor { |
|
|
public class StandardInspectSiteDeviceDriver extends AbstractOpcDeviceDriver implements DeviceDriver, ExecutableDeviceDriver, RouteableDeviceDriver, DeviceStageMonitor { |
|
|
protected ItemProtocol itemProtocol = new ItemProtocol(this); |
|
|
protected ItemProtocol itemProtocol = new ItemProtocol(this); |
|
|
@Autowired |
|
|
@Autowired |
|
|
InstructionService instructionService = SpringContextHolder.getBean("instructionServiceImpl"); |
|
|
InstructionService instructionService = SpringContextHolder.getBean("instructionServiceImpl"); |
|
@ -133,7 +133,6 @@ public class StandardInspectSiteDeviceDriver extends AbstractOpcDeviceDriver imp |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public void execute() { |
|
|
public void execute() { |
|
|
String message = null; |
|
|
|
|
|
try { |
|
|
try { |
|
|
devicecode = this.getDeviceCode(); |
|
|
devicecode = this.getDeviceCode(); |
|
|
mode = this.itemProtocol.getMode(); |
|
|
mode = this.itemProtocol.getMode(); |
|
|