| | |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.errorTime); |
| | | } |
| | | |
| | | public void setErrorMemo(String errorMemo) { |
| | | if (errorMemo.length() > 255) { |
| | | errorMemo = errorMemo.substring(0, 150); |
| | | } |
| | | this.errorMemo = errorMemo; |
| | | } |
| | | // public void setErrorMemo(String errorMemo) { |
| | | // if (errorMemo.length() > 255) { |
| | | // errorMemo = errorMemo.substring(0, 150); |
| | | // } |
| | | // this.errorMemo = errorMemo; |
| | | // } |
| | | |
| | | public String getLogErrTime$(){ |
| | | if (Cools.isEmpty(this.logErrTime)){ |
| | |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.logErrTime); |
| | | } |
| | | |
| | | |
| | | public Long getWrkStsComplete(){ |
| | | if (Cools.isEmpty(this.wrkSts)){ |
| | | return this.wrkSts; |
| | | } |
| | | if (this.ioType>10){ |
| | | return this.wrkSts+2; |
| | | }else { |
| | | return this.wrkSts+2; |
| | | } |
| | | } |
| | | |
| | | } |