| | |
| | | import java.util.Date; |
| | | |
| | | public class BattTestRtData { |
| | | private final int BYTE_LEN = 28; |
| | | private final int BYTE_LEN = 30; |
| | | |
| | | public double groupVol; //在线电压(0.1V) |
| | | public double tatalVol; //总电压(0.1V) |
| | |
| | | public double maxVol; //最高单体电压(0.001V) |
| | | public int minVolNum; //最低单体号 |
| | | public double minVol; //最低单体电压(0.001V) |
| | | public int hhProgress; //活化进度 |
| | | |
| | | |
| | | public boolean putByteBuffer(ByteBuffer bf) { |
| | |
| | | maxVol = FBS_ComBase.changeShortToDouble(bf.getShort())/1000; //最高单体电压(0.001V) |
| | | minVolNum = FBS_ComBase.changeShortToInt(bf.getShort()); //最低单体号 |
| | | minVol = FBS_ComBase.changeShortToDouble(bf.getShort())/1000; //最低单体电压(0.001V) |
| | | hhProgress = FBS_ComBase.changeShortToInt(bf.getShort()); //活化进度 |
| | | return true; |
| | | } |
| | | |