DGJ преди 4 месеца
родител
ревизия
83041ad91a
променени са 1 файла, в които са добавени 14 реда и са изтрити 14 реда
  1. 14 14
      Assets/HotUpdate/Scripts/Scripts/Project/Demo/AIDeviceAlarmItem.cs

+ 14 - 14
Assets/HotUpdate/Scripts/Scripts/Project/Demo/AIDeviceAlarmItem.cs

@@ -22,19 +22,19 @@ public class AIDeviceAlarmItem : MonoBehaviour
         this.aIDeviceAlarm = data;
         switch (data.level)
         {
-            case "µÍ":
+            case "低":
                 alarmImage.color = new Color32(18, 142, 255, 255);
-                alamText.text = "µÍ";
+                alamText.text = "低";
                 break;
-            case "Ò»°ã":
+            case "一般":
                 break;
-            case "ÖÐ":
+            case "中":
                 alarmImage.color = new Color32(255, 123, 58, 255);
-                alamText.text = "ÖÐ";
+                alamText.text = "中";
                 break;
-            case "¸ß":
+            case "高":
                 alarmImage.color = new Color32(255, 0, 0,255);
-                alamText.text = "¸ß";
+                alamText.text = "高";
                 break;
             default:
                 break;
@@ -54,33 +54,33 @@ public class AIDeviceAlarmItem : MonoBehaviour
 
     }
 
-    // ʱ¼ä´Áת»»³Éʱ¼ä
+    // 时间戳转��时间
   
 
-    // ³ÖÐøʱ³¤×ª»»
+    // �续时长转�
 
 }
 
 public class AIDeviceAlarm
 {
     /// <summary>
-    /// ¸æ¾¯µÈ¼¶  
+    /// 告警等级  
     /// </summary>
     public string level { get; set; }
     /// <summary>
-    /// ¸æ¾¯Ê±¼ä
+    /// 告警时间
     /// </summary>
     public string times { get; set; }
     /// <summary>
-    /// É豸Ãû³Æ
+    /// 设备�称
     /// </summary>
     public string deviceName { get; set; }
     /// <summary>
-    /// ±¨¾¯ÃèÊö
+    /// 报警�述
     /// </summary>
     public string describe { get; set; }
     /// <summary>
-    /// ³ÖÐøʱ¼ä
+    /// �续时间
     /// </summary>
     public string duarationTimer { get; set; }