| | |
| | | { |
| | | public static final int BattGroupCountMax = 4; |
| | | public static final int MonomerCountMax = 480; |
| | | public static final int FBOMonomerCountMax = 300; |
| | | |
| | | public static final int CMD_STARTCNNECT = 0x01; |
| | | |
| | | //---------------------------------------------------------------------------- |
| | | public static final int CMD_NULL = 0x00; |
| | | //---------------------------------------------------------------------------- |
| | |
| | | public static final int CMD_GetChargeState = 0x46; |
| | | //----------------------------------------------------------------------------- |
| | | //------------ 停止任何的测试 -------------------------------------------------- |
| | | public static final int CMD_Stop = 0x53; |
| | | public static final int CMD_Stop = 0x53; //停止测试 |
| | | public static final int CMD_Suspended = 0x54; //暂停测试 |
| | | |
| | | //---------------------------------------------------------------------------- |
| | | //------------ 读取电压电流、充放电测试、内阻测试数据 --------------------------- |
| | | public static final int CMD_GetVIData = 0x60; |
| | |
| | | public static final int DataType_MonTmp = 0x07; |
| | | //------------------------------------------------------------------------------ |
| | | //------------------------------------------------------------------------------ |
| | | //------------ FBO返回状态 --------------------------------------------------------- |
| | | public static final int DataReturn_Successs = 0x00; |
| | | public static final int DataReturn_Fail = 0x01; |
| | | |
| | | |
| | | public static byte changeIntToByte(int data) |
| | | { |
| | | return (byte)(data & 0xFF); |