diff --git a/WebStarter/Controllers/SwapMonitorController.cs b/WebStarter/Controllers/SwapMonitorController.cs
index b8112c0..f0df26c 100644
--- a/WebStarter/Controllers/SwapMonitorController.cs
+++ b/WebStarter/Controllers/SwapMonitorController.cs
@@ -56,6 +56,11 @@ public class SwapMonitorController : ControllerBase
{
var respList = _swapMonitorService.GetSwapMonitorData();
+ foreach (var item in respList.Data?.StateInfo)
+ {
+ item.StepName = _localizer[item.StepNo.ToString()];
+ }
+
return respList;
}
diff --git a/WebStarter/Resources/Controllers.SwapMonitorController.en.resx b/WebStarter/Resources/Controllers.SwapMonitorController.en.resx
index 7a86621..7c1177a 100644
--- a/WebStarter/Resources/Controllers.SwapMonitorController.en.resx
+++ b/WebStarter/Resources/Controllers.SwapMonitorController.en.resx
@@ -41,50 +41,50 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
+
- Idle
-
+ Idel
+
- Vehicle Arrived (Entrance Radar Detected Vehicle Entering)
-
+ RadarInFlag
+
- RFID Scan Completed
-
+ Plc
+
- Cloud Platform Vehicle Authentication
-
+ RfidReadFlag
+
- Vehicle In Position
-
+ Carradar
+
- Vehicle Unlocked
-
+ CarInPositionFlag
+
- Start Swapping
-
+ SelectPackSuccess
+
- Old Battery Removed
-
+ VelUnlockFlag
+
- Old Battery Stored
-
+ DistributeSelectPackFlag
+
- New Battery Moved
-
+ StartSwappingFlag
+
- New Battery Installed
-
+ UnOldBatteryFlag
+
- Installation Completed
-
+ InstallNewBatteryFlag
+
- Vehicle Locked
-
+ FinishNewBatteryFlag
+
- Swapping Completed (Vehicle Departed)
-
+ VelLockFlag
+
- Swapping Failed (Vehicle Departed)
-
+ RadarOutFlag
+
\ No newline at end of file
diff --git a/WebStarter/Resources/Controllers.SwapMonitorController.zh.resx b/WebStarter/Resources/Controllers.SwapMonitorController.zh.resx
index 9924726..a425f1f 100644
--- a/WebStarter/Resources/Controllers.SwapMonitorController.zh.resx
+++ b/WebStarter/Resources/Controllers.SwapMonitorController.zh.resx
@@ -49,42 +49,42 @@
车辆到站(入口雷达检测到车辆驶入)
- rfid扫描完成
+ PLC状态检测
- 云平台车辆认证
+ rfid扫描完成
- 车辆到位
+ 二次雷达检测
- 车辆解锁
+ 车辆到位
- 开始换电
+ 选包成功
- 拆旧电池完成
+ 车辆解锁
- 入库旧电池完成
+ 下发plc选包
- 搬运新电池完成
+ 开始换电
- 安装新电池完成
+ 拆旧电池完成
- 安装完成
+ 安装新电池完成
- 车辆上锁
+ 安装完成
- 换电完成(车辆驶离)
+ 车辆上锁
- 换电失败(车辆驶离)
+ 换电完成(车辆驶离)
\ No newline at end of file