QAUP_Management/doc/requirement/traffic_light_request.md

16 lines
470 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

- 红绿灯状态上报消息格式:
```
{"DI-01":0,"DI-02":0,"DI-11":1,"DI-12":0,"DI-13":0,"DI-14":0,"DI-15":0,"DI-16":1,"DI-17":0,"DI-18":0}
```
- 其中DI-11~13 表示南北向灯的状态DI14~16 表示东西向灯
DI-11":北红,"DI-12":北黄,"DI-13":北绿,"DI-14":东红,"DI-15":东黄,"DI-16":东绿
- 只有包含 DI 的这一段有用,其他的都是 0
- 红绿灯状态上报频率:每 1 秒上报一次
- 红绿灯状态上报端口8082