strContent=m_strDataReceived.Right(21);
stre= strContent.Left(5);
char* p = (char*)(LPCTSTR)stre;
char buf[3];
buf[0]=p[0]; buf[1]=p[1];buf[2]=p[3]; buf[3]=p[4];
float f=hextodec(buf);
char temp1[10];
sprintf(temp1,"%f",f);
str1 = temp1;
m_dian1=f/2000;
int nResult = (int) ( ( buf[0] << 4 ) | buf[1] );