物联网框架:
SSIO 2.1 版本:
1.修改IRunDevice接口,把void Send(io,bytes)改成int Send(io,bytes)。
2.修改网络控制器,发送数据不直接使用IO实例,改为使用IRunDevice接口的int Send(io,bytes)函数。
在自控模式、并发模式和单例模式下可以int Send(io,bytes)函数,进行多次发送数据。
开源地址:http://git.oschina.net/wxzz/ServerSuperIO/tree/2.0/ServerSuperIO