more auto-detection stuff done

This commit is contained in:
nikzori
2024-12-16 14:43:50 +03:00
parent b54d04dc34
commit a10e248cc8
4 changed files with 11 additions and 9 deletions

View File

@@ -139,7 +139,7 @@ namespace Gidrolock_Modbus_Scanner
Array.Reverse(e.Data);
DGV_Device.Rows[activeEntryIndex].Cells[2].Value = BitConverter.ToUInt32(e.Data, 0);
break;
case ("utf8"):
case ("string"):
List<byte> bytes = new List<byte>();
for (int i = 0; i < e.Data.Length; i++)
{