25103101 加了连续测试及次数,验证ok。

This commit is contained in:
moxiliang
2025-10-31 17:03:15 +08:00
parent deecfd3acb
commit 465daa14c4
23 changed files with 604 additions and 279 deletions

View File

@@ -0,0 +1,10 @@
2025-10-31 13:37:42.851 [ERROR] 串口扫码枪初始化 异常 ,行号 在 System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)
在 System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)
在 System.IO.Ports.SerialPort.Open()
在 SLC1_N.Form1.SerialPort_Saoma_Init() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\huabei4tongdao\SLC1-N\Form1.cs:行号 506
Exception: UnauthorizedAccessException
Message: 对端口“COM11”的访问被拒绝。
Stack Trace: 在 System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)
在 System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)
在 System.IO.Ports.SerialPort.Open()
在 SLC1_N.Form1.SerialPort_Saoma_Init() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\huabei4tongdao\SLC1-N\Form1.cs:行号 506