30 lines
1.2 KiB
C#
30 lines
1.2 KiB
C#
// ═══════════════════════════════════════════
|
|
// RuleEngineService — 待实体字段就绪后启用。
|
|
// 阻塞原因: warehouse_rule.Enable/LastTriggered/CooldownSec
|
|
// warehouse_rulecondition.LastTriggered/RecoveryThreshold_Numeric
|
|
// warehouse_ruleaction.ActionType 等字段在实体类中不存在
|
|
// 修复顺序: SQL ALTER TABLE → VolPro 代码生成器 → 移除本桩恢复完整实现
|
|
// 完整实现见 git history: 提交 "RuleEngine-R2-R4: RuleEngineService+RuleEngineJob"
|
|
// ═══════════════════════════════════════════
|
|
using System;
|
|
using System.Threading.Tasks;
|
|
using Warehouse.IRepositories;
|
|
|
|
namespace Warehouse.Services;
|
|
|
|
public class RuleEngineService
|
|
{
|
|
private readonly Iwarehouse_ruleRepository _ruleRepo;
|
|
|
|
public RuleEngineService(Iwarehouse_ruleRepository ruleRepo)
|
|
{
|
|
_ruleRepo = ruleRepo;
|
|
}
|
|
|
|
public Task EvaluateAllAsync()
|
|
{
|
|
throw new NotImplementedException(
|
|
"RuleEngineService 待实体字段就绪。步骤: SQL ALTER TABLE → 代码生成器 → git revert 本桩。");
|
|
}
|
|
}
|