|
@ -107,6 +107,7 @@ public class StandardAutodoorDeviceDriver extends AbstractOpcDeviceDriver implem |
|
|
mode = this.itemProtocol.getMode(); |
|
|
mode = this.itemProtocol.getMode(); |
|
|
action = this.itemProtocol.getAction(); |
|
|
action = this.itemProtocol.getAction(); |
|
|
error = this.itemProtocol.getError(); |
|
|
error = this.itemProtocol.getError(); |
|
|
|
|
|
state = this.itemProtocol.getState(); |
|
|
if (mode != last_mode) { |
|
|
if (mode != last_mode) { |
|
|
} |
|
|
} |
|
|
if (action != last_action) { |
|
|
if (action != last_action) { |
|
@ -117,7 +118,7 @@ public class StandardAutodoorDeviceDriver extends AbstractOpcDeviceDriver implem |
|
|
//固化室状态变更后通知lms更新固化室状态
|
|
|
//固化室状态变更后通知lms更新固化室状态
|
|
|
FeedBackTaskStatusRequest request = new FeedBackTaskStatusRequest(); |
|
|
FeedBackTaskStatusRequest request = new FeedBackTaskStatusRequest(); |
|
|
request.setState(String.valueOf(state)); |
|
|
request.setState(String.valueOf(state)); |
|
|
request.setDevice_code(this.devicecode); |
|
|
request.setDevice_code(this.getDeviceCode()); |
|
|
request.setType("1"); |
|
|
request.setType("1"); |
|
|
acsToWmsService.notify(request); |
|
|
acsToWmsService.notify(request); |
|
|
} |
|
|
} |
|
|