From 1909c7f71fc1b0e290678a3efe95b62d0b9df75e Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期一, 17 六月 2024 10:08:09 +0800
Subject: [PATCH] 调整参数名称

---
 src/main/java/com/genersoft/iot/vmp/service/bean/MessageForPushChannel.java |   33 ++++++++++++++++++++++++++++++++-
 1 files changed, 32 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/service/bean/MessageForPushChannel.java b/src/main/java/com/genersoft/iot/vmp/service/bean/MessageForPushChannel.java
old mode 100644
new mode 100755
index 3ab1b80..6a4f866
--- a/src/main/java/com/genersoft/iot/vmp/service/bean/MessageForPushChannel.java
+++ b/src/main/java/com/genersoft/iot/vmp/service/bean/MessageForPushChannel.java
@@ -2,6 +2,7 @@
 
 /**
  * 褰撲笂绾у钩鍙�
+ * @author lin
  */
 public class MessageForPushChannel {
     /**
@@ -26,9 +27,14 @@
     private String gbId;
 
     /**
-     * 璇锋眰鐨勫钩鍙癐D
+     * 璇锋眰鐨勫钩鍙板浗鏍囩紪鍙�
      */
     private String platFormId;
+
+    /**
+     * 璇锋眰鐨勫钩鍙拌嚜澧濱D
+     */
+    private int platFormIndex;
 
     /**
      * 璇锋眰骞冲彴鍚嶇О
@@ -44,6 +50,23 @@
      * 鐩爣娴佸獟浣撹妭鐐笽D
      */
     private String mediaServerId;
+
+
+
+    public static MessageForPushChannel getInstance(int type, String app, String stream, String gbId,
+                                                    String platFormId, String platFormName, String serverId,
+                                                    String mediaServerId){
+        MessageForPushChannel messageForPushChannel = new MessageForPushChannel();
+        messageForPushChannel.setType(type);
+        messageForPushChannel.setGbId(gbId);
+        messageForPushChannel.setApp(app);
+        messageForPushChannel.setStream(stream);
+        messageForPushChannel.setServerId(serverId);
+        messageForPushChannel.setMediaServerId(mediaServerId);
+        messageForPushChannel.setPlatFormId(platFormId);
+        messageForPushChannel.setPlatFormName(platFormName);
+        return messageForPushChannel;
+    }
 
 
     public int getType() {
@@ -109,4 +132,12 @@
     public void setMediaServerId(String mediaServerId) {
         this.mediaServerId = mediaServerId;
     }
+
+    public int getPlatFormIndex() {
+        return platFormIndex;
+    }
+
+    public void setPlatFormIndex(int platFormIndex) {
+        this.platFormIndex = platFormIndex;
+    }
 }

--
Gitblit v1.8.0