using System;

namespace SL200_RTLogViewer.lib
{
	// Token: 0x02000029 RID: 41
	public class ATCR501
	{
		// Token: 0x06000145 RID: 325 RVA: 0x00024988 File Offset: 0x00022B88
		public static ATCR501Class SetData(byte[] data)
		{
			return new ATCR501Class
			{
				seq = Convert.ToInt32(data[0]),
				tc2 = ((data[1] & 128) > 0),
				tc1 = ((data[1] & 64) > 0),
				active = ((data[1] & 32) > 0),
				standby = ((data[1] & 16) > 0),
				hcr = ((data[1] & 8) > 0),
				manualpdt = ((data[1] & 1) > 0),
				mpseqn = Convert.ToInt32(data[2])
			};
		}
	}
}
