| | |
| | | package com.yeshi.fanli.service.inter.homemodule;
|
| | |
|
| | | import com.yeshi.fanli.entity.SystemEnum;
|
| | |
|
| | | public interface DeviceSexService {
|
| | |
|
| | | /**
|
| | |
| | | */
|
| | | public void save(String device, Integer sex);
|
| | |
|
| | | /**
|
| | | * 获取设置
|
| | | * @param device
|
| | | * @return
|
| | | */
|
| | | public Integer getSex(String device);
|
| | |
|
| | |
|
| | | /**
|
| | | * 删除
|
| | | * @param device
|
| | | */
|
| | | public void deleteSex(String device);
|
| | |
|
| | | /**
|
| | | * 获取设备性别
|
| | |
| | | * @param device
|
| | | * @return
|
| | | */
|
| | | public int getDeviceSex(String device);
|
| | |
|
| | | /**
|
| | | * 改变设备信息
|
| | | * @param sex
|
| | | * @param device
|
| | | * @return
|
| | | */
|
| | | public int changeDeviceSex(Integer sex, String device);
|
| | | public int getDeviceSex(String device,SystemEnum system);
|
| | |
|
| | |
|
| | | }
|