1.正极板对接位和堆叠位逻辑优化

2.正极板8个点位plc数量同步
This commit is contained in:
psh
2024-01-09 09:56:26 +08:00
parent 5b0e2c1d55
commit 1bfb6c4b96
7 changed files with 57 additions and 8 deletions

View File

@@ -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) {
}

View File

@@ -46,5 +46,10 @@ public class FeedBackTaskStatusRequest extends BaseRequest {
*/
private String material_type;
/**
* 层数
*/
private String tier;
}