package com.ruoyi.ems.service;

import java.util.List;
import com.ruoyi.ems.domain.AdmEmsElecBoxEqptIndex;

/**
 * 动力箱元器件指标Service接口
 *
 * @author ruoyi
 * @date 2024-09-03
 */
public interface IAdmEmsElecBoxEqptIndexService
{
    /**
     * 查询动力箱元器件指标
     *
     * @param id 动力箱元器件指标主键
     * @return 动力箱元器件指标
     */
    public AdmEmsElecBoxEqptIndex selectAdmEmsElecBoxEqptIndexById(Long id);

    /**
     * 查询动力箱元器件指标列表
     *
     * @param admEmsElecBoxEqptIndex 动力箱元器件指标
     * @return 动力箱元器件指标集合
     */
    public List<AdmEmsElecBoxEqptIndex> selectAdmEmsElecBoxEqptIndexList(AdmEmsElecBoxEqptIndex admEmsElecBoxEqptIndex);

    List<AdmEmsElecBoxEqptIndex> selectAdmEmsElecBoxEqptLatestIndex(AdmEmsElecBoxEqptIndex admEmsElecBoxEqptIndex);

    /**
     * 新增动力箱元器件指标
     *
     * @param admEmsElecBoxEqptIndex 动力箱元器件指标
     * @return 结果
     */
    public int insertAdmEmsElecBoxEqptIndex(AdmEmsElecBoxEqptIndex admEmsElecBoxEqptIndex);

    /**
     * 修改动力箱元器件指标
     *
     * @param admEmsElecBoxEqptIndex 动力箱元器件指标
     * @return 结果
     */
    public int updateAdmEmsElecBoxEqptIndex(AdmEmsElecBoxEqptIndex admEmsElecBoxEqptIndex);

    /**
     * 批量删除动力箱元器件指标
     *
     * @param ids 需要删除的动力箱元器件指标主键集合
     * @return 结果
     */
    public int deleteAdmEmsElecBoxEqptIndexByIds(Long[] ids);

    /**
     * 删除动力箱元器件指标信息
     *
     * @param id 动力箱元器件指标主键
     * @return 结果
     */
    public int deleteAdmEmsElecBoxEqptIndexById(Long id);


}
