byte[] temp_Data = new byte[] { 0x7f, 0x01, 0x00, 0xFF, 0x02, 0x00, 0x0F, 0x5F, 0x7D, 0x5F, 0x5D, 0x00, 0x2A, 0x01, 0xEA, 0x01, 0x1B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x69, 0xEE, 0x7f };
int by_RxLen;
int by_RxLen_data = 0;
int i = 0;
by_RxLen = temp_Data[6];
//=========================================移除数组的头尾数据
ArrayList list = new ArrayList(temp_Data);
list.RemoveRange(temp_Data.Length - 1, 1);
list.RemoveRange(0, 1);
//======================================================================
foreach (byte InByte in list)
{
by_RxLen_data++;
if ((InByte == 0x5f && temp_Data[by_RxLen_data+1] == 0x5d))
{
num_remove_flag[i] = by_RxLen_data;
i++;
}
if (InByte =