|  | @@ -307,3 +307,49 @@ func (s *StoreEntry) DataWaringTypeEnumList(isAll string) []*pasturePb.ConfigOpt
 | 
	
		
			
				|  |  |  	})
 | 
	
		
			
				|  |  |  	return configOptions
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +func (s *StoreEntry) NeckRingErrorEnumList(isAll string) []*pasturePb.ConfigOptionsList {
 | 
	
		
			
				|  |  | +	configOptions := make([]*pasturePb.ConfigOptionsList, 0)
 | 
	
		
			
				|  |  | +	if isAll == model.IsAllYes {
 | 
	
		
			
				|  |  | +		configOptions = append(configOptions,
 | 
	
		
			
				|  |  | +			&pasturePb.ConfigOptionsList{
 | 
	
		
			
				|  |  | +				Value:    int32(0),
 | 
	
		
			
				|  |  | +				Label:    "全部",
 | 
	
		
			
				|  |  | +				Disabled: true,
 | 
	
		
			
				|  |  | +			})
 | 
	
		
			
				|  |  | +	}
 | 
	
		
			
				|  |  | +	configOptions = append(configOptions, &pasturePb.ConfigOptionsList{
 | 
	
		
			
				|  |  | +		Value:    int32(pasturePb.NeckRingNumberError_Suspected_Fall_Off),
 | 
	
		
			
				|  |  | +		Label:    "疑似脱落",
 | 
	
		
			
				|  |  | +		Disabled: true,
 | 
	
		
			
				|  |  | +	}, &pasturePb.ConfigOptionsList{
 | 
	
		
			
				|  |  | +		Value:    int32(pasturePb.NeckRingNumberError_No_Signal),
 | 
	
		
			
				|  |  | +		Label:    "无信号",
 | 
	
		
			
				|  |  | +		Disabled: true,
 | 
	
		
			
				|  |  | +	}, &pasturePb.ConfigOptionsList{
 | 
	
		
			
				|  |  | +		Value:    int32(pasturePb.NeckRingNumberError_Receiving_Less),
 | 
	
		
			
				|  |  | +		Label:    "接受数据过少",
 | 
	
		
			
				|  |  | +		Disabled: true,
 | 
	
		
			
				|  |  | +	}, &pasturePb.ConfigOptionsList{
 | 
	
		
			
				|  |  | +		Value:    int32(pasturePb.NeckRingNumberError_Low_Battery),
 | 
	
		
			
				|  |  | +		Label:    "低电量",
 | 
	
		
			
				|  |  | +		Disabled: true,
 | 
	
		
			
				|  |  | +	}, &pasturePb.ConfigOptionsList{
 | 
	
		
			
				|  |  | +		Value:    int32(pasturePb.NeckRingNumberError_Data_Latency),
 | 
	
		
			
				|  |  | +		Label:    "数据有延迟",
 | 
	
		
			
				|  |  | +		Disabled: true,
 | 
	
		
			
				|  |  | +	}, &pasturePb.ConfigOptionsList{
 | 
	
		
			
				|  |  | +		Value:    int32(pasturePb.NeckRingNumberError_Low_Activity_Level),
 | 
	
		
			
				|  |  | +		Label:    "活动量过低",
 | 
	
		
			
				|  |  | +		Disabled: true,
 | 
	
		
			
				|  |  | +	}, &pasturePb.ConfigOptionsList{
 | 
	
		
			
				|  |  | +		Value:    int32(pasturePb.NeckRingNumberError_Abnormal_Wearing),
 | 
	
		
			
				|  |  | +		Label:    "佩戴异常",
 | 
	
		
			
				|  |  | +		Disabled: true,
 | 
	
		
			
				|  |  | +	}, &pasturePb.ConfigOptionsList{
 | 
	
		
			
				|  |  | +		Value:    int32(pasturePb.NeckRingNumberError_Should_Associated),
 | 
	
		
			
				|  |  | +		Label:    "脖环号未绑定牛号",
 | 
	
		
			
				|  |  | +		Disabled: true,
 | 
	
		
			
				|  |  | +	})
 | 
	
		
			
				|  |  | +	return configOptions
 | 
	
		
			
				|  |  | +}
 |