private void test5( ) { OperateResult <byte[]> read = melsecSerial.Read("D100", 10); if (read.IsSuccess) { int count = melsecSerial.ByteTransform.TransInt32(read.Content, 0); float temp = melsecSerial.ByteTransform.TransSingle(read.Content, 4); short name1 = melsecSerial.ByteTransform.TransInt16(read.Content, 8); string barcode = Encoding.ASCII.GetString(read.Content, 10, 10); } }