41 lines
1.0 KiB
Java
41 lines
1.0 KiB
Java
package com.solution.rule.service;
|
|
|
|
import com.solution.rule.domain.FireRuleExecuteDTO;
|
|
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);
|
|
}
|