add:自动送子卷任务,自动套轴任务,自动拔轴
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
package cn.code.nl.module.system.job.slitter;
|
||||
|
||||
import cn.code.nl.framework.tenant.core.job.TenantJob;
|
||||
import cn.code.nl.module.lms.api.AutoCallAirShaftApi;
|
||||
import com.xxl.job.core.handler.annotation.XxlJob;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
|
||||
@@ -11,13 +13,17 @@ import org.springframework.stereotype.Component;
|
||||
@Component
|
||||
public class AutoCallAirShaftTask {
|
||||
|
||||
/** 自动子卷搬运 RPC */
|
||||
@Resource
|
||||
private AutoCallAirShaftApi autoCallAirShaftApi;
|
||||
|
||||
|
||||
/**
|
||||
* 执行自动子卷搬运调度
|
||||
* A B C D E 分别对应,分切缓存位,分切对接位,套轴对接位,套轴缓存位,拔轴机构
|
||||
*/
|
||||
@XxlJob("autoCallAirShaftTask")
|
||||
@TenantJob
|
||||
public void execute() {
|
||||
|
||||
|
||||
|
||||
autoCallAirShaftApi.executeAutoCallAirShaft().getCheckedData();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user