| | |
| | | package com.yeshi.fanli.service.inter.homemodule;
|
| | |
|
| | | public interface DeviceSexService {
|
| | |
|
| | | /**
|
| | | * 保存设置
|
| | | * @param device
|
| | | * @param sex
|
| | | */
|
| | | public void save(String device, Integer sex);
|
| | |
|
| | |
|
| | | /**
|
| | | * 获取设备性别
|
| | | * @param sex
|
| | | * @param device
|
| | | * @return
|
| | | */
|
| | | public int getDeviceSex(String device);
|
| | |
|
| | | |
| | | }
|
| | | package com.yeshi.fanli.service.inter.homemodule; |
| | | |
| | | import com.yeshi.fanli.entity.SystemEnum; |
| | | |
| | | public interface DeviceSexService { |
| | | |
| | | /** |
| | | * 保存设置 |
| | | * @param device |
| | | * @param sex |
| | | */ |
| | | public void save(String device, Integer sex); |
| | | |
| | | |
| | | /** |
| | | * 获取设备性别 |
| | | * @param sex |
| | | * @param device |
| | | * @return |
| | | */ |
| | | public int getDeviceSex(String device,SystemEnum system); |
| | | |
| | | |
| | | } |