Browse Source

修改.cc

lijinwen 2 months ago
parent
commit
6ba9cfd47d
58 changed files with 106 additions and 106 deletions
  1. 1 1
      BaseEnums/Channels.h
  2. 1 1
      BaseEnums/DataCheckEnums.h
  3. 1 1
      BaseEnums/EdgePulseEnums.h
  4. 1 1
      BaseEnums/LogerEnums.h
  5. 1 1
      BaseEnums/ProtocolEnums.h
  6. 1 1
      BaseEnums/QuantizedEnums.h
  7. 2 2
      BaseHelper/CommonHelper.h
  8. 1 1
      BaseHelper/Constants.h
  9. 1 1
      BaseHelper/DataCheckHelper.h
  10. 1 1
      BaseHelper/DecodeDataHelper.h
  11. 8 8
      BaseHelper/Loger.h
  12. 2 2
      BaseHelper/commonhelper.cc
  13. 2 2
      BaseHelper/datacheckhelper.cc
  14. 2 2
      BaseHelper/decodedatahelper.cc
  15. 11 11
      BaseHelper/loger.cc
  16. 1 1
      DecodeEvent.h
  17. 1 1
      DecodeResult.h
  18. 1 1
      EdgePulse.h
  19. 1 1
      EdgePulseData.h
  20. 1 1
      ExportMethod.h
  21. 2 2
      ProtocolDecodeBase.h
  22. 1 1
      ProtocolDecoder.vcxproj
  23. 1 1
      ProtocolRS232/Constants.h
  24. 1 1
      ProtocolRS232/Protocol.RS232.Options.h
  25. 1 1
      ProtocolRS232/ProtocolRS232Enums.h
  26. 2 2
      ProtocolRS232/RS232Decode.h
  27. 1 1
      ProtocolRS232/RS232DecodeEvent.h
  28. 1 1
      ProtocolRS232/RS232DecodeResult.h
  29. 1 1
      ProtocolRS232/RS232Packet.h
  30. 1 1
      ProtocolRS232/RS232Params.h
  31. 3 3
      ProtocolRS232/rs232decode.cc
  32. 2 2
      ProtocolRS232/rs232decodeevent.cc
  33. 2 2
      ProtocolRS232/rs232decoderesult.cc
  34. 2 2
      ProtocolRS232/rs232packet.cc
  35. 1 1
      ProtocolUSB/Constants.h
  36. 1 1
      ProtocolUSB/ProtocolUSBEnums.h
  37. 1 1
      ProtocolUSB/SYNC.h
  38. 1 1
      ProtocolUSB/USBDecoder.h
  39. 1 1
      ProtocolUSB/USBPacket.h
  40. 1 1
      ProtocolUSB/UsbDecodeEvent.h
  41. 1 1
      ProtocolUSB/UsbDecodeOptions.h
  42. 1 1
      ProtocolUSB/UsbDecodeResult.h
  43. 2 2
      ProtocolUSB/constants.cc
  44. 2 2
      ProtocolUSB/usbdecodeevent.cc
  45. 2 2
      ProtocolUSB/usbdecoder.cc
  46. 2 2
      ProtocolUSB/usbdecoderesult.cc
  47. 3 3
      ProtocolUSB/usbpacket.cc
  48. 1 1
      QuantizeParams.h
  49. 2 2
      decodeevent.cc
  50. 2 2
      decoderesult.cc
  51. 9 9
      dllmain.cc
  52. 2 2
      edgepulse.cc
  53. 2 2
      edgepulsedata.cc
  54. 2 2
      exportmethod.cc
  55. 3 3
      protocoldecodebase.cc
  56. 2 2
      quantizeparams.cc
  57. BIN
      x64/Debug/ProtocolDecoder.dll
  58. BIN
      x64/Debug/ProtocolDecoder.pdb

+ 1 - 1
BaseEnums/Channels.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 1 - 1
BaseEnums/DataCheckEnums.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 1 - 1
BaseEnums/EdgePulseEnums.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 1 - 1
BaseEnums/LogerEnums.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 1 - 1
BaseEnums/ProtocolEnums.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 1 - 1
BaseEnums/QuantizedEnums.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 2 - 2
BaseHelper/CommonHelper.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 
@@ -12,7 +12,7 @@
 #include <typeinfo>
 #include <vector>
 
-#include "Logger.h"
+#include "Loger.h"
 // 检查类型是否为指针
 template <typename T>
 struct IsPointer : std::false_type

+ 1 - 1
BaseHelper/Constants.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-20
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 1 - 1
BaseHelper/DataCheckHelper.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 1 - 1
BaseHelper/DecodeDataHelper.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 8 - 8
BaseHelper/Loger.h

@@ -1,9 +1,9 @@
 // // ******************************************************************
-// //       /\ /|       @File         Logger.h
+// //       /\ /|       @File         Loger.h
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 
@@ -27,14 +27,14 @@ namespace Fs = std::filesystem;
 
 namespace Protocol
 {
-    class Logger
+    class Loger
     {
     public:
-        Logger();
+        Loger();
 
         static void Log(const std::string& message);
 
-        ~Logger();
+        ~Loger();
 
         inline static auto LogLevel = LogLevel::All;
 
@@ -43,10 +43,10 @@ namespace Protocol
         std::string LogFileName_; // The full path and filename of the log file.
         std::ofstream LogFile_;
         static std::mutex InstanceMutex_;
-        static Logger Instance_;
+        static Loger Instance_;
 
-        Logger(const Logger&) = delete;
-        Logger& operator=(const Logger&) = delete;
+        Loger(const Loger&) = delete;
+        Loger& operator=(const Loger&) = delete;
     };
 
     void WriteLog(LogLevel level, const char* format, ...);

+ 2 - 2
BaseHelper/commonhelper.cc

@@ -1,9 +1,9 @@
 // // ******************************************************************
-// //       /\ /|       @File         CommonHelper.cpp
+// //       /\ /|       @File         commonhelper.cc
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-31
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 2 - 2
BaseHelper/datacheckhelper.cc

@@ -1,9 +1,9 @@
 // // ******************************************************************
-// //       /\ /|       @File         DataCheckHelper.cpp
+// //       /\ /|       @File         datacheckhelper.cc
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 2 - 2
BaseHelper/decodedatahelper.cc

@@ -1,9 +1,9 @@
 // // ******************************************************************
-// //       /\ /|       @File         DecodeDataHelper.cpp
+// //       /\ /|       @File         decodedatahelper.cc
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 11 - 11
BaseHelper/loger.cc

@@ -1,20 +1,20 @@
 // // ******************************************************************
-// //       /\ /|       @File         Logger.cpp
+// //       /\ /|       @File         loger.cc
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 
-#include "Logger.h"
+#include "Loger.h"
 
 namespace Protocol
 {
-    std::mutex Logger::InstanceMutex_ = std::mutex();
-    Logger Logger::Instance_ = Logger();
+    std::mutex Loger::InstanceMutex_ = std::mutex();
+    Loger Loger::Instance_ = Loger();
 
-    Logger::Logger()
+    Loger::Loger()
     {
         LogPath_ = "./DecoderLogs/";
         if (!Fs::exists(LogPath_))
@@ -32,7 +32,7 @@ namespace Protocol
         LogFile_.open(LogFileName_, std::ios::out | std::ios::app);
     }
 
-    void Logger::Log(const std::string& message)
+    void Loger::Log(const std::string& message)
     {
         std::lock_guard<std::mutex> lock(InstanceMutex_); // 锁定以保证线程安全
         time_t now = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
@@ -50,7 +50,7 @@ namespace Protocol
         }
     }
 
-    Logger::~Logger()
+    Loger::~Loger()
     {
         if (LogFile_.is_open())
         {
@@ -60,8 +60,8 @@ namespace Protocol
 
     void WriteLog(LogLevel level, const char* format, ...)
     {
-        if (Logger::LogLevel != LogLevel::All
-            && (Logger::LogLevel == LogLevel::Close || level > Logger::LogLevel))
+        if (Loger::LogLevel != LogLevel::All
+            && (Loger::LogLevel == LogLevel::Close || level > Loger::LogLevel))
         {
             return;
         }
@@ -73,6 +73,6 @@ namespace Protocol
         vsnprintf(buffer, sizeof(buffer), format, args);
         va_end(args);
 
-        Logger::Log(buffer);
+        Loger::Log(buffer);
     }
 }

+ 1 - 1
DecodeEvent.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 1 - 1
DecodeResult.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 1 - 1
EdgePulse.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 1 - 1
EdgePulseData.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 1 - 1
ExportMethod.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-20
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 2 - 2
ProtocolDecodeBase.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 
@@ -18,7 +18,7 @@
 
 #include "DecodeResult.h"
 #include "BaseEnums/ProtocolEnums.h"
-#include "BaseHelper/Logger.h"
+#include "BaseHelper/Loger.h"
 
 #define DLL_VERSION "0.1.3"
 

+ 1 - 1
ProtocolDecoder.vcxproj

@@ -167,7 +167,7 @@
     <ClInclude Include="BaseHelper\Constants.h" />
     <ClInclude Include="BaseHelper\DataCheckHelper.h" />
     <ClInclude Include="BaseHelper\DecodeDataHelper.h" />
-    <ClInclude Include="BaseHelper\Logger.h" />
+    <ClInclude Include="BaseHelper\Loger.h" />
     <ClInclude Include="DecodeEvent.h" />
     <ClInclude Include="DecodeResult.h" />
     <ClInclude Include="EdgePulse.h" />

+ 1 - 1
ProtocolRS232/Constants.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 1 - 1
ProtocolRS232/Protocol.RS232.Options.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 1 - 1
ProtocolRS232/ProtocolRS232Enums.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 2 - 2
ProtocolRS232/RS232Decode.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 
@@ -21,7 +21,7 @@
 //#include "RS232Packet.h"
 #include "../ProtocolDecodeBase.h"
 #include "Protocol.RS232.Options.h"
-#include "../BaseHelper/Logger.h"
+#include "../BaseHelper/Loger.h"
 
 namespace Protocol
 {

+ 1 - 1
ProtocolRS232/RS232DecodeEvent.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 1 - 1
ProtocolRS232/RS232DecodeResult.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 1 - 1
ProtocolRS232/RS232Packet.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 1 - 1
ProtocolRS232/RS232Params.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 3 - 3
ProtocolRS232/rs232decode.cc

@@ -1,9 +1,9 @@
 // // ******************************************************************
-// //       /\ /|       @File         RS232Decode.cpp
+// //       /\ /|       @File         rs232decode.cc
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 
@@ -11,7 +11,7 @@
 
 #include "../BaseEnums/DataCheckEnums.h"
 #include "../BaseHelper/DataCheckHelper.h"
-#include "../BaseHelper/Logger.h"
+#include "../BaseHelper/Loger.h"
 
 namespace Protocol
 {

+ 2 - 2
ProtocolRS232/rs232decodeevent.cc

@@ -1,9 +1,9 @@
 // // ******************************************************************
-// //       /\ /|       @File         RS232DecodeEvent.cpp
+// //       /\ /|       @File         rs232decodeevent.cc
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 2 - 2
ProtocolRS232/rs232decoderesult.cc

@@ -1,9 +1,9 @@
 // // ******************************************************************
-// //       /\ /|       @File         RS232DecodeResult.cpp
+// //       /\ /|       @File         rs232decoderesult.cc
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 2 - 2
ProtocolRS232/rs232packet.cc

@@ -1,9 +1,9 @@
 // // ******************************************************************
-// //       /\ /|       @File         RS232Packet.cpp
+// //       /\ /|       @File         rs232packet.cc
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 1 - 1
ProtocolUSB/Constants.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-17
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 1 - 1
ProtocolUSB/ProtocolUSBEnums.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-17
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 1 - 1
ProtocolUSB/SYNC.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-17
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 1 - 1
ProtocolUSB/USBDecoder.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-17
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 1 - 1
ProtocolUSB/USBPacket.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-17
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 1 - 1
ProtocolUSB/UsbDecodeEvent.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-17
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 1 - 1
ProtocolUSB/UsbDecodeOptions.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-17
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 1 - 1
ProtocolUSB/UsbDecodeResult.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-17
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 2 - 2
ProtocolUSB/constants.cc

@@ -1,9 +1,9 @@
 // // ******************************************************************
-// //       /\ /|       @File         Constants.cpp
+// //       /\ /|       @File         constants.cc
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-17
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 2 - 2
ProtocolUSB/usbdecodeevent.cc

@@ -1,9 +1,9 @@
 // // ******************************************************************
-// //       /\ /|       @File         UsbDecodeEvent.cpp
+// //       /\ /|       @File         usbdecodeevent.cc
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-17
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 2 - 2
ProtocolUSB/usbdecoder.cc

@@ -1,9 +1,9 @@
 // // ******************************************************************
-// //       /\ /|       @File         USBDecoder.cpp
+// //       /\ /|       @File         usbdecoder.cc
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-17
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 2 - 2
ProtocolUSB/usbdecoderesult.cc

@@ -1,9 +1,9 @@
 // // ******************************************************************
-// //       /\ /|       @File         UsbDecodeResult.cpp
+// //       /\ /|       @File         usbdecoderesult.cc
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-17
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 3 - 3
ProtocolUSB/usbpacket.cc

@@ -1,15 +1,15 @@
 // // ******************************************************************
-// //       /\ /|       @File         USBPacket.cpp
+// //       /\ /|       @File         usbpacket.cc
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-17
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 
 #include "USBPacket.h"
 #include "../BaseHelper/CommonHelper.h"
-#include "../BaseHelper/Logger.h"
+#include "../BaseHelper/Loger.h"
 
 namespace Protocol
 {

+ 1 - 1
QuantizeParams.h

@@ -3,7 +3,7 @@
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 2 - 2
decodeevent.cc

@@ -1,9 +1,9 @@
 // // ******************************************************************
-// //       /\ /|       @File         DecodeEvent.cpp
+// //       /\ /|       @File         decodeevent.cc
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 2 - 2
decoderesult.cc

@@ -1,9 +1,9 @@
 // // ******************************************************************
-// //       /\ /|       @File         DecodeResult.cpp
+// //       /\ /|       @File         decoderesult.cc
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 9 - 9
dllmain.cc

@@ -1,34 +1,34 @@
 // // ******************************************************************
-// //       /\ /|       @File         dllmain.cpp
+// //       /\ /|       @File         dllmain.cc
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 
 #include <windows.h>
 
-//核心的入口函数,动态链接库入口函数
-BOOL APIENTRY DllMain(HMODULE hModule, //APIENTRY可以换成WINAPI、__stdcall和CALLBACK,是一种调用约定
+//鏍稿績鐨勫叆鍙e嚱鏁帮紝鍔ㄦ€侀摼鎺ュ簱鍏ュ彛鍑芥暟
+BOOL APIENTRY DllMain(HMODULE hModule, //APIENTRY鍙�互鎹㈡垚WINAPI銆乢_stdcall鍜孋ALLBACK锛屾槸涓€绉嶈皟鐢ㄧ害瀹�
                       DWORD ul_reason_for_call,
                       LPVOID lpReserved
 )
-//hModule:DLL模块的句柄	   ul_reason_for_call:DLL模块被调用的原因	lpReserved:保留参数,没有意义,windows不想让我们知道的参数	
+//hModule锛欴LL妯″潡鐨勫彞鏌�	   ul_reason_for_call锛欴LL妯″潡琚�皟鐢ㄧ殑鍘熷洜	lpReserved锛氫繚鐣欏弬鏁帮紝娌℃湁鎰忎箟锛寃indows涓嶆兂璁╂垜浠�煡閬撶殑鍙傛暟	
 {
     switch (ul_reason_for_call)
     {
     case DLL_PROCESS_ATTACH:
-        //当DLL被进程加载时DLLMain被调用
+        //褰揇LL琚�繘绋嬪姞杞芥椂DLLMain琚�皟鐢�
         break;
     case DLL_THREAD_ATTACH:
-        //有线程被创建时,DLLmain被调用
+        //鏈夌嚎绋嬭�鍒涘缓鏃讹紝DLLmain琚�皟鐢�
         break;
     case DLL_THREAD_DETACH:
-        //有线程结束时,DLLmain被调用
+        //鏈夌嚎绋嬬粨鏉熸椂锛孌LLmain琚�皟鐢�
         break;
     case DLL_PROCESS_DETACH:
-        //当DLL被进程卸载时,DLLmain被调用
+        //褰揇LL琚�繘绋嬪嵏杞芥椂锛孌LLmain琚�皟鐢�
         break;
     default:
         break;

+ 2 - 2
edgepulse.cc

@@ -1,9 +1,9 @@
 // // ******************************************************************
-// //       /\ /|       @File         EdgePulse.cpp
+// //       /\ /|       @File         edgepulse.cc
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 2 - 2
edgepulsedata.cc

@@ -1,9 +1,9 @@
 // // ******************************************************************
-// //       /\ /|       @File         EdgePulseData.cpp
+// //       /\ /|       @File         edgepulsedata.cc
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 2 - 2
exportmethod.cc

@@ -1,9 +1,9 @@
 // // ******************************************************************
-// //       /\ /|       @File         ExportMethod.cpp
+// //       /\ /|       @File         exportmethod.cc
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-20
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

+ 3 - 3
protocoldecodebase.cc

@@ -1,16 +1,16 @@
 // // ******************************************************************
-// //       /\ /|       @File         ProtocolDecodeBase.cpp
+// //       /\ /|       @File         protocoldecodebase.cc
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 
 #include "ProtocolDecodeBase.h"
 //#include "DecodeParams.h"
 #include "QuantizeParams.h"
-#include "BaseHelper/Logger.h"
+#include "BaseHelper/Loger.h"
 //#include "ProtocolUSB/UsbDecode.h"
 #include "ProtocolRS232/RS232Decode.h"
 

+ 2 - 2
quantizeparams.cc

@@ -1,9 +1,9 @@
 // // ******************************************************************
-// //       /\ /|       @File         QuantizeParams.cpp
+// //       /\ /|       @File         quantizeparams.cc
 // //       \ V/        @Brief
 // //       | "")       @Author        lijinwen, ghz005@uni-trend.com.cn
 // //       /  |        @Creation      2024-05-16
-// //      /  \\        @Modified      2024-06-05
+// //      /  \\        @Modified      2024-06-24
 // //    *(__\_\
 // // ******************************************************************
 

BIN
x64/Debug/ProtocolDecoder.dll


BIN
x64/Debug/ProtocolDecoder.pdb