|  |  | 
 |  |  |          //已经收到命令结果 | 
 |  |  |          removeNodeFromCach = true ; | 
 |  |  |            //记录状态 | 
 |  |  |            RtuStatusDealer.commandSuccess(this.result.rtuAddr); | 
 |  |  |            RtuStatusDealer.commandSuccess(this.result.rtuAddr, this.result.downCode, this.result.downCodeName); | 
 |  |  |          return removeNodeFromCach ; | 
 |  |  |       } | 
 |  |  |       if(this.sendedTimes >= this.result.maxSendTimes){ | 
 |  |  | 
 |  |  |             //超时 | 
 |  |  |             removeNodeFromCach = true ; | 
 |  |  |               //记录状态 | 
 |  |  |               RtuStatusDealer.commandFailure(this.result.rtuAddr); | 
 |  |  |               RtuStatusDealer.commandFailure(this.result.rtuAddr, this.result.downCode, this.result.downCodeName); | 
 |  |  |          } | 
 |  |  |          return removeNodeFromCach ; | 
 |  |  |       } | 
 |  |  | 
 |  |  |          this.lastSendStamp = now ; | 
 |  |  |           | 
 |  |  |          //记录日志 | 
 |  |  |          RtuLogDealer.log(this.result.rtuAddr, "下行数据 " + this.result.downCode + ":" + this.result.downBufHex); | 
 |  |  |          RtuLogDealer.log(this.result.rtuAddr, "下行数据 " + this.result.downCode + (this.result.downCodeName==null?"":("(" + this.result.downCodeName + ")")) + ":" + this.result.downBufHex); | 
 |  |  |          //记录状态 | 
 |  |  |          RtuStatusDealer.downData(this.result.rtuAddr, this.result.downBuffer.length); | 
 |  |  |          RtuStatusDealer.downData(this.result.rtuAddr, this.result.downCode, this.result.downCodeName, this.result.downBuffer.length); | 
 |  |  |           | 
 |  |  |          log.info("下行RTU(地址=" + this.result.rtuAddr + ")命令(功能码=" + this.result.downCode + ") "  + this.result.downBufHex ) ; | 
 |  |  |          log.info("下行RTU(地址=" + this.result.rtuAddr + ")命令[功能码=" + this.result.downCode + (this.result.downCodeName==null?"":("(" + this.result.downCodeName + ")")) + "] "  + this.result.downBufHex ) ; | 
 |  |  |       }    | 
 |  |  |        | 
 |  |  |       return removeNodeFromCach ; |