|
@@ -47,12 +47,12 @@ public class OscillateControl : MonoBehaviour
|
|
|
this.oscilateData.AlarmState = data.AlarmState;
|
|
|
switch (data.initiateState)
|
|
|
{
|
|
|
- case "禁用":
|
|
|
- initiateText.text = "禁用";
|
|
|
+ case "绂佺敤":
|
|
|
+ initiateText.text = "绂佺敤";
|
|
|
initiateText.color = Color.white;
|
|
|
break;
|
|
|
- case "启用":
|
|
|
- initiateText.text = "启用";
|
|
|
+ case "鍚�敤":
|
|
|
+ initiateText.text = "鍚�敤";
|
|
|
initiateText.color = new Color32(22, 93, 255, 255);
|
|
|
break;
|
|
|
|
|
@@ -62,18 +62,18 @@ public class OscillateControl : MonoBehaviour
|
|
|
|
|
|
switch (data.onLineState)
|
|
|
{
|
|
|
- case "离线":
|
|
|
- onLineText.text = "离线";
|
|
|
+ case "绂荤嚎":
|
|
|
+ onLineText.text = "绂荤嚎";
|
|
|
onLineText.color = new Color32(79, 79, 79, 255);
|
|
|
onLineImage.color = new Color32(79, 79, 79, 255);
|
|
|
break;
|
|
|
- case "在线":
|
|
|
- onLineText.text = "在线";
|
|
|
+ case "鍦ㄧ嚎":
|
|
|
+ onLineText.text = "鍦ㄧ嚎";
|
|
|
onLineText.color = new Color32(34, 187, 67, 255);
|
|
|
onLineImage.color = new Color32(34, 187, 67, 255);
|
|
|
break;
|
|
|
- case "未激活":
|
|
|
- onLineText.text = "未激活";
|
|
|
+ case "鏈�縺娲�":
|
|
|
+ onLineText.text = "鏈�縺娲�";
|
|
|
onLineText.color = Color.white;
|
|
|
onLineImage.color = Color.white;
|
|
|
break;
|
|
@@ -83,13 +83,13 @@ public class OscillateControl : MonoBehaviour
|
|
|
|
|
|
switch (data.AlarmState)
|
|
|
{
|
|
|
- case "报警":
|
|
|
- alarmStateText.text = "报警";
|
|
|
+ case "鎶ヨ�":
|
|
|
+ alarmStateText.text = "鎶ヨ�";
|
|
|
alarmStateImage.color = new Color32(255, 3, 7, 255);
|
|
|
|
|
|
break;
|
|
|
- case "正常":
|
|
|
- alarmStateText.text = "正常";
|
|
|
+ case "姝e父":
|
|
|
+ alarmStateText.text = "姝e父";
|
|
|
alarmStateImage.color = new Color32(7, 193, 96, 255);
|
|
|
break;
|
|
|
default:
|