示例#1
0
        public Item <uint>[] ReadUInts(DeviceAddress deviceAddress, ushort length)
        {
            var datas  = readRegister(deviceAddress, 2 * length);
            var bdatas = UnsafeNetConvert.BytesToUInts(datas, 0, length, deviceAddress.ByteOrder);

            return(NetConvert.ToItems(bdatas, 0, length));
        }