fengxiang
2018-02-05 259294a3a1f922188075ad6ddad502eca5886b07
src/main/java/com/moral/service/DeviceService.java
@@ -2,16 +2,27 @@
import java.util.List;
import java.util.Map;
import com.moral.common.bean.PageBean;
import com.moral.common.bean.PageResult;
import com.moral.entity.Device;
public interface DeviceService {
   Map<String, Object> getDeviceStatesByAccount(Map<String, Object> parameters);
   List<Map<String, Object>> getSensorsByDevice(String mac);
   void saveOrUpdateDevice(Device device);
   List<Device> getInstallDevicesByOperateUser(Integer uid, Integer pageIndex, Integer pageSize);
   Device getDeviceByMac(String mac);
    PageResult query(Integer orgId, String deviceName,Integer pageSize,Integer pageNo);
    PageBean queryByPageBean(PageBean pageBean);
   void deleteByIds(Integer[] ids);
    void addOrModify(Device device);
   List<Device> getDevicesByMonitorPointId(Integer monitorPointId);
}