You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
backend-duoji-monitor/readme.md

29 lines
1007 B
Markdown

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 舵机
## 通讯协议:
![image](plc通讯协议1.jpg)
![image](plc通讯协议2.jpg)
### tcp通讯用的netty
#### 1.HeartNettyClient*类是维持与plc的心跳
#### 2.解码MyProtocolDecode 这里收到plc的包解析处理见通讯协议的两张图片
#### 3.调用sdk拍照录像转动球机等操作在com.zhehekeji.web.lib里面
## SDK:
### 1.调用sdk的代码在 com.zhehekeji.web.lib下面
### 2.sdk在根目录libs下面
### 3.sdk回调在CallBack类里重连回调断线回调球机转动回调下载mp4下载结束回调
### 4.详见SDK_ReadMe_请先读我.TXT
### InitService: 项目启动自动登录球机自动连接PLC
### 球机的连接句柄维护在CameraConnMap类里,key:球机IDvalue:登录句柄
# 部署 使用利珀一键部署服务
## windows(该服务一般都会放在win10系统上)
### start-jar.bat (注意目录和profile)
### stop-jar.bat (注意端口号)
## linux:
### sh app.sh start
### sh app.sh restart
### sh app.sh stop