Alter ValueHelper

This commit is contained in:
luosheng
2023-06-27 17:38:47 +08:00
parent d9678ee31c
commit 34a49e22da
16 changed files with 466 additions and 150 deletions

View File

@@ -46,7 +46,7 @@ namespace TripleAdd.Controllers
await utility.ConnectAsync();
}
object[] getNum = (await utility.GetDatasAsync("4X 1", new KeyValuePair<Type, int>(typeof(ushort), 4))).Datas;
ushort[] getNumUshorts = BigEndianValueHelper.Instance.ObjectArrayToDestinationArray<ushort>(getNum);
ushort[] getNumUshorts = BigEndianLsbValueHelper.Instance.ObjectArrayToDestinationArray<ushort>(getNum);
return SetValue(getNumUshorts);
}