mirror of https://gitee.com/openkylin/genmai.git
update docs/架构设计/逻辑视图设计.md.
Signed-off-by: xujian <xujian@kylinos.cn>
This commit is contained in:
parent
014f5735fb
commit
bea7bb6301
|
@ -402,12 +402,30 @@ func handle_cmd(conn net.Conn) {
|
|||
|
||||
```
|
||||
|
||||
|
||||
|
||||
### EVENT数据示例
|
||||
|
||||
event指令格式示例
|
||||
```
|
||||
type Event int
|
||||
|
||||
const (
|
||||
EVT_POC_SCAN_PROGRESS Event = iota
|
||||
EVT_POC_SCAN_FINISH
|
||||
)
|
||||
|
||||
type event_body struct {
|
||||
Progress int
|
||||
}
|
||||
|
||||
type event_msg struct {
|
||||
Evt int
|
||||
Ack int
|
||||
ReqSn int
|
||||
Body event_body
|
||||
Crc int
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue