fengxiang
2018-02-01 cd16757f2cd963749850d6f8897381a8b7a849ef
src/main/java/com/moral/service/DeviceService.java
@@ -2,10 +2,29 @@
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);
}