|  |  | 
 |  |  | package com.genersoft.iot.vmp.service; | 
 |  |  |  | 
 |  |  | import com.genersoft.iot.vmp.gb28181.bean.DeviceChannel; | 
 |  |  | import com.genersoft.iot.vmp.gb28181.bean.ParentPlatform; | 
 |  |  | import com.genersoft.iot.vmp.gb28181.bean.SubscribeInfo; | 
 |  |  | import com.genersoft.iot.vmp.service.bean.GPSMsgInfo; | 
 |  |  | import com.genersoft.iot.vmp.gb28181.bean.SipTransactionInfo; | 
 |  |  | import com.github.pagehelper.PageInfo; | 
 |  |  |  | 
 |  |  | import java.util.List; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * 国标平台的业务类 | 
 |  |  | 
 |  |  |     boolean add(ParentPlatform parentPlatform); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 添加级联平台 | 
 |  |  |      * @param parentPlatform 级联平台 | 
 |  |  |      */ | 
 |  |  |     boolean update(ParentPlatform parentPlatform); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 平台上线 | 
 |  |  |      * @param parentPlatform 平台信息 | 
 |  |  |      */ | 
 |  |  |     void online(ParentPlatform parentPlatform); | 
 |  |  |     void online(ParentPlatform parentPlatform, SipTransactionInfo sipTransactionInfo); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 平台离线 | 
 |  |  |      * @param parentPlatform 平台信息 | 
 |  |  |      */ | 
 |  |  |     void offline(ParentPlatform parentPlatform); | 
 |  |  |     void offline(ParentPlatform parentPlatform, boolean stopRegisterTask); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 向上级平台发起注册 |