| | |
| | |
|
| | |
|
| | | import java.nio.ByteBuffer;
|
| | | import java.util.Arrays;
|
| | | import java.util.Date;
|
| | |
|
| | | public class FGCD_SysState {
|
| | |
| | | for(int i = 0;i<backup.length;i++) {
|
| | | backup[i] = FGCD_ComBase.changeByteToInt(bf.get());
|
| | | }
|
| | | System.out.println(this);
|
| | | return true;
|
| | | }
|
| | |
|
| | |
| | | }
|
| | |
|
| | |
|
| | | @Override
|
| | | public String toString() {
|
| | | return "DischargeData [groupVol=" + groupVol + ", tatalVol=" + tatalVol + ", nowDate=" + nowDate
|
| | | + ", chageDate=" + chageDate + ", btnState=" + btnState + ", lowerCount=" + lowerCount + ", chargeCurr="
|
| | | + chargeCurr + ", testCap=" + testCap + ", maxVolNum=" + maxVolNum + ", maxVol=" + maxVol
|
| | | + ", minVolNum=" + minVolNum + ", minVol=" + minVol + "]";
|
| | | }
|
| | | |
| | |
|
| | | /**
|
| | | @Override
|
| | | public String toString() {
|
| | | return "FGCD_SysState [BYTE_LEN=" + BYTE_LEN + ", dev_workstate=" + dev_workstate + ", groupVol=" + groupVol
|
| | | + ", tatalVol=" + tatalVol + ", nowDate=" + nowDate + ", chageDate=" + chageDate + ", test_timelong="
|
| | | + test_timelong + ", btnState=" + btnState + ", lowerCount=" + lowerCount + ", chargeCurr=" + chargeCurr
|
| | | + ", testCap=" + testCap + ", maxVolNum=" + maxVolNum + ", maxVol=" + maxVol + ", minVolNum="
|
| | | + minVolNum + ", minVol=" + minVol + ", hhProgress=" + hhProgress + ", hhCount=" + hhCount
|
| | | + ", hhstate=" + hhstate + ", montmps=" + Arrays.toString(montmps) + ", devtmp=" + devtmp
|
| | | + ", last_devtmp=" + last_devtmp + ", tmp_alm_lock=" + tmp_alm_lock + ", dev_alarm=" + dev_alarm
|
| | | + ", on_online_vol=" + on_online_vol + ", on_group_vol=" + on_group_vol + ", diode_state=" + diode_state
|
| | | + ", char_phase=" + char_phase + ", backup=" + Arrays.toString(backup) + ", dev_captest_stop_type="
|
| | | + dev_captest_stop_type + ", dev_data_flowsum=" + dev_data_flowsum + ", dev_commcount=" + dev_commcount
|
| | | + ", dev_errcommcount=" + dev_errcommcount + "]";
|
| | | }
|
| | |
|
| | | /**
|
| | | * 校验当前电流
|
| | | */
|
| | | public void checkTestCurr() {
|