报告处理
This commit is contained in:
parent
82fd154968
commit
33ca5e1b11
@ -37,7 +37,7 @@ public class ReoprtHandler {
|
|||||||
public void reportHandler(JsonNode response) {
|
public void reportHandler(JsonNode response) {
|
||||||
int c = response.get("c").asInt();
|
int c = response.get("c").asInt();
|
||||||
JsonNode param = response.get("param");
|
JsonNode param = response.get("param");
|
||||||
String deviceId = param.get("sn").asText();
|
String deviceId = param.get("SN").asText();
|
||||||
switch (c) {
|
switch (c) {
|
||||||
case 56:
|
case 56:
|
||||||
gpsMsgHandler(param, deviceId);
|
gpsMsgHandler(param, deviceId);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user