From 2b1f7a47394363e95deb4dfa0f1c67d41e747f7f Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期三, 01 二月 2023 10:56:40 +0800 Subject: [PATCH] Merge branch 'wvp-28181-2.0' into fix-269 --- src/main/java/com/genersoft/iot/vmp/service/IPlatformService.java | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 51 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/service/IPlatformService.java b/src/main/java/com/genersoft/iot/vmp/service/IPlatformService.java new file mode 100644 index 0000000..17f8b37 --- /dev/null +++ b/src/main/java/com/genersoft/iot/vmp/service/IPlatformService.java @@ -0,0 +1,51 @@ +package com.genersoft.iot.vmp.service; + +import com.genersoft.iot.vmp.gb28181.bean.ParentPlatform; +import com.github.pagehelper.PageInfo; + +/** + * 鍥芥爣骞冲彴鐨勪笟鍔$被 + * @author lin + */ +public interface IPlatformService { + + ParentPlatform queryPlatformByServerGBId(String platformGbId); + + /** + * 鍒嗛〉鑾峰彇涓婄骇骞冲彴 + * @param page + * @param count + * @return + */ + PageInfo<ParentPlatform> queryParentPlatformList(int page, int count); + + /** + * 娣诲姞绾ц仈骞冲彴 + * @param parentPlatform 绾ц仈骞冲彴 + */ + boolean add(ParentPlatform parentPlatform); + + /** + * 骞冲彴涓婄嚎 + * @param parentPlatform 骞冲彴淇℃伅 + */ + void online(ParentPlatform parentPlatform); + + /** + * 骞冲彴绂荤嚎 + * @param parentPlatform 骞冲彴淇℃伅 + */ + void offline(ParentPlatform parentPlatform, boolean stopRegisterTask); + + /** + * 鍚戜笂绾у钩鍙板彂璧锋敞鍐� + * @param parentPlatform + */ + void login(ParentPlatform parentPlatform); + + /** + * 鍚戜笂绾у钩鍙板彂閫佷綅缃闃� + * @param platformId 骞冲彴 + */ + void sendNotifyMobilePosition(String platformId); +} -- Gitblit v1.8.0