51 lines
1.3 KiB
Java
51 lines
1.3 KiB
Java
package com.solution.rule.service;
|
|
|
|
import com.solution.rule.domain.FireRuleExecuteDTO;
|
|
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;
|
|
|
|
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);
|
|
|
|
/**
|
|
* 根据场景id获取所有平台及其组件
|
|
* @param scenarioId
|
|
* @return
|
|
*/
|
|
List<Platform> findPlatformComponents(Integer scenarioId);
|
|
|
|
List<Platform> findAllPlatformComponents();
|
|
}
|