From b0757604c1d6d94bd342b057687f0354dae75b13 Mon Sep 17 00:00:00 2001 From: inramento <48149654+inramento@users.noreply.github.com> Date: Mon, 16 Mar 2020 11:17:08 +0800 Subject: [PATCH] Create README.md --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..82cc405 --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +# Dc1Server +Dc1Server + +项目Fork自ZXQ-Kyle/Dc1Server + +DC1插座复活的服务器端 + +修改了如下: +1.查询间隔由1分钟改为5秒,以便于实时观察功率变化,会增加网络传输 +2.将ConnectionManager中的mDeviceConnectionMap的key由ip改为ip+port,以解决将server部署到云服务器,同一路由器下的DC1 ip相同,mDeviceConnectionMap覆盖重复查询问题 +3.新增心跳检测,15秒未通讯关闭channel +4.关闭channel时,将DC1 online置为false,以便客户端显示离线状态 + +感谢原作者.