Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ademco_hb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
captainwong
ademco_hb
Commits
39d9af1b
Commit
39d9af1b
authored
Jul 31, 2020
by
captainwong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
三区段主机仅在布撤防操作时需要发送gg
parent
9b87ab9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
server_demo_libevent.cpp
examples/server_demo_libevent/server_demo_libevent.cpp
+1
-1
No files found.
examples/server_demo_libevent/server_demo_libevent.cpp
View file @
39d9af1b
...
...
@@ -132,7 +132,7 @@ void commandcb(evutil_socket_t, short, void* user_data)
for
(
auto
&
client
:
context
->
clients
)
{
for
(
auto
e
:
evs
)
{
size_t
n
=
0
;
if
(
client
.
second
.
type
==
EVENT_I_AM_3_SECTION_MACHINE
)
{
if
(
client
.
second
.
type
==
EVENT_I_AM_3_SECTION_MACHINE
&&
(
e
==
EVENT_ARM
||
e
==
EVENT_DISARM
)
)
{
for
(
int
gg
=
1
;
gg
<=
3
;
gg
++
)
{
if
(
++
client
.
second
.
seq
==
10000
)
{
client
.
second
.
seq
=
1
;
...
...
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