FileManagement/doc/开发文档/测试工具和Socket服务器添加设备.txt

20 lines
480 B
Plaintext
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.

下面为工具项目
1.在本地后台 设备管理—设备类型 中添加设备类型
2.在本地后台 厂家管理—电子厂信息—修改对应厂家的硬件类型,勾上刚才添加的设备类型
3.测试工具的 socket.js搜索getFactoryInfo方法并修改url为本地后台
4.添加字节数对象
5.在编码解码处将发送信息实例化为字节(为了避免错误查看84字节睿芯独立这个地方注释比较全而且正确)
6.someServer处添加新设备的信息
7.如果有新的功能代码在orderModel里进行添加并在someServer的sendModel里进行添加方法
下面为Socket服务器项目