2026-03-13 14:36:31 +08:00
|
|
|
package com.solution.rule.service;
|
|
|
|
|
|
|
|
|
|
import com.solution.rule.domain.FireRuleExecuteDTO;
|
2026-03-14 20:46:49 +08:00
|
|
|
import com.solution.rule.domain.PlatformComponent;
|
2026-03-13 14:36:31 +08:00
|
|
|
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 {
|
2026-03-13 14:36:31 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 开始执行规则匹配
|
|
|
|
|
* @param fireRuleExecuteDTO
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
List<PlatformWeaponAggregateVO> execute(FireRuleExecuteDTO fireRuleExecuteDTO);
|
|
|
|
|
|
|
|
|
|
List<PlatformWeaponAggregateVO> getWeapon();
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取所有武器平台和组件
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
List<PlatformComponentNamesVO> getPlatformComponentNames();
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取通信组件的所有平台和组件
|
|
|
|
|
* @param scenarioId
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
List<PlatformComponentNamesVO> getCommPlatformComponentNames(Integer scenarioId);
|
2026-03-14 20:46:49 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 根据平台id获取平台下所有组件
|
|
|
|
|
* @param platformId
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
List<PlatformComponent> getComponents(Integer platformId);
|
2026-03-13 14:36:31 +08:00
|
|
|
}
|