新增加热器设备适配,及mina升级!
This commit is contained in:
@@ -2,11 +2,8 @@ package com.ifish.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ifish.entity.Device;
|
||||
import com.ifish.entity.DeviceUser;
|
||||
import com.ifish.entity.FactoryList;
|
||||
import com.ifish.entity.HardwareType;
|
||||
import com.ifish.entity.LoginRecord;
|
||||
import com.ifish.entity.*;
|
||||
import com.ifish.socketNew.model.receive.BackFunctionCodeHeater;
|
||||
import com.ifish.socketNew.model.send.OrderFunctionCode1;
|
||||
|
||||
/**
|
||||
@@ -17,23 +14,28 @@ import com.ifish.socketNew.model.send.OrderFunctionCode1;
|
||||
*/
|
||||
public interface DeviceService {
|
||||
|
||||
public Device update(Device device);
|
||||
Device update(Device device);
|
||||
|
||||
public Device update(OrderFunctionCode1 model);
|
||||
Device update(OrderFunctionCode1 model);
|
||||
|
||||
DeviceHeater save(BackFunctionCodeHeater model);
|
||||
DeviceHeater update(DeviceHeater deviceHeater);
|
||||
|
||||
void updateWarnOnoff(String macAddress,String onOff);
|
||||
|
||||
public void updateWarnOnoff(String macAddress,String onOff);
|
||||
Device getUniqueByProperty(String property,Object value);
|
||||
|
||||
List<Device> getByProperty(String property,Object value);
|
||||
|
||||
List<DeviceHeater> getDeviceHeaterByProperty(String hour,String macAddress);
|
||||
|
||||
DeviceUser getUniqueByProperty(String macAddress);
|
||||
|
||||
public Device getUniqueByProperty(String property,Object value);
|
||||
List<DeviceUser> getListByProperty(Integer deviceId);
|
||||
|
||||
public List<Device> getByProperty(String property,Object value);
|
||||
LoginRecord save(LoginRecord loginRecord);
|
||||
|
||||
public DeviceUser getUniqueByProperty(String macAddress);
|
||||
FactoryList getFactoryListById(String factoryCode);
|
||||
|
||||
public List<DeviceUser> getListByProperty(Integer deviceId);
|
||||
|
||||
public LoginRecord save(LoginRecord loginRecord);
|
||||
|
||||
public FactoryList getFactoryListById(String factoryCode);
|
||||
|
||||
public HardwareType getHardwareTypeById(String typeCode);
|
||||
HardwareType getHardwareTypeById(String typeCode);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user