1 |
/** @file |
/** @file |
2 |
* $Source: /home/cvsmanager/yoda/techmodel/physics/S4Reader.cpp,v $ |
* $Source: /home/cvsmanager/yoda/techmodel/physics/S4Reader.cpp,v $ |
3 |
* $Id: S4Reader.cpp,v 2.2 2004/12/09 08:48:54 kusanagi Exp $ |
* $Id: S4Reader.cpp,v 2.3 2004/12/16 17:33:03 kusanagi Exp $ |
4 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
5 |
* |
* |
6 |
* Implementation of the S4Reader class. |
* Implementation of the S4Reader class. |
29 |
*/ |
*/ |
30 |
std::string S4Reader::GetVersionInfo(void) const { |
std::string S4Reader::GetVersionInfo(void) const { |
31 |
return |
return |
32 |
"$Header: /home/cvsmanager/yoda/techmodel/physics/S4Reader.cpp,v 2.2 2004/12/09 08:48:54 kusanagi Exp $"; |
"$Header: /home/cvsmanager/yoda/techmodel/physics/S4Reader.cpp,v 2.3 2004/12/16 17:33:03 kusanagi Exp $"; |
33 |
} |
} |
34 |
|
|
35 |
/** |
/** |
63 |
s4->S4_CMD_NUM = (((UINT8)subData[offset+2])&0xFF); |
s4->S4_CMD_NUM = (((UINT8)subData[offset+2])&0xFF); |
64 |
s4->S4_RESP_LENGHT = ((((UINT16)subData[offset+3]<<8)&0xFF00) + (((UINT16)subData[offset+4])&0x00FF)); |
s4->S4_RESP_LENGHT = ((((UINT16)subData[offset+3]<<8)&0xFF00) + (((UINT16)subData[offset+4])&0x00FF)); |
65 |
s4->S4_OVERALL_CHKCODE = (((UINT8)subData[offset+5])&0xFF); |
s4->S4_OVERALL_CHKCODE = (((UINT8)subData[offset+5])&0xFF); |
66 |
|
s4->unpackError = 0; |
67 |
} |
} |
68 |
|
|