Files
apt-nl-map/static/Magic4/HMI_Warning.html
2024-12-04 10:21:04 +08:00

292 lines
16 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<script src="jquery-2.1.0.min.js"></script>
<script src="jquery.cookie.js"></script>
<script type="text/javascript" src="Lu_Scroll_Driver.js"></script>
<script type="text/javascript" src="js/i18n/TimeI18n.js"></script>
<script type="text/javascript" type="text/javascript">
var Warning_Code=0;
var Sub_Warning_Code0=0;
var PWR_Warn=0;
function Timer(){
Warning_Code=$.cookie('Warning_Code');
Sub_Warning_Code0=$.cookie('Sub_Warning_Code0');
PWR_Warn=$.cookie('PWR_Warn');
if(Sub_Warning_Code0%2==1)document.getElementById("ledimage_GantryXErrState").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_GantryXErrState").setAttribute("src","Led_Display/led_red_off.bmp");
if((Sub_Warning_Code0>>1)%2==1)document.getElementById("ledimage_GantryXDeviationErrState").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_GantryXDeviationErrState").setAttribute("src","Led_Display/led_red_off.bmp");
if((Sub_Warning_Code0>>2)%2==1)document.getElementById("ledimage_GantryYErrState").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_GantryYErrState").setAttribute("src","Led_Display/led_red_off.bmp");
if((Sub_Warning_Code0>>3)%2==1)document.getElementById("ledimage_GantryYDeviationErrState").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_GantryYDeviationErrState").setAttribute("src","Led_Display/led_red_off.bmp");
if(Warning_Code%2==1)document.getElementById("ledimage_Obstacle_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_Obstacle_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((Warning_Code>>1)%2==1)document.getElementById("ledimage_Auto_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_Auto_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((Warning_Code>>2)%2==1)document.getElementById("ledimage_Start_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_Start_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((Warning_Code>>3)%2==1)document.getElementById("ledimage_Turn_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_Turn_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((Warning_Code>>4)%2==1)document.getElementById("ledimage_Uplevel_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_Uplevel_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((Warning_Code>>5)%2==1)document.getElementById("ledimage_Altitude_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_Altitude_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((Warning_Code>>6)%2==1)document.getElementById("ledimage_Speed_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_Speed_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((Warning_Code>>7)%2==1)document.getElementById("ledimage_Location_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_Location_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((Warning_Code>>8)%2==1)document.getElementById("ledimage_Path_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_Path_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((Warning_Code>>9)%2==1)document.getElementById("ledimage_Plate_Check_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_Plate_Check_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((Warning_Code>>10)%2==1)document.getElementById("ledimage_Touch_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_Touch_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((Warning_Code>>11)%2==1)document.getElementById("ledimage_Battery_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_Battery_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((Warning_Code>>12)%2==1)document.getElementById("ledimage_Charge_Connect_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_Charge_Connect_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((Warning_Code>>13)%2==1)document.getElementById("ledimage_Charge_Battery_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_Charge_Battery_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((Warning_Code>>14)%2==1)document.getElementById("ledimage_DeadReckoning_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_DeadReckoning_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((Warning_Code>>19)%2==1)document.getElementById("ledimage_VehicleCtrl_Navi_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_VehicleCtrl_Navi_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((Warning_Code>>22)%2==1)document.getElementById("ledimage_Slam_Location_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_Slam_Location_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((Warning_Code>>23)%2==1)document.getElementById("ledimage_ReachCheck_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_ReachCheck_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((Warning_Code>>24)%2==1)document.getElementById("ledimage_Curtis_Warning_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_Curtis_Warning_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((Warning_Code>>25)%2==1)document.getElementById("ledimage_Altitude_Deviation_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_Altitude_Deviation_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((Warning_Code>>26)%2==1)document.getElementById("ledimage_PLC_Warning_Code").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_PLC_Warning_Code").setAttribute("src","Led_Display/led_red_off.bmp");
if((PWR_Warn)%2==1)document.getElementById("ledimage_PWR_Warn_bit0_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_PWR_Warn_bit0_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((PWR_Warn>>1)%2==1)document.getElementById("ledimage_PWR_Warn_bit1_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_PWR_Warn_bit1_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((PWR_Warn>>2)%2==1)document.getElementById("ledimage_PWR_Warn_bit2_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_PWR_Warn_bit2_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((PWR_Warn>>3)%2==1)document.getElementById("ledimage_PWR_Warn_bit3_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_PWR_Warn_bit3_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((PWR_Warn>>4)%2==1)document.getElementById("ledimage_PWR_Warn_bit4_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_PWR_Warn_bit4_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((PWR_Warn>>5)%2==1)document.getElementById("ledimage_PWR_Warn_bit5_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_PWR_Warn_bit5_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((PWR_Warn>>6)%2==1)document.getElementById("ledimage_PWR_Warn_bit6_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_PWR_Warn_bit6_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((PWR_Warn>>7)%2==1)document.getElementById("ledimage_PWR_Warn_bit7_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_PWR_Warn_bit7_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((PWR_Warn>>8)%2==1)document.getElementById("ledimage_PWR_Warn_bit8_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_PWR_Warn_bit8_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((PWR_Warn>>9)%2==1)document.getElementById("ledimage_PWR_Warn_bit9_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_PWR_Warn_bit9_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((PWR_Warn>>10)%2==1)document.getElementById("ledimage_PWR_Warn_bit10_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_PWR_Warn_bit10_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((PWR_Warn>>11)%2==1)document.getElementById("ledimage_PWR_Warn_bit11_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_PWR_Warn_bit11_Err").setAttribute("src","Led_Display/led_red_off.bmp");
if((PWR_Warn>>12)%2==1)document.getElementById("ledimage_PWR_Warn_bit12_Err").setAttribute("src","Led_Display/led_red_on.bmp");
else document.getElementById("ledimage_PWR_Warn_bit12_Err").setAttribute("src","Led_Display/led_red_off.bmp");
}
var T1 = window.setInterval("Timer()",100);
</script>
</head>
<body>
<div class="wrapper">
<table>
<tr>
<td>
<img id="ledimage_Obstacle_Err"/><h6 data-i18n-text="warning.ledimage_Obstacle_Err"></h6>
</td>
<td>
<img id="ledimage_Turn_Err"/><h6 data-i18n-text="warning.ledimage_Turn_Err">转向异常告警 Abnormal steering alarm</h6>
</td>
<td>
<img id="ledimage_VehicleCtrl_Navi_Err"/><h6 data-i18n-text="warning.ledimage_VehicleCtrl_Navi_Err">CAN通信告警 CAN communication alarm</h6>
</td>
<td>
<img id="ledimage_PWR_Warn_bit0_Err"/><h6 data-i18n-text="warning.ledimage_PWR_Warn_bit0_Err">电池SOC下限告警 Battery SOC lower limit alarm</h6>
</td>
<td>
<img id="ledimage_PWR_Warn_bit6_Err"/><h6 data-i18n-text="warning.ledimage_PWR_Warn_bit6_Err">充电电流上限告警 Charging current upper limit alarm</h6>
</td>
<td>
<img id="ledimage_PWR_Warn_bit12_Err"/><h6 data-i18n-text="warning.ledimage_PWR_Warn_bit12_Err">充电触点温度过高 Charging contact temperature too high</h6>
</td>
</tr>
<tr>
<td>
<img id="ledimage_Auto_Err"/><h6 data-i18n-text="warning.ledimage_Auto_Err">自动导航告警 Automatic navigation alarm</h6>
</td>
<td>
<img id="ledimage_Speed_Err"/><h6 data-i18n-text="warning.ledimage_Speed_Err">速度异常告警 Speed anomaly alarm</h6>
</td>
<td>
<img id="ledimage_Touch_Err"/><h6 data-i18n-text="warning.ledimage_Touch_Err">安全开关告警 Safety switch alarm</h6>
</td>
<td>
<img id="ledimage_PWR_Warn_bit1_Err"/><h6 data-i18n-text="warning.ledimage_PWR_Warn_bit1_Err">电池压差大于均衡值告警 Battery pressure difference greater than equilibrium value alarm</h6>
</td>
<td>
<img id="ledimage_PWR_Warn_bit7_Err"/><h6 data-i18n-text="warning.ledimage_PWR_Warn_bit7_Err">放电电流上限告警 Discharge current upper limit alarm</h6>
</td>
<td>
<img id="ledimage_Altitude_Deviation_Err"/><h6 data-i18n-text="warning.ledimage_Altitude_Deviation_Err">高度偏差告警 Height deviation alarm</h6>
</td>
</tr>
<tr>
<td>
<img id="ledimage_Start_Err"/><h6 data-i18n-text="warning.ledimage_Start_Err">起点告警 Starting point alarm</h6>
</td>
<td>
<img id="ledimage_Altitude_Err"/><h6 data-i18n-text="warning.ledimage_Altitude_Err">抬升异常告警 Abnormal lifting alarm</h6>
</td>
<td>
<img id="ledimage_DeadReckoning_Err"/><h6 data-i18n-text="warning.ledimage_DeadReckoning_Err">推算异常告警 Inferred abnormal alarm</h6>
</td>
<td>
<img id="ledimage_PWR_Warn_bit2_Err"/><h6 data-i18n-text="warning.ledimage_PWR_Warn_bit2_Err">电池上限告警 Battery upper limit alarm</h6>
</td>
<td>
<img id="ledimage_PWR_Warn_bit8_Err"/><h6 data-i18n-text="warning.ledimage_PWR_Warn_bit8_Err">单体温度上限告警 Individual temperature upper limit alarm</h6>
</td>
<td>
<img id="ledimage_PLC_Warning_Code"/><h6 data-i18n-text="warning.ledimage_PLC_Warning_Code">PLC告警 PLC alarm</h6>
</td>
</tr>
<tr>
<td>
<img id="ledimage_Uplevel_Err"/><h6 data-i18n-text="warning.ledimage_Uplevel_Err">上位机通信告警 Upper computer communication alarm</h6>
</td>
<td>
<img id="ledimage_Battery_Err"/><h6 data-i18n-text="warning.ledimage_Battery_Err">电池异常告警 Battery abnormal alarm</h6>
</td>
<td>
<img id="ledimage_ReachCheck_Err"/><h6 data-i18n-text="warning.ledimage_ReachCheck_Err">到位开关告警 In position switch alarm</h6>
</td>
<td>
<img id="ledimage_PWR_Warn_bit3_Err"/><h6 data-i18n-text="warning.ledimage_PWR_Warn_bit3_Err">电池上限切断 Battery upper limit cutoff</h6>
</td>
<td>
<img id="ledimage_PWR_Warn_bit9_Err"/><h6 data-i18n-text="warning.ledimage_PWR_Warn_bit9_Err">单体温度下限告警 Lower limit alarm of individual temperature</h6>
</td>
<td>
<img id="ledimage_Plate_Check_Err"/><h6 data-i18n-text="warning.ledimage_Plate_Check_Err">托盘检测告警 Tray detection alarm</h6>
</td>
</tr>
<tr>
<td>
<img id="ledimage_Location_Err"/><h6 data-i18n-text="warning.ledimage_Location_Err">NAV350定位告警 NAV350 positioning alarm</h6>
</td>
<td>
<img id="ledimage_Charge_Connect_Err"/><h6 data-i18n-text="warning.ledimage_Charge_Connect_Err">自动充电对接告警 Automatic charging docking alarm</h6>
</td>
<td>
<img id="ledimage_Slam_Location_Err"/><h6 data-i18n-text="warning.ledimage_Slam_Location_Err">SLAM定位告警 SLAM positioning alarm</h6>
</td>
<td>
<img id="ledimage_PWR_Warn_bit4_Err"/><h6 data-i18n-text="warning.ledimage_PWR_Warn_bit4_Err">电池下限告警 Battery lower limit alarm</h6>
</td>
<td>
<img id="ledimage_PWR_Warn_bit10_Err"/><h6 data-i18n-text="warning.ledimage_PWR_Warn_bit10_Err">单体温度上限切断 Individual temperature upper limit cutoff</h6>
</td>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td>
<img id="ledimage_Path_Err"/><h6 data-i18n-text="warning.ledimage_Path_Err">AGV路径偏航告警 AGV path yaw alarm</h6>
</td>
<td>
<img id="ledimage_Charge_Battery_Err"/><h6 data-i18n-text="warning.ledimage_Charge_Battery_Err">电池充电异常告警 Battery charging abnormal alarm</h6>
</td>
<td>
<img id="ledimage_Curtis_Warning_Err"/><h6 data-i18n-text="warning.ledimage_Curtis_Warning_Err">Curtis异常告警 Curtis abnormal alarm</h6>
</td>
<td>
<img id="ledimage_PWR_Warn_bit5_Err"/><h6 data-i18n-text="warning.ledimage_PWR_Warn_bit5_Err">电池下限切断 Battery lower limit cutoff</h6>
</td>
<td>
<img id="ledimage_PWR_Warn_bit11_Err"/><h6 data-i18n-text="warning.ledimage_PWR_Warn_bit11_Err">放电触点温度过高 Discharge contact temperature too high</h6>
</td>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td>
<img id="ledimage_GantryXErrState"/><h6 data-i18n-text="warning.ledimage_GantryXErrState">门架平移异常告警 Abnormal gantry translation alarm</h6>
</td>
<td>
<img id="ledimage_GantryXDeviationErrState"/><h6 data-i18n-text="warning.ledimage_GantryXDeviationErrState">门架平移偏差告警 Gantry translation deviation alarm</h6>
</td>
<td>
<img id="ledimage_GantryYErrState"/><h6 data-i18n-text="warning.ledimage_GantryYErrState">门架前移异常告警 Abnormal gantry forward movement alarm</h6>
</td>
<td>
<img id="ledimage_GantryYDeviationErrState"/><h6 data-i18n-text="warning.ledimage_GantryYDeviationErrState">门架前移偏差告警 Gantry forward movement deviation alarm</h6>
</td>
</tr>
</table>
</div>
</body>
<script>
loadText();
</script>
<style>
table{width: 100%;}
td{padding: 25px 0px; word-wrap:break-word;}
h6{display: inline-block;margin-left: 3px; width: 190px;}
img{vertical-align:middle}
</style>
</html>