Merge remote-tracking branch 'origin/main'

This commit is contained in:
2026-08-26 09:32:26 +08:00
48 changed files with 1899 additions and 241 deletions

View File

@@ -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();
}
}

View File

@@ -0,0 +1,27 @@
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;
/**
* C、D 点子卷自动搬运至 E 点任务
*/
@Component
public class AutoCallAirShaftToDeviceTask {
/** 自动子卷搬运 RPC */
@Resource
private AutoCallAirShaftApi autoCallAirShaftApi;
/**
* 执行 C、D 到 E 自动搬运调度,优先处理 C 点子卷
*/
@XxlJob("autoCallAirShaftToDeviceTask")
@TenantJob
public void execute() {
autoCallAirShaftApi.executeAutoCallAirShaftToDevice().getCheckedData();
}
}

View File

@@ -0,0 +1,26 @@
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;
/**
* 自动套轴定时任务。
*/
@Component
public class AutoSleeveScheduledTask {
@Resource
private AutoCallAirShaftApi autoCallAirShaftApi;
/**
* 轮询管芯缓存位并创建管芯、气涨轴配套搬运任务。
*/
@XxlJob("autoSleeveScheduledTask")
@TenantJob
public void execute() {
autoCallAirShaftApi.executeAutoSleeve().getCheckedData();
}
}