From ed8b62c72831d92067369cc9abb35f1470b8e4d3 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 03 一月 2023 17:30:14 +0800 Subject: [PATCH] 增加上网秘钥写入,本地通讯秘钥写入 --- Crabtree/SmartHome/HDL/Operation/Control.cs | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/Crabtree/SmartHome/HDL/Operation/Control.cs b/Crabtree/SmartHome/HDL/Operation/Control.cs index e56a814..6c54446 100644 --- a/Crabtree/SmartHome/HDL/Operation/Control.cs +++ b/Crabtree/SmartHome/HDL/Operation/Control.cs @@ -147,8 +147,10 @@ receiveFlag += string.Format ("{0}", usefulBytes [0]); break; case Command.ReadDeviceModulACK: - case Command.ReadGatewayACK: case Command.ReadSecurityStatusACK: + receiveFlag = string.Format ("{0},{1}", usefulBytes [0], usefulBytes [1]); + break; + case Command.ReadGatewayACK: receiveFlag = string.Format ("{0},{1}", usefulBytes [0], usefulBytes [1]); break; case Command.UpdataLightDimmingTheLargestLevelACK: @@ -221,6 +223,7 @@ case Command.SET_JOG_CLOSE_TIME_ACK: case Command.READ_JOG_CLOSE_TIME_ACK: case Command.ReadRemarkACK: + case Command.ApplyServerKeyACK: receiveFlag += ""; break; case Command.ControlMusicModel1ACK: @@ -579,6 +582,8 @@ case Command.SET_JOG_CLOSE_TIME_CMD: case Command.READ_JOG_CLOSE_TIME_CMD: case Command.ReadRemark: + case Command.ApplyServerKey: + case Command.RestartTheGateway: this.SendFlag += ""; break; case Command.ControlMusicModel2: -- Gitblit v1.8.0