| 
					
				 | 
			
			
				@@ -222,6 +222,119 @@ func (s *StoreEntry) TransferPenEnumList() []*pasturePb.ConfigOptionsList { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	return transferPenList 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+func (s *StoreEntry) ChildNumberEnumList() []*pasturePb.ConfigOptionsList { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	configOptions := make([]*pasturePb.ConfigOptionsList, 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	configOptions = append(configOptions, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		&pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Value:    int32(pasturePb.ChildNumber_One), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Label:    "单胎", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		}, &pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Value:    int32(pasturePb.ChildNumber_Two), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Label:    "双胎", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		}, &pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Value:    int32(pasturePb.ChildNumber_Three), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Label:    "三胎", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		}, &pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Value:    int32(pasturePb.ChildNumber_Four), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Label:    "四胎", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	return configOptions 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+func (s *StoreEntry) CalvingLevelEnumList() []*pasturePb.ConfigOptionsList { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	configOptions := make([]*pasturePb.ConfigOptionsList, 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	configOptions = append(configOptions, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		&pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Value:    int32(pasturePb.CalvingLevel_Natural_Childbirth), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Label:    "自然分娩", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		}, &pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Value:    int32(pasturePb.CalvingLevel_Artificial_Midwifery1), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Label:    "人工助产(1-2人)", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		}, &pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Value:    int32(pasturePb.CalvingLevel_Artificial_Midwifery2), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Label:    "人工助产(3人以上)", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		}, &pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Value:    int32(pasturePb.CalvingLevel_Caesarean), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Label:    "剖腹产", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	return configOptions 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+func (s *StoreEntry) DystociaReason() []*pasturePb.ConfigOptionsList { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	configOptions := make([]*pasturePb.ConfigOptionsList, 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	configOptions = append(configOptions, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		&pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Value:    int32(pasturePb.DystociaReason_Malposition), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Label:    "胎位不正", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		}, &pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Value:    int32(pasturePb.DystociaReason_Fetal_Overgrowth), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Label:    "胎儿过大", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		}, &pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Value:    int32(pasturePb.DystociaReason_Uterine_Atony), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Label:    "子宫收缩无力", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		}, &pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Value:    int32(pasturePb.DystociaReason_Pelvic_Stenosis), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Label:    "盆骨狭小", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		}, &pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Value:    int32(pasturePb.DystociaReason_Sub_Health), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Label:    "母牛亚健康状态", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	return configOptions 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+func (s *StoreEntry) PregnantCheckResult() []*pasturePb.ConfigOptionsList { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	configOptions := make([]*pasturePb.ConfigOptionsList, 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	configOptions = append(configOptions, &pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		Value:    int32(pasturePb.PregnantCheckResult_InCheck_UnPregnant), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		Label:    "初检未孕", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	}, &pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		Value:    int32(pasturePb.PregnantCheckResult_InCheck_Pregnant), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		Label:    "初检已孕", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	}, &pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		Value:    int32(pasturePb.PregnantCheckResult_Recheck_UnPregnant), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		Label:    "复检未孕", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	}, &pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		Value:    int32(pasturePb.PregnantCheckResult_Recheck_Pregnant), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		Label:    "初检已孕", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	return configOptions 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+func (s *StoreEntry) PregnantCheckMethod() []*pasturePb.ConfigOptionsList { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	configOptions := make([]*pasturePb.ConfigOptionsList, 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	configOptions = append(configOptions, &pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		Value:    int32(pasturePb.PregnantCheckMethod_B_Ultrasound), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		Label:    "B超", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	}, &pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		Value:    int32(pasturePb.PregnantCheckMethod_Blood_Testing), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		Label:    "血检", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	}, &pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		Value:    int32(pasturePb.PregnantCheckMethod_Manual_Inspection), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		Label:    "人工检查", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	return configOptions 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 func (s *StoreEntry) BarnTypeOptions(ctx context.Context) (*pasturePb.ConfigOptionsListResponse, error) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	return &pasturePb.ConfigOptionsListResponse{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		Code:    http.StatusOK, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -311,66 +424,11 @@ func (s *StoreEntry) SystemBaseConfigOptions(ctx context.Context, optionsName st 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	configOptions := make([]*pasturePb.ConfigOptionsList, 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	switch optionsName { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	case "childNumber": 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		configOptions = append(configOptions, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			&pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Value:    int32(pasturePb.ChildNumber_One), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Label:    "单胎", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			}, &pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Value:    int32(pasturePb.ChildNumber_Two), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Label:    "双胎", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			}, &pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Value:    int32(pasturePb.ChildNumber_Three), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Label:    "三胎", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			}, &pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Value:    int32(pasturePb.ChildNumber_Four), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Label:    "四胎", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		configOptions = s.ChildNumberEnumList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	case "calvingLevel": 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		configOptions = append(configOptions, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			&pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Value:    int32(pasturePb.CalvingLevel_Natural_Childbirth), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Label:    "自然分娩", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			}, &pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Value:    int32(pasturePb.CalvingLevel_Artificial_Midwifery1), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Label:    "人工助产(1-2人)", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			}, &pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Value:    int32(pasturePb.CalvingLevel_Artificial_Midwifery2), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Label:    "人工助产(3人以上)", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			}, &pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Value:    int32(pasturePb.CalvingLevel_Caesarean), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Label:    "剖腹产", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		configOptions = s.CalvingLevelEnumList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	case "dystociaReason": 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		configOptions = append(configOptions, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			&pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Value:    int32(pasturePb.DystociaReason_Malposition), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Label:    "胎位不正", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			}, &pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Value:    int32(pasturePb.DystociaReason_Fetal_Overgrowth), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Label:    "胎儿过大", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			}, &pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Value:    int32(pasturePb.DystociaReason_Uterine_Atony), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Label:    "子宫收缩无力", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			}, &pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Value:    int32(pasturePb.DystociaReason_Pelvic_Stenosis), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Label:    "盆骨狭小", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			}, &pasturePb.ConfigOptionsList{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Value:    int32(pasturePb.DystociaReason_Sub_Health), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Label:    "母牛亚健康状态", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				Disabled: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		configOptions = s.DystociaReason() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	return &pasturePb.ConfigOptionsListResponse{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		Code:    http.StatusOK, 
			 |