From 44858471387cb6808fb086813d5987daf9e5d77a Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期五, 13 九月 2024 14:05:16 +0800
Subject: [PATCH] 运行监控增加省厅条件、点位在线取point online,统计增加数据权限

---
 ycl-pojo/src/main/java/com/ycl/platform/domain/result/UY/VideoOnlineResult.java |   39 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 39 insertions(+), 0 deletions(-)

diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/result/UY/VideoOnlineResult.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/result/UY/VideoOnlineResult.java
index 7516d2f..6a7bb2f 100644
--- a/ycl-pojo/src/main/java/com/ycl/platform/domain/result/UY/VideoOnlineResult.java
+++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/result/UY/VideoOnlineResult.java
@@ -55,6 +55,10 @@
      */
     private Integer icmpStatus;
     /**
+     * icmp鐘舵��  2/1/-1/0   鍏ㄩ儴/鍦ㄧ嚎/绂荤嚎/鏈煡
+     */
+    private String icmpStatusText;
+    /**
      * 鏈�杩慽cmp鏃堕棿
      */
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@@ -101,6 +105,10 @@
      */
     private Integer status;
     /**
+     * 鍦ㄧ嚎鐘舵��  2/1/-1/0   鍏ㄩ儴/鍦ㄧ嚎/绂荤嚎/鏈煡
+     */
+    private String statusText;
+    /**
      * 鐪佸巺鏍囩
      */
     private String tagStr;
@@ -122,4 +130,35 @@
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
     private Date vqdTime;
 
+    public String getIcmpStatusText() {
+        if (icmpStatus == 2) {
+            this.icmpStatusText = "鍏ㄩ儴";
+        }
+        if (icmpStatus == 1) {
+            this.icmpStatusText = "鍦ㄧ嚎";
+        }
+        if (icmpStatus == -1) {
+            this.icmpStatusText = "绂荤嚎";
+        }
+        if (icmpStatus == 0) {
+            this.icmpStatusText = "鏈煡";
+        }
+        return icmpStatusText;
+    }
+
+    public String getStatusText() {
+        if (status == 2) {
+            this.statusText = "鍏ㄩ儴";
+        }
+        if (status == 1) {
+            this.statusText = "鍦ㄧ嚎";
+        }
+        if (status == -1) {
+            this.statusText = "绂荤嚎";
+        }
+        if (status == 0) {
+            this.statusText = "鏈煡";
+        }
+        return statusText;
+    }
 }

--
Gitblit v1.8.0