using System;

namespace SL200_RTLogViewer.lib
{
	// Token: 0x02000039 RID: 57
	public class MMItoDOSI
	{
		// Token: 0x0600015C RID: 348 RVA: 0x0002838C File Offset: 0x0002658C
		public static MMItoDOSIClass SetData(byte[] data)
		{
			return new MMItoDOSIClass
			{
				seq = Convert.ToInt32(data[1]),
				wheelDIA1 = Convert.ToInt32(data[2]),
				wheelDIA2 = Convert.ToInt32(data[3]),
				manualPDTRequest = ((data[6] & 128) > 0),
				confirmWheelDIA = ((data[6] & 16) > 0),
				recovery = ((data[6] & 2) > 0),
				recoveryNomal = ((data[6] & 1) > 0),
				formNo = Convert.ToInt32(data[7]),
				ackMh = Convert.ToInt32(data[9]),
				text = BitConverter.ToString(data, 0, data.Length).Replace("-", " ")
			};
		}
	}
}
