From 1293fea19c6a2b558986856e301d5218c1979692 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期五, 27 十一月 2020 14:08:43 +0800
Subject: [PATCH] Revert "20201127 接受bus数据修改完成,搜索网关、一端口修改完成"

---
 HDL_ON/DAL/DriverLayer/A_Protocol_Common.cs |   41 +++++++++--------------------------------
 1 files changed, 9 insertions(+), 32 deletions(-)

diff --git a/HDL_ON/DAL/DriverLayer/A_Protocol_Common.cs b/HDL_ON/DAL/DriverLayer/A_Protocol_Common.cs
index 909bdd8..841c397 100644
--- a/HDL_ON/DAL/DriverLayer/A_Protocol_Common.cs
+++ b/HDL_ON/DAL/DriverLayer/A_Protocol_Common.cs
@@ -5,6 +5,12 @@
 {
     public class A_Protocal_Common
     {
+        public static A_Protocal_Common apc;
+
+        public A_Protocal_Common()
+        {
+            apc = new A_Protocal_Common();
+        }
 
 
         /// <summary>  
@@ -14,26 +20,14 @@
         /// <returns>long</returns>  
         public long Get_time_stamp()
         {
-            long t = DateTime.Now.Ticks / 10000;  
+            //DateTime startTime = new DateTime(1970, 1, 1, 0, 0, 0, 0);
+            long t = DateTime.Now.Ticks / 10000;   //闄�10000璋冩暣涓�13浣�      
             return t;
         }
 
     }
-
     /// <summary>
-    /// 鏈湴閫氳鏁版嵁
-    /// </summary>
-    public class LocalCommunicationData
-    {
-        public string Topic;
-        public int Length;
-
-        public string BodyDataString;
-
-    }
-
-    /// <summary>
-    /// 閫氳鍥炲鏈夋晥鏁版嵁
+    /// 閫氳鍥炲鏁版嵁鍖�
     /// </summary>
     public class ResponsePack
     {
@@ -52,22 +46,5 @@
         /// 鎼滅储鏈湴缃戝叧
         /// </summary>
         public const string SearchLoaclGateway = "/user/all/custom/gateway/search";
-
-        /// <summary>
-        /// 璋冭瘯杞欢涓婁紶oid鍒楄〃
-        /// </summary>
-        public const string AddDeviceOids = "/user/onpro/custom/device/add";
-        /// <summary>
-        /// 璋冭瘯杞欢涓婁紶鍔熻兘鍒楄〃
-        /// </summary>
-        public const string AddFunctions = "/user/onpro/custom/function/attribute/add";
-        /// <summary>
-        /// 璋冭瘯杞欢鑾峰彇appOid鍒楄〃
-        /// </summary>
-        public const string BusPcGetAppOids = "/user/onpro/custom/device/list/get";
-        /// <summary>
-        /// 璋冭瘯杞欢鑾峰彇appSid鍒楄〃
-        /// </summary>
-        public const string BusPcGetAppSids = "/user/onpro/custom/function/list/get";
     }
 }
\ No newline at end of file

--
Gitblit v1.8.0