初始化版本
This commit is contained in:
BIN
SLC1-N/bin/Debug/._cache_LL28-N-V1.7.exe
Normal file
BIN
SLC1-N/bin/Debug/._cache_LL28-N-V1.7.exe
Normal file
Binary file not shown.
27
SLC1-N/bin/Debug/Config/Model/LL28Config
Normal file
27
SLC1-N/bin/Debug/Config/Model/LL28Config
Normal file
@@ -0,0 +1,27 @@
|
||||
[Count]
|
||||
CH1Product=0
|
||||
CH1PassNum=0
|
||||
CH1FailNum=0
|
||||
CH1ErrorNum=0
|
||||
[UPH]
|
||||
uph10=3
|
||||
uph13=2
|
||||
uph14=1
|
||||
uph8=1
|
||||
uph9=1
|
||||
uph11=2
|
||||
uph16=7
|
||||
uph17=6
|
||||
[JS]
|
||||
CH1Sum=0
|
||||
[codeleng]
|
||||
CH1codeleng=20
|
||||
CH2codeleng=21
|
||||
[Save]
|
||||
excel=False
|
||||
mes=False
|
||||
ChkMES_CheckOut=False
|
||||
txt=True
|
||||
ChkMES_CheckPass=False
|
||||
csv=False
|
||||
path=
|
||||
BIN
SLC1-N/bin/Debug/Config/NGCode/CheckCode.mdb
Normal file
BIN
SLC1-N/bin/Debug/Config/NGCode/CheckCode.mdb
Normal file
Binary file not shown.
5
SLC1-N/bin/Debug/Config/Port/MultimeterPort.ini
Normal file
5
SLC1-N/bin/Debug/Config/Port/MultimeterPort.ini
Normal file
@@ -0,0 +1,5 @@
|
||||
[Port]
|
||||
CodePort=COM11
|
||||
CodeBaud=9600
|
||||
CH2CodePort=COM21
|
||||
CH2CodeBaud=9600
|
||||
BIN
SLC1-N/bin/Debug/Config/WarningRecord/Warning.mdb
Normal file
BIN
SLC1-N/bin/Debug/Config/WarningRecord/Warning.mdb
Normal file
Binary file not shown.
BIN
SLC1-N/bin/Debug/DocumentFormat.OpenXml.dll
Normal file
BIN
SLC1-N/bin/Debug/DocumentFormat.OpenXml.dll
Normal file
Binary file not shown.
BIN
SLC1-N/bin/Debug/EasyModbus.dll
Normal file
BIN
SLC1-N/bin/Debug/EasyModbus.dll
Normal file
Binary file not shown.
425
SLC1-N/bin/Debug/EasyModbus.xml
Normal file
425
SLC1-N/bin/Debug/EasyModbus.xml
Normal file
@@ -0,0 +1,425 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>EasyModbus</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:EasyModbus.ModbusClient">
|
||||
<summary>
|
||||
Implements a ModbusClient.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.#ctor(System.String,System.Int32)">
|
||||
<summary>
|
||||
Constructor which determines the Master ip-address and the Master Port.
|
||||
</summary>
|
||||
<param name="ipAddress">IP-Address of the Master device</param>
|
||||
<param name="port">Listening port of the Master device (should be 502)</param>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.#ctor(System.String)">
|
||||
<summary>
|
||||
Constructor which determines the Serial-Port
|
||||
</summary>
|
||||
<param name="serialPort">Serial-Port Name e.G. "COM1"</param>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.#ctor">
|
||||
<summary>
|
||||
Parameterless constructor
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.Connect">
|
||||
<summary>
|
||||
Establish connection to Master device in case of Modbus TCP. Opens COM-Port in case of Modbus RTU
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.Connect(System.String,System.Int32)">
|
||||
<summary>
|
||||
Establish connection to Master device in case of Modbus TCP.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.ConvertRegistersToFloat(System.Int32[])">
|
||||
<summary>
|
||||
Converts two ModbusRegisters to Float - Example: EasyModbus.ModbusClient.ConvertRegistersToFloat(modbusClient.ReadHoldingRegisters(19,2))
|
||||
</summary>
|
||||
<param name="registers">Two Register values received from Modbus</param>
|
||||
<returns>Connected float value</returns>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.ConvertRegistersToFloat(System.Int32[],EasyModbus.ModbusClient.RegisterOrder)">
|
||||
<summary>
|
||||
Converts two ModbusRegisters to Float, Registers can by swapped
|
||||
</summary>
|
||||
<param name="registers">Two Register values received from Modbus</param>
|
||||
<param name="registerOrder">Desired Word Order (Low Register first or High Register first</param>
|
||||
<returns>Connected float value</returns>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.ConvertRegistersToInt(System.Int32[])">
|
||||
<summary>
|
||||
Converts two ModbusRegisters to 32 Bit Integer value
|
||||
</summary>
|
||||
<param name="registers">Two Register values received from Modbus</param>
|
||||
<returns>Connected 32 Bit Integer value</returns>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.ConvertRegistersToInt(System.Int32[],EasyModbus.ModbusClient.RegisterOrder)">
|
||||
<summary>
|
||||
Converts two ModbusRegisters to 32 Bit Integer Value - Registers can be swapped
|
||||
</summary>
|
||||
<param name="registers">Two Register values received from Modbus</param>
|
||||
<param name="registerOrder">Desired Word Order (Low Register first or High Register first</param>
|
||||
<returns>Connecteds 32 Bit Integer value</returns>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.ConvertRegistersToLong(System.Int32[])">
|
||||
<summary>
|
||||
Convert four 16 Bit Registers to 64 Bit Integer value Register Order "LowHigh": Reg0: Low Word.....Reg3: High Word, "HighLow": Reg0: High Word.....Reg3: Low Word
|
||||
</summary>
|
||||
<param name="registers">four Register values received from Modbus</param>
|
||||
<returns>64 bit value</returns>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.ConvertRegistersToLong(System.Int32[],EasyModbus.ModbusClient.RegisterOrder)">
|
||||
<summary>
|
||||
Convert four 16 Bit Registers to 64 Bit Integer value - Registers can be swapped
|
||||
</summary>
|
||||
<param name="registers">four Register values received from Modbus</param>
|
||||
<param name="registerOrder">Desired Word Order (Low Register first or High Register first</param>
|
||||
<returns>Connected 64 Bit Integer value</returns>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.ConvertRegistersToDouble(System.Int32[])">
|
||||
<summary>
|
||||
Convert four 16 Bit Registers to 64 Bit double prec. value Register Order "LowHigh": Reg0: Low Word.....Reg3: High Word, "HighLow": Reg0: High Word.....Reg3: Low Word
|
||||
</summary>
|
||||
<param name="registers">four Register values received from Modbus</param>
|
||||
<returns>64 bit value</returns>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.ConvertRegistersToDouble(System.Int32[],EasyModbus.ModbusClient.RegisterOrder)">
|
||||
<summary>
|
||||
Convert four 16 Bit Registers to 64 Bit double prec. value - Registers can be swapped
|
||||
</summary>
|
||||
<param name="registers">four Register values received from Modbus</param>
|
||||
<param name="registerOrder">Desired Word Order (Low Register first or High Register first</param>
|
||||
<returns>Connected double prec. float value</returns>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.ConvertFloatToRegisters(System.Single)">
|
||||
<summary>
|
||||
Converts float to two ModbusRegisters - Example: modbusClient.WriteMultipleRegisters(24, EasyModbus.ModbusClient.ConvertFloatToTwoRegisters((float)1.22));
|
||||
</summary>
|
||||
<param name="floatValue">Float value which has to be converted into two registers</param>
|
||||
<returns>Register values</returns>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.ConvertFloatToRegisters(System.Single,EasyModbus.ModbusClient.RegisterOrder)">
|
||||
<summary>
|
||||
Converts float to two ModbusRegisters Registers - Registers can be swapped
|
||||
</summary>
|
||||
<param name="floatValue">Float value which has to be converted into two registers</param>
|
||||
<param name="registerOrder">Desired Word Order (Low Register first or High Register first</param>
|
||||
<returns>Register values</returns>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.ConvertIntToRegisters(System.Int32)">
|
||||
<summary>
|
||||
Converts 32 Bit Value to two ModbusRegisters
|
||||
</summary>
|
||||
<param name="intValue">Int value which has to be converted into two registers</param>
|
||||
<returns>Register values</returns>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.ConvertIntToRegisters(System.Int32,EasyModbus.ModbusClient.RegisterOrder)">
|
||||
<summary>
|
||||
Converts 32 Bit Value to two ModbusRegisters Registers - Registers can be swapped
|
||||
</summary>
|
||||
<param name="intValue">Double value which has to be converted into two registers</param>
|
||||
<param name="registerOrder">Desired Word Order (Low Register first or High Register first</param>
|
||||
<returns>Register values</returns>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.ConvertLongToRegisters(System.Int64)">
|
||||
<summary>
|
||||
Converts 64 Bit Value to four ModbusRegisters
|
||||
</summary>
|
||||
<param name="longValue">long value which has to be converted into four registers</param>
|
||||
<returns>Register values</returns>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.ConvertLongToRegisters(System.Int64,EasyModbus.ModbusClient.RegisterOrder)">
|
||||
<summary>
|
||||
Converts 64 Bit Value to four ModbusRegisters - Registers can be swapped
|
||||
</summary>
|
||||
<param name="longValue">long value which has to be converted into four registers</param>
|
||||
<param name="registerOrder">Desired Word Order (Low Register first or High Register first</param>
|
||||
<returns>Register values</returns>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.ConvertDoubleToRegisters(System.Double)">
|
||||
<summary>
|
||||
Converts 64 Bit double prec Value to four ModbusRegisters
|
||||
</summary>
|
||||
<param name="doubleValue">double value which has to be converted into four registers</param>
|
||||
<returns>Register values</returns>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.ConvertDoubleToRegisters(System.Double,EasyModbus.ModbusClient.RegisterOrder)">
|
||||
<summary>
|
||||
Converts 64 Bit double prec. Value to four ModbusRegisters - Registers can be swapped
|
||||
</summary>
|
||||
<param name="doubleValue">double value which has to be converted into four registers</param>
|
||||
<param name="registerOrder">Desired Word Order (Low Register first or High Register first</param>
|
||||
<returns>Register values</returns>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.ConvertRegistersToString(System.Int32[],System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Converts 16 - Bit Register values to String
|
||||
</summary>
|
||||
<param name="registers">Register array received via Modbus</param>
|
||||
<param name="offset">First Register containing the String to convert</param>
|
||||
<param name="stringLength">number of characters in String (must be even)</param>
|
||||
<returns>Converted String</returns>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.ConvertStringToRegisters(System.String)">
|
||||
<summary>
|
||||
Converts a String to 16 - Bit Registers
|
||||
</summary>
|
||||
<param name="registers">Register array received via Modbus</param>
|
||||
<returns>Converted String</returns>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.calculateCRC(System.Byte[],System.UInt16,System.Int32)">
|
||||
<summary>
|
||||
Calculates the CRC16 for Modbus-RTU
|
||||
</summary>
|
||||
<param name="data">Byte buffer to send</param>
|
||||
<param name="numberOfBytes">Number of bytes to calculate CRC</param>
|
||||
<param name="startByte">First byte in buffer to start calculating CRC</param>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.ReadDiscreteInputs(System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Read Discrete Inputs from Server device (FC2).
|
||||
</summary>
|
||||
<param name="startingAddress">First discrete input to read</param>
|
||||
<param name="quantity">Number of discrete Inputs to read</param>
|
||||
<returns>Boolean Array which contains the discrete Inputs</returns>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.ReadCoils(System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Read Coils from Server device (FC1).
|
||||
</summary>
|
||||
<param name="startingAddress">First coil to read</param>
|
||||
<param name="quantity">Numer of coils to read</param>
|
||||
<returns>Boolean Array which contains the coils</returns>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.ReadHoldingRegisters(System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Read Holding Registers from Master device (FC3).
|
||||
</summary>
|
||||
<param name="startingAddress">First holding register to be read</param>
|
||||
<param name="quantity">Number of holding registers to be read</param>
|
||||
<returns>Int Array which contains the holding registers</returns>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.ReadInputRegisters(System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Read Input Registers from Master device (FC4).
|
||||
</summary>
|
||||
<param name="startingAddress">First input register to be read</param>
|
||||
<param name="quantity">Number of input registers to be read</param>
|
||||
<returns>Int Array which contains the input registers</returns>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.WriteSingleCoil(System.Int32,System.Boolean)">
|
||||
<summary>
|
||||
Write single Coil to Master device (FC5).
|
||||
</summary>
|
||||
<param name="startingAddress">Coil to be written</param>
|
||||
<param name="value">Coil Value to be written</param>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.WriteSingleRegister(System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Write single Register to Master device (FC6).
|
||||
</summary>
|
||||
<param name="startingAddress">Register to be written</param>
|
||||
<param name="value">Register Value to be written</param>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.WriteMultipleCoils(System.Int32,System.Boolean[])">
|
||||
<summary>
|
||||
Write multiple coils to Master device (FC15).
|
||||
</summary>
|
||||
<param name="startingAddress">First coil to be written</param>
|
||||
<param name="values">Coil Values to be written</param>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.WriteMultipleRegisters(System.Int32,System.Int32[])">
|
||||
<summary>
|
||||
Write multiple registers to Master device (FC16).
|
||||
</summary>
|
||||
<param name="startingAddress">First register to be written</param>
|
||||
<param name="values">register Values to be written</param>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.ReadWriteMultipleRegisters(System.Int32,System.Int32,System.Int32,System.Int32[])">
|
||||
<summary>
|
||||
Read/Write Multiple Registers (FC23).
|
||||
</summary>
|
||||
<param name="startingAddressRead">First input register to read</param>
|
||||
<param name="quantityRead">Number of input registers to read</param>
|
||||
<param name="startingAddressWrite">First input register to write</param>
|
||||
<param name="values">Values to write</param>
|
||||
<returns>Int Array which contains the Holding registers</returns>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.Disconnect">
|
||||
<summary>
|
||||
Close connection to Master Device.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:EasyModbus.ModbusClient.Finalize">
|
||||
<summary>
|
||||
Destructor - Close connection to Master Device.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:EasyModbus.ModbusClient.Connected">
|
||||
<summary>
|
||||
Returns "TRUE" if Client is connected to Server and "FALSE" if not. In case of Modbus RTU returns if COM-Port is opened
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:EasyModbus.ModbusClient.IPAddress">
|
||||
<summary>
|
||||
Gets or Sets the IP-Address of the Server.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:EasyModbus.ModbusClient.Port">
|
||||
<summary>
|
||||
Gets or Sets the Port were the Modbus-TCP Server is reachable (Standard is 502).
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:EasyModbus.ModbusClient.UDPFlag">
|
||||
<summary>
|
||||
Gets or Sets the UDP-Flag to activate Modbus UDP.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:EasyModbus.ModbusClient.UnitIdentifier">
|
||||
<summary>
|
||||
Gets or Sets the Unit identifier in case of serial connection (Default = 0)
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:EasyModbus.ModbusClient.Baudrate">
|
||||
<summary>
|
||||
Gets or Sets the Baudrate for serial connection (Default = 9600)
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:EasyModbus.ModbusClient.Parity">
|
||||
<summary>
|
||||
Gets or Sets the of Parity in case of serial connection
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:EasyModbus.ModbusClient.StopBits">
|
||||
<summary>
|
||||
Gets or Sets the number of stopbits in case of serial connection
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:EasyModbus.ModbusClient.ConnectionTimeout">
|
||||
<summary>
|
||||
Gets or Sets the connection Timeout in case of ModbusTCP connection
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:EasyModbus.ModbusClient.SerialPort">
|
||||
<summary>
|
||||
Gets or Sets the serial Port
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:EasyModbus.ModbusClient.LogFileFilename">
|
||||
<summary>
|
||||
Gets or Sets the Filename for the LogFile
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:EasyModbus.Exceptions.SerialPortNotOpenedException">
|
||||
<summary>
|
||||
Exception to be thrown if serial port is not opened
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:EasyModbus.Exceptions.ConnectionException">
|
||||
<summary>
|
||||
Exception to be thrown if Connection to Modbus device failed
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:EasyModbus.Exceptions.FunctionCodeNotSupportedException">
|
||||
<summary>
|
||||
Exception to be thrown if Modbus Server returns error code "Function code not supported"
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:EasyModbus.Exceptions.QuantityInvalidException">
|
||||
<summary>
|
||||
Exception to be thrown if Modbus Server returns error code "quantity invalid"
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:EasyModbus.Exceptions.StartingAddressInvalidException">
|
||||
<summary>
|
||||
Exception to be thrown if Modbus Server returns error code "starting adddress and quantity invalid"
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:EasyModbus.Exceptions.ModbusException">
|
||||
<summary>
|
||||
Exception to be thrown if Modbus Server returns error code "Function Code not executed (0x04)"
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:EasyModbus.Exceptions.CRCCheckFailedException">
|
||||
<summary>
|
||||
Exception to be thrown if CRC Check failed
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:EasyModbus.ModbusProtocol">
|
||||
<summary>
|
||||
Modbus Protocol informations.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:EasyModbus.TCPHandler.LocalIPAddress">
|
||||
When making a server TCP listen socket, will listen to this IP address.
|
||||
</member>
|
||||
<member name="M:EasyModbus.TCPHandler.#ctor(System.Int32)">
|
||||
<summary>
|
||||
Listen to all network interfaces.
|
||||
</summary>
|
||||
<param name="port">TCP port to listen</param>
|
||||
</member>
|
||||
<member name="M:EasyModbus.TCPHandler.#ctor(System.Net.IPAddress,System.Int32)">
|
||||
<summary>
|
||||
Listen to a specific network interface.
|
||||
</summary>
|
||||
<param name="localIPAddress">IP address of network interface to listen</param>
|
||||
<param name="port">TCP port to listen</param>
|
||||
</member>
|
||||
<member name="T:EasyModbus.ModbusServer">
|
||||
<summary>
|
||||
Modbus TCP Server.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:EasyModbus.ModbusServer.LocalIPAddress">
|
||||
<summary>
|
||||
When creating a TCP or UDP socket, the local IP address to attach to.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:EasyModbus.ModbusServer.LogFileFilename">
|
||||
<summary>
|
||||
Gets or Sets the Filename for the LogFile
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:EasyModbus.StoreLogData">
|
||||
<summary>
|
||||
Store Log-Data in a File
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:EasyModbus.StoreLogData.#ctor">
|
||||
<summary>
|
||||
Private constructor; Ensures the access of the class only via "instance"
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:EasyModbus.StoreLogData.Instance">
|
||||
<summary>
|
||||
Returns the instance of the class (singleton)
|
||||
</summary>
|
||||
<returns>instance (Singleton)</returns>
|
||||
</member>
|
||||
<member name="M:EasyModbus.StoreLogData.Store(System.String)">
|
||||
<summary>
|
||||
Store message in Log-File
|
||||
</summary>
|
||||
<param name="message">Message to append to the Log-File</param>
|
||||
</member>
|
||||
<member name="M:EasyModbus.StoreLogData.Store(System.String,System.DateTime)">
|
||||
<summary>
|
||||
Store message in Log-File including Timestamp
|
||||
</summary>
|
||||
<param name="message">Message to append to the Log-File</param>
|
||||
<param name="timestamp">Timestamp to add to the same Row</param>
|
||||
</member>
|
||||
<member name="P:EasyModbus.StoreLogData.Filename">
|
||||
<summary>
|
||||
Gets or Sets the Filename to Store Strings in a File
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
BIN
SLC1-N/bin/Debug/Guna.UI.dll
Normal file
BIN
SLC1-N/bin/Debug/Guna.UI.dll
Normal file
Binary file not shown.
BIN
SLC1-N/bin/Debug/Guna.UI2.dll
Normal file
BIN
SLC1-N/bin/Debug/Guna.UI2.dll
Normal file
Binary file not shown.
BIN
SLC1-N/bin/Debug/HQMES.dll
Normal file
BIN
SLC1-N/bin/Debug/HQMES.dll
Normal file
Binary file not shown.
BIN
SLC1-N/bin/Debug/HslCommunication.dll
Normal file
BIN
SLC1-N/bin/Debug/HslCommunication.dll
Normal file
Binary file not shown.
BIN
SLC1-N/bin/Debug/LL28-V25111302-c.exe
Normal file
BIN
SLC1-N/bin/Debug/LL28-V25111302-c.exe
Normal file
Binary file not shown.
14
SLC1-N/bin/Debug/LL28-V25111302-c.exe.config
Normal file
14
SLC1-N/bin/Debug/LL28-V25111302-c.exe.config
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
|
||||
</startup>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
||||
BIN
SLC1-N/bin/Debug/LL28-V25111302-c.pdb
Normal file
BIN
SLC1-N/bin/Debug/LL28-V25111302-c.pdb
Normal file
Binary file not shown.
28
SLC1-N/bin/Debug/Logs/log_20251016.log
Normal file
28
SLC1-N/bin/Debug/Logs/log_20251016.log
Normal file
@@ -0,0 +1,28 @@
|
||||
2025-10-16 13:58:51.555 [DEBUG] [MES] http://172.16.12.62:8084/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"1234567891","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-16 13:58:51"}
|
||||
2025-10-16 13:58:54.614 [DEBUG] [MES] 调用CreatePostHttpResponse超时: 操作超时
|
||||
2025-10-16 14:00:30.665 [DEBUG] [MES] http://172.16.12.62:8084/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"1234567890","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-16 14:00:30"}
|
||||
2025-10-16 14:00:33.677 [DEBUG] [MES] 调用CreatePostHttpResponse超时: 操作超时
|
||||
2025-10-16 15:53:53.051 [DEBUG] [MES] http://172.16.12.62:8084/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"1234567891","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-16 15:53:53"}
|
||||
2025-10-16 15:53:56.075 [DEBUG] [MES] 调用CreatePostHttpResponse超时: 操作超时
|
||||
2025-10-16 15:54:15.143 [DEBUG] [MES] http://172.16.12.62:8084/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"1234567892","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-16 15:54:15"}
|
||||
2025-10-16 15:54:18.163 [DEBUG] [MES] 调用CreatePostHttpResponse超时: 操作超时
|
||||
2025-10-16 15:54:32.565 [DEBUG] [MES] http://172.16.12.62:8084/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"1234567893","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-16 15:54:32"}
|
||||
2025-10-16 15:54:35.608 [DEBUG] [MES] 调用CreatePostHttpResponse超时: 操作超时
|
||||
2025-10-16 16:37:28.764 [DEBUG] [MES] http://172.16.12.62:8084/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"1234567893","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-16 16:37:28"}
|
||||
2025-10-16 16:37:31.851 [DEBUG] [MES] 调用CreatePostHttpResponse超时: 操作超时
|
||||
2025-10-16 16:37:40.365 [DEBUG] [MES] http://172.16.12.62:8084/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"1234567894","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-16 16:37:40"}
|
||||
2025-10-16 16:37:43.385 [DEBUG] [MES] 调用CreatePostHttpResponse超时: 操作超时
|
||||
2025-10-16 16:38:00.879 [DEBUG] [MES] http://172.16.12.62:8084/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"1234567895","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-16 16:38:00"}
|
||||
2025-10-16 16:38:03.898 [DEBUG] [MES] 调用CreatePostHttpResponse超时: 操作超时
|
||||
2025-10-16 16:39:46.522 [DEBUG] [MES] http://172.16.12.62:8084/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"12345678951234567895","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-16 16:39:46"}
|
||||
2025-10-16 16:39:46.695 [DEBUG] [MES] http://172.16.12.62:8084/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"1234567895","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-16 16:39:46"}
|
||||
2025-10-16 16:39:49.567 [DEBUG] [MES] 调用CreatePostHttpResponse超时: 操作超时
|
||||
2025-10-16 16:39:49.712 [DEBUG] [MES] 调用CreatePostHttpResponse超时: 操作超时
|
||||
2025-10-16 16:43:59.780 [DEBUG] [MES] http://172.16.12.62:8084/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"12345678951234567895","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-16 16:43:59"}
|
||||
2025-10-16 16:44:02.843 [DEBUG] [MES] 调用CreatePostHttpResponse超时: 操作超时
|
||||
2025-10-16 16:44:08.923 [DEBUG] [MES] http://172.16.12.62:8084/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"1234567894","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-16 16:44:08"}
|
||||
2025-10-16 16:44:11.948 [DEBUG] [MES] 调用CreatePostHttpResponse超时: 操作超时
|
||||
2025-10-16 16:52:29.050 [DEBUG] [MES] http://172.16.12.62:8084/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"1234567894","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-16 16:52:29"}
|
||||
2025-10-16 16:52:32.089 [DEBUG] [MES] 调用CreatePostHttpResponse超时: 操作超时
|
||||
2025-10-16 16:52:34.581 [DEBUG] [MES] http://172.16.12.62:8084/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"1234567895","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-16 16:52:34"}
|
||||
2025-10-16 16:52:37.601 [DEBUG] [MES] 调用CreatePostHttpResponse超时: 操作超时
|
||||
79
SLC1-N/bin/Debug/Logs/log_20251022.log
Normal file
79
SLC1-N/bin/Debug/Logs/log_20251022.log
Normal file
@@ -0,0 +1,79 @@
|
||||
2025-10-22 16:33:58.408 [DEBUG] [MES] http://127.0.0.1:43120/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"1234567890","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-22 16:33:58"}
|
||||
2025-10-22 16:34:48.830 [DEBUG] [MES] http://127.0.0.1:43120/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"1234567891","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-22 16:34:47"}
|
||||
2025-10-22 16:49:02.683 [DEBUG] [MES] http://127.0.0.1:43120/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"1234567891","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-22 16:49:02"}
|
||||
2025-10-22 16:51:04.715 [DEBUG] [MES] http://localhost:43120/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"1234567890","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-22 16:51:04"}
|
||||
2025-10-22 16:51:04.760 [DEBUG] [MES] AutoVerificationTestSN 返回 value:{"d":"{\"Success\":\"TRUE\",\"PromptCode\":\"\",\"PromptMessage\":\"\"}"}
|
||||
|
||||
2025-10-22 16:52:51.573 [DEBUG] [MES] http://localhost:43120/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"1234567892","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-22 16:52:51"}
|
||||
2025-10-22 16:52:51.582 [DEBUG] [MES] AutoVerificationTestSN 返回 value:{"d":"{\"Success\":\"TRUE\",\"PromptCode\":\"\",\"PromptMessage\":\"\"}"}
|
||||
|
||||
2025-10-22 16:53:49.957 [DEBUG] [MES] http://localhost:43120/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"1234567890","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-22 16:53:49"}
|
||||
2025-10-22 16:53:50.048 [DEBUG] [MES] AutoVerificationTestSN 返回 value:{"d":"{\"Success\":\"TRUE\",\"PromptCode\":\"\",\"PromptMessage\":\"\"}"}
|
||||
|
||||
2025-10-22 16:54:17.747 [DEBUG] [MES] http://localhost:43120/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"1234567891","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-22 16:54:17"}
|
||||
2025-10-22 16:54:17.752 [DEBUG] [MES] AutoVerificationTestSN 返回 value:{"d":"{\"Success\":\"TRUE\",\"PromptCode\":\"\",\"PromptMessage\":\"\"}"}
|
||||
|
||||
2025-10-22 16:56:25.201 [DEBUG] [MES] http://localhost:43120/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"1234567892","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-22 16:56:25"}
|
||||
2025-10-22 16:56:25.210 [DEBUG] [MES] AutoVerificationTestSN 返回 value:{"d":"{\"Success\":\"TRUE\",\"PromptCode\":\"\",\"PromptMessage\":\"\"}"}
|
||||
|
||||
2025-10-22 16:56:34.455 [DEBUG] [MES] http://localhost:43120/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"1234567891","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-22 16:56:34"}
|
||||
2025-10-22 16:56:34.458 [DEBUG] [MES] AutoVerificationTestSN 返回 value:{"d":"{\"Success\":\"TRUE\",\"PromptCode\":\"\",\"PromptMessage\":\"\"}"}
|
||||
|
||||
2025-10-22 16:56:44.850 [DEBUG] [MES] http://localhost:43120/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"1234567894","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-22 16:56:44"}
|
||||
2025-10-22 16:56:44.854 [DEBUG] [MES] AutoVerificationTestSN 返回 value:{"d":"{\"Success\":\"TRUE\",\"PromptCode\":\"\",\"PromptMessage\":\"\"}"}
|
||||
|
||||
2025-10-22 17:04:44.205 [DEBUG] [MES] http://localhost:43120/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"1234567894","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-22 17:04:44"}
|
||||
2025-10-22 17:04:44.245 [DEBUG] [MES] AutoVerificationTestSN 返回 value:{"d":"{\"Success\":\"TRUE\",\"PromptCode\":\"\",\"PromptMessage\":\"\"}"}
|
||||
|
||||
2025-10-22 17:05:05.312 [DEBUG] [MES] http://localhost:43120/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"1234567891","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-22 17:05:05"}
|
||||
2025-10-22 17:05:05.315 [DEBUG] [MES] AutoVerificationTestSN 返回 value:{"d":"{\"Success\":\"TRUE\",\"PromptCode\":\"\",\"PromptMessage\":\"\"}"}
|
||||
|
||||
2025-10-22 17:24:43.088 [DEBUG] [MES] http://localhost:43120/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"1234567891","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-22 17:24:43"}
|
||||
2025-10-22 17:24:43.112 [DEBUG] [MES] AutoVerificationTestSN 返回 value:{"d":"{\"Success\":\"TRUE\",\"PromptCode\":\"\",\"PromptMessage\":\"\"}"}
|
||||
|
||||
2025-10-22 17:24:47.042 [DEBUG] [MES] http://localhost:43120/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"1234567892","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-22 17:24:47"}
|
||||
2025-10-22 17:24:47.073 [DEBUG] [MES] AutoVerificationTestSN 返回 value:{"d":"{\"Success\":\"TRUE\",\"PromptCode\":\"\",\"PromptMessage\":\"\"}"}
|
||||
|
||||
2025-10-22 17:24:47.150 [ERROR] CH1入站 PLC写入10异常 ,行号 在 EasyModbus.ModbusClient.WriteSingleRegister(Int32 startingAddress, Int32 value)
|
||||
在 EasyModbus.ModbusClient.WriteSingleRegister(Int32 startingAddress, Int32 value)
|
||||
在 EasyModbus.ModbusClient.WriteSingleRegister(Int32 startingAddress, Int32 value)
|
||||
在 EasyModbus.ModbusClient.WriteSingleRegister(Int32 startingAddress, Int32 value)
|
||||
在 SLC1_N.Form1.<CH1Code_TextChanged>b__118_0() 位置 D:\桌面\莫禧亮\耕德\LL-28_sitongdao\SLC1-N\Form1.cs:行号 3977
|
||||
Exception: TimeoutException
|
||||
Message: No Response from Modbus Slave
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleRegister(Int32 startingAddress, Int32 value)
|
||||
在 EasyModbus.ModbusClient.WriteSingleRegister(Int32 startingAddress, Int32 value)
|
||||
在 EasyModbus.ModbusClient.WriteSingleRegister(Int32 startingAddress, Int32 value)
|
||||
在 EasyModbus.ModbusClient.WriteSingleRegister(Int32 startingAddress, Int32 value)
|
||||
在 SLC1_N.Form1.<CH1Code_TextChanged>b__118_0() 位置 D:\桌面\莫禧亮\耕德\LL-28_sitongdao\SLC1-N\Form1.cs:行号 3977
|
||||
2025-10-22 17:24:48.760 [DEBUG] [MES] http://localhost:43120/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"1234567893","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-22 17:24:48"}
|
||||
2025-10-22 17:24:48.763 [DEBUG] [MES] AutoVerificationTestSN 返回 value:{"d":"{\"Success\":\"TRUE\",\"PromptCode\":\"\",\"PromptMessage\":\"\"}"}
|
||||
|
||||
2025-10-22 17:24:51.442 [DEBUG] [MES] http://localhost:43120/TestWebService.asmx/AutoVerificationTestSN, {"barcode":"1234567895","workorder":"1","partno":"1","station":"1","equipmentno":"1","computerName":"PC-20230419CFZS","computerIP":"192.168.1.90","intime":"2025-10-22 17:24:51"}
|
||||
2025-10-22 17:24:51.444 [DEBUG] [MES] AutoVerificationTestSN 返回 value:{"d":"{\"Success\":\"TRUE\",\"PromptCode\":\"\",\"PromptMessage\":\"\"}"}
|
||||
|
||||
2025-10-22 17:24:55.261 [ERROR] CH3入站 PLC写入10异常 ,行号 在 EasyModbus.ModbusClient.WriteSingleRegister(Int32 startingAddress, Int32 value)
|
||||
在 EasyModbus.ModbusClient.WriteSingleRegister(Int32 startingAddress, Int32 value)
|
||||
在 EasyModbus.ModbusClient.WriteSingleRegister(Int32 startingAddress, Int32 value)
|
||||
在 EasyModbus.ModbusClient.WriteSingleRegister(Int32 startingAddress, Int32 value)
|
||||
在 SLC1_N.Form1.<lb_CH3Code_TextChanged>b__120_0() 位置 D:\桌面\莫禧亮\耕德\LL-28_sitongdao\SLC1-N\Form1.cs:行号 4162
|
||||
Exception: TimeoutException
|
||||
Message: No Response from Modbus Slave
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleRegister(Int32 startingAddress, Int32 value)
|
||||
在 EasyModbus.ModbusClient.WriteSingleRegister(Int32 startingAddress, Int32 value)
|
||||
在 EasyModbus.ModbusClient.WriteSingleRegister(Int32 startingAddress, Int32 value)
|
||||
在 EasyModbus.ModbusClient.WriteSingleRegister(Int32 startingAddress, Int32 value)
|
||||
在 SLC1_N.Form1.<lb_CH3Code_TextChanged>b__120_0() 位置 D:\桌面\莫禧亮\耕德\LL-28_sitongdao\SLC1-N\Form1.cs:行号 4162
|
||||
2025-10-22 17:24:59.321 [INFO] CH2入站 PLC写入10
|
||||
2025-10-22 17:25:03.340 [ERROR] CH4入站 PLC写入10异常 ,行号 在 EasyModbus.ModbusClient.WriteSingleRegister(Int32 startingAddress, Int32 value)
|
||||
在 EasyModbus.ModbusClient.WriteSingleRegister(Int32 startingAddress, Int32 value)
|
||||
在 EasyModbus.ModbusClient.WriteSingleRegister(Int32 startingAddress, Int32 value)
|
||||
在 EasyModbus.ModbusClient.WriteSingleRegister(Int32 startingAddress, Int32 value)
|
||||
在 SLC1_N.Form1.<lb_CH4Code_TextChanged>b__121_0() 位置 D:\桌面\莫禧亮\耕德\LL-28_sitongdao\SLC1-N\Form1.cs:行号 4254
|
||||
Exception: TimeoutException
|
||||
Message: No Response from Modbus Slave
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleRegister(Int32 startingAddress, Int32 value)
|
||||
在 EasyModbus.ModbusClient.WriteSingleRegister(Int32 startingAddress, Int32 value)
|
||||
在 EasyModbus.ModbusClient.WriteSingleRegister(Int32 startingAddress, Int32 value)
|
||||
在 EasyModbus.ModbusClient.WriteSingleRegister(Int32 startingAddress, Int32 value)
|
||||
在 SLC1_N.Form1.<lb_CH4Code_TextChanged>b__121_0() 位置 D:\桌面\莫禧亮\耕德\LL-28_sitongdao\SLC1-N\Form1.cs:行号 4254
|
||||
84
SLC1-N/bin/Debug/Logs/log_20251024.log
Normal file
84
SLC1-N/bin/Debug/Logs/log_20251024.log
Normal file
@@ -0,0 +1,84 @@
|
||||
2025-10-24 11:26:22.377 [ERROR] PLC写入槽函数异常 ,行号 在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 SLC1_N.Form1.Slot_PLC_WriteCoil(Int32 msg, Boolean mode) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\LL-28_sitongdao\SLC1-N\Form1.cs:行号 572
|
||||
Exception: TimeoutException
|
||||
Message: No Response from Modbus Slave
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 SLC1_N.Form1.Slot_PLC_WriteCoil(Int32 msg, Boolean mode) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\LL-28_sitongdao\SLC1-N\Form1.cs:行号 572
|
||||
2025-10-24 11:26:30.400 [ERROR] PLC写入槽函数异常 ,行号 在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 SLC1_N.Form1.Slot_PLC_WriteCoil(Int32 msg, Boolean mode) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\LL-28_sitongdao\SLC1-N\Form1.cs:行号 572
|
||||
Exception: TimeoutException
|
||||
Message: No Response from Modbus Slave
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 SLC1_N.Form1.Slot_PLC_WriteCoil(Int32 msg, Boolean mode) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\LL-28_sitongdao\SLC1-N\Form1.cs:行号 572
|
||||
2025-10-24 11:26:38.438 [ERROR] PLC写入槽函数异常 ,行号 在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 SLC1_N.Form1.Slot_PLC_WriteCoil(Int32 msg, Boolean mode) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\LL-28_sitongdao\SLC1-N\Form1.cs:行号 572
|
||||
Exception: TimeoutException
|
||||
Message: No Response from Modbus Slave
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 SLC1_N.Form1.Slot_PLC_WriteCoil(Int32 msg, Boolean mode) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\LL-28_sitongdao\SLC1-N\Form1.cs:行号 572
|
||||
2025-10-24 11:27:08.599 [ERROR] PLC写入槽函数异常 ,行号 在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 SLC1_N.Form1.Slot_PLC_WriteCoil(Int32 msg, Boolean mode) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\LL-28_sitongdao\SLC1-N\Form1.cs:行号 572
|
||||
Exception: TimeoutException
|
||||
Message: No Response from Modbus Slave
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 SLC1_N.Form1.Slot_PLC_WriteCoil(Int32 msg, Boolean mode) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\LL-28_sitongdao\SLC1-N\Form1.cs:行号 572
|
||||
2025-10-24 11:28:35.356 [ERROR] PLC写入槽函数异常 ,行号 在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 SLC1_N.Form1.Slot_PLC_WriteCoil(Int32 msg, Boolean mode) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\LL-28_sitongdao\SLC1-N\Form1.cs:行号 572
|
||||
Exception: TimeoutException
|
||||
Message: No Response from Modbus Slave
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 SLC1_N.Form1.Slot_PLC_WriteCoil(Int32 msg, Boolean mode) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\LL-28_sitongdao\SLC1-N\Form1.cs:行号 572
|
||||
2025-10-24 11:29:58.673 [ERROR] PLC写入槽函数异常 ,行号 在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 SLC1_N.Form1.Slot_PLC_WriteCoil(Int32 msg, Boolean mode) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\LL-28_sitongdao\SLC1-N\Form1.cs:行号 572
|
||||
Exception: TimeoutException
|
||||
Message: No Response from Modbus Slave
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 SLC1_N.Form1.Slot_PLC_WriteCoil(Int32 msg, Boolean mode) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\LL-28_sitongdao\SLC1-N\Form1.cs:行号 572
|
||||
2025-10-24 11:33:25.209 [ERROR] PLC写入槽函数异常 ,行号 在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 SLC1_N.Form1.Slot_PLC_WriteCoil(Int32 msg, Boolean mode) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\LL-28_sitongdao\SLC1-N\Form1.cs:行号 573
|
||||
Exception: TimeoutException
|
||||
Message: No Response from Modbus Slave
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 EasyModbus.ModbusClient.WriteMultipleCoils(Int32 startingAddress, Boolean[] values)
|
||||
在 SLC1_N.Form1.Slot_PLC_WriteCoil(Int32 msg, Boolean mode) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\LL-28_sitongdao\SLC1-N\Form1.cs:行号 573
|
||||
224
SLC1-N/bin/Debug/Logs/log_20251030.log
Normal file
224
SLC1-N/bin/Debug/Logs/log_20251030.log
Normal file
@@ -0,0 +1,224 @@
|
||||
2025-10-30 09:05:33.931 [ERROR] CH1状态机更新错误 ,行号 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1437
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
Exception: ConnectionException
|
||||
Message: connection error
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1437
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
2025-10-30 09:05:34.437 [ERROR] CH1状态机更新错误 ,行号 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1453
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
Exception: ConnectionException
|
||||
Message: connection error
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1453
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
2025-10-30 09:05:34.964 [ERROR] CH1状态机更新错误 ,行号 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1437
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
Exception: ConnectionException
|
||||
Message: connection error
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1437
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
2025-10-30 09:05:35.469 [ERROR] CH1状态机更新错误 ,行号 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1453
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
Exception: ConnectionException
|
||||
Message: connection error
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1453
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
2025-10-30 09:05:35.995 [ERROR] CH1状态机更新错误 ,行号 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1437
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
Exception: ConnectionException
|
||||
Message: connection error
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1437
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
2025-10-30 09:05:36.523 [ERROR] CH1状态机更新错误 ,行号 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1453
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
Exception: ConnectionException
|
||||
Message: connection error
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1453
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
2025-10-30 09:05:37.050 [ERROR] CH1状态机更新错误 ,行号 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1437
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
Exception: ConnectionException
|
||||
Message: connection error
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1437
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
2025-10-30 09:05:37.555 [ERROR] CH1状态机更新错误 ,行号 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1453
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
Exception: ConnectionException
|
||||
Message: connection error
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1453
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
2025-10-30 09:05:38.060 [ERROR] CH1状态机更新错误 ,行号 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1437
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
Exception: ConnectionException
|
||||
Message: connection error
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1437
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
2025-10-30 09:05:38.565 [ERROR] CH1状态机更新错误 ,行号 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1453
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
Exception: ConnectionException
|
||||
Message: connection error
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1453
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
2025-10-30 09:05:39.070 [ERROR] CH1状态机更新错误 ,行号 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1437
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
Exception: ConnectionException
|
||||
Message: connection error
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1437
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
2025-10-30 09:05:39.575 [ERROR] CH1状态机更新错误 ,行号 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1453
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
Exception: ConnectionException
|
||||
Message: connection error
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1453
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
2025-10-30 09:05:40.080 [ERROR] CH1状态机更新错误 ,行号 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1437
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
Exception: ConnectionException
|
||||
Message: connection error
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1437
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
2025-10-30 09:05:40.585 [ERROR] CH1状态机更新错误 ,行号 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1453
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
Exception: ConnectionException
|
||||
Message: connection error
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1453
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
2025-10-30 09:05:41.111 [ERROR] CH1状态机更新错误 ,行号 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1437
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
Exception: ConnectionException
|
||||
Message: connection error
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1437
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
2025-10-30 09:05:41.617 [ERROR] CH1状态机更新错误 ,行号 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1453
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
Exception: ConnectionException
|
||||
Message: connection error
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1453
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
2025-10-30 09:05:42.122 [ERROR] CH1状态机更新错误 ,行号 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1437
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
Exception: ConnectionException
|
||||
Message: connection error
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1437
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
2025-10-30 09:05:42.628 [ERROR] CH1状态机更新错误 ,行号 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1453
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
Exception: ConnectionException
|
||||
Message: connection error
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1453
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
2025-10-30 09:05:43.134 [ERROR] CH1状态机更新错误 ,行号 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1437
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
Exception: ConnectionException
|
||||
Message: connection error
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1437
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
2025-10-30 09:05:43.640 [ERROR] CH1状态机更新错误 ,行号 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1453
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
Exception: ConnectionException
|
||||
Message: connection error
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1453
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
2025-10-30 09:05:44.165 [ERROR] CH1状态机更新错误 ,行号 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1437
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
Exception: ConnectionException
|
||||
Message: connection error
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1437
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
2025-10-30 09:05:44.670 [ERROR] CH1状态机更新错误 ,行号 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1453
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
Exception: ConnectionException
|
||||
Message: connection error
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1453
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
2025-10-30 09:05:45.176 [ERROR] CH1状态机更新错误 ,行号 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1437
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
Exception: ConnectionException
|
||||
Message: connection error
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1437
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
2025-10-30 09:05:45.723 [ERROR] CH1状态机更新错误 ,行号 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1453
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
Exception: ConnectionException
|
||||
Message: connection error
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1453
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
2025-10-30 09:05:46.250 [ERROR] CH1状态机更新错误 ,行号 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1437
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
Exception: ConnectionException
|
||||
Message: connection error
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1437
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
2025-10-30 09:05:46.755 [ERROR] CH1状态机更新错误 ,行号 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1453
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
Exception: ConnectionException
|
||||
Message: connection error
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1453
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
2025-10-30 09:05:47.260 [ERROR] CH1状态机更新错误 ,行号 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1437
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
Exception: ConnectionException
|
||||
Message: connection error
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1437
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
2025-10-30 09:05:47.766 [ERROR] CH1状态机更新错误 ,行号 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1453
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
Exception: ConnectionException
|
||||
Message: connection error
|
||||
Stack Trace: 在 EasyModbus.ModbusClient.WriteSingleCoil(Int32 startingAddress, Boolean value)
|
||||
在 SLC1_N.Form1.CH1machine() 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1453
|
||||
在 SLC1_N.Form1.RunMachine(CancellationToken token) 位置 D:\桌面\莫禧亮\华勤\华贝LL-28\正负压\huabei4tongdao\SLC1-N\Form1.cs:行号 1018
|
||||
BIN
SLC1-N/bin/Debug/NetWorkHelper.dll
Normal file
BIN
SLC1-N/bin/Debug/NetWorkHelper.dll
Normal file
Binary file not shown.
BIN
SLC1-N/bin/Debug/NetWorkHelper.pdb
Normal file
BIN
SLC1-N/bin/Debug/NetWorkHelper.pdb
Normal file
Binary file not shown.
BIN
SLC1-N/bin/Debug/Newtonsoft.Json.dll
Normal file
BIN
SLC1-N/bin/Debug/Newtonsoft.Json.dll
Normal file
Binary file not shown.
11305
SLC1-N/bin/Debug/Newtonsoft.Json.xml
Normal file
11305
SLC1-N/bin/Debug/Newtonsoft.Json.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
SLC1-N/bin/Debug/Spire.XLS.dll
Normal file
BIN
SLC1-N/bin/Debug/Spire.XLS.dll
Normal file
Binary file not shown.
BIN
SLC1-N/bin/Debug/SunnyUI.Common.dll
Normal file
BIN
SLC1-N/bin/Debug/SunnyUI.Common.dll
Normal file
Binary file not shown.
BIN
SLC1-N/bin/Debug/SunnyUI.dll
Normal file
BIN
SLC1-N/bin/Debug/SunnyUI.dll
Normal file
Binary file not shown.
36
SLC1-N/bin/Debug/TCP/ITcpClient.Designer.cs
generated
Normal file
36
SLC1-N/bin/Debug/TCP/ITcpClient.Designer.cs
generated
Normal file
@@ -0,0 +1,36 @@
|
||||
namespace NetWorkHelper.TCP
|
||||
{
|
||||
partial class ITcpClient
|
||||
{
|
||||
/// <summary>
|
||||
/// 必需的设计器变量。
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// 清理所有正在使用的资源。
|
||||
/// </summary>
|
||||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region 组件设计器生成的代码
|
||||
|
||||
/// <summary>
|
||||
/// 设计器支持所需的方法 - 不要
|
||||
/// 使用代码编辑器修改此方法的内容。
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
components = new System.ComponentModel.Container();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
624
SLC1-N/bin/Debug/TCP/ITcpClient.cs
Normal file
624
SLC1-N/bin/Debug/TCP/ITcpClient.cs
Normal file
@@ -0,0 +1,624 @@
|
||||
using NetWorkHelper.ICommond;
|
||||
using NetWorkHelper.IModels;
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Net;
|
||||
using System.Net.Sockets;
|
||||
using System.Threading;
|
||||
|
||||
namespace NetWorkHelper.TCP
|
||||
{
|
||||
public partial class ITcpClient : Component
|
||||
{
|
||||
|
||||
|
||||
//#region 读取ini文件
|
||||
//[DllImport("kernel32")]
|
||||
//private static extern int GetPrivateProfileString(string section, string key, string def, StringBuilder retVal, int size, string filePath);
|
||||
|
||||
|
||||
///// <summary>
|
||||
///// 读出INI文件
|
||||
///// </summary>
|
||||
///// <param name="Section">项目名称(如 [TypeName] )</param>
|
||||
///// <param name="Key">键</param>
|
||||
//public string IniReadValue(string Section, string Key)
|
||||
//{
|
||||
// StringBuilder temp = new StringBuilder(500);
|
||||
// int i = GetPrivateProfileString(Section, Key, "", temp, 500, System.AppDomain.CurrentDomain.BaseDirectory + "MESConfig.ini");
|
||||
|
||||
// return temp.ToString();
|
||||
//}
|
||||
|
||||
static int connecttimeout = 4000;
|
||||
static int receivetimeout = 2000;
|
||||
//static int sleeptime;
|
||||
static int timeoutsend = 3;
|
||||
//public void ReadINI()
|
||||
//{
|
||||
// //string dialog;
|
||||
// //dialog = System.AppDomain.CurrentDomain.BaseDirectory + "MESConfig.ini";
|
||||
// //ControlINI mesconfig = new ControlINI(dialog);
|
||||
|
||||
// //连接设置
|
||||
// connecttimeout = Convert.ToInt32(IniReadValue("MESConfig", "connectTimeout")); ;
|
||||
// receivetimeout = Convert.ToInt32(IniReadValue("MESConfig", "receiveTimeout"));
|
||||
// _reConnectTime = Convert.ToInt32(IniReadValue("MESConfig", "sleepTime"));
|
||||
|
||||
// timeoutsend = Convert.ToInt32(IniReadValue("MESConfig", "timeoutSend"))+1;
|
||||
|
||||
|
||||
|
||||
//}
|
||||
//#endregion
|
||||
|
||||
|
||||
|
||||
|
||||
#region 构造函数
|
||||
public ITcpClient()
|
||||
{
|
||||
//ReadINI();
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public ITcpClient(IContainer container)
|
||||
{
|
||||
container.Add(this);
|
||||
|
||||
InitializeComponent();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 变量
|
||||
|
||||
public IClient Client = null;
|
||||
private Thread _startThread = null;
|
||||
private int _reConnectCount = 0;//重连计数
|
||||
private int _maxConnectCount => timeoutsend;
|
||||
private ConncetType _conncetType = ConncetType.Conncet;
|
||||
private bool _isReconnect = true;//是否开启断开重连
|
||||
private int _reConnectTime;//重连间隔时间
|
||||
private bool _isStart = false;// 是否启动
|
||||
private System.Timers.Timer _timer = new System.Timers.Timer(); // 连接后两秒未成功重连
|
||||
|
||||
//bool timeoutreconnected=true;//连接超时的重连
|
||||
//bool datareconnected = true;//接收不到心跳包的重连
|
||||
|
||||
#endregion
|
||||
|
||||
#region 属性
|
||||
/// <summary>
|
||||
/// 服务端IP
|
||||
/// </summary>
|
||||
private string _serverip = "127.0.0.1";
|
||||
[Description("服务端IP")]
|
||||
[Category("TCP客户端")]
|
||||
public string ServerIp
|
||||
{
|
||||
set { _serverip = value; }
|
||||
get { return _serverip; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 服务端监听端口
|
||||
/// </summary>
|
||||
private int _serverport = 5000;
|
||||
[Description("服务端监听端口")]
|
||||
[Category("TCP客户端")]
|
||||
public int ServerPort
|
||||
{
|
||||
set { _serverport = value; }
|
||||
get { return _serverport; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 网络端点
|
||||
/// </summary>
|
||||
private IPEndPoint _ipEndPoint = null;
|
||||
[Description("网络端点,IP+PORT")]
|
||||
[Category("TCP客户端")]
|
||||
internal IPEndPoint IpEndPoint
|
||||
{
|
||||
get
|
||||
{
|
||||
try
|
||||
{
|
||||
IPAddress ipAddress = null;
|
||||
ipAddress = string.IsNullOrEmpty(ServerIp)
|
||||
? IPAddress.Any
|
||||
: IPAddress.Parse(CommonMethod.HostnameToIp(ServerIp));
|
||||
|
||||
_ipEndPoint = new IPEndPoint(ipAddress, ServerPort);
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
return _ipEndPoint;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 是否重连
|
||||
/// </summary>
|
||||
[Description("是否重连")]
|
||||
[Category("TCP客户端")]
|
||||
public bool IsReconnection
|
||||
{
|
||||
set { _isReconnect = value; }
|
||||
get { return _isReconnect; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 设置断开重连时间间隔单位(毫秒)(默认3000毫秒)
|
||||
/// </summary>
|
||||
[Description("设置断开重连时间间隔单位(毫秒)(默认3000毫秒)")]
|
||||
[Category("TCP客户端")]
|
||||
public int ReConnectionTime
|
||||
{
|
||||
get { return _reConnectTime; }
|
||||
set { _reConnectTime = value; }
|
||||
}
|
||||
[Description("设置断开重连时间间隔单位(毫秒)(默认3000毫秒)")]
|
||||
[Category("TCP客户端"), Browsable(false)]
|
||||
public bool IsStart
|
||||
{
|
||||
get { return _isStart; }
|
||||
set { _isStart = value; }
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 启动停止方法
|
||||
|
||||
private readonly object _threadLock = new object();
|
||||
public void StartConnect()
|
||||
{
|
||||
if (IsStart)
|
||||
return;
|
||||
lock (_threadLock)
|
||||
{
|
||||
if (_startThread == null || !_startThread.IsAlive)
|
||||
{
|
||||
_startThread = new Thread(StartThread);
|
||||
_startThread.IsBackground = true;
|
||||
_startThread.Start();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 启动客户端基础的一个线程
|
||||
/// </summary>
|
||||
private void StartThread()
|
||||
{
|
||||
if (_conncetType == ConncetType.ReConncet && IsReconnection && !IsStart) //如果是重连的延迟N秒
|
||||
{
|
||||
Thread.Sleep(ReConnectionTime);
|
||||
|
||||
if (IsReconnection)
|
||||
{
|
||||
TcpClientStateInfo(string.Format("正在重连..."), SocketState.Reconnection);
|
||||
}
|
||||
try
|
||||
{
|
||||
|
||||
_timer.Interval = connecttimeout;
|
||||
_timer.Elapsed += Timer_Elapsed;
|
||||
_timer.AutoReset = false;
|
||||
_timer.Start();
|
||||
|
||||
|
||||
Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
|
||||
socket.ReceiveTimeout = receivetimeout;
|
||||
socket.SendTimeout = 1000;
|
||||
socket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.NoDelay, true);
|
||||
socket.BeginConnect(IpEndPoint, new AsyncCallback(AcceptCallback), socket);
|
||||
//timeoutreconnected = true;//连接超时的重连
|
||||
//datareconnected = true;//接收不到心跳包的重连
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_timer.Stop();
|
||||
TcpClientErrorMsg(string.Format("连接服务器失败,错误原因:{0},行号{1}", ex.Message, ex.StackTrace));
|
||||
if (IsReconnection)
|
||||
{
|
||||
Reconnect();
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (!IsStart)
|
||||
{
|
||||
if (IsReconnection)
|
||||
{
|
||||
TcpClientStateInfo("正在连接服务器... ...", SocketState.Connecting);
|
||||
try
|
||||
{
|
||||
|
||||
_timer.Interval = connecttimeout;
|
||||
_timer.Elapsed += Timer_Elapsed;
|
||||
_timer.AutoReset = false;
|
||||
_timer.Start();
|
||||
|
||||
|
||||
Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
|
||||
socket.ReceiveTimeout = receivetimeout;
|
||||
socket.SendTimeout = 1000;
|
||||
socket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.NoDelay, true);
|
||||
socket.BeginConnect(IpEndPoint, new AsyncCallback(AcceptCallback), socket);
|
||||
//timeoutreconnected = true;//连接超时的重连
|
||||
//datareconnected = true;//接收不到心跳包的重连
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_timer.Stop();
|
||||
TcpClientErrorMsg(string.Format("连接服务器失败,错误原因:{0},行号{1}", ex.Message, ex.StackTrace));
|
||||
if (IsReconnection)
|
||||
{
|
||||
Reconnect();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
//连接超时则重新连接
|
||||
private void Timer_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
|
||||
{
|
||||
if (IsReconnection)
|
||||
{
|
||||
//datareconnected = false;//接收不到心跳包的重连
|
||||
TcpClientErrorMsg(string.Format("连接服务器失败"));
|
||||
|
||||
//if (Client != null)
|
||||
//{
|
||||
// ShutdownClient(Client);
|
||||
// Client.WorkSocket.Close();
|
||||
//}
|
||||
Reconnect();
|
||||
|
||||
//reconnected = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 当连接服务器之后的回调函数
|
||||
/// </summary>
|
||||
/// <param name="ar">TcpClient</param>
|
||||
private void AcceptCallback(IAsyncResult ar)
|
||||
{
|
||||
_timer.Stop();
|
||||
|
||||
try
|
||||
{
|
||||
IsStart = true;
|
||||
|
||||
Socket socket = (Socket)ar.AsyncState;
|
||||
socket.EndConnect(ar);
|
||||
|
||||
Client = new IClient(socket);
|
||||
Client.WorkSocket.BeginReceive(Client.BufferInfo.ReceivedBuffer, 0, Client.BufferInfo.ReceivedBuffer.Length, 0, new AsyncCallback(ReadCallback), Client);
|
||||
|
||||
_conncetType = ConncetType.Conncet;
|
||||
TcpClientStateInfo(string.Format("已连接服务器"), SocketState.Connected);
|
||||
_reConnectCount = 0;
|
||||
//timeoutreconnected = false;//连接超时的重连
|
||||
//datareconnected = false;//接收不到心跳包的重连
|
||||
|
||||
|
||||
}
|
||||
catch (SocketException ex)
|
||||
{
|
||||
IsStart = false;
|
||||
string msg = ex.Message;
|
||||
if (ex.NativeErrorCode.Equals(10060))
|
||||
{
|
||||
//无法连接目标主机
|
||||
msg = string.Format("{0} 无法连接: error code {1}!", "", ex.NativeErrorCode);
|
||||
}
|
||||
else if (ex.NativeErrorCode.Equals(10061))
|
||||
{
|
||||
msg = string.Format("{0} 主动拒绝正在重连: error code {1}!", "", ex.NativeErrorCode);
|
||||
}
|
||||
else if (ex.NativeErrorCode.Equals(10053))
|
||||
{
|
||||
//读写时主机断开
|
||||
msg = string.Format("{0} 主动断开连接: error code {1}! ", "", ex.NativeErrorCode);
|
||||
}
|
||||
else
|
||||
{
|
||||
//其他错误
|
||||
msg = string.Format("Disconnected: error code {0}!", ex.NativeErrorCode);
|
||||
}
|
||||
|
||||
if (IsReconnection)
|
||||
{
|
||||
TcpClientErrorMsg(string.Format("连接服务器失败,错误原因:{0}", msg));
|
||||
|
||||
Reconnect();
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 登录篇
|
||||
/// <summary>
|
||||
/// 重连模块
|
||||
/// </summary>
|
||||
private void Reconnect()
|
||||
{
|
||||
if (Client != null)
|
||||
{
|
||||
ShutdownClient(Client);
|
||||
Client?.WorkSocket?.Close();
|
||||
Client = null;
|
||||
}
|
||||
|
||||
if (_conncetType == ConncetType.Conncet)
|
||||
{
|
||||
TcpClientStateInfo(string.Format("已断开服务器{0}", IsReconnection ? ",准备重连" : ""), SocketState.Disconnect);
|
||||
}
|
||||
|
||||
if (!IsReconnection)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
_reConnectCount++;//每重连一次重连的次数加1
|
||||
|
||||
|
||||
if (_conncetType == ConncetType.Conncet)
|
||||
{
|
||||
_conncetType = ConncetType.ReConncet;
|
||||
|
||||
//CommonMethod.EventInvoket(() => { ReconnectionStart(); });
|
||||
}
|
||||
|
||||
_isStart = false;
|
||||
|
||||
if (_startThread != null)
|
||||
{
|
||||
try
|
||||
{
|
||||
// 检查线程状态,避免重复启动
|
||||
if (_startThread.IsAlive)
|
||||
{
|
||||
// 给线程一个机会正常结束
|
||||
if (!_startThread.Join(500)) // 等待500毫秒
|
||||
{
|
||||
try
|
||||
{
|
||||
_startThread.Abort(); // 强制终止
|
||||
}
|
||||
catch (ThreadStateException)
|
||||
{
|
||||
// 线程可能已经终止,忽略此异常
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
// 记录异常但不阻止重连
|
||||
Console.WriteLine($"清理线程时异常: {ex.Message}");
|
||||
}
|
||||
finally
|
||||
{
|
||||
_startThread = null; // 确保设置为null
|
||||
}
|
||||
}
|
||||
|
||||
if (_reConnectCount < _maxConnectCount && IsReconnection)
|
||||
{
|
||||
StartConnect();
|
||||
}
|
||||
else
|
||||
{
|
||||
_timer.Stop();
|
||||
StopConnect();
|
||||
this.IsReconnection = false;
|
||||
_reConnectCount = 0;
|
||||
TcpClientStateInfo(string.Format("超过最大重连数,已断开服务器连接"), SocketState.Disconnect);
|
||||
}
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 发送数据
|
||||
public void SendData(byte[] data)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (data == null || data.Length == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (Client != null && Client.WorkSocket != null && Client.WorkSocket.Connected)
|
||||
{
|
||||
//异步发送数据
|
||||
//cModel.ClientSocket.Send(data);
|
||||
Client.WorkSocket.BeginSend(data, 0, data.Length, 0, new AsyncCallback(SendCallback), Client);
|
||||
//timeoutreconnected = false;//连接超时的重连
|
||||
//datareconnected = true;//接收不到心跳包的重连
|
||||
}
|
||||
}
|
||||
catch (SocketException ex)
|
||||
{
|
||||
TcpClientErrorMsg(string.Format("向服务端发送数据时发生错误,错误原因:{0},行号{1}", ex.Message, ex.StackTrace));
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsConnected
|
||||
{
|
||||
get
|
||||
{
|
||||
try
|
||||
{
|
||||
return Client != null &&
|
||||
Client.WorkSocket != null &&
|
||||
Client.WorkSocket.Connected;
|
||||
}
|
||||
catch
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 发送完数据之后的回调函数
|
||||
/// </summary>
|
||||
/// <param name="ar">Clicent</param>
|
||||
private void SendCallback(IAsyncResult ar)
|
||||
{
|
||||
IClient iClient = (IClient)ar.AsyncState;
|
||||
if (iClient == null)
|
||||
return;
|
||||
Socket handler = iClient.WorkSocket;
|
||||
try
|
||||
{
|
||||
int bytesSent = handler.EndSend(ar);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
TcpClientErrorMsg(string.Format("发送数据后回调时发生错误,错误原因:{0},行号{1}", ex.Message, ex.StackTrace));
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 接收数据
|
||||
/// <summary>
|
||||
/// 当接收到数据之后的回调函数
|
||||
/// </summary>
|
||||
/// <param name="ar"></param>
|
||||
private void ReadCallback(IAsyncResult ar)
|
||||
{
|
||||
if (Client == null || !_isStart)
|
||||
return;
|
||||
Socket handler = Client.WorkSocket;
|
||||
try
|
||||
{
|
||||
int bytesRead = handler.EndReceive(ar);
|
||||
if (bytesRead > 0 && bytesRead <= Client.BufferInfo.ReceivedBuffer.Length)
|
||||
{
|
||||
byte[] bytes = new byte[bytesRead];
|
||||
Array.Copy(Client.BufferInfo.ReceivedBuffer, 0, bytes, 0, bytesRead);
|
||||
TcpClientRecevice(bytes);
|
||||
handler.BeginReceive(Client.BufferInfo.ReceivedBuffer, 0, Client.BufferInfo.ReceivedBuffer.Length,
|
||||
0, new AsyncCallback(ReadCallback), Client);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
if (IsReconnection)
|
||||
{
|
||||
Reconnect();
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
//if (datareconnected)
|
||||
//{
|
||||
// timeoutreconnected = false;//连接超时的重连
|
||||
////IsStart = false;
|
||||
StopConnect();
|
||||
|
||||
TcpClientErrorMsg(string.Format("接收数据失败,错误原因:{0},行号{1}", ex.Message, ex.StackTrace));
|
||||
|
||||
|
||||
Reconnect();
|
||||
|
||||
//}
|
||||
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 断开篇
|
||||
/// <summary>
|
||||
/// 关闭相连的scoket以及关联的StateObject,释放所有的资源
|
||||
/// </summary>
|
||||
public void StopConnect()
|
||||
{
|
||||
IsStart = false;
|
||||
if (Client != null)
|
||||
{
|
||||
var workSocket = Client.WorkSocket; // 提前保存引用
|
||||
ShutdownClient(Client);
|
||||
workSocket?.Close();
|
||||
//if (Client.WorkSocket != null)
|
||||
//{
|
||||
// Client.WorkSocket.Close();
|
||||
// //Client.WorkSocket?.Dispose();
|
||||
//}
|
||||
|
||||
}
|
||||
_conncetType = ConncetType.Conncet;
|
||||
_reConnectCount = 0;//前面三个初始化
|
||||
}
|
||||
public void ShutdownClient(IClient iClient)
|
||||
{
|
||||
try
|
||||
{
|
||||
iClient.WorkSocket.Shutdown(SocketShutdown.Both);
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 事件
|
||||
#region OnRecevice接收数据事件
|
||||
[Description("接收数据事件")]
|
||||
[Category("TcpClient事件")]
|
||||
public event EventHandler<TcpClientReceviceEventArgs> OnRecevice;
|
||||
protected virtual void TcpClientRecevice(byte[] data)
|
||||
{
|
||||
if (OnRecevice != null)
|
||||
CommonMethod.EventInvoket(() => { OnRecevice(this, new TcpClientReceviceEventArgs(data)); });
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region OnErrorMsg返回错误消息事件
|
||||
[Description("返回错误消息事件")]
|
||||
[Category("TcpClient事件")]
|
||||
public event EventHandler<TcpClientErrorEventArgs> OnErrorMsg;
|
||||
protected virtual void TcpClientErrorMsg(string msg)
|
||||
{
|
||||
if (OnErrorMsg != null)
|
||||
CommonMethod.EventInvoket(() => { OnErrorMsg(this, new TcpClientErrorEventArgs(msg)); });
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region OnStateInfo连接状态改变时返回连接状态事件
|
||||
[Description("连接状态改变时返回连接状态事件")]
|
||||
[Category("TcpClient事件")]
|
||||
public event EventHandler<TcpClientStateEventArgs> OnStateInfo;
|
||||
protected virtual void TcpClientStateInfo(string msg, SocketState state)
|
||||
{
|
||||
if (OnStateInfo != null)
|
||||
CommonMethod.EventInvoket(() => { OnStateInfo(this, new TcpClientStateEventArgs(msg, state)); });
|
||||
}
|
||||
#endregion
|
||||
#endregion
|
||||
}
|
||||
|
||||
public enum ConncetType
|
||||
{
|
||||
Conncet,
|
||||
ReConncet,
|
||||
DisConncet
|
||||
}
|
||||
}
|
||||
350
SLC1-N/bin/Debug/config.json
Normal file
350
SLC1-N/bin/Debug/config.json
Normal file
@@ -0,0 +1,350 @@
|
||||
{
|
||||
"ch1AutoConnect": false,
|
||||
"ch2AutoConnect": false,
|
||||
"ch1ipaddress": "192.168.1.131",
|
||||
"SerialPort_CH1BaudRate": "9600",
|
||||
"SerialPort_CH1PortName": "COM21",
|
||||
"SerialPort_CH2BaudRate": "9600",
|
||||
"SerialPort_CH2PortName": "COM31",
|
||||
"Saoma_IP1": "127.0.0.1",
|
||||
"Saoma_Port1": "51111",
|
||||
"Saoma_IP2": "127.0.0.1",
|
||||
"Saoma_Port2": "52222",
|
||||
"IsDebugEnabled": false,
|
||||
"IsErrorEnabled": false,
|
||||
"IsInfoEnabled": false,
|
||||
"IsWarningEnabled": false,
|
||||
"IsXXXEnabled": false,
|
||||
"CodeScanner": "SerialPort",
|
||||
"CodeLength1": "12",
|
||||
"CodeLength2": "12",
|
||||
"ch2ipaddress": "192.168.1.131",
|
||||
"1params_number1": "1",
|
||||
"1paraname1": "产品1-1",
|
||||
"1fulltime1": "5",
|
||||
"1balantime1": "5",
|
||||
"1testtime11": "5",
|
||||
"1exhausttime1": "3",
|
||||
"1delaytime11": "0",
|
||||
"1delaytime21": "0",
|
||||
"1relievedelay1": "0",
|
||||
"1evolume1": "0",
|
||||
"1fptoplimit1": "200",
|
||||
"1fplowlimit1": "-50",
|
||||
"1balanpremax1": "9999",
|
||||
"1balanpremin1": "-9999",
|
||||
"1leaktoplimit1": "9999",
|
||||
"1leaklowlimit1": "-9999",
|
||||
"1punit1": 1,
|
||||
"1lunit1": 4,
|
||||
"1bee1": false,
|
||||
"1params_number2": "2",
|
||||
"1paraname2": "产品1-2",
|
||||
"1fulltime2": "12",
|
||||
"1balantime2": "22",
|
||||
"1testtime12": "32",
|
||||
"1exhausttime2": "42",
|
||||
"1delaytime12": "0",
|
||||
"1delaytime22": "0",
|
||||
"1relievedelay2": "0",
|
||||
"1evolume2": "82",
|
||||
"1fptoplimit2": "92",
|
||||
"1fplowlimit2": "102",
|
||||
"1balanpremax2": "112",
|
||||
"1balanpremin2": "122",
|
||||
"1leaktoplimit2": "132",
|
||||
"1leaklowlimit2": "142",
|
||||
"1punit2": 1,
|
||||
"1lunit2": 1,
|
||||
"1bee2": "False",
|
||||
"2params_number1": "1",
|
||||
"2paraname1": "产品2-1",
|
||||
"2fulltime1": "8",
|
||||
"2balantime1": "8",
|
||||
"2testtime11": "8",
|
||||
"2exhausttime1": "2",
|
||||
"2delaytime11": "0",
|
||||
"2delaytime21": "0",
|
||||
"2relievedelay1": "0",
|
||||
"2evolume1": "84",
|
||||
"2fptoplimit1": "5000",
|
||||
"2fplowlimit1": "-6000",
|
||||
"2balanpremax1": "2000",
|
||||
"2balanpremin1": "-2000",
|
||||
"2leaktoplimit1": "3000",
|
||||
"2leaklowlimit1": "-2000",
|
||||
"2punit1": 1,
|
||||
"2lunit1": 1,
|
||||
"2bee1": false,
|
||||
"2params_number2": "2",
|
||||
"2paraname2": "产品2-2",
|
||||
"2fulltime2": "14",
|
||||
"2balantime2": "24",
|
||||
"2testtime12": "34",
|
||||
"2exhausttime2": "44",
|
||||
"2delaytime12": "0",
|
||||
"2delaytime22": "0",
|
||||
"2relievedelay2": "0",
|
||||
"2evolume2": "84",
|
||||
"2fptoplimit2": "94",
|
||||
"2fplowlimit2": "104",
|
||||
"2balanpremax2": "114",
|
||||
"2balanpremin2": "124",
|
||||
"2leaktoplimit2": "134",
|
||||
"2leaklowlimit2": "144",
|
||||
"2punit2": 1,
|
||||
"2lunit2": 1,
|
||||
"2bee2": "False",
|
||||
"TXT": true,
|
||||
"Excel": false,
|
||||
"CSV": false,
|
||||
"FilePath": "D:\\桌面\\测试记录\\华贝-正负压28",
|
||||
"MESswitch": false,
|
||||
"CodeLength3": "12",
|
||||
"CodeLength4": "12",
|
||||
"ch3AutoConnect": false,
|
||||
"ch4AutoConnect": false,
|
||||
"ch3ipaddress": "192.168.1.131",
|
||||
"ch4ipaddress": "192.168.1.131",
|
||||
"mes_urlip": "localhost",
|
||||
"mes_urlport": "43120",
|
||||
"mes_partno": "1",
|
||||
"mes_station": "1",
|
||||
"mes_workorder": "1",
|
||||
"mes_equipmentno": "1",
|
||||
"mes_fixturecode": "1",
|
||||
"mes_plan": "1",
|
||||
"3params_number1": "1",
|
||||
"3paraname1": "0",
|
||||
"3fulltime1": "0",
|
||||
"3balantime1": "0",
|
||||
"3testtime11": "0",
|
||||
"3exhausttime1": "0",
|
||||
"3delaytime11": "0",
|
||||
"3delaytime21": "0",
|
||||
"3relievedelay1": "0",
|
||||
"3evolume1": "0",
|
||||
"3fptoplimit1": "0",
|
||||
"3fplowlimit1": "0",
|
||||
"3balanpremax1": "0",
|
||||
"3balanpremin1": "0",
|
||||
"3leaktoplimit1": "0",
|
||||
"3leaklowlimit1": "0",
|
||||
"3punit1": 0,
|
||||
"3lunit1": 0,
|
||||
"3bee1": false,
|
||||
"PLC_PortName": "COM33",
|
||||
"PLC_BaudRate": "9600",
|
||||
"chk_ch1saoma": true,
|
||||
"chk_ch2saoma": true,
|
||||
"chk_ch3saoma": true,
|
||||
"chk_ch4saoma": true,
|
||||
"chk_ContinueTest": true,
|
||||
"rbt_VolumeMode": false,
|
||||
"rbt_OpeningMode": true,
|
||||
"rbt_PpressureMode": true,
|
||||
"rbt_NpressureMode": false,
|
||||
"tb_ContinueTestCount": 3,
|
||||
"1Nparams_number1": "1",
|
||||
"1Nparaname1": "产品1负压",
|
||||
"1Nfulltime1": "1",
|
||||
"1Nbalantime1": "5",
|
||||
"1Ntesttime11": "5",
|
||||
"1Nexhausttime1": "1",
|
||||
"1Ndelaytime11": "1",
|
||||
"1Ndelaytime21": "1",
|
||||
"1Nrelievedelay1": "0",
|
||||
"1Nevolume1": "5",
|
||||
"1Nfptoplimit1": "999",
|
||||
"1Nfplowlimit1": "-999",
|
||||
"1Nbalanpremax1": "999",
|
||||
"1Nbalanpremin1": "-999",
|
||||
"1Nleaktoplimit1": "999",
|
||||
"1Nleaklowlimit1": "-999",
|
||||
"1Npunit1": 1,
|
||||
"1Nlunit1": 1,
|
||||
"1Nbee1": false,
|
||||
"1Pparams_number1": "1",
|
||||
"1Pparaname1": "产品1正压",
|
||||
"1Pfulltime1": "1",
|
||||
"1Pbalantime1": "2",
|
||||
"1Ptesttime11": "2",
|
||||
"1Pexhausttime1": "1",
|
||||
"1Pdelaytime11": "1",
|
||||
"1Pdelaytime21": "1",
|
||||
"1Prelievedelay1": "0",
|
||||
"1Pevolume1": "5",
|
||||
"1Pfptoplimit1": "999",
|
||||
"1Pfplowlimit1": "-999",
|
||||
"1Pbalanpremax1": "999",
|
||||
"1Pbalanpremin1": "-999",
|
||||
"1Pleaktoplimit1": "999",
|
||||
"1Pleaklowlimit1": "-999",
|
||||
"1Ppunit1": 1,
|
||||
"1Plunit1": 1,
|
||||
"1Pbee1": false,
|
||||
"2Pparams_number1": "1",
|
||||
"2Pparaname1": "产品2正压",
|
||||
"2Pfulltime1": "1",
|
||||
"2Pbalantime1": "2",
|
||||
"2Ptesttime11": "2",
|
||||
"2Pexhausttime1": "1",
|
||||
"2Pdelaytime11": "1",
|
||||
"2Pdelaytime21": "1",
|
||||
"2Prelievedelay1": "0",
|
||||
"2Pevolume1": "5",
|
||||
"2Pfptoplimit1": "999",
|
||||
"2Pfplowlimit1": "-999",
|
||||
"2Pbalanpremax1": "999",
|
||||
"2Pbalanpremin1": "-999",
|
||||
"2Pleaktoplimit1": "999",
|
||||
"2Pleaklowlimit1": "-999",
|
||||
"2Ppunit1": 1,
|
||||
"2Plunit1": 1,
|
||||
"2Pbee1": false,
|
||||
"2Nparams_number1": "1",
|
||||
"2Nparaname1": "产品2负压",
|
||||
"2Nfulltime1": "1",
|
||||
"2Nbalantime1": "5",
|
||||
"2Ntesttime11": "5",
|
||||
"2Nexhausttime1": "1",
|
||||
"2Ndelaytime11": "1",
|
||||
"2Ndelaytime21": "1",
|
||||
"2Nrelievedelay1": "0",
|
||||
"2Nevolume1": "5",
|
||||
"2Nfptoplimit1": "999",
|
||||
"2Nfplowlimit1": "-999",
|
||||
"2Nbalanpremax1": "999",
|
||||
"2Nbalanpremin1": "-999",
|
||||
"2Nleaktoplimit1": "999",
|
||||
"2Nleaklowlimit1": "-999",
|
||||
"2Npunit1": 1,
|
||||
"2Nlunit1": 1,
|
||||
"2Nbee1": false,
|
||||
"3Pparams_number1": "1",
|
||||
"3Pparaname1": "产品3正压",
|
||||
"3Pfulltime1": "1",
|
||||
"3Pbalantime1": "2",
|
||||
"3Ptesttime11": "2",
|
||||
"3Pexhausttime1": "1",
|
||||
"3Pdelaytime11": "1",
|
||||
"3Pdelaytime21": "1",
|
||||
"3Prelievedelay1": "0",
|
||||
"3Pevolume1": "5",
|
||||
"3Pfptoplimit1": "999",
|
||||
"3Pfplowlimit1": "-999",
|
||||
"3Pbalanpremax1": "999",
|
||||
"3Pbalanpremin1": "-999",
|
||||
"3Pleaktoplimit1": "999",
|
||||
"3Pleaklowlimit1": "-999",
|
||||
"3Ppunit1": 1,
|
||||
"3Plunit1": 1,
|
||||
"3Pbee1": false,
|
||||
"3Nparams_number1": "1",
|
||||
"3Nparaname1": "产品3负压",
|
||||
"3Nfulltime1": "1",
|
||||
"3Nbalantime1": "5",
|
||||
"3Ntesttime11": "5",
|
||||
"3Nexhausttime1": "1",
|
||||
"3Ndelaytime11": "1",
|
||||
"3Ndelaytime21": "1",
|
||||
"3Nrelievedelay1": "0",
|
||||
"3Nevolume1": "5",
|
||||
"3Nfptoplimit1": "999",
|
||||
"3Nfplowlimit1": "-999",
|
||||
"3Nbalanpremax1": "999",
|
||||
"3Nbalanpremin1": "-999",
|
||||
"3Nleaktoplimit1": "999",
|
||||
"3Nleaklowlimit1": "-999",
|
||||
"3Npunit1": 1,
|
||||
"3Nlunit1": 1,
|
||||
"3Nbee1": false,
|
||||
"4Pparams_number1": "1",
|
||||
"4Pparaname1": "产品4正压",
|
||||
"4Pfulltime1": "1",
|
||||
"4Pbalantime1": "2",
|
||||
"4Ptesttime11": "2",
|
||||
"4Pexhausttime1": "1",
|
||||
"4Pdelaytime11": "1",
|
||||
"4Pdelaytime21": "1",
|
||||
"4Prelievedelay1": "0",
|
||||
"4Pevolume1": "5",
|
||||
"4Pfptoplimit1": "999",
|
||||
"4Pfplowlimit1": "-999",
|
||||
"4Pbalanpremax1": "999",
|
||||
"4Pbalanpremin1": "-999",
|
||||
"4Pleaktoplimit1": "999",
|
||||
"4Pleaklowlimit1": "-999",
|
||||
"4Ppunit1": 1,
|
||||
"4Plunit1": 1,
|
||||
"4Pbee1": false,
|
||||
"4Nparams_number1": "1",
|
||||
"4Nparaname1": "产品4负压",
|
||||
"4Nfulltime1": "1",
|
||||
"4Nbalantime1": "5",
|
||||
"4Ntesttime11": "5",
|
||||
"4Nexhausttime1": "1",
|
||||
"4Ndelaytime11": "1",
|
||||
"4Ndelaytime21": "1",
|
||||
"4Nrelievedelay1": "0",
|
||||
"4Nevolume1": "5",
|
||||
"4Nfptoplimit1": "999",
|
||||
"4Nfplowlimit1": "-999",
|
||||
"4Nbalanpremax1": "999",
|
||||
"4Nbalanpremin1": "-999",
|
||||
"4Nleaktoplimit1": "999",
|
||||
"4Nleaklowlimit1": "-999",
|
||||
"4Npunit1": 1,
|
||||
"4Nlunit1": 1,
|
||||
"4Nbee1": false,
|
||||
"SerialPort_CH3BaudRate": "9600",
|
||||
"SerialPort_CH3PortName": "COM41",
|
||||
"SerialPort_CH4BaudRate": "9600",
|
||||
"SerialPort_CH4PortName": "COM51",
|
||||
"PLC_IP": "127.0.0.1",
|
||||
"PLC_Port": 502,
|
||||
"1Popmode1": false,
|
||||
"2Popmode1": "容积",
|
||||
"3Popmode1": "开口",
|
||||
"4Popmode1": "容积",
|
||||
"1Pparams_number2": "2",
|
||||
"1Pparaname2": "2正压",
|
||||
"1Pfulltime2": "0",
|
||||
"1Pbalantime2": "0",
|
||||
"1Ptesttime12": "0",
|
||||
"1Pexhausttime2": "0",
|
||||
"1Pdelaytime12": "0",
|
||||
"1Pdelaytime22": "0",
|
||||
"1Prelievedelay2": "0",
|
||||
"1Pevolume2": "0",
|
||||
"1Pfptoplimit2": "0",
|
||||
"1Pfplowlimit2": "0",
|
||||
"1Pbalanpremax2": "0",
|
||||
"1Pbalanpremin2": "0",
|
||||
"1Pleaktoplimit2": "0",
|
||||
"1Pleaklowlimit2": "0",
|
||||
"1Ppunit2": 1,
|
||||
"1Plunit2": 1,
|
||||
"1Pbee2": false,
|
||||
"1Popmode2": false,
|
||||
"1Nparams_number2": "2",
|
||||
"1Nparaname2": "2负压",
|
||||
"1Nfulltime2": "0",
|
||||
"1Nbalantime2": "0",
|
||||
"1Ntesttime12": "0",
|
||||
"1Nexhausttime2": "0",
|
||||
"1Ndelaytime12": "0",
|
||||
"1Ndelaytime22": "0",
|
||||
"1Nrelievedelay2": "0",
|
||||
"1Nevolume2": "0",
|
||||
"1Nfptoplimit2": "0",
|
||||
"1Nfplowlimit2": "0",
|
||||
"1Nbalanpremax2": "0",
|
||||
"1Nbalanpremin2": "0",
|
||||
"1Nleaktoplimit2": "0",
|
||||
"1Nleaklowlimit2": "0",
|
||||
"1Npunit2": 1,
|
||||
"1Nlunit2": 1,
|
||||
"1Nbee2": false,
|
||||
"1Nopmode2": false
|
||||
}
|
||||
10
SLC1-N/bin/Debug/productiondata.json
Normal file
10
SLC1-N/bin/Debug/productiondata.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"ProductionData": {
|
||||
"Total": 197,
|
||||
"OK": 189,
|
||||
"NG": 8,
|
||||
"LastUpdate": "2025-11-13T21:21:03.5024133+08:00",
|
||||
"OKRate": 95.94,
|
||||
"NGRate": 4.06
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user