Files
auto-solution/auto-solution-rule/src/main/java/com/solution/rule/service/FireRuleService.java

61 lines
1.5 KiB
Java
Raw Normal View History

package com.solution.rule.service;
2026-03-26 23:36:47 +08:00
import com.solution.rule.domain.BasicPlatform;
import com.solution.rule.domain.FireRuleExecuteDTO;
2026-03-14 22:35:31 +08:00
import com.solution.rule.domain.Platform;
import com.solution.rule.domain.PlatformComponent;
import com.solution.rule.domain.vo.PlatformComponentNamesVO;
import com.solution.rule.domain.vo.PlatformWeaponAggregateVO;
import java.util.List;
2026-03-14 14:30:52 +08:00
public interface FireRuleService {
/**
* 开始执行规则匹配
* @param fireRuleExecuteDTO
* @return
*/
List<PlatformWeaponAggregateVO> execute(FireRuleExecuteDTO fireRuleExecuteDTO);
List<PlatformWeaponAggregateVO> getWeapon();
/**
* 获取所有武器平台和组件
* @return
*/
List<PlatformComponentNamesVO> getPlatformComponentNames();
/**
* 获取通信组件的所有平台和组件
* @param scenarioId
* @return
*/
List<PlatformComponentNamesVO> getCommPlatformComponentNames(Integer scenarioId);
/**
* 根据平台id获取平台下所有组件
* @param platformId
* @return
*/
List<PlatformComponent> getComponents(Integer platformId);
2026-03-14 22:35:31 +08:00
/**
* 根据场景id获取所有平台及其组件
* @param scenarioId
* @return
*/
2026-03-14 22:35:31 +08:00
List<Platform> findPlatformComponents(Integer scenarioId);
2026-03-17 00:36:40 +08:00
List<Platform> findAllPlatformComponents();
2026-03-26 23:36:47 +08:00
List<BasicPlatform> findAllBasicPlatformComponents();
2026-03-27 10:27:04 +08:00
/**
* 开始执行规则匹配
* @param task
* @return
*/
Task executeTask(Task task);
}