步序国际化

master
tq 1 month ago
parent e40def3cb4
commit a9e70a832f

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

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

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