| | |
| | | package cn.com.basic.face.service.sqlite;
|
| | |
|
| | | /**
|
| | | * Created by xiuxi on 2017/7/17.
|
| | | */
|
| | | import cn.com.basic.face.discern.entity.Device;
|
| | |
|
| | | /**
|
| | | * 设备Dao
|
| | | */
|
| | | public class DeviceDao {
|
| | |
|
| | | private static DeviceDao instance = new DeviceDao();
|
| | |
|
| | | public static DeviceDao getInstance() {
|
| | | return instance;
|
| | | }
|
| | |
|
| | | /**
|
| | | * 加载主设备
|
| | | * @param sn 设备序列号
|
| | | * @param type 设备类型
|
| | | */
|
| | | public Device loadMainDevice(String type, String sn) {
|
| | |
|
| | | return null;
|
| | | }
|
| | |
|
| | | /**
|
| | | * 加载摄像头
|
| | | * @param type 设备类型
|
| | | * @param belongId 所属设备Id(主设备)
|
| | | * @return
|
| | | */
|
| | | public Device loadCamera(String type, String belongId) {
|
| | |
|
| | | return null;
|
| | | }
|
| | |
|
| | | }
|