Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
new-socketemulator
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李远洪
new-socketemulator
Commits
02b4babe
Commit
02b4babe
authored
Mar 11, 2020
by
liyuanhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
位置上报界面完成
parent
dec8403f
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
521 additions
and
31 deletions
+521
-31
lib/multiThread/SendMultMsgThread_m500.py
lib/multiThread/SendMultMsgThread_m500.py
+20
-3
lib/protocol/message/DataUpstreamTransport_msg.py
lib/protocol/message/DataUpstreamTransport_msg.py
+5
-1
lib/protocol/message/Location_msg.py
lib/protocol/message/Location_msg.py
+4
-3
lib/protocol/message/data/AlarmEvent_data.py
lib/protocol/message/data/AlarmEvent_data.py
+9
-9
lib/protocol/message/data/CarSafeStatusInfo.py
lib/protocol/message/data/CarSafeStatusInfo.py
+2
-2
lib/socket/messageTest.py
lib/socket/messageTest.py
+2
-2
templates/messageTools/message/location_msg_page.html
templates/messageTools/message/location_msg_page.html
+479
-11
No files found.
lib/multiThread/SendMultMsgThread_m500.py
View file @
02b4babe
...
...
@@ -16,18 +16,19 @@ class SendMultMsgThread():
self
.
host
=
host
self
.
port
=
port
self
.
msg
=
msg
self
.
timeOut
=
6
0
#socket超时时间
self
.
timeOut
=
12
0
#socket超时时间
self
.
BUF_SIZE
=
1024
#接收消息缓存
self
.
threadCount
=
1000
#并发线程数
self
.
threadCount
=
1000
0
#并发线程数
self
.
totalTime
=
0
#所有线程的运行总和
self
.
threadArr
=
{}
#保存每个线程的信息
self
.
failThreadCount
=
0
#失败线程数
self
.
durThreads
=
[]
#持续发送线程数组,当数组为空,表示所有线程已经结束
self
.
durTime
=
6
0
#线程持续时间
self
.
durTime
=
12
0
#线程持续时间
self
.
connectTimeoutNum
=
0
#连接超时线程数
self
.
sendTimeoutNum
=
0
#发送超时线程数
self
.
reviceTimeoutNum
=
0
#接收超时线程数
self
.
sucessNum
=
0
#成功线程数
self
.
messageCon
=
[]
#用来统计每个线程所发的消息数
pass
############################################
...
...
@@ -96,6 +97,7 @@ class SendMultMsgThread():
client
.
settimeout
(
self
.
timeOut
)
startTime
=
int
(
time
.
time
())
endTime
=
int
(
time
.
time
())
msgCon
=
0
#统计线程发的消息数量
self
.
durThreads
.
append
(
threadName
)
try
:
client
.
connect
((
self
.
host
,
self
.
port
))
...
...
@@ -108,12 +110,15 @@ class SendMultMsgThread():
timeExpend
=
endTime
-
startTime
self
.
threadArr
[
threadName
][
"timeExp"
]
=
timeExpend
self
.
connectTimeoutNum
=
self
.
connectTimeoutNum
+
1
self
.
messageCon
.
append
(
msgCon
)
self
.
threadArr
[
threadName
][
"msgCon"
]
=
msgCon
print
(
threadName
+
":"
+
"连接超时,socket断开"
)
return
while
(
endTime
-
startTime
)
<
self
.
durTime
:
msg
=
self
.
getRandomMsg
(
carId
)
try
:
client
.
send
(
binascii
.
a2b_hex
(
msg
))
msgCon
=
msgCon
+
1
except
BaseException
as
e
:
client
.
close
()
self
.
durThreads
.
remove
(
threadName
)
...
...
@@ -123,6 +128,8 @@ class SendMultMsgThread():
timeExpend
=
endTime
-
startTime
self
.
threadArr
[
threadName
][
"timeExp"
]
=
timeExpend
self
.
sendTimeoutNum
=
self
.
sendTimeoutNum
+
1
self
.
messageCon
.
append
(
msgCon
)
self
.
threadArr
[
threadName
][
"msgCon"
]
=
msgCon
print
(
threadName
+
":"
+
"发送超时,socket断开"
)
return
try
:
...
...
@@ -133,6 +140,8 @@ class SendMultMsgThread():
self
.
threadArr
[
threadName
][
"status"
]
=
1
self
.
failThreadCount
=
self
.
failThreadCount
+
1
self
.
reviceTimeoutNum
=
self
.
connectTimeoutNum
+
1
self
.
messageCon
.
append
(
msgCon
)
self
.
threadArr
[
threadName
][
"msgCon"
]
=
msgCon
print
(
threadName
+
":"
+
'socket 接收消息超时!'
)
endTime
=
int
(
time
.
time
())
timeExpend
=
endTime
-
startTime
...
...
@@ -144,6 +153,8 @@ class SendMultMsgThread():
endTime
=
int
(
time
.
time
())
timeExpend
=
endTime
-
startTime
self
.
threadArr
[
threadName
][
"timeExp"
]
=
timeExpend
self
.
messageCon
.
append
(
msgCon
)
self
.
threadArr
[
threadName
][
"msgCon"
]
=
msgCon
client
.
close
()
self
.
sucessNum
=
self
.
sucessNum
+
1
self
.
durThreads
.
remove
(
threadName
)
...
...
@@ -189,14 +200,20 @@ class SendMultMsgThread():
timeEnd
=
int
(
time
.
time
()
*
1000
)
timeExpend
=
timeEnd
-
timeStart
print
(
"耗时:"
+
str
(
timeExpend
)
+
" 毫秒产生了"
+
str
(
self
.
threadCount
)
+
"线程"
)
time
.
sleep
(
0.5
)
#防止启动的时候溜掉某些启动比较慢的线程
while
len
(
self
.
durThreads
)
!=
0
:
print
(
"剩余线程数:"
+
str
(
len
(
self
.
durThreads
)))
time
.
sleep
(
5
)
time
.
sleep
(
2
)
#防止线程慢的时候,某些线程被漏统计的情况
print
(
"-------------------------- 统计信息 --------------------------"
)
totalMsg
=
0
for
i
in
self
.
messageCon
:
totalMsg
=
totalMsg
+
i
print
(
"耗时:"
+
str
(
timeExpend
)
+
" 毫秒产生了"
+
str
(
self
.
threadCount
)
+
"线程"
)
print
(
"设置socket超时时间:"
+
str
(
self
.
timeOut
))
print
(
"设置线程持续时间:"
+
str
(
self
.
durTime
))
print
(
"成功线程数:"
+
str
(
self
.
sucessNum
))
print
(
"消息总数:"
+
str
(
totalMsg
))
print
(
"连接失败:"
+
str
(
self
.
connectTimeoutNum
))
print
(
"发送失败:"
+
str
(
self
.
sendTimeoutNum
))
print
(
"接收失败:"
+
str
(
self
.
reviceTimeoutNum
))
...
...
lib/protocol/message/DataUpstreamTransport_msg.py
View file @
02b4babe
...
...
@@ -334,7 +334,11 @@ class DataUpstreamTransport_msg(MessageBase):
#故障码
troubleCode
=
""
for
i
in
range
(
0
,
troubleCodeNums
):
troubleCode
=
troubleCode
+
self
.
int2hexStringByBytes
(
i
,
4
)
tbc0
=
self
.
int2hexStringByBytes
(
i
)
tbc1
=
self
.
int2hexStringByBytes
(
1
)
tbc2
=
self
.
int2hexStringByBytes
(
2
)
tbc3
=
self
.
int2hexStringByBytes
(
3
)
troubleCode
=
troubleCode
+
tbc0
+
tbc1
+
tbc2
+
tbc3
data
=
infoTime
+
latitude
+
longitude
+
troubleCodeNumsHex
+
troubleCode
return
data
...
...
lib/protocol/message/Location_msg.py
View file @
02b4babe
...
...
@@ -174,7 +174,8 @@ class Location_msg(MessageBase):
extra_FA
=
"FA"
+
self
.
int2hexStringByBytes
(
int
(
len
(
AlarmEvent_data
()
.
generateAlarmEvent_data
())
/
2
))
+
AlarmEvent_data
()
.
generateAlarmEvent_data
()
# data = extra_01 + extra_02 + extra_11 + extra_31 + extra_EA + extra_EB + extra_FA
data
=
extra_11
+
extra_31
+
extra_EA
+
extra_EB
+
extra_FA
# data = extra_11 + extra_31 + extra_EA + extra_EB + extra_FA
data
=
extra_11
+
extra_31
+
extra_EA
+
extra_FA
# data = extra_01 + extra_02 + extra_11 + extra_12 + extra_13
# data = data + extra_2A + extra_30 + extra_31 + extra_EA + extra_EB
...
...
@@ -508,7 +509,7 @@ class Location_msg(MessageBase):
#######################################################
# 获取
精
度信息
# 获取
纬
度信息
#######################################################
def
getLatitude
(
self
,
data
=
29.40268
):
data
=
int
(
data
*
1000000
)
...
...
@@ -516,7 +517,7 @@ class Location_msg(MessageBase):
return
dataHex
#######################################################
# 获取
纬
度信息
# 获取
经
度信息
#######################################################
def
getLongtitude
(
self
,
data
=
106.54041
):
data
=
int
(
data
*
1000000
)
...
...
lib/protocol/message/data/AlarmEvent_data.py
View file @
02b4babe
...
...
@@ -49,14 +49,14 @@ class AlarmEvent_data(MessageBase):
crashAlarm
=
"0114"
+
self
.
int2hexStringByBytes
(
0
)
#碰撞报警
rapidChangeLines
=
"0115"
+
self
.
int2hexStringByBytes
(
0
)
#急变道报警
# data = buslineNotSleep
data
=
data
+
ignition
+
flameout
+
setUpDefences
+
withdrawGarrision
+
doorOpen
data
=
data
+
doorClose
+
systemStart
+
trailCarAlarm
+
locationTooLong
+
terminalPullOut
data
=
data
+
terminalInsert
+
lowVoltage
+
idlingSpeedOver
+
overspeedAlarm
+
fatigueDriving
data
=
data
+
waterTemperatureAlarm
+
highSpeedNeutralGear
+
oilExpendNotSurport
+
OBDNotSurport
+
lowWaterTemperatureHighSpeed
data
=
data
+
buslineNotSleep
+
illegalOpenDoor
+
illegalFire
+
rapidAccelerateAlarm
+
sharpSlowdownAlarm
data
=
data
+
sharpBendAlarm
+
crashAlarm
+
rapidChangeLines
data
=
ignition
#
data = data + ignition + flameout + setUpDefences + withdrawGarrision + doorOpen
#
data = data + doorClose + systemStart + trailCarAlarm + locationTooLong + terminalPullOut
#
data = data + terminalInsert + lowVoltage + idlingSpeedOver + overspeedAlarm + fatigueDriving
#
data = data + waterTemperatureAlarm + highSpeedNeutralGear + oilExpendNotSurport + OBDNotSurport + lowWaterTemperatureHighSpeed
#
data = data + buslineNotSleep + illegalOpenDoor + illegalFire + rapidAccelerateAlarm + sharpSlowdownAlarm
#
data = data + sharpBendAlarm + crashAlarm + rapidChangeLines
return
data
# 创建报警事件数据,数据随机产生
...
...
@@ -213,7 +213,7 @@ class AlarmEvent_data(MessageBase):
return
data
#####################################################
# 获取
疲劳驾驶
报警附带信息
# 获取
水温
报警附带信息
#####################################################
def
getWaterTemperatureAlarm
(
self
):
#报警属性 1 BYTE 1:报警触发(无下面的数据内容项) 0:报警解除(有下面的数据内容项)
...
...
lib/protocol/message/data/CarSafeStatusInfo.py
View file @
02b4babe
...
...
@@ -82,7 +82,7 @@ class CarSafeStatusInfo(MessageBase):
lbDoorStatus
=
0
#左后门,4:开 0:关
rbDoorStatus
=
0
#右后门,8:开 0:关
trunk
=
0
#后备箱,16:开 0:关
enginCover
=
32
#发送
机盖:32:开 0:关
enginCover
=
0
#发动
机盖:32:开 0:关
retain1
=
0
#预留字段
retain2
=
0
#预留字段
...
...
@@ -101,7 +101,7 @@ class CarSafeStatusInfo(MessageBase):
lfDoorLockStatus
=
0
#左前门锁状态,1:开 0:关
rfDoorLockStatus
=
0
#右前门锁状态,2:开 0:关
lbDoorLockStatus
=
0
#左后门锁状态,4:开 0:关
rbDoorLockStatus
=
0
#
有
后门锁状态,8:开 0:关
rbDoorLockStatus
=
0
#
右
后门锁状态,8:开 0:关
retain1
=
0
retain2
=
0
retain3
=
0
...
...
lib/socket/messageTest.py
View file @
02b4babe
...
...
@@ -29,8 +29,8 @@ port = 9001
# msg = TerminalVersionInfo_msg().generateMsg() #终端版本信息上报
# msg = QueryTerminalParam_res().generateMsg() #查询终端参数应答
# msg = QueryTerminalProperty_res().generateMsg() #查询终端属性应答消息
msg
=
Location_msg
()
.
generateMsg
()
#位置信息汇报
#
msg = DataUpstreamTransport_msg().generateMsg() #数据上行透传消息
#
msg = Location_msg().generateMsg() #位置信息汇报
msg
=
DataUpstreamTransport_msg
()
.
generateMsg
()
#数据上行透传消息
# msg = TerminalUpdataResult_msg().generateMsg() #终端升级结果通知
# msg = LocationDataBatchUpdate_msg().generateMsg() #定位数据批量上传
# msg = TextInfoUpload_msg().generateMsg() #文本信息上传
...
...
templates/messageTools/message/location_msg_page.html
View file @
02b4babe
...
...
@@ -187,17 +187,17 @@
<div
style=
"width:100%;border-width:1px;border-style:solid;border-color:darkgray;border-radius:10px;padding:2px;background:skyblue;"
>
<label>
选择附加消息:
</label><br>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<li
style=
"width:50px;"
><label><input
name=
"Fruit"
type=
"checkbox"
id=
"01"
/>
里程
</label>
</li>
<li
style=
"width:60px;"
><label><input
name=
"Fruit"
type=
"checkbox"
id=
"02"
/>
油量
</label>
</li>
<li
style=
"width:140px;"
><label
style=
"width: 130px;"
><input
name=
"Fruit"
type=
"checkbox"
id=
"11"
/>
超速报警附加信息
</label>
</li>
<li
style=
"width:200px;"
><label
style=
"width: 190px;"
><input
name=
"Fruit"
type=
"checkbox"
id=
"12"
/>
进出区域/路线报警附加信息
</label>
</li>
<li
style=
"width:260px;"
><label
style=
"width: 250px;"
><input
name=
"Fruit"
type=
"checkbox"
id=
"13"
/>
路段行驶时间不足/过长报警附加信息
</label>
</li>
<li
style=
"width:80px;"
><label
style=
"width: 70px;"
><input
name=
"Fruit"
type=
"checkbox"
id=
"2A"
/>
IO状态位
</label>
</li>
<li
style=
"width:170px;"
><label
style=
"width: 160px;"
><input
name=
"Fruit"
type=
"checkbox"
id=
"30"
/>
无线通信网络信号强度
</label>
</li>
<li
style=
"width:200px;"
><label
style=
"width: 150px;"
><input
name=
"Fruit"
type=
"checkbox"
id=
"31"
/>
GNSS 定位卫星数
</label>
</li>
<li
style=
"width:120px;"
><label
style=
"width: 120px;"
><input
name=
"Fruit"
type=
"checkbox"
id=
"EA"
/>
基础数据项列表
</label>
</li>
<li
style=
"width:145px;"
><label
style=
"width: 140px;"
><input
name=
"Fruit"
type=
"checkbox"
id=
"EB"
/>
轿车 OBD 数据流
</label>
</li>
<li
style=
"width:200px;"
><label
style=
"width: 150px;"
><input
name=
"Fruit"
type=
"checkbox"
id=
"FA"
/>
报警事件 ID 数据项
</label>
</li>
<li
style=
"width:50px;"
><label><input
type=
"checkbox"
id=
"01"
/>
里程
</label>
</li>
<li
style=
"width:60px;"
><label><input
type=
"checkbox"
id=
"02"
/>
油量
</label>
</li>
<li
style=
"width:140px;"
><label
style=
"width: 130px;"
><input
type=
"checkbox"
id=
"11"
/>
超速报警附加信息
</label>
</li>
<li
style=
"width:200px;"
><label
style=
"width: 190px;"
><input
type=
"checkbox"
id=
"12"
/>
进出区域/路线报警附加信息
</label>
</li>
<li
style=
"width:260px;"
><label
style=
"width: 250px;"
><input
type=
"checkbox"
id=
"13"
/>
路段行驶时间不足/过长报警附加信息
</label>
</li>
<li
style=
"width:80px;"
><label
style=
"width: 70px;"
><input
type=
"checkbox"
id=
"2A"
/>
IO状态位
</label>
</li>
<li
style=
"width:170px;"
><label
style=
"width: 160px;"
><input
type=
"checkbox"
id=
"30"
/>
无线通信网络信号强度
</label>
</li>
<li
style=
"width:200px;"
><label
style=
"width: 150px;"
><input
type=
"checkbox"
id=
"31"
/>
GNSS 定位卫星数
</label>
</li>
<li
style=
"width:120px;"
><label
style=
"width: 120px;"
><input
type=
"checkbox"
id=
"EA"
/>
基础数据项列表
</label>
</li>
<li
style=
"width:145px;"
><label
style=
"width: 140px;"
><input
type=
"checkbox"
id=
"EB"
/>
轿车 OBD 数据流
</label>
</li>
<li
style=
"width:200px;"
><label
style=
"width: 150px;"
><input
type=
"checkbox"
id=
"FA"
/>
报警事件 ID 数据项
</label>
</li>
</ul>
</div>
<div
style=
"width:100%;border-width:1px;border-style:solid;border-color:darkgray;border-radius:10px;padding:2px;margin-top:5px;"
>
...
...
@@ -237,6 +237,474 @@
<option
value=
"1"
>
出
</option></select></li>
</ul>
</div>
<div
style=
"width:100%;border-width:1px;border-style:solid;border-color:darkgray;border-radius:10px;padding:2px;margin-top:5px;"
>
<label>
路段行驶时间不足/过长报警附加信息:
</label><br>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<li><label>
路段Id:
</label><input
id=
"areaId_3"
type=
"text"
class=
"form-control"
value=
"2020"
></li>
<li><label
style=
"word-break:break-all;font-size:10px;"
>
路段行驶时间(秒):
</label><input
id=
"drivingTime"
type=
"text"
class=
"form-control"
value=
"36000"
></li>
<li
style=
"width:170px;"
><label>
结果:
</label><select
id=
"result"
class=
"form-control"
style=
"width:80px;"
>
<option
value=
"0"
>
不足
</option>
<option
value=
"1"
>
过长
</option></select></li>
</ul>
</div>
<div
style=
"width:100%;border-width:1px;border-style:solid;border-color:darkgray;border-radius:10px;padding:2px;margin-top:5px;"
>
<label>
状态位:
</label><br>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<li
style=
"width:180px;"
><select
style=
"width:170px;"
id=
"deepSleepStatus"
class=
"form-control"
>
<option
value=
"0"
>
深度休眠状态(否)
</option>
<option
value=
"1048576"
>
深度休眠状态(是)
</option></select></li>
<li
style=
"width:180px;"
><select
style=
"width:170px;"
id=
"sleepStatus"
class=
"form-control"
>
<option
value=
"0"
>
休眠状态(否)
</option>
<option
value=
"2097152"
>
休眠状态(是)
</option></select></li>
</ul>
</div>
<div
style=
"width:100%;border-width:1px;border-style:solid;border-color:darkgray;border-radius:10px;padding:2px;margin-top:5px;"
>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<li><label
style=
"word-break:break-all;font-size:10px;"
>
无线通信网络信号强度:
</label><input
id=
"extra_30"
type=
"text"
class=
"form-control"
value=
"33"
></li>
</ul>
</div>
<div
style=
"width:100%;border-width:1px;border-style:solid;border-color:darkgray;border-radius:10px;padding:2px;margin-top:5px;"
>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<li><label
style=
"word-break:break-all;font-size:10px;"
>
GNSS定位卫星数:
</label><input
id=
"extra_31"
type=
"text"
class=
"form-control"
value=
"2"
></li>
</ul>
</div>
<div
style=
"width:100%;border-width:1px;border-style:solid;border-color:darkgray;border-radius:10px;padding:2px;margin-top:5px;padding-left:10px;padding-right:10px;"
>
<label>
基础数据项列表:
</label><br>
<div
style=
"width:100%;border-width:1px;border-style:solid;border-color:darkgray;border-radius:10px;padding:2px;background:skyblue;"
>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<li
style=
"width:130px;"
><label
style=
"width:120px"
><input
type=
"checkbox"
id=
"0001"
/>
扩展状态标志位
</label>
</li>
<li
style=
"width:130px;"
><label
style=
"width:120px"
><input
type=
"checkbox"
id=
"0002"
/>
扩展报警标志位
</label>
</li>
<li
style=
"width:130px;"
><label
style=
"width:120px"
><input
type=
"checkbox"
id=
"0003"
/>
行 驶 总 里 程
</label>
</li>
<li
style=
"width:130px;"
><label
style=
"width:120px"
><input
type=
"checkbox"
id=
"0004"
/>
行 驶 总 油 耗
</label>
</li>
<li
style=
"width:130px;"
><label
style=
"width:120px"
><input
type=
"checkbox"
id=
"0005"
/>
总 运 行 时 长
</label>
</li>
<li
style=
"width:130px;"
><label
style=
"width:120px"
><input
type=
"checkbox"
id=
"0006"
/>
总 熄 火 时 长
</label>
</li>
<li
style=
"width:130px;"
><label
style=
"width:120px"
><input
type=
"checkbox"
id=
"0007"
/>
总 怠 速 时 长
</label>
</li>
<li
style=
"width:180px;"
><label
style=
"width:170px"
><input
type=
"checkbox"
id=
"0010"
/>
此刻1秒内的加速度数据
</label>
</li>
<li
style=
"width:140px;"
><label
style=
"width:130px"
><input
type=
"checkbox"
id=
"0011"
/>
车辆安防状态信息
</label>
</li>
<li
style=
"width:130px;"
><label
style=
"width:120px"
><input
type=
"checkbox"
id=
"0012"
/>
车辆电瓶电压
</label>
</li>
<li
style=
"width:140px;"
><label
style=
"width:130px"
><input
type=
"checkbox"
id=
"0013"
/>
终端内置电池电压
</label>
</li>
<li
style=
"width:130px;"
><label
style=
"width:120px"
><input
type=
"checkbox"
id=
"001D"
/>
GPS 定位标志
</label>
</li>
</ul>
</div>
<div
style=
"width:100%;border-width:1px;border-style:solid;border-radius:10px;padding:2px;margin-top:5px;"
>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<li><label
style=
"word-break:break-all;font-size:10px;"
>
扩展状态标志位:
</label><select
style=
"width:150px;"
id=
"dataId_0001"
class=
"form-control"
>
<option
value=
"0"
>
撤防上报
</option>
<option
value=
"1"
>
设防上报
</option></select></li></li>
</ul>
</div>
<div
style=
"width:100%;border-width:1px;border-style:solid;border-radius:10px;padding:2px;margin-top:5px;"
>
<label>
扩展报警标志位:
</label><br>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<li
style=
"width:150px;"
><select
style=
"width:140px;"
id=
"waterTemperatureAlarm"
class=
"form-control"
>
<option
value=
"0"
>
水温报警(否)
</option>
<option
value=
"1"
>
水温报警(是)
</option></select></li>
<li
style=
"width:180px;"
><select
style=
"width:170px;"
id=
"idlingOverlongAlarm"
class=
"form-control"
>
<option
value=
"0"
>
怠速过长报警(否)
</option>
<option
value=
"2"
>
怠速过长报警(是)
</option></select></li>
<li
style=
"width:160px;"
><select
style=
"width:150px;"
id=
"rapidlyAccelerateAlarm"
class=
"form-control"
>
<option
value=
"0"
>
急加速报警(否)
</option>
<option
value=
"4"
>
急加速报警(是)
</option></select></li>
<li
style=
"width:160px;"
><select
style=
"width:150px;"
id=
"sharpSlowsownAlarm"
class=
"form-control"
>
<option
value=
"0"
>
急减速报警(否)
</option>
<option
value=
"8"
>
急减速报警(是)
</option></select></li>
<li
style=
"width:160px;"
><select
style=
"width:150px;"
id=
"sharpCurve"
class=
"form-control"
>
<option
value=
"0"
>
急转弯报警(否)
</option>
<option
value=
"16"
>
急转弯报警(是)
</option></select></li>
<li
style=
"width:160px;"
><select
style=
"width:150px;"
id=
"insertAlarm"
class=
"form-control"
>
<option
value=
"0"
>
插入报警(否)
</option>
<option
value=
"1024"
>
插入报警(是)
</option></select></li>
<li
style=
"width:190px;"
><select
style=
"width:180px;"
id=
"oilExpenseNotSupportAlarm"
class=
"form-control"
>
<option
value=
"0"
>
油耗不支持报警(否)
</option>
<option
value=
"2048"
>
油耗不支持报警(是)
</option></select></li>
<li
style=
"width:200px;"
><select
style=
"width:190px;"
id=
"OBDNotSupportAlarm"
class=
"form-control"
>
<option
value=
"0"
>
OBD 不支持报警(否)
</option>
<option
value=
"4096"
>
OBD 不支持报警(是)
</option></select></li>
<li
style=
"width:190px;"
><select
style=
"width:180px;"
id=
"buslineNotSleepAlarm"
class=
"form-control"
>
<option
value=
"0"
>
总线不睡眠报警(否)
</option>
<option
value=
"8192"
>
总线不睡眠报警(是)
</option></select></li>
<li
style=
"width:160px;"
><select
style=
"width:150px;"
id=
"illegalOpenDoor_2"
class=
"form-control"
>
<option
value=
"0"
>
非法开门(否)
</option>
<option
value=
"16384"
>
非法开门(是)
</option></select></li>
<li
style=
"width:200px;"
><select
style=
"width:190px;"
id=
"FLASHTroubleAlarm"
class=
"form-control"
>
<option
value=
"0"
>
FLASH 故障报警(否)
</option>
<option
value=
"131072"
>
FLASH 故障报警(是)
</option></select></li>
<li
style=
"width:210px;"
><select
style=
"width:200px;"
id=
"CANTroubleAlarm"
class=
"form-control"
>
<option
value=
"0"
>
CAN 模块故障报警(否)
</option>
<option
value=
"262144"
>
CAN 模块故障报警(是)
</option></select></li>
<li
style=
"width:210px;"
><select
style=
"width:200px;"
id=
"D3SensorTroubleAlarm"
class=
"form-control"
>
<option
value=
"0"
>
3D 传感器故障报警(否)
</option>
<option
value=
"524288"
>
3D 传感器故障报警(是)
</option></select></li>
<li
style=
"width:210px;"
><select
style=
"width:200px;"
id=
"RTCTroubleAlarm"
class=
"form-control"
>
<option
value=
"0"
>
RTC 模块故障报警(否)
</option>
<option
value=
"1048576"
>
RTC 模块故障报警(是)
</option></select></li>
</ul>
</div>
<div
style=
"width:100%;border-width:1px;border-style:solid;border-radius:10px;padding:2px;margin-top:5px;"
>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<label>
行驶总里程:
</label><br>
<li
style=
"width:600px;"
><label>
统计算法:
</label><select
style=
"width:180px;"
id=
"caculateType"
class=
"form-control"
>
<option
value=
"01"
>
GPS 总里程(累计)
</option>
<option
value=
"02"
>
J1939 里程算法 1
</option>
<option
value=
"03"
>
J1939 里程算法 2
</option>
<option
value=
"04"
>
J1939 里程算法 3
</option>
<option
value=
"05"
>
J1939 里程算法 4
</option>
<option
value=
"06"
>
J1939 里程算法 5
</option>
<option
value=
"06"
>
OBD 仪表里程
</option>
<option
value=
"07"
>
OBD 速度里程
</option>
<option
value=
"09"
>
J1939 里程算法 6
</option>
<option
value=
"0A"
>
J1939 里程算法 7
</option>
<option
value=
"0B"
>
J1939 里程算法 8
</option>
<option
value=
"0C"
>
J1939 里程算法 9
</option></select>
<label>
行驶总里程:
</label>
<input
id=
"totalMileage"
type=
"text"
class=
"form-control"
value=
"128000"
style=
"margin-left:5px;"
><label
style=
"width:40px;"
>
(米)
</label>
</li>
</ul>
</div>
<div
style=
"width:100%;border-width:1px;border-style:solid;border-radius:10px;padding:2px;margin-top:5px;"
>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<label>
行驶总油耗:
</label><br>
<li
style=
"width:600px;"
><label>
统计算法:
</label><select
style=
"width:150px;"
id=
"caculateType_2"
class=
"form-control"
>
<option
value=
"01"
>
J1939 油耗算法 1
</option>
<option
value=
"02"
>
J1939 油耗算法 2
</option>
<option
value=
"03"
>
J1939 油耗算法 3
</option>
<option
value=
"04"
>
J1939 油耗算法 4
</option>
<option
value=
"05"
>
J1939 油耗算法 5
</option>
<option
value=
"0B"
>
OBD 油耗算法 1
</option>
<option
value=
"1C"
>
OBD 油耗算法 2
</option></select>
<label>
行驶总油耗:
</label>
<input
id=
"totalOil"
type=
"text"
class=
"form-control"
value=
"320000"
style=
"margin-left:5px;"
><label
style=
"width:50px;"
>
(mL)
</label>
</li>
</ul>
</div>
<div
style=
"width:100%;border-width:1px;border-style:solid;border-radius:10px;padding:2px;margin-top:5px;"
>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<li><label>
总运行时长:
</label><input
id=
"dataId_0005"
type=
"text"
class=
"form-control"
value=
"360000"
></li>
</ul>
</div>
<div
style=
"width:100%;border-width:1px;border-style:solid;border-radius:10px;padding:2px;margin-top:5px;"
>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<li><label>
总熄火时长:
</label><input
id=
"dataId_0006"
type=
"text"
class=
"form-control"
value=
"72000"
></li>
</ul>
</div>
<div
style=
"width:100%;border-width:1px;border-style:solid;border-radius:10px;padding:2px;margin-top:5px;"
>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<li><label>
总怠速时长:
</label><input
id=
"dataId_0007"
type=
"text"
class=
"form-control"
value=
"480000"
></li>
</ul>
</div>
<div
style=
"width:100%;border-width:1px;border-style:solid;border-radius:10px;padding:2px;margin-top:5px;"
>
<label>
此刻 1 秒内的加速度数据:
</label>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<li><label
style=
"word-break:break-all;font-size:10px;"
>
采集的点个数:
</label><input
id=
"pointCount"
type=
"text"
class=
"form-control"
value=
"4"
></li>
<li><label
style=
"word-break:break-all;font-size:10px;"
>
采集间隔(毫秒):
</label><input
id=
"collectIntercal"
type=
"text"
class=
"form-control"
value=
"4"
><label
style=
"width:50px;"
></label></li>
</ul>
</div>
<div
style=
"width:100%;border-width:1px;border-style:solid;border-radius:10px;padding:2px;margin-top:5px;"
>
<label>
车辆安防状态信息:
</label>
<div
style=
"margin-left:20px;"
>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<li><label>
状态掩码:
</label><input
id=
"statusCode"
type=
"text"
class=
"form-control"
value=
"ffffffffffffffffffff"
></li>
</ul>
</div>
<div
style=
"margin-left:20px"
;
>
<label
style=
"font-size:13px;"
>
安全状态:
</label>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<li
style=
"width:155px;"
><select
style=
"width:145px;"
id=
"securityStatus"
class=
"form-control"
>
<option
value=
"0"
>
ACC 状态(关)
</option>
<option
value=
"1"
>
ACC 状态(开)
</option></select></li>
<li
style=
"width:180px;"
><select
style=
"width:170px;"
id=
"defenseStatus"
class=
"form-control"
>
<option
value=
"0"
>
设防撤防状态(关)
</option>
<option
value=
"2"
>
设防撤防状态(开)
</option></select></li>
<li
style=
"width:150px;"
><select
style=
"width:140px;"
id=
"brakeStatus"
class=
"form-control"
>
<option
value=
"0"
>
脚刹状态(关)
</option>
<option
value=
"4"
>
脚刹状态(开)
</option></select></li>
<li
style=
"width:160px;"
><select
style=
"width:150px;"
id=
"acceleratorStatus"
class=
"form-control"
>
<option
value=
"0"
>
是否踩油门(关)
</option>
<option
value=
"8"
>
是否踩油门(开)
</option></select></li>
<li
style=
"width:150px;"
><select
style=
"width:140px;"
id=
"handBrakeStatus"
class=
"form-control"
>
<option
value=
"0"
>
手刹状态(关)
</option>
<option
value=
"16"
>
手刹状态(开)
</option></select></li>
<li
style=
"width:175px;"
><select
style=
"width:165px;"
id=
"mainSafetyBelt"
class=
"form-control"
>
<option
value=
"0"
>
主驾驶安全带(关)
</option>
<option
value=
"32"
>
主驾驶安全带(开)
</option></select></li>
<li
style=
"width:175px;"
><select
style=
"width:165px;"
id=
"subSafetyBelt"
class=
"form-control"
>
<option
value=
"0"
>
副驾驶安全带(关)
</option>
<option
value=
"64"
>
副驾驶安全带(开)
</option></select></li>
</ul>
</div>
<div
style=
"margin-left:20px"
;
>
<label
style=
"font-size:13px;"
>
门状态:
</label>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<li
style=
"width:155px;"
><select
style=
"width:145px;"
id=
"lfDoorStatus"
class=
"form-control"
>
<option
value=
"0"
>
左前门(关)
</option>
<option
value=
"1"
>
左前门(开)
</option></select></li>
<li
style=
"width:155px;"
><select
style=
"width:145px;"
id=
"rfDoorStatus"
class=
"form-control"
>
<option
value=
"0"
>
右前门(关)
</option>
<option
value=
"2"
>
右前门(开)
</option></select></li>
<li
style=
"width:155px;"
><select
style=
"width:145px;"
id=
"lbDoorStatus"
class=
"form-control"
>
<option
value=
"0"
>
左后门(关)
</option>
<option
value=
"4"
>
左后门(开)
</option></select></li>
<li
style=
"width:155px;"
><select
style=
"width:145px;"
id=
"rbDoorStatus"
class=
"form-control"
>
<option
value=
"0"
>
右后门(关)
</option>
<option
value=
"8"
>
右后门(开)
</option></select></li>
<li
style=
"width:155px;"
><select
style=
"width:145px;"
id=
"trunk"
class=
"form-control"
>
<option
value=
"0"
>
后备箱(关)
</option>
<option
value=
"16"
>
后备箱(开)
</option></select></li>
<li
style=
"width:155px;"
><select
style=
"width:145px;"
id=
"enginCover"
class=
"form-control"
>
<option
value=
"0"
>
发动机盖(关)
</option>
<option
value=
"32"
>
发动机盖(开)
</option></select></li>
</ul>
</div>
<div
style=
"margin-left:20px"
;
>
<label
style=
"font-size:13px;"
>
锁状态:
</label>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<li
style=
"width:175px;"
><select
style=
"width:165px;"
id=
"lfDoorLockStatus"
class=
"form-control"
>
<option
value=
"0"
>
左前门锁状态(关)
</option>
<option
value=
"1"
>
左前门锁状态(开)
</option></select></li>
<li
style=
"width:175px;"
><select
style=
"width:165px;"
id=
"rfDoorLockStatus"
class=
"form-control"
>
<option
value=
"0"
>
右前门锁状态(关)
</option>
<option
value=
"2"
>
右前门锁状态(开)
</option></select></li>
<li
style=
"width:175px;"
><select
style=
"width:165px;"
id=
"lbDoorLockStatus"
class=
"form-control"
>
<option
value=
"0"
>
左后门锁状态(关)
</option>
<option
value=
"4"
>
左后门锁状态(开)
</option></select></li>
<li
style=
"width:175px;"
><select
style=
"width:165px;"
id=
"rbDoorLockStatus"
class=
"form-control"
>
<option
value=
"0"
>
右后门锁状态(关)
</option>
<option
value=
"8"
>
右后门锁状态(开)
</option></select></li>
</ul>
</div>
<div
style=
"margin-left:20px"
;
>
<label
style=
"font-size:13px;"
>
窗户状态:
</label>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<li
style=
"width:135px;"
><select
style=
"width:125px;"
id=
"lfWindowStatus"
class=
"form-control"
>
<option
value=
"0"
>
左前窗(关)
</option>
<option
value=
"1"
>
左前窗(开)
</option></select></li>
<li
style=
"width:135px;"
><select
style=
"width:125px;"
id=
"rfWindowStatus"
class=
"form-control"
>
<option
value=
"0"
>
右前窗(关)
</option>
<option
value=
"2"
>
右前窗(开)
</option></select></li>
<li
style=
"width:135px;"
><select
style=
"width:125px;"
id=
"lbWindowStatus"
class=
"form-control"
>
<option
value=
"0"
>
左后窗(关)
</option>
<option
value=
"4"
>
左后窗(开)
</option></select></li>
<li
style=
"width:135px;"
><select
style=
"width:125px;"
id=
"rbWindowStatus"
class=
"form-control"
>
<option
value=
"0"
>
右后窗(关)
</option>
<option
value=
"8"
>
右后窗(开)
</option></select></li>
<li
style=
"width:150px;"
><select
style=
"width:140px;"
id=
"topWindowStatus"
class=
"form-control"
>
<option
value=
"0"
>
天窗开关(关)
</option>
<option
value=
"16"
>
天窗开关(开)
</option></select></li>
<li
style=
"width:150px;"
><select
style=
"width:140px;"
id=
"lTurnLight"
class=
"form-control"
>
<option
value=
"0"
>
左转向灯(关)
</option>
<option
value=
"32"
>
左转向灯(开)
</option></select></li>
<li
style=
"width:150px;"
><select
style=
"width:140px;"
id=
"rTurnLight"
class=
"form-control"
>
<option
value=
"0"
>
右转向灯(关)
</option>
<option
value=
"64"
>
右转向灯(开)
</option></select></li>
<li
style=
"width:135px;"
><select
style=
"width:125px;"
id=
"readLight"
class=
"form-control"
>
<option
value=
"0"
>
阅读灯(关)
</option>
<option
value=
"128"
>
阅读灯(开)
</option></select></li>
</ul>
</div>
<div
style=
"margin-left:20px"
;
>
<label
style=
"font-size:13px;"
>
灯光状态 1:
</label>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<li
style=
"width:135px;"
><select
style=
"width:125px;"
id=
"lowHeadlight"
class=
"form-control"
>
<option
value=
"0"
>
近光灯(关)
</option>
<option
value=
"1"
>
近光灯(开)
</option></select></li>
<li
style=
"width:135px;"
><select
style=
"width:125px;"
id=
"highHeadlight"
class=
"form-control"
>
<option
value=
"0"
>
远光灯(关)
</option>
<option
value=
"2"
>
远光灯(开)
</option></select></li>
<li
style=
"width:135px;"
><select
style=
"width:125px;"
id=
"ffogLight"
class=
"form-control"
>
<option
value=
"0"
>
前雾灯(关)
</option>
<option
value=
"4"
>
前雾灯(开)
</option></select></li>
<li
style=
"width:135px;"
><select
style=
"width:125px;"
id=
"bfogLight"
class=
"form-control"
>
<option
value=
"0"
>
后雾灯(关)
</option>
<option
value=
"8"
>
后雾灯(开)
</option></select></li>
<li
style=
"width:135px;"
><select
style=
"width:125px;"
id=
"dangerLight"
class=
"form-control"
>
<option
value=
"0"
>
危险灯(关)
</option>
<option
value=
"16"
>
危险灯(开)
</option></select></li>
<li
style=
"width:135px;"
><select
style=
"width:125px;"
id=
"backCarLight"
class=
"form-control"
>
<option
value=
"0"
>
倒车灯(关)
</option>
<option
value=
"32"
>
倒车灯(开)
</option></select></li>
<li
style=
"width:135px;"
><select
style=
"width:125px;"
id=
"autoLight"
class=
"form-control"
>
<option
value=
"0"
>
auto灯(关)
</option>
<option
value=
"64"
>
auto灯(开)
</option></select></li>
<li
style=
"width:135px;"
><select
style=
"width:125px;"
id=
"widthLight"
class=
"form-control"
>
<option
value=
"0"
>
示宽灯(关)
</option>
<option
value=
"128"
>
示宽灯(开)
</option></select></li>
</ul>
</div>
<div
style=
"margin-left:20px"
;
>
<label
style=
"font-size:13px;"
>
开关状态 A:
</label>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<li
style=
"width:175px;"
><select
style=
"width:165px;"
id=
"machineOilWarning"
class=
"form-control"
>
<option
value=
"0"
>
机油报警(关)
</option>
<option
value=
"1"
>
机油报警(开)
</option></select></li>
<li
style=
"width:175px;"
><select
style=
"width:165px;"
id=
"oilWarning"
class=
"form-control"
>
<option
value=
"0"
>
燃油报警(关)
</option>
<option
value=
"2"
>
燃油报警(开)
</option></select></li>
<li
style=
"width:175px;"
><select
style=
"width:165px;"
id=
"wiperWarning"
class=
"form-control"
>
<option
value=
"0"
>
雨刷报警(关)
</option>
<option
value=
"4"
>
雨刷报警(开)
</option></select></li>
<li
style=
"width:175px;"
><select
style=
"width:165px;"
id=
"loudsspeakerWaring"
class=
"form-control"
>
<option
value=
"0"
>
喇叭报警(关)
</option>
<option
value=
"8"
>
喇叭报警(开)
</option></select></li>
<li
style=
"width:175px;"
><select
style=
"width:165px;"
id=
"airConditionerWaring"
class=
"form-control"
>
<option
value=
"0"
>
空调(关)
</option>
<option
value=
"16"
>
空调(开)
</option></select></li>
<li
style=
"width:175px;"
><select
style=
"width:165px;"
id=
"backMirrorWaring"
class=
"form-control"
>
<option
value=
"0"
>
后视镜状态(关)
</option>
<option
value=
"32"
>
后视镜状态(开)
</option></select></li>
</ul>
</div>
<div
style=
"margin-left:20px"
;
>
<label
style=
"font-size:13px;"
>
开关状态 B:
</label>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<li
style=
"width:175px;"
><label
style=
"font-size:13px;display:inline;"
>
档位:
</label><select
style=
"width:120px;"
id=
"ddd"
class=
"form-control"
>
<option
value=
"0"
>
P档
</option>
<option
value=
"16"
>
R档
</option>
<option
value=
"32"
>
N档
</option>
<option
value=
"48"
>
D档
</option>
<option
value=
"64"
>
1档
</option>
<option
value=
"80"
>
2档
</option>
<option
value=
"96"
>
3档
</option>
<option
value=
"112"
>
4档
</option>
<option
value=
"128"
>
5档
</option>
<option
value=
"144"
>
6档
</option>
<option
value=
"160"
>
M档
</option>
<option
value=
"176"
>
S档
</option></select></li>
</ul>
</div>
</div>
<div
style=
"width:100%;border-width:1px;border-style:solid;border-radius:10px;padding:2px;margin-top:5px;"
>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<li
style=
"width:400px;"
><label
style=
"width:110px;"
>
车辆电瓶电压:
</label><input
id=
"dataId_0012"
type=
"text"
class=
"form-control"
value=
"36"
></li>
</ul>
</div>
<div
style=
"width:100%;border-width:1px;border-style:solid;border-radius:10px;padding:2px;margin-top:5px;"
>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<li
style=
"width:400px;"
><label
style=
"width:130px;"
>
终端内置电池电压:
</label><input
id=
"dataId_0013"
type=
"text"
class=
"form-control"
value=
"6"
></li>
</ul>
</div>
<div
style=
"width:100%;border-width:1px;border-style:solid;border-radius:10px;padding:2px;margin-top:5px;"
>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<li
style=
"width:400px;"
><label
style=
"width:110px;"
>
GPS定位标志:
</label><select
style=
"width:165px;"
id=
"dataId_001D"
class=
"form-control"
>
<option
value=
"00"
>
不定位
</option>
<option
value=
"01"
selected=
"selected"
>
定位
</option>
<option
value=
"02"
>
无效数据
</option></select></li></li>
</ul>
</div>
</div>
<div
style=
"width:100%;border-width:1px;border-style:solid;border-color:darkgray;border-radius:10px;padding:2px;margin-top:5px;"
>
<label>
轿车 OBD 数据流:
</label><br>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<li><label>
发动机转速:
</label><input
id=
"engineSpeed"
type=
"text"
class=
"form-control"
value=
"3000"
></li>
<li><label>
车速:
</label><input
id=
"carSpeed"
type=
"text"
class=
"form-control"
value=
"60"
></li>
<li><label>
剩余油量:
</label><input
id=
"surplusOil"
type=
"text"
class=
"form-control"
value=
"801"
></li>
<li><label>
冷却液温度:
</label><input
id=
"coolingLiquidTemperature"
type=
"text"
class=
"form-control"
value=
"76"
></li>
<li><label>
进气口温度:
</label><input
id=
"airInletTemperature"
type=
"text"
class=
"form-control"
value=
"88"
></li>
<li><label
style=
"word-break:break-all;font-size:10px;"
>
进气(岐管绝对)压力:
</label><input
id=
"intakeManifoldPressure"
type=
"text"
class=
"form-control"
value=
"20"
></li>
<li><label>
大气压力:
</label><input
id=
"atmosphericPressure"
type=
"text"
class=
"form-control"
value=
"28"
></li>
<li><label>
环境温度:
</label><input
id=
"envTemperature"
type=
"text"
class=
"form-control"
value=
"65"
></li>
<li><label
style=
"word-break:break-all;font-size:10px;"
>
加速踏板位置:
</label><input
id=
"acceleratorLocation"
type=
"text"
class=
"form-control"
value=
"32"
></li>
<li><label>
燃油压力:
</label><input
id=
"oilPressure"
type=
"text"
class=
"form-control"
value=
"276"
></li>
<li><label>
故障码状态:
</label><input
id=
"troubleCodeStatus"
type=
"text"
class=
"form-control"
value=
"0"
></li>
<li><label>
故障码个数:
</label><input
id=
"troubleCodeNum"
type=
"text"
class=
"form-control"
value=
"2"
></li>
<li><label>
空气流量:
</label><input
id=
"airFlow"
type=
"text"
class=
"form-control"
value=
"505"
></li>
<li><label
style=
"word-break:break-all;font-size:10px;"
>
绝对气门位置:
</label><input
id=
"valveLocation"
type=
"text"
class=
"form-control"
value=
"51"
></li>
<li><label
style=
"word-break:break-all;font-size:10px;"
>
自发动机启动运行时间:
</label><input
id=
"engineRunTime"
type=
"text"
class=
"form-control"
value=
"3700"
></li>
<li><label
style=
"word-break:break-all;font-size:10px;"
>
故障行驶里程:
</label><input
id=
"troubleMileage"
type=
"text"
class=
"form-control"
value=
"4508"
></li>
<li><label>
计算负荷值:
</label><input
id=
"calculateLoadValue"
type=
"text"
class=
"form-control"
value=
"44"
></li>
<li><label
style=
"word-break:break-all;font-size:10px;"
>
长期燃油修正(气缸列1和3):
</label><input
id=
"fuelTrim"
type=
"text"
class=
"form-control"
value=
"89"
></li>
<li><label
style=
"word-break:break-all;font-size:10px;"
>
第一缸点火正时提前角
</label><input
id=
"fireAngle"
type=
"text"
class=
"form-control"
value=
"154"
></li>
<li><label
style=
"word-break:break-all;font-size:10px;"
>
前刹车片磨损 , 0 正常/否则,显示对应数据:
</label><input
id=
"frontBrakeBlockAbrasion"
type=
"text"
class=
"form-control"
value=
"0"
></li>
<li><label
style=
"word-break:break-all;font-size:10px;"
>
后刹车片磨损 , 0 正常/否则,显示对应数据:
</label><input
id=
"backBrakeBlockAbrasion"
type=
"text"
class=
"form-control"
value=
"0"
></li>
<li><label>
制动液液位:
</label><select
id=
"brakeFluidLocation"
class=
"form-control"
>
<option
value=
"0"
>
不正常
</option>
<option
value=
"1"
selected=
"selected"
>
正常
</option></select></li>
<li><label>
机油液位:
</label><input
id=
"engineOilLocation"
type=
"text"
class=
"form-control"
value=
"505"
></li>
<li><label>
胎压报警:
</label><select
id=
"tirePressureAlarm"
class=
"form-control"
>
<option
value=
"0"
>
当前无警告
</option>
<option
value=
"1"
selected=
"selected"
>
存在胎压失压
</option></select></li>
<li><label>
冷却液液位:
</label><input
id=
"coolingLiquidLocation"
type=
"text"
class=
"form-control"
value=
"505"
></li>
<li><label>
续航里程:
</label><input
id=
"enduranceMileage"
type=
"text"
class=
"form-control"
value=
"505"
></li>
</ul>
</div>
<div
style=
"width:100%;border-width:1px;border-style:solid;border-color:darkgray;border-radius:10px;padding:2px;margin-top:5px;padding-left:10px;padding-right:10px;"
>
<label>
报警事件:
</label><br>
<div
style=
"width:100%;border-width:1px;border-style:solid;border-color:darkgray;border-radius:10px;padding:2px;background:skyblue;"
>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<li
style=
"width:80px;"
><label
style=
"width:70px"
><input
type=
"checkbox"
id=
"ignition"
/>
点火上报
</label>
</li>
<li
style=
"width:80px;"
><label
style=
"width:70px"
><input
type=
"checkbox"
id=
"flameout"
/>
熄火上报
</label>
</li>
<li
style=
"width:80px;"
><label
style=
"width:70px"
><input
type=
"checkbox"
id=
"setUpDefences"
/>
设防上报
</label>
</li>
<li
style=
"width:80px;"
><label
style=
"width:70px"
><input
type=
"checkbox"
id=
"withdrawGarrision"
/>
撤防上报
</label>
</li>
<li
style=
"width:80px;"
><label
style=
"width:70px"
><input
type=
"checkbox"
id=
"doorOpen"
/>
车门打开
</label>
</li>
<li
style=
"width:80px;"
><label
style=
"width:70px"
><input
type=
"checkbox"
id=
"doorClose"
/>
车门关闭
</label>
</li>
<li
style=
"width:80px;"
><label
style=
"width:70px"
><input
type=
"checkbox"
id=
"systemStart"
/>
系统启动
</label>
</li>
<li
style=
"width:80px;"
><label
style=
"width:70px"
><input
type=
"checkbox"
id=
"trailCarAlarm"
/>
拖车报警
</label>
</li>
<li
style=
"width:110px;"
><label
style=
"width:100px"
><input
type=
"checkbox"
id=
"locationTooLong"
/>
定位过长报警
</label>
</li>
<li
style=
"width:110px;"
><label
style=
"width:100px"
><input
type=
"checkbox"
id=
"terminalPullOut"
/>
终端拔出报警
</label>
</li>
<li
style=
"width:110px;"
><label
style=
"width:100px"
><input
type=
"checkbox"
id=
"terminalInsert"
/>
终端插入报警
</label>
</li>
<li
style=
"width:100px;"
><label
style=
"width:90px"
><input
type=
"checkbox"
id=
"lowVoltage"
/>
低电压报警
</label>
</li>
<li
style=
"width:110px;"
><label
style=
"width:100px"
><input
type=
"checkbox"
id=
"idlingSpeedOver"
/>
怠速过长报警
</label>
</li>
<li
style=
"width:80px;"
><label
style=
"width:70px"
><input
type=
"checkbox"
id=
"overspeedAlarm_AE"
/>
超速报警
</label>
</li>
<li
style=
"width:110px;"
><label
style=
"width:100px"
><input
type=
"checkbox"
id=
"fatigueDriving_AE"
/>
疲劳驾驶报警
</label>
</li>
<li
style=
"width:80px;"
><label
style=
"width:70px"
><input
type=
"checkbox"
id=
"waterTemperatureAlarm_AE"
/>
水温报警
</label>
</li>
<li
style=
"width:140px;"
><label
style=
"width:130px"
><input
type=
"checkbox"
id=
"highSpeedNeutralGear"
/>
高速空档滑行报警
</label>
</li>
<li
style=
"width:130px;"
><label
style=
"width:120px"
><input
type=
"checkbox"
id=
"oilExpendNotSurport"
/>
油耗不支持报警
</label>
</li>
<li
style=
"width:140px;"
><label
style=
"width:130px"
><input
type=
"checkbox"
id=
"OBDNotSurport"
/>
OBD 不支持报警
</label>
</li>
<li
style=
"width:110px;"
><label
style=
"width:100px"
><input
type=
"checkbox"
id=
"lowWaterTemperatureHighSpeed"
/>
低水温高转速
</label>
</li>
<li
style=
"width:130px;"
><label
style=
"width:120px"
><input
type=
"checkbox"
id=
"buslineNotSleep"
/>
总线不睡眠报警
</label>
</li>
<li
style=
"width:80px;"
><label
style=
"width:70px"
><input
type=
"checkbox"
id=
"illegalOpenDoor_AE"
/>
非法开门
</label>
</li>
<li
style=
"width:80px;"
><label
style=
"width:70px"
><input
type=
"checkbox"
id=
"illegalFire_AE"
/>
非法点火
</label>
</li>
<li
style=
"width:100px;"
><label
style=
"width:90px"
><input
type=
"checkbox"
id=
"rapidAccelerateAlarm"
/>
急加速报警
</label>
</li>
<li
style=
"width:100px;"
><label
style=
"width:90px"
><input
type=
"checkbox"
id=
"sharpSlowdownAlarm"
/>
急减速报警
</label>
</li>
<li
style=
"width:100px;"
><label
style=
"width:90px"
><input
type=
"checkbox"
id=
"sharpBendAlarm"
/>
急拐弯报警
</label>
</li>
<li
style=
"width:80px;"
><label
style=
"width:70px"
><input
type=
"checkbox"
id=
"crashAlarm"
/>
碰撞报警
</label>
</li>
<li
style=
"width:100px;"
><label
style=
"width:90px"
><input
type=
"checkbox"
id=
"rapidChangeLines"
/>
急变道报警
</label>
</li>
</ul>
</div>
<div
style=
"width:100%;border-width:1px;border-style:solid;border-radius:10px;padding:2px;margin-top:5px;"
>
<label>
怠速过长报警:
</label>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<li><label>
报警属性:
</label><select
style=
"width:150px;"
id=
"alarmType"
class=
"form-control"
>
<option
value=
"1"
>
报警触发
</option>
<option
value=
"0"
>
报警解除
</option></select></li></li>
<li
style=
"word-break:break-all;font-size:10px;"
><label>
怠速持续时间:
</label><input
id=
"idlingTimeOfDuration"
type=
"text"
class=
"form-control"
value=
"600"
></li>
<li
style=
"word-break:break-all;font-size:10px;"
><label>
怠速耗油量,单位:mL:
</label><input
id=
"idlingOilExpend"
type=
"text"
class=
"form-control"
value=
"1200"
></li>
<li
style=
"word-break:break-all;font-size:10px;"
><label>
怠速最高转速:
</label><input
id=
"idlingEngineMaxSpeed"
type=
"text"
class=
"form-control"
value=
"5000"
></li>
<li
style=
"word-break:break-all;font-size:10px;"
><label>
怠速最低转速:
</label><input
id=
"idlingEngineMinSpeed"
type=
"text"
class=
"form-control"
value=
"500"
></li>
</ul>
</div>
<div
style=
"width:100%;border-width:1px;border-style:solid;border-radius:10px;padding:2px;margin-top:5px;"
>
<label>
超速报警:
</label>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<li><label>
报警属性:
</label><select
style=
"width:150px;"
id=
"alarmType_cs"
class=
"form-control"
>
<option
value=
"1"
>
报警触发
</option>
<option
value=
"0"
>
报警解除
</option></select></li></li>
<li
style=
"word-break:break-all;font-size:10px;"
><label>
怠速持续时间:
</label><input
id=
"overspeedTimeOfDuration"
type=
"text"
class=
"form-control"
value=
"700"
></li>
<li
style=
"word-break:break-all;font-size:10px;"
><label>
怠速耗油量,单位:mL:
</label><input
id=
"maxSpeed"
type=
"text"
class=
"form-control"
value=
"145"
></li>
<li
style=
"word-break:break-all;font-size:10px;"
><label>
怠速最高转速:
</label><input
id=
"averageSpeed"
type=
"text"
class=
"form-control"
value=
"70"
></li>
<li
style=
"word-break:break-all;font-size:10px;"
><label>
怠速最低转速:
</label><input
id=
"overspeedDistance"
type=
"text"
class=
"form-control"
value=
"10000"
></li>
</ul>
</div>
<div
style=
"width:100%;border-width:1px;border-style:solid;border-radius:10px;padding:2px;margin-top:5px;"
>
<label>
超速报警:
</label>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<li><label>
疲劳驾驶报警:
</label><select
style=
"width:150px;"
id=
"alarmType_pljs"
class=
"form-control"
>
<option
value=
"1"
>
报警触发
</option>
<option
value=
"0"
>
报警解除
</option></select></li></li>
<li
style=
"word-break:break-all;font-size:10px;"
><label>
累计持续驾驶时间,秒:
</label><input
id=
"totalContinueDrivingTime"
type=
"text"
class=
"form-control"
value=
"10000"
></li>
</ul>
</div>
<div
style=
"width:100%;border-width:1px;border-style:solid;border-radius:10px;padding:2px;margin-top:5px;"
>
<label>
水温报警:
</label>
<ul
class=
"protocol_content"
style=
"padding:0px;"
>
<li><label>
疲劳驾驶报警:
</label><select
style=
"width:150px;"
id=
"alarmType_sw"
class=
"form-control"
>
<option
value=
"1"
>
报警触发
</option>
<option
value=
"0"
>
报警解除
</option></select></li></li>
<li
style=
"word-break:break-all;font-size:10px;"
><label>
持续时长:
</label><input
id=
"timeOfDuration_sw"
type=
"text"
class=
"form-control"
value=
"11000"
></li>
<li
style=
"word-break:break-all;font-size:10px;"
><label>
最高温度:
</label><input
id=
"maxTemperature"
type=
"text"
class=
"form-control"
value=
"700"
></li>
<li
style=
"word-break:break-all;font-size:10px;"
><label>
平均温度:
</label><input
id=
"averageTemperature"
type=
"text"
class=
"form-control"
value=
"55"
></li>
</ul>
</div>
</div>
<H3
style=
"border-bottom: 1px solid #eee;"
>
控制:
</H3>
<div
style=
"width:100%;padding:5px;margin-top:10px;"
>
<button
type=
"button"
class=
"btn btn-primary"
id=
"sendMsgBtn"
>
发送消息
</button>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment