model.go 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. package crontab
  2. type WeekHabit struct {
  3. NeckRingNumber string
  4. WeekHighHabit int32
  5. WeekRuminaHabit int32
  6. WeekChewHabit int32
  7. WeekInactiveHabit int32
  8. WeekIntakeHabit int32
  9. WeekOtherHabit int32
  10. }
  11. type ActivityVolume struct {
  12. NeckRingNumber string
  13. AvgFilter float64
  14. StdFilter int32
  15. Nb int32
  16. }
  17. type CowEstrusOriginal struct {
  18. CowId int64
  19. Lact int32
  20. CalvingAge int64
  21. CreateTime string
  22. Cft float32
  23. High int32
  24. }
  25. type CowEstrus struct {
  26. CowId int64
  27. ActiveDate string
  28. HadJust int32
  29. }
  30. type EstrusStartData struct {
  31. CowId int64
  32. FirstTime string
  33. }
  34. type EstrusIsPeakData struct {
  35. CowId int64
  36. FirstTime string
  37. ActiveDate string
  38. }
  39. type XToday struct {
  40. LastMaxHabitId int64
  41. CurrMaxHabitId int64
  42. High int32
  43. Rumina int32
  44. ActiveLow int32
  45. ActiveMiddle int32
  46. ActiveHigh int32
  47. XRuminaDisc int32
  48. XChangeDiscount int32
  49. WeeklyActive int32
  50. }
  51. type FirstFilterData struct {
  52. NeckRingNumber string
  53. FilterHigh int32
  54. FilterRumina int32
  55. FilterChew int32
  56. }
  57. type SumHabit struct {
  58. NeckRingNumber string
  59. SumRumina int32
  60. SumIntake int32
  61. SumInactive int32
  62. SumActive int32
  63. SumMaxHigh int32
  64. SumMinHigh int32
  65. SumMinChew int32
  66. }
  67. type ChangeFilterData struct {
  68. Id int64
  69. NeckRingNumber string
  70. ChangeHigh int32
  71. ChangeFilter int32
  72. RuminaFilter int32
  73. ChangeRumina int32
  74. ChewFilter int32
  75. ChangeChew int32
  76. XlcDisCount float64
  77. HeatDate string
  78. FrameId int32
  79. }
  80. type SecondFilterData struct {
  81. NeckRingNumber string
  82. ChangeFilter float64
  83. RuminaFilter float64
  84. ChewFilter float64
  85. }