步序国际化

master
tq 1 month ago
parent e40def3cb4
commit a9e70a832f

@ -56,6 +56,11 @@ public class SwapMonitorController : ControllerBase
{ {
var respList = _swapMonitorService.GetSwapMonitorData(); var respList = _swapMonitorService.GetSwapMonitorData();
foreach (var item in respList.Data?.StateInfo)
{
item.StepName = _localizer[item.StepNo.ToString()];
}
return respList; return respList;
} }

@ -41,50 +41,50 @@
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<data name="0" xml:space="preserve"> <data name="0" xml:space="preserve">
<value>Idle</value> <value>Idel</value>
</data> </data>
<data name="1" xml:space="preserve"> <data name="1" xml:space="preserve">
<value>Vehicle Arrived (Entrance Radar Detected Vehicle Entering)</value> <value>RadarInFlag</value>
</data> </data>
<data name="2" xml:space="preserve"> <data name="2" xml:space="preserve">
<value>RFID Scan Completed</value> <value>Plc</value>
</data> </data>
<data name="3" xml:space="preserve"> <data name="3" xml:space="preserve">
<value>Cloud Platform Vehicle Authentication</value> <value>RfidReadFlag</value>
</data> </data>
<data name="4" xml:space="preserve"> <data name="4" xml:space="preserve">
<value>Vehicle In Position</value> <value>Carradar</value>
</data> </data>
<data name="5" xml:space="preserve"> <data name="5" xml:space="preserve">
<value>Vehicle Unlocked</value> <value>CarInPositionFlag</value>
</data> </data>
<data name="6" xml:space="preserve"> <data name="6" xml:space="preserve">
<value>Start Swapping</value> <value>SelectPackSuccess</value>
</data> </data>
<data name="7" xml:space="preserve"> <data name="7" xml:space="preserve">
<value>Old Battery Removed</value> <value>VelUnlockFlag</value>
</data> </data>
<data name="8" xml:space="preserve"> <data name="8" xml:space="preserve">
<value>Old Battery Stored</value> <value>DistributeSelectPackFlag</value>
</data> </data>
<data name="9" xml:space="preserve"> <data name="9" xml:space="preserve">
<value>New Battery Moved</value> <value>StartSwappingFlag</value>
</data> </data>
<data name="10" xml:space="preserve"> <data name="10" xml:space="preserve">
<value>New Battery Installed</value> <value>UnOldBatteryFlag</value>
</data> </data>
<data name="11" xml:space="preserve"> <data name="11" xml:space="preserve">
<value>Installation Completed</value> <value>InstallNewBatteryFlag</value>
</data> </data>
<data name="12" xml:space="preserve"> <data name="12" xml:space="preserve">
<value>Vehicle Locked</value> <value>FinishNewBatteryFlag</value>
</data> </data>
<data name="13" xml:space="preserve"> <data name="13" xml:space="preserve">
<value>Swapping Completed (Vehicle Departed)</value> <value>VelLockFlag</value>
</data> </data>
<data name="14" xml:space="preserve"> <data name="14" xml:space="preserve">
<value>Swapping Failed (Vehicle Departed)</value> <value>RadarOutFlag</value>
</data> </data>
</root> </root>

@ -49,42 +49,42 @@
<value>车辆到站(入口雷达检测到车辆驶入)</value> <value>车辆到站(入口雷达检测到车辆驶入)</value>
</data> </data>
<data name="2" xml:space="preserve"> <data name="2" xml:space="preserve">
<value>rfid扫描完成</value> <value>PLC状态检测</value>
</data> </data>
<data name="3" xml:space="preserve"> <data name="3" xml:space="preserve">
<value>云平台车辆认证</value> <value>rfid扫描完成</value>
</data> </data>
<data name="4" xml:space="preserve"> <data name="4" xml:space="preserve">
<value>车辆到位</value> <value>二次雷达检测</value>
</data> </data>
<data name="5" xml:space="preserve"> <data name="5" xml:space="preserve">
<value>车辆解锁</value> <value>车辆到位</value>
</data> </data>
<data name="6" xml:space="preserve"> <data name="6" xml:space="preserve">
<value>开始换电</value> <value>选包成功</value>
</data> </data>
<data name="7" xml:space="preserve"> <data name="7" xml:space="preserve">
<value>拆旧电池完成</value> <value>车辆解锁</value>
</data> </data>
<data name="8" xml:space="preserve"> <data name="8" xml:space="preserve">
<value>入库旧电池完成</value> <value>下发plc选包</value>
</data> </data>
<data name="9" xml:space="preserve"> <data name="9" xml:space="preserve">
<value>搬运新电池完成</value> <value>开始换电</value>
</data> </data>
<data name="10" xml:space="preserve"> <data name="10" xml:space="preserve">
<value>安装新电池完成</value> <value>拆旧电池完成</value>
</data> </data>
<data name="11" xml:space="preserve"> <data name="11" xml:space="preserve">
<value>安装完成</value> <value>安装新电池完成</value>
</data> </data>
<data name="12" xml:space="preserve"> <data name="12" xml:space="preserve">
<value>车辆上锁</value> <value>安装完成</value>
</data> </data>
<data name="13" xml:space="preserve"> <data name="13" xml:space="preserve">
<value>换电完成(车辆驶离)</value> <value>车辆上锁</value>
</data> </data>
<data name="14" xml:space="preserve"> <data name="14" xml:space="preserve">
<value>换电失败(车辆驶离)</value> <value>换电完成(车辆驶离)</value>
</data> </data>
</root> </root>
Loading…
Cancel
Save