|  |  | @ -7588,4 +7588,81 @@ public class MesEnumUtil { | 
			
		
	
		
		
			
				
					
					|  |  |  |             return tmp; |  |  |  |             return tmp; | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     /** | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |      * mes 数据来源 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |      */ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     @JsonFormat(shape = JsonFormat.Shape.OBJECT) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     public enum QC_CHECK_DATA_SOURCE { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         MANUAL_INPUT(10, "10", "人工输入"), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         DB(30, "30", "数据库"), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         PLC(20, "20", "PLC"); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         private int value; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         private String description; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         private String code; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         QC_CHECK_DATA_SOURCE(int value, String code, String description) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.value = value; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.description = description; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.code = code; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         public int getValue() { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             return value; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         public String getCode() { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             return code; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         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; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     /** | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |      * mes 检验值类型 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |      */ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     @JsonFormat(shape = JsonFormat.Shape.OBJECT) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     public enum QC_CHECK_VALUE_TYPE { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         STRING(10, "字符串"), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         INTEGER(20, "数值"); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         private int value; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         private String description; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         QC_CHECK_VALUE_TYPE(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; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  | } | 
			
		
	
	
		
		
			
				
					|  |  | 
 |