|  |  | @ -3234,4 +3234,49 @@ public class MesPcnEnumUtil { | 
			
		
	
		
		
			
				
					
					|  |  |  |             return tmp; |  |  |  |             return tmp; | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     /** | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |      * 容器使用状态 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |      */ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     @JsonFormat(shape = JsonFormat.Shape.OBJECT) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     public enum MES_CONTAINER_STATUS { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         FREE(10, "空闲"), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         OCCUPY(20, "占用"); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         private int value; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         private String description; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         MES_CONTAINER_STATUS(int value, String description) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.value = value; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.description = description; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         public int getValue() { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             return value; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         public String getDescription() { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             return description; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         public static String valueOfDescription(int val) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             String tmp = null; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             for (int i = 0; i < values().length; i++) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 if (values()[i].value == val) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     tmp = values()[i].description; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             return tmp; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         public static String valueOfDescription2(int val) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             String tmp = null; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             for (int i = 0; i < values().length; i++) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 if (values()[i].value == val) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     tmp = values()[i].description.equals("已审批") ? "审批" : values()[i].description; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             return tmp; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  | } | 
			
		
	
	
		
		
			
				
					|  |  | 
 |