package com.usky.vpp.service;

import com.usky.common.core.bean.CommonPage;
import com.usky.vpp.domain.VppResourcePoint;
import com.usky.vpp.service.vo.ResourcePointListVO;
import com.usky.vpp.service.vo.ResourcePointRequest;

import java.util.Map;

/**
 * 资源点管理业务接口
 */
public interface VppResourcePointService {

    CommonPage<VppResourcePoint> pageResourcePoint(Map<String, Object> params);

    /**
     * 资源点列表（含站点名称、设备名称，支持按站点/设备名称搜索）
     */
    CommonPage<ResourcePointListVO> pageResourcePointList(Map<String, Object> params);

    CommonPage<VppResourcePoint> listBySiteId(Long siteId, Map<String, Object> params);

    VppResourcePoint getResourcePoint(Long id);

    VppResourcePoint createResourcePoint(Long siteId, ResourcePointRequest request);

    void updateResourcePoint(Long id, ResourcePointRequest request);

    void deleteResourcePoint(Long id);
}
