package com.moral.service; import java.util.List; import java.util.Map; import com.moral.common.bean.PageBean; import com.moral.entity.Device; public interface DeviceService { Map getDeviceStatesByAccount(Map parameters); void saveOrUpdateDevice(Device device); List getInstallDevicesByOperateUser(Integer uid, Integer pageIndex, Integer pageSize); Device getDeviceByMac(String mac); PageBean queryByPageBean(PageBean pageBean); void deleteByIds(Integer[] ids); void addOrModify(Device device); List getDevicesByMonitorPointId(Integer monitorPointId); }