// Code generated by MockGen. DO NOT EDIT. // Source: kpt-tmr-group/module/backend (interfaces: StatisticService) // Package kptservicemock is a generated GoMock package. package kptservicemock import ( bytes "bytes" context "context" model "kpt-tmr-group/model" operationPb "kpt-tmr-group/proto/go/backend/operation" reflect "reflect" gomock "github.com/golang/mock/gomock" ) // MockStatisticService is a mock of StatisticService interface. type MockStatisticService struct { ctrl *gomock.Controller recorder *MockStatisticServiceMockRecorder } // MockStatisticServiceMockRecorder is the mock recorder for MockStatisticService. type MockStatisticServiceMockRecorder struct { mock *MockStatisticService } // NewMockStatisticService creates a new mock instance. func NewMockStatisticService(ctrl *gomock.Controller) *MockStatisticService { mock := &MockStatisticService{ctrl: ctrl} mock.recorder = &MockStatisticServiceMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockStatisticService) EXPECT() *MockStatisticServiceMockRecorder { return m.recorder } // AnalysisMixedSprinkleDetail mocks base method. func (m *MockStatisticService) AnalysisMixedSprinkleDetail(arg0 context.Context, arg1 *operationPb.ProcessMixedSprinkleDetailRequest) (*model.PastureCommonResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "AnalysisMixedSprinkleDetail", arg0, arg1) ret0, _ := ret[0].(*model.PastureCommonResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // AnalysisMixedSprinkleDetail indicates an expected call of AnalysisMixedSprinkleDetail. func (mr *MockStatisticServiceMockRecorder) AnalysisMixedSprinkleDetail(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AnalysisMixedSprinkleDetail", reflect.TypeOf((*MockStatisticService)(nil).AnalysisMixedSprinkleDetail), arg0, arg1) } // CowsAnalysis mocks base method. func (m *MockStatisticService) CowsAnalysis(arg0 context.Context, arg1 *operationPb.CowsAnalysisRequest) (*model.PastureCommonResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "CowsAnalysis", arg0, arg1) ret0, _ := ret[0].(*model.PastureCommonResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // CowsAnalysis indicates an expected call of CowsAnalysis. func (mr *MockStatisticServiceMockRecorder) CowsAnalysis(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowsAnalysis", reflect.TypeOf((*MockStatisticService)(nil).CowsAnalysis), arg0, arg1) } // ExecutionTime mocks base method. func (m *MockStatisticService) ExecutionTime(arg0 context.Context, arg1 *operationPb.SearchAnalysisAccuracyRequest) (*model.ExecTimeResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ExecutionTime", arg0, arg1) ret0, _ := ret[0].(*model.ExecTimeResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // ExecutionTime indicates an expected call of ExecutionTime. func (mr *MockStatisticServiceMockRecorder) ExecutionTime(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExecutionTime", reflect.TypeOf((*MockStatisticService)(nil).ExecutionTime), arg0, arg1) } // FeedChartStatistics mocks base method. func (m *MockStatisticService) FeedChartStatistics(arg0 context.Context, arg1 *operationPb.FeedChartStatisticsRequest) (*model.PastureCommonResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "FeedChartStatistics", arg0, arg1) ret0, _ := ret[0].(*model.PastureCommonResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // FeedChartStatistics indicates an expected call of FeedChartStatistics. func (mr *MockStatisticServiceMockRecorder) FeedChartStatistics(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FeedChartStatistics", reflect.TypeOf((*MockStatisticService)(nil).FeedChartStatistics), arg0, arg1) } // FeedMixedAndTmrName mocks base method. func (m *MockStatisticService) FeedMixedAndTmrName(arg0 context.Context, arg1 *operationPb.MixedCategoryTmrName) (*model.PastureCommonResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "FeedMixedAndTmrName", arg0, arg1) ret0, _ := ret[0].(*model.PastureCommonResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // FeedMixedAndTmrName indicates an expected call of FeedMixedAndTmrName. func (mr *MockStatisticServiceMockRecorder) FeedMixedAndTmrName(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FeedMixedAndTmrName", reflect.TypeOf((*MockStatisticService)(nil).FeedMixedAndTmrName), arg0, arg1) } // GetDataByName mocks base method. func (m *MockStatisticService) GetDataByName(arg0 context.Context, arg1 *operationPb.GetDataByNameRequest) (*model.PastureCommonResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetDataByName", arg0, arg1) ret0, _ := ret[0].(*model.PastureCommonResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // GetDataByName indicates an expected call of GetDataByName. func (mr *MockStatisticServiceMockRecorder) GetDataByName(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDataByName", reflect.TypeOf((*MockStatisticService)(nil).GetDataByName), arg0, arg1) } // GetTrainNumber mocks base method. func (m *MockStatisticService) GetTrainNumber(arg0 context.Context, arg1 *operationPb.TrainNumberRequest) (*operationPb.TrainNumberResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetTrainNumber", arg0, arg1) ret0, _ := ret[0].(*operationPb.TrainNumberResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // GetTrainNumber indicates an expected call of GetTrainNumber. func (mr *MockStatisticServiceMockRecorder) GetTrainNumber(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTrainNumber", reflect.TypeOf((*MockStatisticService)(nil).GetTrainNumber), arg0, arg1) } // InventoryStatisticsExcelExport mocks base method. func (m *MockStatisticService) InventoryStatisticsExcelExport(arg0 context.Context, arg1 *operationPb.SearchInventoryStatisticsRequest) (*bytes.Buffer, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "InventoryStatisticsExcelExport", arg0, arg1) ret0, _ := ret[0].(*bytes.Buffer) ret1, _ := ret[1].(error) return ret0, ret1 } // InventoryStatisticsExcelExport indicates an expected call of InventoryStatisticsExcelExport. func (mr *MockStatisticServiceMockRecorder) InventoryStatisticsExcelExport(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InventoryStatisticsExcelExport", reflect.TypeOf((*MockStatisticService)(nil).InventoryStatisticsExcelExport), arg0, arg1) } // SearchAccuracyAggStatistics mocks base method. func (m *MockStatisticService) SearchAccuracyAggStatistics(arg0 context.Context, arg1 *operationPb.AccuracyAggStatisticsRequest) (*model.PastureCommonResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SearchAccuracyAggStatistics", arg0, arg1) ret0, _ := ret[0].(*model.PastureCommonResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // SearchAccuracyAggStatistics indicates an expected call of SearchAccuracyAggStatistics. func (mr *MockStatisticServiceMockRecorder) SearchAccuracyAggStatistics(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchAccuracyAggStatistics", reflect.TypeOf((*MockStatisticService)(nil).SearchAccuracyAggStatistics), arg0, arg1) } // SearchAnalysisAccuracy mocks base method. func (m *MockStatisticService) SearchAnalysisAccuracy(arg0 context.Context, arg1 *operationPb.SearchAnalysisAccuracyRequest) (*model.SearchAnalysisAccuracyResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SearchAnalysisAccuracy", arg0, arg1) ret0, _ := ret[0].(*model.SearchAnalysisAccuracyResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // SearchAnalysisAccuracy indicates an expected call of SearchAnalysisAccuracy. func (mr *MockStatisticServiceMockRecorder) SearchAnalysisAccuracy(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchAnalysisAccuracy", reflect.TypeOf((*MockStatisticService)(nil).SearchAnalysisAccuracy), arg0, arg1) } // SearchFeedStatistics mocks base method. func (m *MockStatisticService) SearchFeedStatistics(arg0 context.Context, arg1 *operationPb.SearchFeedStatisticsRequest) (*model.FeedStatisticsResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SearchFeedStatistics", arg0, arg1) ret0, _ := ret[0].(*model.FeedStatisticsResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // SearchFeedStatistics indicates an expected call of SearchFeedStatistics. func (mr *MockStatisticServiceMockRecorder) SearchFeedStatistics(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchFeedStatistics", reflect.TypeOf((*MockStatisticService)(nil).SearchFeedStatistics), arg0, arg1) } // SearchFormulaEstimateList mocks base method. func (m *MockStatisticService) SearchFormulaEstimateList(arg0 context.Context, arg1 *operationPb.SearchFormulaEstimateRequest) (*model.PastureCommonResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SearchFormulaEstimateList", arg0, arg1) ret0, _ := ret[0].(*model.PastureCommonResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // SearchFormulaEstimateList indicates an expected call of SearchFormulaEstimateList. func (mr *MockStatisticServiceMockRecorder) SearchFormulaEstimateList(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchFormulaEstimateList", reflect.TypeOf((*MockStatisticService)(nil).SearchFormulaEstimateList), arg0, arg1) } // SearchInventoryStatistics mocks base method. func (m *MockStatisticService) SearchInventoryStatistics(arg0 context.Context, arg1 *operationPb.SearchInventoryStatisticsRequest) (*model.PastureCommonResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SearchInventoryStatistics", arg0, arg1) ret0, _ := ret[0].(*model.PastureCommonResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // SearchInventoryStatistics indicates an expected call of SearchInventoryStatistics. func (mr *MockStatisticServiceMockRecorder) SearchInventoryStatistics(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchInventoryStatistics", reflect.TypeOf((*MockStatisticService)(nil).SearchInventoryStatistics), arg0, arg1) } // SearchMixFeedStatistics mocks base method. func (m *MockStatisticService) SearchMixFeedStatistics(arg0 context.Context, arg1 *operationPb.MixFeedStatisticsRequest) (*model.PastureCommonResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SearchMixFeedStatistics", arg0, arg1) ret0, _ := ret[0].(*model.PastureCommonResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // SearchMixFeedStatistics indicates an expected call of SearchMixFeedStatistics. func (mr *MockStatisticServiceMockRecorder) SearchMixFeedStatistics(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchMixFeedStatistics", reflect.TypeOf((*MockStatisticService)(nil).SearchMixFeedStatistics), arg0, arg1) } // SearchPriceStatistics mocks base method. func (m *MockStatisticService) SearchPriceStatistics(arg0 context.Context, arg1 *operationPb.SearchPriceStatisticsRequest) (*model.PastureCommonResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SearchPriceStatistics", arg0, arg1) ret0, _ := ret[0].(*model.PastureCommonResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // SearchPriceStatistics indicates an expected call of SearchPriceStatistics. func (mr *MockStatisticServiceMockRecorder) SearchPriceStatistics(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchPriceStatistics", reflect.TypeOf((*MockStatisticService)(nil).SearchPriceStatistics), arg0, arg1) } // SearchProcessAnalysis mocks base method. func (m *MockStatisticService) SearchProcessAnalysis(arg0 context.Context, arg1 *operationPb.ProcessAnalysisRequest) (*model.PastureCommonResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SearchProcessAnalysis", arg0, arg1) ret0, _ := ret[0].(*model.PastureCommonResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // SearchProcessAnalysis indicates an expected call of SearchProcessAnalysis. func (mr *MockStatisticServiceMockRecorder) SearchProcessAnalysis(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchProcessAnalysis", reflect.TypeOf((*MockStatisticService)(nil).SearchProcessAnalysis), arg0, arg1) } // SearchSprinkleStatistics mocks base method. func (m *MockStatisticService) SearchSprinkleStatistics(arg0 context.Context, arg1 *operationPb.SprinkleStatisticsRequest) (*model.PastureCommonResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SearchSprinkleStatistics", arg0, arg1) ret0, _ := ret[0].(*model.PastureCommonResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // SearchSprinkleStatistics indicates an expected call of SearchSprinkleStatistics. func (mr *MockStatisticServiceMockRecorder) SearchSprinkleStatistics(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSprinkleStatistics", reflect.TypeOf((*MockStatisticService)(nil).SearchSprinkleStatistics), arg0, arg1) } // SearchUserMaterialsStatistics mocks base method. func (m *MockStatisticService) SearchUserMaterialsStatistics(arg0 context.Context, arg1 *operationPb.SearchUserMaterialsStatisticsRequest) (*model.PastureCommonResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SearchUserMaterialsStatistics", arg0, arg1) ret0, _ := ret[0].(*model.PastureCommonResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // SearchUserMaterialsStatistics indicates an expected call of SearchUserMaterialsStatistics. func (mr *MockStatisticServiceMockRecorder) SearchUserMaterialsStatistics(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchUserMaterialsStatistics", reflect.TypeOf((*MockStatisticService)(nil).SearchUserMaterialsStatistics), arg0, arg1) } // SprinkleFeedTime mocks base method. func (m *MockStatisticService) SprinkleFeedTime(arg0 context.Context, arg1 *operationPb.SprinkleFeedTimeRequest) (*model.SprinkleFeedTimeResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SprinkleFeedTime", arg0, arg1) ret0, _ := ret[0].(*model.SprinkleFeedTimeResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // SprinkleFeedTime indicates an expected call of SprinkleFeedTime. func (mr *MockStatisticServiceMockRecorder) SprinkleFeedTime(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SprinkleFeedTime", reflect.TypeOf((*MockStatisticService)(nil).SprinkleFeedTime), arg0, arg1) } // TopPasture mocks base method. func (m *MockStatisticService) TopPasture(arg0 context.Context, arg1 *operationPb.SearchAnalysisAccuracyRequest) (*model.GetPastureTopResponse, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "TopPasture", arg0, arg1) ret0, _ := ret[0].(*model.GetPastureTopResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // TopPasture indicates an expected call of TopPasture. func (mr *MockStatisticServiceMockRecorder) TopPasture(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TopPasture", reflect.TypeOf((*MockStatisticService)(nil).TopPasture), arg0, arg1) } // UserMaterialsStatisticsExcelExport mocks base method. func (m *MockStatisticService) UserMaterialsStatisticsExcelExport(arg0 context.Context, arg1 *operationPb.SearchUserMaterialsStatisticsRequest) (*bytes.Buffer, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "UserMaterialsStatisticsExcelExport", arg0, arg1) ret0, _ := ret[0].(*bytes.Buffer) ret1, _ := ret[1].(error) return ret0, ret1 } // UserMaterialsStatisticsExcelExport indicates an expected call of UserMaterialsStatisticsExcelExport. func (mr *MockStatisticServiceMockRecorder) UserMaterialsStatisticsExcelExport(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UserMaterialsStatisticsExcelExport", reflect.TypeOf((*MockStatisticService)(nil).UserMaterialsStatisticsExcelExport), arg0, arg1) }