fix: 大小端字节序

This commit is contained in:
iioter 2024-07-01 10:21:05 +08:00
parent 74cb50bf62
commit 601930fff3

View File

@ -191,7 +191,8 @@ namespace Plugin
{
ID = item.ID,
Address = item.DeviceAddress,
ValueType = item.DataType
ValueType = item.DataType,
EndianType = item.EndianType
};
var method = Methods.Where(x => x.Name == item.Method).FirstOrDefault();
if (method == null)