新增加热器设备适配,及mina升级!

This commit is contained in:
yiyan
2018-09-29 19:21:23 +08:00
parent 1ccc3c8998
commit 90de7d7808
18 changed files with 491 additions and 98 deletions
@@ -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);
}