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

Binary file not shown.

Binary file not shown.

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

Binary file not shown.

Binary file not shown.

View File

@@ -1,18 +1,18 @@
{
"ch1AutoConnect": false,
"ch2AutoConnect": false,
"ch1ipaddress": "",
"ch1ipaddress": "192.168.1.131",
"SerialPort_CH1BaudRate": "9600",
"SerialPort_CH1PortName": "COM21",
"SerialPort_CH2BaudRate": "9600",
"SerialPort_CH2PortName": "COM11",
"SerialPort_CH2PortName": "COM31",
"Saoma_IP1": "127.0.0.1",
"Saoma_Port1": "51111",
"Saoma_IP2": "127.0.0.1",
"Saoma_Port2": "52222",
"IsDebugEnabled": true,
"IsErrorEnabled": true,
"IsInfoEnabled": true,
"IsDebugEnabled": false,
"IsErrorEnabled": false,
"IsInfoEnabled": false,
"IsWarningEnabled": false,
"IsXXXEnabled": false,
"CodeScanner": "SerialPort",
@@ -104,8 +104,8 @@
"CodeLength4": "10",
"ch3AutoConnect": false,
"ch4AutoConnect": false,
"ch3ipaddress": "",
"ch4ipaddress": "",
"ch3ipaddress": "192.168.1.131",
"ch4ipaddress": "192.168.1.131",
"mes_urlip": "localhost",
"mes_urlport": "43120",
"mes_partno": "1",
@@ -138,5 +138,11 @@
"chk_ch1saoma": true,
"chk_ch2saoma": true,
"chk_ch3saoma": true,
"chk_ch4saoma": true
"chk_ch4saoma": true,
"SerialPort_CH3BaudRate": "9600",
"SerialPort_CH3PortName": "COM41",
"SerialPort_CH4BaudRate": "9600",
"SerialPort_CH4PortName": "COM51",
"chk_ContinueTest": true,
"tb_ContinueTestCount": 4
}

View File

@@ -1,10 +1,10 @@
{
"ProductionData": {
"Total": 0,
"OK": 0,
"Total": 5,
"OK": 5,
"NG": 0,
"LastUpdate": "2025-10-16T14:23:26.633967+08:00",
"OKRate": 0.0,
"LastUpdate": "2025-10-31T16:59:54.9456812+08:00",
"OKRate": 100.0,
"NGRate": 0.0
}
}