ushort

C# modbus RTU 中使用到的 ushort[] 转 int 与 int 转 ushort[]

public static int ushorts2int(ushort[] res) { int high = res[0]; int low = res[1]; int value = (high << 16) + low; return value; } public static ushor ......
ushort int modbus RTU
共1篇  :1/1页 首页上一页1下一页尾页