Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
glsx-smart-device-kafka-consumer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3945d97e
authored
Apr 16, 2021
by
111-PC\111
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]kafka消费数据修改
1 parent
cb41a43d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
src/main/java/cn/com/glsx/smart/utils/ProtobufConvert.java
src/main/java/cn/com/glsx/smart/utils/ProtobufConvert.java
View file @
3945d97
...
@@ -69,6 +69,7 @@ public class ProtobufConvert {
...
@@ -69,6 +69,7 @@ public class ProtobufConvert {
public
static
Event
convertLeaveHome
(
byte
[]
message
)
{
public
static
Event
convertLeaveHome
(
byte
[]
message
)
{
Fence
.
TriggerDeviceFamilyInfo
protobufFlameOut
=
null
;
Fence
.
TriggerDeviceFamilyInfo
protobufFlameOut
=
null
;
try
{
try
{
protobufFlameOut
=
Fence
.
TriggerDeviceFamilyInfo
.
parseFrom
(
message
);
protobufFlameOut
=
Fence
.
TriggerDeviceFamilyInfo
.
parseFrom
(
message
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment