function langChinese(){
|
this.TitleName="设备状态说明";
|
this.index="序号";
|
this.parameterDescription="参数说明";
|
this.parameterPosition="参数位置";
|
this.parameterName="参数名称";
|
this.statement = "为整型,4个字节,共32位,如下:";
|
this.platformGenerate = "(平台产生)";
|
this.s1_supplement = " (ss1和es1的解析参照s1参数说明)";
|
this.s2_supplement = " (ss2和es2的解析参照s2参数说明)";
|
|
//s1
|
this.bit = "位";
|
this.state = "状态";
|
this.nothing = "无";
|
this.gps_positioning = "GPS定位";
|
this.acc = "ACC";
|
this.turn_left = "左转";
|
this.turn_right = "右转";
|
this.brake = "刹车";
|
this.foreward = "正转";
|
this.inversion = "反转";
|
this.gps_antenna = "GPS天线";
|
this.hard_disk = "硬盘";
|
this.the_3G_module = "3G模块";
|
this.statical = "静止";
|
this.overspeed = "超速";
|
this.supplement = "补传";
|
this.low_speed = "低速";
|
this.night = "夜间";
|
this.overload = "超载";
|
this.parked_acc = "停车ACC";
|
this.IO1 = "IO1";
|
this.IO2 = "IO2";
|
this.IO3 = "IO3";
|
this.IO4 = "IO4";
|
this.IO5 = "IO5";
|
this.IO6 = "IO6";
|
this.IO7 = "IO7";
|
this.IO8 = "IO8";
|
this.drive_letter2 = "盘符2";
|
this.hard_disk2 = "硬盘2";
|
this.using_gps_hard_disk_state = "硬盘状态(GPS设备时使用)";
|
|
this.gps_positioning_state_desc = "0为无效,1为有效。";
|
this.acc_state_desc = "0表示ACC关闭1表示ACC开启。";
|
this.turn_left_state_desc = "0为无效,1为左转。";
|
this.turn_right_state_desc = "0为无效,1为右转。";
|
this.brake_state_desc = "0为无效,1为刹车。";
|
this.foreward_state_desc = "0为无效,1为正转。";
|
this.inversion_state_desc = "0为无效,1为反转。";
|
this.gps_antenna_state_desc = "0为不存在,1为存在。";
|
this.hard_disk_state_desc = "0为不存在,1为存在,2为断电。";
|
this.the_3G_module_state_desc = "0模块不存在,1无信号,2信号差,3信号一般,4信号好,5信号优。";
|
this.statical_state_desc = "1表示静止";
|
this.overspeed_state_desc = "1表示超速";
|
this.supplement_state_desc = "1表示GPS补传";
|
this.low_speed_state_desc = "1表示低速";
|
this.night_desc = "0表示日间,1表示夜间,先判断超速才有效。";
|
this.overload_state_desc = "0表示正常,1表示超载。";
|
this.parked_acc_state_desc = "关于停车未熄火,如果处理静止状态,并且处于ACC开启状态,则表示停车未熄火。";
|
this.IO_state_desc = "1表示报警";
|
this.drive_letter2_state_desc = "1表示有效";
|
this.using_gps_hard_disk_state_desc = "1表示无效;0表示有效,要再判断1,2的状态。";
|
|
|
//s2
|
this.alarm_type_area_out = "出区域报警(终端产生)";
|
this.alarm_type_route_out = "出线路报警(终端产生)";
|
this.alarm_type_area_in_high_speed = "区域内高速报警";
|
this.alarm_type_area_in_low_speed = "区域内低速报警";
|
this.alarm_type_area_out_high_speed = "区域外高速报警";
|
this.alarm_type_area_out_low_speed = "区域外低速报警";
|
this.alarm_type_area_in_stop = "区域内停车报警";
|
this.alarm_type_area_out_stop = "区域外停车报警";
|
this.warning_type_day_network_traffic = "日流量预警";
|
this.alarm_type_day_network_traffic = "日流量超过";
|
this.warning_type_month_network_traffic = "月流量预警";
|
this.alarm_type_month_network_traffic = "月流量超过";
|
//12~17已删
|
this.tips = "(删除 hw2016-8-18)";
|
this.host_power_supply = "主机掉电由后备电池供电";
|
this.door_open = "车门开";
|
this.vehicle_set_guard = "车辆设防";
|
this.low_battery_voltage = "电池电压过低";
|
this.battery_bad = "电池坏";
|
this.engine = "发动机";
|
|
//12/13
|
this.work_status = "作业状态";
|
this.peak_work = "高峰作业";
|
this.the_last_valid_GPS_information = "最后一个有效的GPS信息";
|
this.load_status = "车载状态";
|
this.operating_state = "运营状态";
|
this.latitude_and_longitude_without_encrypted = "经纬度未加密";
|
this.oil_circuit_is_normal = "油路正常";
|
this.circuit_is_normal = "电路正常";
|
this.door_unlock = "车门解锁";
|
this.alarm_type_area_in_overspeed_platform = "区域超速报警";
|
this.alarm_type_area_in_low_speed_platform = "区域超速报警";
|
this.alarm_type_into_area = "进区域报警";
|
this.line_offset = "线路偏移";
|
this.alarm_type_time_over_speed = "时间段超速报警";
|
this.alarm_type_time_low_speed = "时间段低速报警";
|
this.fatigue_driving = "疲劳驾驶";
|
|
this.work_state_desc = "1-作业中 ,0-空闲 平台产生(环卫车)";
|
this.peak_work_desc = "1-高峰作业 平台产生(环卫车)";
|
this.the_last_valid_GPS_information_desc = "为最后一个有效的GPS信息,状态显示成定位无效,但GPS可以在地图上定位.";
|
this.load_state_desc = "0-空载状态, 1-重载状态.";
|
this.operating_state_desc = "1-停运状态(808)";
|
this.latitude_and_longitude_without_encrypted_desc = "1:已加密(808)";
|
this.oil_circuit_is_normal_desc = "1:油路断开(808)";
|
this.circuit_is_normal_desc = "1:电路断开(808)";
|
this.door_unlock_desc = "1:车门加锁(808)";
|
|
//s3
|
this.channel_video_lost = "通道视频丢失";
|
this.video_channel = "通道录像";
|
this.IO_input_9to16 = "IO输入9-16";
|
this.IO_input_1to4 = "IO输出1-4";
|
this.positioning = "定位";
|
this.abnormal_driving_state = "异常行驶状态 ";
|
|
this.positioning_desc = "0表示GPS定位,1表示基站定位,2表示Wifi定位,手机定位要显示这个定位信息";
|
this.abnormal_driving_state_passenger_car_desc = "客运车禁止行驶 0表示正常1表示报警";
|
this.abnormal_driving_state_mountains_desc = "山区禁行 0表示正常1表示报警";
|
|
//s4
|
this.positioning_type = "定位类型";
|
this.emergency_alarm = "紧急报警";
|
this.zone_overspeed_alarm = "区域超速报警";
|
this.fatigue_driving_alarm = "疲劳驾驶报";
|
this.warning = "预警";
|
this.GNSS_module_fault = "GNSS模块故障";
|
this.GNSS_antenna_missed_or_cut = "GNSS天线未接或者剪断";
|
this.GNSS_antenna_short = "GNSS天线短路";
|
this.terminal_LCD_or_monitor_failure = "终端LCD或者显示器故障";
|
this.TTS_module_fault = "TTS模块故障";
|
this.camera_failure = "摄像头故障";
|
this.the_same_day_cumulative_driving_timeout = "当天累计驾驶超时";
|
this.timeout_parking = "超时停车";
|
this.enter_area = "进区域";
|
this.enter_route = "进路线";
|
this.road_travel_time_is_too_short_or_too_long = "路段行驶时间不足或过长";
|
this.route_deviation_alarm = "路线偏离报警";
|
this.vehicle_VSS_fault = "车辆VSS故障";
|
this.abnormal_vehicle_oil = "车辆油量异常";
|
this.vehicle_stolen = "车辆被盗";
|
this.vehicle_illegal_ignition = "车辆非法点火";
|
this.vehicle_illegal_displacement = "车辆非法位移";
|
this.collision_rollover_alarm = "碰撞侧翻报警";
|
//pi
|
this.timeout_parking = "超时停车";
|
this.not_reached_critical_points_alarm = "关键点未到达报警";
|
this.line_overspeed_alarm = "线路超速报警";
|
this.line_low_speed_alarm = "线路低速报警";
|
this.road_overspeed_alarm = " 道路超速报警";
|
this.over_area_alarm = "出区域报警";
|
this.has_not_left_the_critical_point_alarm = "关键点未离开报警";
|
|
this.positioning_type_desc = "0表示WSG_84(标准的GPS坐标体系),1表示GCJ-02(火星坐标),2表示BD09(百度坐标)。";
|
|
|
}
|
|
function langEnglish() {
|
this.TitleName = "Device Status Description";
|
this.index = "Index";
|
this.statement = " is an Integer,contains 4 bytes,total 32 bits,as following:";
|
this.parameterDescription = "Parameter Description";
|
this.parameterPosition = "Parameter Position";
|
this.parameterName = "Parameter Name";
|
this.platformGenerate = "(Platform Generated)";
|
this.s1_supplement = " (The parameters of ss1 and es1 refer to s1's parameter description.)";
|
this.s2_supplement = " (The parameters of ss2 and es2 refer to s2's parameter description.)";
|
|
//s1
|
this.s1_statement = "There are 32 parameters in s1, as follows:";
|
this.bit = "bit";
|
this.state = " State";
|
this.nothing = "Nothing.";
|
this.gps_positioning = "GPS Positioning";
|
this.acc = "ACC";
|
this.turn_left = "Turn Left";
|
this.turn_right = "Turn Right";
|
this.brake = "Brake";
|
this.foreward = "Foreward";
|
this.inversion = "Inversion";
|
this.gps_antenna = "GPS Antenna";
|
this.hard_disk = "Hard Disk";
|
this.the_3G_module = "3G Module"
|
this.statical = "Static";
|
this.overspeed = "Overspeed";
|
this.supplement = "Supplements";
|
this.low_speed = "Low Speed";
|
this.night = "Night";
|
this.overload = "Overload";
|
this.parked_acc = "Parked Acc";
|
this.IO1 = "IO1";
|
this.IO2 = "IO2";
|
this.IO3 = "IO3";
|
this.IO4 = "IO4";
|
this.IO5 = "IO5";
|
this.IO6 = "IO6";
|
this.IO7 = "IO7";
|
this.IO8 = "IO8";
|
this.drive_letter2 = "Drive Letter 2";
|
this.hard_disk2 = "Hard Disk 2";
|
this.using_gps_hard_disk_state = "Hard Disk State(Use it when using gps.)";
|
|
this.gps_positioning_state_desc = "0,invalid;1,valid.";
|
this.acc_state_desc = "0 indicates that the ACC is off and 1 indicating that the ACC is turned on.";
|
this.turn_left_state_desc = "0,invalid;1,turn left.";
|
this.turn_right_state_desc = "0,invalid;1,turn right.";
|
this.brake_state_desc = "0,invalid;1,brake.";
|
this.foreward_state_desc = "0,invalid;1,foreward.";
|
this.inversion_state_desc = "0,invalid;1,inversion";
|
this.gps_antenna_state_desc = "0,non-existent;1,existent.";
|
this.hard_disk_state_desc = "0,non-existent;1,existent;2,power outage.";
|
this.the_3G_module_state_desc = "0,non-existent;1,no signal;2,weak signal;3,general signal;4,strong signal;5,extremely strong signal.";
|
this.statical_state_desc = "1,static state.";
|
this.overspeed_state_desc = "1,over speed.";
|
this.supplement_state_desc = "1,GPS supplement is turned on.";
|
this.low_speed_state_desc = "1,low speed.";
|
this.night_desc = "0,day;1, night;only when it was determined overspeed,this condition effect.";
|
this.overload_state_desc = "0,normal;1,overload.";
|
this.parked_acc_state_desc = "It is about if ACC is on after parked. If vehicle is in static state, and ACC is on, then it means the vehicle was parked without turning off ACC";
|
this.IO_state_desc = "1,Alarm.";
|
this.drive_letter2_state_desc = "1,valid.";
|
this.using_gps_hard_disk_state_desc = "1,invalid;0,valid,then it will determine the state of hard disk 1 and hard disk 2.";
|
|
//s2
|
this.alarm_type_area_out = "Out Of Area Alarm";
|
this.alarm_type_route_out = "Out Of Route Alarm.";
|
this.alarm_type_area_in_high_speed = "High Speed In Area Alarm";
|
this.alarm_type_area_in_low_speed = "Low Speed In Area Alarm";
|
this.alarm_type_area_out_high_speed = "High Speed Out Of Area Alarm";
|
this.alarm_type_area_out_low_speed = "Low Speed Out Of Area Alarm";
|
this.alarm_type_area_in_stop = "Stop In Area Alarm";
|
this.alarm_type_area_out_stop = "Stop Out Of Area Alarm";
|
this.warning_type_day_network_traffic = "Day Network Traffic Warning";
|
this.alarm_type_day_network_traffic = "Day Network Traffic Over";
|
this.warning_type_month_network_traffic = "Month Network Traffic Warning";
|
this.alarm_type_month_network_traffic = "Month Network Traffic Over";
|
//12~17have delete
|
this.tips = "(had deleted hw2016-8-18)";
|
this.host_power_supply = "Host Power Supplied By Backup Battery";
|
this.door_open = "Vehicle Door Open";
|
this.vehicle_set_guard = "Vehicle Set Guard";
|
this.low_battery_voltage = "Low Battery Voltage";
|
this.battery_bad = "Battery Bad";
|
this.engine = "Engine";
|
|
this.work_status = "Work Status";
|
this.peak_work = "Peak Working";
|
this.the_last_valid_GPS_information = "The Last Valid GPS Information";
|
this.load_status = "Load Status";
|
this.operating_state = "Operating State";
|
this.latitude_and_longitude_without_encrypted = "Latitude And Longitude Without Encrypted";
|
this.oil_circuit_is_normal = "Oil Circuit Is Normal";
|
this.circuit_is_normal = "Circuit Is Normal";
|
this.door_unlock = "Door Unlock";
|
this.alarm_type_area_in_overspeed_platform = "Overspeed In Area Alarm";
|
this.alarm_type_area_in_low_speed_platform = "Low Speed In Area Alarm ";
|
this.alarm_type_into_area = "Into The Area Alarm ";
|
this.line_offset = "Line Offset";
|
this.alarm_type_time_over_speed = "Over Speed During Some Time Alarm";
|
this.alarm_type_time_low_speed = "Low Speed During Some Time Alarm";
|
this.fatigue_driving = "Fatigue Driving";
|
|
this.work_state_desc = "1- operation; 0- free. platform generate (sanitation vehicle)";
|
this.peak_work_desc = "1- peak operating. platform generate (sanitation vehicle)";
|
this.the_last_valid_GPS_information_desc = "It is the last valid GPS information, the status is displayed as an invalid location, but GPS can be located on the map.";
|
this.load_state_desc = "0-no load state; 1- overloading.";
|
this.operating_state_desc = "1- outage status (808).";
|
this.latitude_and_longitude_without_encrypted_desc = "1: encrypted (808)";
|
this.oil_circuit_is_normal_desc = "1: oil circuit disconnected (808)";
|
this.circuit_is_normal_desc = "1: circuit disconnect (808)";
|
this.door_unlock_desc = "1: door lock (808)";
|
|
//s3
|
this.channel_video_lost = "Channel Video Lost";
|
this.video_channel = "Channel Record";
|
this.IO_input_9to16 = "IO Input 9-16";
|
this.IO_input_1to4 = "IO Input 1-4";
|
this.positioning = "Positioning";
|
this.abnormal_driving_state = "Abnormal Driving State";
|
|
this.positioning_desc = "0 represents GPS positioning, 1 represents the base station location,2 represents the Wifi positioning, mobile location will display the positioning information";
|
this.abnormal_driving_state_passenger_car_desc = "Ban driving passenger car. 0,normal;1,alarm.";
|
this.abnormal_driving_state_mountains_desc = "Ban driving in mountains. 0,normal;1,alarm.";
|
|
//s4
|
this.positioning_type = "Positioning Type";
|
this.emergency_alarm = "Emergency Alarm";
|
this.zone_overspeed_alarm = "Zone Overspeed Alarm";
|
this.fatigue_driving_alarm = "Fatigue Driving Alarm";
|
this.warning = "Warning";
|
this.GNSS_module_fault = "GNSS Module Fault";
|
this.GNSS_antenna_missed_or_cut = "GNSS Antenna Missed Or Cut";
|
this.GNSS_antenna_short = "GNSS Antenna Short";
|
this.terminal_LCD_or_monitor_failure = "Terminal LCD Or Monitor Failure";
|
this.TTS_module_fault = "TTS Module Fault";
|
this.camera_failure = "Camera Failure";
|
this.the_same_day_cumulative_driving_timeout = "The Same Day Cumulative Driving Timeout";
|
this.timeout_parking = "Timeout Parking";
|
this.enter_area = "Enter Area";
|
this.enter_route = "Enter Route";
|
this.road_travel_time_is_too_short_or_too_long = "Incoming Route";
|
this.route_deviation_alarm = "Route Deviation Alarm";
|
this.vehicle_VSS_fault = "Vehicle VSS Fault";
|
this.abnormal_vehicle_oil = "Abnormal Vehicle Oil";
|
this.vehicle_stolen = "Vehicle Was Stolen";
|
this.vehicle_illegal_ignition = "Vehicle Illegal Ignition";
|
this.vehicle_illegal_displacement = "Vehicle Illegal Displacement";
|
this.collision_rollover_alarm = "Collision Rollover Alarm";
|
//pi
|
this.timeout_parking = "Timeout Parking";
|
this.not_reached_critical_points_alarm = "Not Reached Critical Points Alarm";
|
this.line_overspeed_alarm = "Line Overspeed Alarm";
|
this.line_low_speed_alarm = "Line Low Speed Alarm";
|
this.road_overspeed_alarm = "Road Overspeed Alarm";
|
this.over_area_alarm = "Over Area Alarm";
|
this.has_not_left_the_critical_point_alarm = "Has Not Left The Critical Point Alarm";
|
|
this.positioning_type_desc = "0 represents the WSG_84 (standard GPS coordinate system), 1 represents the GCJ-02 (Mars coordinates), 2 represents BD09 (Baidu coordinates)";
|
|
}
|