var warningDataCN = new Map([ ["ledimage_Obstacle_Err",{"name":"障碍物告警","resolvent":"说明车辆前方或者后方监测出了障碍物,需要清除或者重新设置障碍物区域。"}] , ["ledimage_Turn_Err",{"name":"转向异常告警","resolvent":""}] , ["ledimage_VehicleCtrl_Navi_Err",{"name":"CAN通信告警","resolvent":"目前出现的原因一般有两类,其一是指控制器模块中的can,由于某种原因,被隐藏了,需要进行重新设置(具体查看方法详见恢复文档),其二是指上下层线路出现接触不良或者插接松了。"}] , ["ledimage_PWR_Warn_bit0_Err",{"name":"电池SOC下限告警","resolvent":""}] , ["ledimage_PWR_Warn_bit6_Err",{"name":"充电电流上限告警","resolvent":""}] , ["ledimage_PWR_Warn_bit12_Err",{"name":"充电触点温度过高","resolvent":""}] , ["ledimage_Auto_Err",{"name":"自动导航告警","resolvent":"当出现自动导航报警的情况(定位异常,偏航告警都会触发自动导航告警,如果只有自动导航告警,检查导航方式是不是选择正确,例如NAV350还是SLAM),说明车辆在运行的时候偏离路线,需要手动把车开到运行的路线上。出现原因有可能是现场定位不准。"}] , ["ledimage_Speed_Err",{"name":"速度异常告警","resolvent":"当出现速度异常的情况,把位置记录好,然后手自动切换一下,车辆就能继续跑。出现速度异常主要有两个原因,第一个是路面容易让车辆打滑,或者有坑等,另外一个原因有可能车辆的参数有误,需要重新测试调整。遇到速度异常时要观察是否在同一个位置出现。如果出现在同一个位置,那可能是打滑或者路面有坑,出现在不通位置,检查一下车辆参数问题,但不排除其他原因,需要逐一排查。"}] , ["ledimage_Touch_Err",{"name":"安全开关告警","resolvent":"在急停按钮拍下的情况下或者在车辆触边触发后会出现这类报警,只需要恢复急停按钮或者移开触碰到触边的物体,再按下复位按钮即可恢复。"}] , ["ledimage_PWR_Warn_bit1_Err",{"name":"电池压差大于均衡值告警","resolvent":""}] , ["ledimage_PWR_Warn_bit7_Err",{"name":"放电电流上限告警","resolvent":""}] , ["ledimage_Altitude_Deviation_Err",{"name":"高度偏差告警","resolvent":"当主界面的期望高度和实际高度存在一定的误差范围外,会出现此报警,切换成手动,手动抬升或者下降到期望高度的误差内,报警会随之消失。出现的原因有可能的是下降速度过快(某项参数调整)或者存在自降的可能性。"}] , ["ledimage_Start_Err",{"name":"起点告警","resolvent":"车辆没有停在路线上的起点或者停在与起点运行方向相反的点,只需要重新调整车辆位置,或者重新下发相对应的任务。"}] , ["ledimage_Altitude_Err",{"name":"抬升异常告警","resolvent":"出现抬升异常主要是货叉在抬升或者在下降的过程中摩擦力增大,导致抬升或者下降的速度减慢或者停止运行,清除任务并手自动切换可以临时解决这类异常报警,如果经常出现,需要修改车辆某项参数,以及必要的时候需要手持器配合修改。"}] , ["ledimage_DeadReckoning_Err",{"name":"推算异常告警","resolvent":""}] , ["ledimage_PWR_Warn_bit2_Err",{"name":"电池上限告警","resolvent":""}] , ["ledimage_PWR_Warn_bit8_Err",{"name":"单体温度上限告警","resolvent":""}] , ["ledimage_PLC_Warning_Code",{"name":"PLC告警","resolvent":"出现在调度任务生成出错,及在车辆载货状态下去取货路线取货,或者在到位开关一直触发的情况下取货,若没有货的情况下,及时检查到位开关情况。"}] , ["ledimage_Uplevel_Err",{"name":"上位机通信告警","resolvent":""}] , ["ledimage_Battery_Err",{"name":"电池异常告警","resolvent":""}] , ["ledimage_ReachCheck_Err",{"name":"到位开关告警","resolvent":"当到位开关这个功能开启时,在装货时候到位开关板没有触发时,会出现这类报警,临时解决这个问题是需要手动把车辆往里开,使到位开关板触发功能,后续在路线上重新绘制这个载货区位置。"}] , ["ledimage_PWR_Warn_bit3_Err",{"name":"电池上限切断","resolvent":""}] , ["ledimage_PWR_Warn_bit9_Err",{"name":"单体温度下限告警","resolvent":""}] , ["ledimage_Plate_Check_Err",{"name":"托盘检测告警","resolvent":""}] , ["ledimage_Location_Err",{"name":"NAV350定位告警","resolvent":"说明车辆在这个位置的时候,存在这扫描不到3个及以上的反光标签,若只是出现一瞬间或者能自行恢复的,根据现场实际情况判断,是否需要新增反光标签,并重新添加新增放光标签。或者少数会存在车辆激光头重新现象(会自行恢复)。"}] , ["ledimage_Charge_Connect_Err",{"name":"自动充电对接告警","resolvent":"原因是可能由于自动对接伸缩接口没有和车辆进行对接,需要重新绘制充电路线或者调整充电桩的位置,其二或者在对接过程中的光通讯没有对接上,这类需要查询线路问题。"}] , ["ledimage_Slam_Location_Err",{"name":"SLAM定位告警","resolvent":"说明车辆在此时位置上时,实际环境和扫图存在的环境出现较大幅度的变化。"}] , ["ledimage_PWR_Warn_bit4_Err",{"name":"电池下限告警","resolvent":""}] , ["ledimage_PWR_Warn_bit10_Err",{"name":"单体温度上限切断","resolvent":""}] , ["ledimage_Path_Err",{"name":"AGV路径偏航告警","resolvent":"出现在现场定位不太稳定或者原地旋转当中,车辆在持续运行过程会产出一定的偏差,由于偏差的累计可能会出现这类报警,需要手动调整车辆位置,在手动切换到自动时,允许偏差是图层设置值,默认1m,在入线后(自动运行一段时间后,横向误差在连续3秒内在±0.3m内说明已经收敛),则自动将偏航告警阈值减小为0.3m,提高安全性。"}] , ["ledimage_Charge_Battery_Err",{"name":"电池充电异常告警","resolvent":""}] , ["ledimage_Curtis_Warning_Err",{"name":"Curtis异常告警","resolvent":"出现此类报警,需要查看具体报警代码,解决方法视情况而定。"}] , ["ledimage_PWR_Warn_bit5_Err",{"name":"电池下限切断","resolvent":""}] , ["ledimage_PWR_Warn_bit11_Err",{"name":"放电触点温度过高","resolvent":""}] , ["ledimage_GantryXErrState",{"name":"门架平移异常告警","resolvent":""}] , ["ledimage_GantryXDeviationErrState",{"name":"门架平移偏差告警","resolvent":""}] , ["ledimage_GantryYErrState",{"name":"门架前移异常告警","resolvent":""}] , ["ledimage_GantryYDeviationErrState",{"name":"门架前移偏差告警","resolvent":""}] ]); var warningDataGB = new Map([ ["ledimage_Obstacle_Err",{"name":"Obstacle alarm","resolvent":"An obstacle is detected in the front or rear of the vehicle. The obstacle area needs to be cleared or reset."}] , ["ledimage_Turn_Err",{"name":"Abnormal steering alarm","resolvent":""}] , ["ledimage_VehicleCtrl_Navi_Err",{"name":"CAN communication alarm","resolvent":"At present, there are generally two types of reasons, one is that the can in the controller module is hidden for some reason and needs to be reset (see the recovery document for details), the other is that the upper and lower lines are in poor contact or loose."}] , ["ledimage_PWR_Warn_bit0_Err",{"name":"Battery SOC lower limit alarm","resolvent":""}] , ["ledimage_PWR_Warn_bit6_Err",{"name":"Charging current upper limit alarm","resolvent":""}] , ["ledimage_PWR_Warn_bit12_Err",{"name":"Charging contact temperature too high","resolvent":""}] , ["ledimage_Auto_Err",{"name":"Automatic navigation alarm","resolvent":"When automatic navigation alarm occurs (abnormal positioning and yaw alarm will trigger automatic navigation alarm, if only automatic navigation alarm, check whether the navigation mode is selected correctly, such as NAV350 or SLAM), it indicates that the vehicle deviates from the route when running, and it needs to manually drive the car to the running route. The cause may be inaccurate location at the scene."}] , ["ledimage_Speed_Err",{"name":"Speed anomaly alarm","resolvent":"When there is an abnormal speed situation, record the position, and then the hand automatically switches, the vehicle can continue to run. There are two main reasons for the abnormal speed, the first is that the road is easy to let the vehicle slip, or there are pits, etc., and the other reason may be that the parameters of the vehicle are wrong and need to be re-tested and adjusted. When encountering speed anomalies, observe whether they occur in the same location. If it appears in the same position, it may be slipping or there is a pit on the road, and it appears in the impassable position, check the vehicle parameter problem, but it does not rule out other reasons, and it needs to be investigated one by one."}] , ["ledimage_Touch_Err",{"name":"Safety switch alarm","resolvent":"This kind of alarm will occur when the emergency stop button is clicked or when the vehicle touches the side of the trigger, only need to restore the emergency stop button or remove the object touching the side of the touch, and then press the reset button to restore."}] , ["ledimage_PWR_Warn_bit1_Err",{"name":"Battery pressure difference greater than equilibrium value alarm","resolvent":""}] , ["ledimage_PWR_Warn_bit7_Err",{"name":"Discharge current upper limit alarm","resolvent":""}] , ["ledimage_Altitude_Deviation_Err",{"name":"Height deviation alarm","resolvent":"When there is a certain error range between the expected height and the actual height of the main interface, this alarm will appear. Switch to manual, manually lift or drop to the error of the expected height, and the alarm will disappear. The reason may be that the speed of decline is too fast (a parameter adjustment) or there is the possibility of self-fall."}] , ["ledimage_Start_Err",{"name":"Starting point alarm","resolvent":"The vehicle does not stop at the starting point on the route or stops at a point in the opposite direction of the starting point, and only needs to readjust the position of the vehicle or re-issue the corresponding task."}] , ["ledimage_Altitude_Err",{"name":"Abnormal lifting alarm","resolvent":"The lifting anomaly is mainly caused by the increase of friction in the lifting or falling process of the fork, resulting in the slowing down or stopping of the lifting or falling speed. Clearing tasks and manual automatic switching can temporarily solve this kind of abnormal alarm. If it often occurs, it is necessary to modify a certain parameter of the vehicle, and if necessary, it needs to be modified with a handheld device."}] , ["ledimage_DeadReckoning_Err",{"name":"Inferred abnormal alarm","resolvent":""}] , ["ledimage_PWR_Warn_bit2_Err",{"name":"Battery upper limit alarm","resolvent":""}] , ["ledimage_PWR_Warn_bit8_Err",{"name":"Individual temperature upper limit alarm","resolvent":""}] , ["ledimage_PLC_Warning_Code",{"name":"PLC alarm","resolvent":"Occurs when the scheduling task generation error, and in the vehicle loading state to pick up the goods route, or in the case of the place switch has been triggered to pick up the goods, if there is no goods, check the place switch situation in time."}] , ["ledimage_Uplevel_Err",{"name":"Upper computer communication alarm","resolvent":""}] , ["ledimage_Battery_Err",{"name":"Battery abnormal alarm","resolvent":""}] , ["ledimage_ReachCheck_Err",{"name":"In position switch alarm","resolvent":"When the function of the in place switch is turned on, when the in place switch plate is not triggered during loading, this alarm will appear. The temporary solution to this problem is to manually drive the vehicle inside, so that the in place switch plate triggers the function, and then redraw the location of the loading area on the route."}] , ["ledimage_PWR_Warn_bit3_Err",{"name":"Battery upper limit cutoff","resolvent":""}] , ["ledimage_PWR_Warn_bit9_Err",{"name":"Lower limit alarm of individual temperature alarm","resolvent":""}] , ["ledimage_Plate_Check_Err",{"name":"Tray detection alarm","resolvent":""}] , ["ledimage_Location_Err",{"name":"NAV350 positioning alarm","resolvent":"It indicates that when the vehicle is in this position, there are less than 3 or more reflective labels, if it is only a moment or can recover by itself, according to the actual situation of the scene, whether it is necessary to add a new reflective label, and re-add a new light label. Or there will be a few vehicle laser head re-phenomenon (will recover by itself)."}] , ["ledimage_Charge_Connect_Err",{"name":"Automatic charging docking alarm","resolvent":"The reason is that the automatic docking expansion interface may not be docked with the vehicle, it is necessary to redraw the charging route or adjust the position of the charging pile, and the optical communication is not docked during the docking process, which needs to query the line problem."}] , ["ledimage_Slam_Location_Err",{"name":"SLAM positioning alarm","resolvent":"It indicates that when the vehicle is in this position, the actual environment and the environment in which the map exists change considerably."}] , ["ledimage_PWR_Warn_bit4_Err",{"name":"Battery lower limit alarm","resolvent":""}] , ["ledimage_PWR_Warn_bit10_Err",{"name":"Individual temperature upper limit cutoff","resolvent":""}] , ["ledimage_Path_Err",{"name":"AGV path yaw alarm","resolvent":"When the site positioning is not stable or rotating in place, the vehicle will produce a certain deviation during continuous operation. Such alarm may occur due to the accumulation of deviation, and the position of the vehicle needs to be adjusted manually. When manually switching to automatic, the allowable deviation is the layer setting value, the default is 1m. If the lateral error is within ±0.3m for three consecutive seconds, the yaw alarm threshold is automatically reduced to 0.3m to improve security."}] , ["ledimage_Charge_Battery_Err",{"name":"Battery charging abnormal alarm","resolvent":""}] , ["ledimage_Curtis_Warning_Err",{"name":"Curtis abnormal alarm","resolvent":"If such an alarm occurs, you need to check the specific alarm code, and the solution depends on the situation."}] , ["ledimage_PWR_Warn_bit5_Err",{"name":"Battery lower limit cutoff","resolvent":""}] , ["ledimage_PWR_Warn_bit11_Err",{"name":"Discharge contact temperature too high","resolvent":""}] , ["ledimage_GantryXErrState",{"name":"Abnormal gantry translation alarm","resolvent":""}] , ["ledimage_GantryXDeviationErrState",{"name":"Gantry translation deviation alarm","resolvent":""}] , ["ledimage_GantryYErrState",{"name":"Abnormal gantry forward movement alarm","resolvent":""}] , ["ledimage_GantryYDeviationErrState",{"name":"Gantry forward movement deviation alarm","resolvent":""}] ]); var warningList = new Map(); function obtainWarning(wc,swc,rw){ var type = localStorage.getItem("locale"); warningList = new Map(); var warningData = new Map(); if (type == "zh-cn" ) { warningData = warningDataCN; }else if (type == "en-us") { warningData = warningDataGB; }else{ warningData = warningDataGB; } // var txt = $("#i18nChange .nav-profile-name").text(); // warningList = new Map(); // var warningData = new Map(); // if (txt == "中文" ) { // warningData = warningDataCN; // } // if (txt == "English" ) { // warningData = warningDataGB; // } Warning_Code=wc; Sub_Warning_Code0=swc; PWR_Warn=rw; // warningList.set("ledimage_Obstacle_Err",warningData.get("ledimage_Obstacle_Err")); // warningList.set("ledimage_Auto_Err",warningData.get("ledimage_Auto_Err")); // warningList.set("ledimage_Speed_Err",warningData.get("ledimage_Obstacle_Err")); // warningList.set("ledimage_Start_Err",warningData.get("ledimage_Auto_Err")); if(Sub_Warning_Code0%2==1)warningList.set("ledimage_GantryXErrState",warningData.get("ledimage_GantryXErrState")); if((Sub_Warning_Code0>>1)%2==1)warningList.set("ledimage_GantryXDeviationErrState",warningData.get("ledimage_GantryXDeviationErrState")); if((Sub_Warning_Code0>>2)%2==1)warningList.set("ledimage_GantryYErrState",warningData.get("ledimage_GantryYErrState")); if((Sub_Warning_Code0>>3)%2==1)warningList.set("ledimage_GantryYDeviationErrState",warningData.get("ledimage_GantryYDeviationErrState")); if(Warning_Code%2==1)warningList.set("ledimage_Obstacle_Err",warningData.get("ledimage_Obstacle_Err")); if((Warning_Code>>1)%2==1)warningList.set("ledimage_Auto_Err",warningData.get("ledimage_Auto_Err")); if((Warning_Code>>2)%2==1)warningList.set("ledimage_Start_Err",warningData.get("ledimage_Start_Err")); if((Warning_Code>>3)%2==1)warningList.set("ledimage_Turn_Err",warningData.get("ledimage_Turn_Err")); if((Warning_Code>>4)%2==1)warningList.set("ledimage_Uplevel_Err",warningData.get("ledimage_Uplevel_Err")); if((Warning_Code>>5)%2==1)warningList.set("ledimage_Altitude_Err",warningData.get("ledimage_Altitude_Err")); if((Warning_Code>>6)%2==1)warningList.set("ledimage_Speed_Err",warningData.get("ledimage_Speed_Err")); if((Warning_Code>>7)%2==1)warningList.set("ledimage_Location_Err",warningData.get("ledimage_Location_Err")); if((Warning_Code>>8)%2==1)warningList.set("ledimage_Path_Err",warningData.get("ledimage_Path_Err")); if((Warning_Code>>9)%2==1)warningList.set("ledimage_Plate_Check_Err",warningData.get("ledimage_Plate_Check_Err")); if((Warning_Code>>10)%2==1)warningList.set("ledimage_Touch_Err",warningData.get("ledimage_Touch_Err")); if((Warning_Code>>11)%2==1)warningList.set("ledimage_Battery_Err",warningData.get("ledimage_Battery_Err")); if((Warning_Code>>12)%2==1)warningList.set("ledimage_Charge_Connect_Err",warningData.get("ledimage_Charge_Connect_Err")); if((Warning_Code>>13)%2==1)warningList.set("ledimage_Charge_Battery_Err",warningData.get("ledimage_Charge_Battery_Err")); if((Warning_Code>>14)%2==1)warningList.set("ledimage_DeadReckoning_Err",warningData.get("ledimage_DeadReckoning_Err")); if((Warning_Code>>19)%2==1)warningList.set("ledimage_VehicleCtrl_Navi_Err",warningData.get("ledimage_VehicleCtrl_Navi_Err")); if((Warning_Code>>22)%2==1)warningList.set("ledimage_Slam_Location_Err",warningData.get("ledimage_Slam_Location_Err")); if((Warning_Code>>23)%2==1)warningList.set("ledimage_ReachCheck_Err",warningData.get("ledimage_ReachCheck_Err")); if((Warning_Code>>24)%2==1)warningList.set("ledimage_Curtis_Warning_Err",warningData.get("ledimage_Curtis_Warning_Err")); if((Warning_Code>>25)%2==1)warningList.set("ledimage_Altitude_Deviation_Err",warningData.get("ledimage_Altitude_Deviation_Err")); if((Warning_Code>>26)%2==1)warningList.set("ledimage_PLC_Warning_Code",warningData.get("ledimage_PLC_Warning_Code")); if((PWR_Warn)%2==1)warningList.set("ledimage_PWR_Warn_bit0_Err",warningData.get("ledimage_PWR_Warn_bit0_Err")); if((PWR_Warn>>1)%2==1)warningList.set("ledimage_PWR_Warn_bit1_Err",warningData.get("ledimage_PWR_Warn_bit1_Err")); if((PWR_Warn>>2)%2==1)warningList.set("ledimage_PWR_Warn_bit2_Err",warningData.get("ledimage_PWR_Warn_bit2_Err")); if((PWR_Warn>>3)%2==1)warningList.set("ledimage_PWR_Warn_bit3_Err",warningData.get("ledimage_PWR_Warn_bit3_Err")); if((PWR_Warn>>4)%2==1)warningList.set("ledimage_PWR_Warn_bit4_Err",warningData.get("ledimage_PWR_Warn_bit4_Err")); if((PWR_Warn>>5)%2==1)warningList.set("ledimage_PWR_Warn_bit5_Err",warningData.get("ledimage_PWR_Warn_bit5_Err")); if((PWR_Warn>>6)%2==1)warningList.set("ledimage_PWR_Warn_bit6_Err",warningData.get("ledimage_PWR_Warn_bit6_Err")); if((PWR_Warn>>7)%2==1)warningList.set("ledimage_PWR_Warn_bit7_Err",warningData.get("ledimage_PWR_Warn_bit7_Err")); if((PWR_Warn>>8)%2==1)warningList.set("ledimage_PWR_Warn_bit8_Err",warningData.get("ledimage_PWR_Warn_bit8_Err")); if((PWR_Warn>>9)%2==1)warningList.set("ledimage_PWR_Warn_bit9_Err",warningData.get("ledimage_PWR_Warn_bit9_Err")); if((PWR_Warn>>10)%2==1)warningList.set("ledimage_PWR_Warn_bit10_Err",warningData.get("ledimage_PWR_Warn_bit10_Err")); if((PWR_Warn>>11)%2==1)warningList.set("ledimage_PWR_Warn_bit11_Err",warningData.get("ledimage_PWR_Warn_bit11_Err")); if((PWR_Warn>>12)%2==1)warningList.set("ledimage_PWR_Warn_bit12_Err",warningData.get("ledimage_PWR_Warn_bit12_Err")); } function showWarningList(wc,swc,rw){ obtainWarning(wc,swc,rw); var warnings = ''; if(warningList.size < 1){ $("#warningDetails").hide(); return warnings; } $("#warningDetails").show(); for(let value of warningList.values()){ warnings += `${value.name}、` } warnings = warnings.slice(0, -1); return warnings; }