1.正极板对接位和堆叠位逻辑优化
2.正极板8个点位plc数量同步
This commit is contained in:
@@ -155,6 +155,20 @@ public class CwSiteDeviceDriver extends AbstractOpcDeviceDriver implements Devic
|
||||
}
|
||||
}
|
||||
if (move != last_move) {
|
||||
//点位数量变更后通知lms
|
||||
FeedBackTaskStatusRequest request = new FeedBackTaskStatusRequest();
|
||||
request.setState(String.valueOf(move));
|
||||
request.setDevice_code(this.getDeviceCode());
|
||||
request.setType("2");
|
||||
acsToWmsService.notify();
|
||||
}
|
||||
if (tier != last_tier&&move!=0) {
|
||||
//高度数量变更后通知lms
|
||||
FeedBackTaskStatusRequest request = new FeedBackTaskStatusRequest();
|
||||
request.setState(String.valueOf(tier));
|
||||
request.setDevice_code(this.getDeviceCode());
|
||||
request.setType("2");
|
||||
acsToWmsService.notify();
|
||||
}
|
||||
if (error != last_error) {
|
||||
}
|
||||
|
||||
@@ -46,5 +46,10 @@ public class FeedBackTaskStatusRequest extends BaseRequest {
|
||||
*/
|
||||
private String material_type;
|
||||
|
||||
/**
|
||||
* 层数
|
||||
*/
|
||||
private String tier;
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user