| | |
| | | |
| | | import com.whyc.res.RES_Crc16; |
| | | import com.whyc.util.ComBase; |
| | | import lombok.Data; |
| | | import lombok.ToString; |
| | | |
| | | import java.nio.ByteBuffer; |
| | | import java.nio.ByteOrder; |
| | | @ToString |
| | | @Data |
| | | public class FBSData { |
| | | |
| | | public static final int BYTE_LEN = 5 + TestTime.BYTE_LEN+VolCurrData.BYTE_LEN + MVolData.BYTE_LEN; |
| | |
| | | return flag; |
| | | |
| | | } |
| | | |
| | | public int[] getDataType() { |
| | | return dataType; |
| | | } |
| | | |
| | | public void setDataType(int[] dataType) { |
| | | this.dataType = dataType; |
| | | } |
| | | |
| | | public int getCRC16() { |
| | | return CRC16; |
| | | } |
| | | |
| | | public void setCRC16(int CRC16) { |
| | | this.CRC16 = CRC16; |
| | | } |
| | | |
| | | public TestTime getTestTime() { |
| | | return testTime; |
| | | } |
| | | |
| | | public void setTestTime(TestTime testTime) { |
| | | this.testTime = testTime; |
| | | } |
| | | |
| | | public int getBattGroup() { |
| | | return battGroup; |
| | | } |
| | | |
| | | public void setBattGroup(int battGroup) { |
| | | this.battGroup = battGroup; |
| | | } |
| | | |
| | | public int getBattSum() { |
| | | return battSum; |
| | | } |
| | | |
| | | public void setBattSum(int battSum) { |
| | | this.battSum = battSum; |
| | | } |
| | | |
| | | public VolCurrData getVcData() { |
| | | return vcData; |
| | | } |
| | | |
| | | public void setVcData(VolCurrData vcData) { |
| | | this.vcData = vcData; |
| | | } |
| | | |
| | | public MVolData getMvol() { |
| | | return mvol; |
| | | } |
| | | |
| | | public void setMvol(MVolData mvol) { |
| | | this.mvol = mvol; |
| | | } |
| | | } |