public static void Main()
string[] dr = new string[20];
int[] TempArray = new int[6];
if ((TempArray[5] != 0xff) & (TempArray[4] != 0xff))
short SS_Status = (short)(TempArray[3] & 0x0007);
short Command = (short)(TempArray[3] & 0x0038);
short Fault = (short)(TempArray[3] & 0x0380);
if ((TempArray[3] & (0x0040) >> 6) == 0x0001)
dr[2] = "ESD Hard Wired";
dr[3] = "Torque Switch Close";
dr[3] = "Torque Switch Open";
dr[3] = "Ther Over Load";
dr[3] = "24 Volts Failure";
dr[3] = "CNT Supply Failure";
UInt32 SecondsLB = (UInt32)((0x0000FFFF) & (TempArray[4]));
UInt32 SecondsHB = (UInt32)((0x0000FFFF) & (TempArray[5]));
UInt32 Seconds = ((SecondsHB << 16) | SecondsLB);
Console.WriteLine(Seconds);