123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262 |
- syntax = "proto3";
- package backend.operation;
- option go_package = ".;operationPb";
- import "backend/operation/pagination.proto";
- import "backend/operation/enum.proto";
- import "backend/operation/pasture.proto";
- message SearchFormulaEstimateRequest {
- string start_time = 1;
- string end_time = 2;
- int32 search_type = 3;
- string api_name = 4;
- int32 pasture_id = 5;
- int32 template_id = 6;
- int32 barn_id = 7;
- PaginationModel pagination = 8;
- }
- message SearchInventoryStatisticsRequest {
- string start_time = 1;
- string end_time = 2;
- string api_name = 3;
- string feed_name = 4;
- int32 pasture_id = 5;
- PaginationModel pagination = 6;
- }
- message SearchUserMaterialsStatisticsRequest {
- string start_time = 1;
- string end_time = 2;
- string api_name = 3;
- int32 pasture_id = 4;
- int32 error_check = 5;
- int32 type_check = 6;
- string feed_name = 7;
- PaginationModel pagination = 8;
- }
- message SearchPriceStatisticsRequest {
- string start_time = 1;
- string end_time = 2;
- string api_name = 3;
- int32 pasture_id = 4;
- string feed_name = 5;
- PaginationModel pagination = 6;
- }
- message SearchFeedStatisticsRequest {
- string start_time = 1;
- string api_name = 2;
- repeated int32 pasture_id = 3;
- string formula_template = 4;
- string barn_name = 5;
- string cattle_category_name = 6;
- int32 cattle_category_id = 7;
- int32 class_number = 8;
- PaginationModel pagination = 9;
- }
- message FeedChartStatisticsRequest {
- string start_time = 1;
- string end_time = 2;
- int32 pasture_id = 3;
- int32 status = 4;
- string api_type = 5;
- }
- message CowsAnalysisRequest {
- string start_time = 1;
- string api_name = 2;
- int32 pasture_id = 3;
- PaginationModel pagination = 4;
- }
- message AccuracyAggStatisticsRequest {
- string start_time = 1;
- string end_time = 2;
- int32 pasture_id = 3;
- string fname = 4;
- string sort = 5;
- string status = 6;
- int32 genre = 7;
- int32 isdate = 8;
- int32 hlwc1 = 9;
- int32 hlwc2 = 10;
- int32 hlzq1 = 11;
- int32 hlzq2 = 12;
- int32 hlzql1 = 13;
- int32 hlzql2 = 14;
- int32 slwc1 = 15;
- int32 slwc2 = 16;
- int32 slzq1 = 17;
- int32 slzq2 = 18;
- int32 slzql1 = 19;
- int32 slzql2 = 20;
- string projname = 21;
- string Times = 22;
- bool is_error = 23;
- }
- message MixFeedStatisticsRequest {
- string start_time = 1;
- string end_time = 2;
- string api_name = 3;
- int32 pasture_id = 4;
- string equipment_name = 5;
- string train_number = 6;
- int32 class_number = 7;
- string formulation_name = 8;
- int32 jump_type = 9;
- int32 hlwc1 = 10;
- int32 hlwc2 = 11;
- int32 hlzq1 = 12;
- int32 hlzq2 = 13;
- int32 hlzql1 = 14;
- int32 hlzql2 = 15;
- bool is_error = 16;
- string button_type = 17;
- string is_use = 18;
- PaginationModel pagination = 19;
- }
- message SprinkleStatisticsRequest {
- string start_time = 1;
- string end_time = 2;
- string api_name = 3;
- int32 pasture_id = 4;
- string equipment_name = 5;
- string train_number = 6;
- int32 class_number = 7;
- string formulation_name = 8;
- string barn_name = 9;
- int32 jump_type = 10;
- int32 slwc1 = 11;
- int32 slwc2 = 12;
- int32 slzq1 = 13;
- int32 slzq2 = 14;
- int32 slzql1 = 15;
- int32 slzql2 = 16;
- bool is_error = 17;
- string button_type = 18;
- string is_use = 19;
- PaginationModel pagination = 20;
- }
- message GetDataByNameRequest {
- string start_time = 1;
- string end_time = 2;
- string api_name = 3;
- int32 pasture_id = 4;
- }
- message ProcessAnalysisRequest {
- string start_time = 1;
- string end_time = 2;
- string api_name = 3;
- int32 pasture_id = 4;
- int32 plan_type = 5;
- repeated string tmr_name = 6;
- string error_range = 7;
- string work_status = 8;
- string mix_feed_type = 9;
- int32 hlwc1 = 10;
- int32 hlwc2 = 11;
- int32 hlzq1 = 12;
- int32 hlzq2 = 13;
- int32 slwc1 = 14;
- int32 slwc2 = 15;
- int32 slzq1 = 16;
- int32 slzq2 = 17;
- PaginationModel pagination = 18;
- }
- message TrainNumberRequest {
- string api_name = 1;
- int32 pasture_id = 2;
- string info_name = 3;
- PaginationModel pagination = 4;
- }
- message TrainNumberResponse {
- int32 code = 1;
- string msg = 2;
- TrainNumberData data = 3;
- }
- message TrainNumberData {
- repeated FormulaOptionEnum list = 1;
- }
- message SearchAnalysisAccuracyRequest {
- CattleCategoryParent.Kind cattle_parent_category_id = 1;
- int32 feed_formula_id = 2;
- string start_date = 3;
- string end_date = 4;
- repeated int32 pasture_ids = 5;
- }
- message SearchAnalysisAccuracyResponse {
- int32 code = 1;
- string msg = 2;
- AnalysisAccuracy data = 3;
- }
- message AnalysisAccuracy {
- Chart chart = 1;
- Table table = 2;
- }
- message Chart {
- CommonValueRatio mixed_fodder_accurate_ratio = 4;
- CommonValueRatio mixed_fodder_correct_ratio = 5;
- CommonValueRatio sprinkle_fodder_accurate_ratio = 6;
- CommonValueRatio sprinkle_fodder_correct_ratio = 7;
- }
- message Table {
- message TableList {
- int32 id = 1;
- string name = 2;
- }
- repeated TableList table_list = 1;
- }
- message CommonValueRatio {
- string max_value = 1;
- string middle_value = 2;
- string min_value = 3;
- repeated ValueRatio data_list = 4;
- repeated string pasture_name = 5;
- repeated string date_day = 6;
- }
- message ValueRatio {
- repeated string value_ratio = 1;
- }
- message SprinkleFeedTimeRequest {
- int32 feed_formula_id = 1;
- string start_date = 2;
- string end_date = 3;
- repeated int32 pasture_ids = 4;
- }
|