新增注释

Signed-off-by: yinzijian <yinzijian@haomozhixing.onaliyun.com>
This commit is contained in:
yinzijian 2025-10-26 12:25:17 +08:00
parent 4abacdb0b1
commit febd66aaed
1 changed files with 29 additions and 28 deletions

View File

@ -243,41 +243,42 @@ message CrossRunningPhaseRequest {
repeated string crossids = 2; repeated string crossids = 2;
} }
//
message CrossRunningPhaseResponse { message CrossRunningPhaseResponse {
int32 code = 1; int32 code = 1;
string msg = 2; string msg = 2;
repeated List data = 3; repeated List data = 3; //
message List { message List {
int32 citycode = 1; int32 citycode = 1; //ID
string crossid = 2; string crossid = 2; //ID
string jj_crossid = 3; string jj_crossid = 3; //ID
int32 scheduleid = 4; int32 scheduleid = 4; //
string schedule_week = 5; string schedule_week = 5; //'1,2,3,4,5'
string schedule_name = 6; string schedule_name = 6; //'工作日''周末'
repeated tps_list tps = 7; repeated tps_list tps = 7; //
} }
message tps_list { message tps_list {
string tp_start = 1; string tp_start = 1; //,'05:00'
string tp_end = 2; string tp_end = 2; //,'17:00'
int32 planid = 3; int32 planid = 3; //
string plan_name = 4; string plan_name = 4; //
string control_mode = 5; string control_mode = 5; //'固定模式'
int32 cycle = 6; int32 cycle = 6; //180
int32 coord_phaseid = 7; int32 coord_phaseid = 7; //ID
int32 offset = 8; int32 offset = 8; //
repeated stages stage_list = 9; repeated stages stage_list = 9; //
} }
message stages { message stages {
int32 stageid = 1; int32 stageid = 1; //ID
int32 stage_duration = 2; int32 stage_duration = 2; //
string stage_name = 3; string stage_name = 3; //
int32 green = 4; int32 green = 4; //绿
int32 yellow = 5; int32 yellow = 5; //
int32 allred = 6; int32 allred = 6; //
string phases = 7; string phases = 7; //ID列表'1,2,3'
string phases_name = 8; string phases_name = 8; //'北左转,北直行,南左转,南直行,东北直行,南行人'
int32 min_green = 9; int32 min_green = 9; //绿
int32 max_green = 10; int32 max_green = 10; //绿
} }
} }