package com.yuchen.saas.park.service.service;

import com.yuchen.saas.park.api.entity.park.PmgBatPointLocationInfo;
import com.yuchen.saas.park.api.vo.park.PmgEquipmentPointVo;
import org.nest.springwrap.core.mp.base.BaseService;

import java.util.List;


/**
 * (PmgBatPointLocationInfo)表服务接口
 * @author 任业政
 * @since 2021-09-13 11:36:14
 */
public interface PmgBatPointLocationInfoService extends BaseService<PmgBatPointLocationInfo> {

    /**
     * 根据场景id查询出所有和点位关联的设备点位信息
     * @param parkId
     * @param buildingId
     * @param floorId
     * @param roomId
     * @return
     */
    List<PmgEquipmentPointVo> selectByAllEquipmentPoint (Long parkId, Long buildingId, Long floorId, Long roomId);

    List<PmgBatPointLocationInfo> selectAllLocationPoint(Long parkId, Long buildingId, Long floorId, Long roomId);

    /**
     * 根据categoryCode获取所有的productKey
     * @param parkId
     * @param buildingId
     * @param floorId
     * @param roomId
     * @param categoryCode
     * @return
     */
    List<String> getProductKeyList(Long parkId, Long buildingId, Long floorId, Long roomId, String categoryCode);

    /**
     * 根据categoryCode获取对应场景所有的设备的productName
     * @param parkId
     * @param buildingId
     * @param floorId
     * @param roomId
     * @param categoryCode
     * @return
     */
    List<String> getProductNameList(Long parkId, Long buildingId, Long floorId, Long roomId, String categoryCode);
}