Commit 247ab678 by xmh

事件类型修正

1 parent 33885f4f
......@@ -57,8 +57,8 @@ public class BehaviorProcess implements Process {
String eventType = jsonObject.getString("event_type");
if (eventType != null) {
// eventType
String eventStr = eventProp.getProperty(eventType, "0x00000000");
int event = Integer.getInteger(eventStr, 16);
String eventStr = eventProp.getProperty(eventType, "00000000");
int event = Integer.parseInt(eventStr, 16);
model.setEventCode(event);
}
......
yichangtingche=0x00000001
nixing=0x00000002
24=0x00000003
huanxing=0x00000005
vehicle=0x0000000a
yongdu=0x00000007
1=0x0000001f
black=0x00000021
white=0x00000022
32=0x00000023
5=0x00000024
hengfu=0x00000027
4=0x00000028
jishui=0x0000003d
14=0x0000003e
daobantingche=0x00000062
\ No newline at end of file
yichangtingche=00000001
nixing=00000002
24=00000003
huanxing=00000005
vehicle=0000000a
yongdu=00000007
1=0000001f
black=00000021
white=00000022
32=00000023
5=00000024
hengfu=00000027
4=00000028
jishui=0000003d
14=0000003e
daobantingche=00000062
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!