Compare commits
2 Commits
cbd2c4a0ab
...
0018492f8d
Author | SHA1 | Date | |
---|---|---|---|
0018492f8d | |||
1a114a9c44 |
3
third_party/interlock/beijing12/interlock.go
vendored
3
third_party/interlock/beijing12/interlock.go
vendored
@ -69,12 +69,11 @@ func (i *interlockProxy) Start(manager InterlockMessageManager) {
|
||||
if i.manager != nil {
|
||||
panic(fmt.Sprintf("%s启动联锁消息服务错误: 存在正在运行的任务", logTag))
|
||||
}
|
||||
i.manager = manager
|
||||
// 初始化客户端、服务端
|
||||
i.initInterlockProxy()
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
go i.collectInfoStateTask(ctx)
|
||||
i.collectInfoTaskCancel = cancel
|
||||
i.manager = manager
|
||||
}
|
||||
|
||||
// 采集电路状态发送间隔,单位ms
|
||||
|
Loading…
Reference in New Issue
Block a user