|
@@ -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; }
|
|
|
|