| | |
| | | /** |
| | | * 加工机床 |
| | | */ |
| | | public static final String TYPE_MACHINE_CODE = "50"; |
| | | //public static final String TYPE_MACHINE_CODE = "50"; |
| | | /** |
| | | * 加工机床 |
| | | */ |
| | | public static final String TYPE_MACHINE_GROUP = "50"; |
| | | /** |
| | | * 程序包名 |
| | | */ |
| | |
| | | public boolean hasLocked() { |
| | | return this.isLocked != null && this.isLocked == LOCKED; |
| | | } |
| | | |
| | | public String subNodeParentIds(){ |
| | | return this.parentIds+","+this.getId(); |
| | | } |
| | | |
| | | /** |
| | | * 组装程序名称 |
| | | * @return 程序名称 |
| | | */ |
| | | public String programName(){ |
| | | return this.drawingNo+"-"+this.getProcessNo()+"-"+this.getProcessEdition(); |
| | | } |
| | | } |