| | |
| | |
|
| | | import com.genersoft.iot.vmp.gb28181.bean.Device;
|
| | | import com.genersoft.iot.vmp.gb28181.bean.DeviceChannel;
|
| | | import com.genersoft.iot.vmp.gb28181.bean.MobilePosition;
|
| | | import com.github.pagehelper.PageInfo;
|
| | |
|
| | | /**
|
| | |
| | | * @param channel 通道
|
| | | */
|
| | | public void updateChannel(String deviceId, DeviceChannel channel);
|
| | |
|
| | | /**
|
| | | * 开始播放
|
| | | * @param deviceId 设备id
|
| | | * @param channelId 通道ID
|
| | | * @param streamId 流地址
|
| | | */
|
| | | public void startPlay(String deviceId, String channelId, String streamId);
|
| | |
|
| | | /**
|
| | | * 停止播放
|
| | | * @param deviceId 设备id
|
| | | * @param channelId 通道ID
|
| | | */
|
| | | public void stopPlay(String deviceId, String channelId);
|
| | |
|
| | | /**
|
| | | * 获取设备
|
| | |
| | | */
|
| | | void cleanChannelsForDevice(String deviceId);
|
| | |
|
| | | /**
|
| | | * 添加Mobile Position设备移动位置
|
| | | * @param MobilePosition
|
| | | * @return |
| | | */
|
| | | public boolean insertMobilePosition(MobilePosition mobilePosition);
|
| | |
|
| | | /**
|
| | | * 查询移动位置轨迹
|
| | | * @param deviceId
|
| | | * @param startTime
|
| | | * @param endTime
|
| | | */
|
| | | public List<MobilePosition> queryMobilePositions(String deviceId, String startTime, String endTime);
|
| | |
|
| | | /**
|
| | | * 查询最新移动位置
|
| | | * @param deviceId
|
| | | */
|
| | | public MobilePosition queryLatestPosition(String deviceId);
|
| | |
|
| | | /**
|
| | | * 删除指定设备的所有移动位置
|
| | | * @param deviceId
|
| | | */
|
| | | public int clearMobilePositionsByDeviceId(String deviceId);
|
| | | }
|