package com.ifish.service; import java.util.List; import com.ifish.entity.*; import com.ifish.socketNew.model.receive.BackFunctionCodeHeater; import com.ifish.socketNew.model.send.OrderFunctionCode1; /** * @ClassName: DeviceService * @Description: TODO * @author ggw * */ public interface DeviceService { Device update(Device device); Device update(OrderFunctionCode1 model); DeviceHeater save(BackFunctionCodeHeater model); DeviceHeater update(DeviceHeater deviceHeater); void updateWarnOnoff(String macAddress,String onOff); Device getUniqueByProperty(String property,Object value); List getByProperty(String property,Object value); List getDeviceHeaterByProperty(String hour,String macAddress,String date); DeviceUser getUniqueByProperty(String macAddress); List getListByProperty(Integer deviceId); LoginRecord save(LoginRecord loginRecord); FactoryList getFactoryListById(String factoryCode); HardwareType getHardwareTypeById(String typeCode); void saveDeviceOffline(DeviceOffline deviceOffline); }