old mode 100644
new mode 100755
| | |
| | | package com.genersoft.iot.vmp.service.bean; |
| | | |
| | | import java.util.stream.Stream; |
| | | |
| | | /** |
| | | * 当上级平台 |
| | | * @author lin |
| | |
| | | private String gbId; |
| | | |
| | | /** |
| | | * 请求的平台ID |
| | | * 请求的平台国标编号 |
| | | */ |
| | | private String platFormId; |
| | | |
| | | /** |
| | | * 请求的平台自增ID |
| | | */ |
| | | private int platFormIndex; |
| | | |
| | | /** |
| | | * 请求平台名称 |
| | |
| | | */ |
| | | private String mediaServerId; |
| | | |
| | | |
| | | |
| | | public static MessageForPushChannel getInstance(int type, String app, String stream, String gbId, |
| | | String platFormId, String platFormName, String serverId, |
| | | String mediaServerId){ |
| | |
| | | messageForPushChannel.setGbId(gbId); |
| | | messageForPushChannel.setApp(app); |
| | | messageForPushChannel.setStream(stream); |
| | | messageForPushChannel.setServerId(serverId); |
| | | messageForPushChannel.setMediaServerId(mediaServerId); |
| | | messageForPushChannel.setPlatFormId(platFormId); |
| | | messageForPushChannel.setPlatFormName(platFormName); |
| | |
| | | public void setMediaServerId(String mediaServerId) { |
| | | this.mediaServerId = mediaServerId; |
| | | } |
| | | |
| | | public int getPlatFormIndex() { |
| | | return platFormIndex; |
| | | } |
| | | |
| | | public void setPlatFormIndex(int platFormIndex) { |
| | | this.platFormIndex = platFormIndex; |
| | | } |
| | | } |