From b8a2e60af419b1710d8b727f3067fbf166887f85 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期四, 24 十二月 2020 16:20:16 +0800 Subject: [PATCH] 远程控制一端口场景 --- HDL_ON/DAL/DriverLayer/Control.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/HDL_ON/DAL/DriverLayer/Control.cs b/HDL_ON/DAL/DriverLayer/Control.cs index 861a54d..b0442fa 100644 --- a/HDL_ON/DAL/DriverLayer/Control.cs +++ b/HDL_ON/DAL/DriverLayer/Control.cs @@ -342,14 +342,14 @@ public void SwtichFunctions(bool open,List<Function> functions) { var count = 0; - var logString = open ? "鎵撳紑" : "鍏抽棴"; + var logString = open ? "鎵撳紑\r\n" : "鍏抽棴\r\n"; List<ApiAlinkControlActionObj> actionObjs = new List<ApiAlinkControlActionObj>(); Dictionary<string, string> d = new Dictionary<string, string>(); d.Add(FunctionAttributeKey.OnOff, open ? "on" : "off"); var pm = new DAL.Server.HttpServerRequest(); foreach (var temp in functions) { - logString += temp.spk + ":" + temp.sid; + logString += temp.spk + ":" + temp.sid + "\r\n"; var apiControlData = temp.GetApiControlData(d); actionObjs.Add(apiControlData); count++; -- Gitblit v1.8.0