|
@@ -64,31 +64,41 @@ func (s *StoreEntry) BreedStatusEnumList() []*pasturePb.ConfigOptionsList {
|
|
|
|
|
|
func (s *StoreEntry) CowKindEnumList() []*pasturePb.ConfigOptionsList {
|
|
|
cowKindList := make([]*pasturePb.ConfigOptionsList, 0)
|
|
|
- cowKindList = append(cowKindList, &pasturePb.ConfigOptionsList{
|
|
|
- Value: int32(pasturePb.CowKind_XMTEN),
|
|
|
- Label: "西门塔尔牛",
|
|
|
- Disabled: true,
|
|
|
- }, &pasturePb.ConfigOptionsList{
|
|
|
- Value: int32(pasturePb.CowKind_AGSN),
|
|
|
- Label: "安格斯牛",
|
|
|
- Disabled: true,
|
|
|
- }, &pasturePb.ConfigOptionsList{
|
|
|
- Value: int32(pasturePb.CowKind_XNLN),
|
|
|
- Label: "夏洛莱牛",
|
|
|
- Disabled: true,
|
|
|
- }, &pasturePb.ConfigOptionsList{
|
|
|
- Value: int32(pasturePb.CowKind_LMZN),
|
|
|
- Label: "利木赞牛",
|
|
|
- Disabled: true,
|
|
|
- }, &pasturePb.ConfigOptionsList{
|
|
|
- Value: int32(pasturePb.CowKind_HFTN),
|
|
|
- Label: "海福特牛",
|
|
|
- Disabled: true,
|
|
|
- }, &pasturePb.ConfigOptionsList{
|
|
|
- Value: int32(pasturePb.CowKind_HN),
|
|
|
- Label: "和牛",
|
|
|
- Disabled: true,
|
|
|
- })
|
|
|
+ cowKindList = append(cowKindList,
|
|
|
+ &pasturePb.ConfigOptionsList{
|
|
|
+ Value: int32(pasturePb.CowKind_JSN),
|
|
|
+ Label: "娟姗牛",
|
|
|
+ Disabled: true,
|
|
|
+ },
|
|
|
+ &pasturePb.ConfigOptionsList{
|
|
|
+ Value: int32(pasturePb.CowKind_XMTEN),
|
|
|
+ Label: "西门塔尔牛",
|
|
|
+ Disabled: true,
|
|
|
+ }, &pasturePb.ConfigOptionsList{
|
|
|
+ Value: int32(pasturePb.CowKind_AGSN),
|
|
|
+ Label: "安格斯牛",
|
|
|
+ Disabled: true,
|
|
|
+ }, &pasturePb.ConfigOptionsList{
|
|
|
+ Value: int32(pasturePb.CowKind_XNLN),
|
|
|
+ Label: "夏洛莱牛",
|
|
|
+ Disabled: true,
|
|
|
+ }, &pasturePb.ConfigOptionsList{
|
|
|
+ Value: int32(pasturePb.CowKind_LMZN),
|
|
|
+ Label: "利木赞牛",
|
|
|
+ Disabled: true,
|
|
|
+ }, &pasturePb.ConfigOptionsList{
|
|
|
+ Value: int32(pasturePb.CowKind_HFTN),
|
|
|
+ Label: "海福特牛",
|
|
|
+ Disabled: true,
|
|
|
+ }, &pasturePb.ConfigOptionsList{
|
|
|
+ Value: int32(pasturePb.CowKind_HN),
|
|
|
+ Label: "和牛",
|
|
|
+ Disabled: true,
|
|
|
+ }, &pasturePb.ConfigOptionsList{
|
|
|
+ Value: int32(pasturePb.CowKind_HX),
|
|
|
+ Label: "华西牛",
|
|
|
+ Disabled: true,
|
|
|
+ })
|
|
|
return cowKindList
|
|
|
}
|
|
|
|