package com.njcn.energy.service;

import com.njcn.energy.pojo.param.HardwareParam;
import com.njcn.energy.pojo.po.Hardware;

import java.util.List;

/**
 * @author 徐扬
 */
public interface IHardwareService {

    /**
     * 功能描述: 存储硬件信息
     *
     * @param hardwareParam
     * @return com.njcn.energy.pojo.po.Hardware
     * @author xy
     * @date 2022/3/8 10:53
     */
    Hardware addHardware(HardwareParam hardwareParam);

    /**
     * 功能描述: 根据id删除已有硬件信息
     *
     * @param list
     * @return boolean
     * @author xy
     * @date 2022/3/16 19:54
     */
    boolean deleteHardware(List<String> list);


}
