| | |
| | | } |
| | | } |
| | | |
| | | public boolean stateIsChanged(ManureVo compareVo){ |
| | | if(this.stirRunning1 != null && compareVo.stirRunning1 != null && this.stirRunning1.byteValue() != compareVo.stirRunning1.byteValue()){ |
| | | return true ; |
| | | } |
| | | if(this.stirRunning2 != null && compareVo.stirRunning2 != null && this.stirRunning2.byteValue() != compareVo.stirRunning2.byteValue()){ |
| | | return true ; |
| | | } |
| | | if(this.stirRunning3 != null && compareVo.stirRunning3 != null && this.stirRunning3.byteValue() != compareVo.stirRunning3.byteValue()){ |
| | | return true ; |
| | | } |
| | | if(this.stirRunning4 != null && compareVo.stirRunning4 != null && this.stirRunning4.byteValue() != compareVo.stirRunning4.byteValue()){ |
| | | return true ; |
| | | } |
| | | if(this.injectRunning != null && compareVo.injectRunning != null && this.injectRunning.byteValue() != compareVo.injectRunning.byteValue()){ |
| | | return true ; |
| | | } |
| | | if(this.irrRunning != null && compareVo.irrRunning != null && this.irrRunning.byteValue() != compareVo.irrRunning.byteValue()){ |
| | | return true ; |
| | | } |
| | | if(this.alarm != null && compareVo.alarm != null && this.alarm.byteValue() != compareVo.alarm.byteValue()){ |
| | | return true ; |
| | | } |
| | | return false ; |
| | | } |
| | | |
| | | @Override |
| | | public String toString(){ |
| | | StringBuilder sb = new StringBuilder(); |