|
@@ -262,18 +262,18 @@ const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUT
|
|
|
~0u, // no _extensions_
|
|
|
~0u, // no _oneof_case_
|
|
|
~0u, // no _weak_field_map_
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_info, parkspace_id_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_info, index_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_info, direction_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_info, floor_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_info, length_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_info, width_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_info, height_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_info, parkspace_status_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_info, parkingspace_index_id_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_info, parkingspace_type_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_info, parkingspace_unit_id_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_info, parkingspace_room_id_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_info, parkingspace_direction_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_info, parkingspace_floor_id_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_info, parkingspace_width_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_info, parkingspace_height_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_info, parkingspace_status_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_info, car_info_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_info, entry_time_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_info, leave_time_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_info, block_id_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_info, parkspace_path_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_info, path_estimate_time_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Parkspace_info, parkspace_status_target_),
|
|
@@ -285,10 +285,10 @@ const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUT
|
|
|
8,
|
|
|
9,
|
|
|
10,
|
|
|
+ 11,
|
|
|
2,
|
|
|
0,
|
|
|
1,
|
|
|
- 11,
|
|
|
12,
|
|
|
13,
|
|
|
14,
|
|
@@ -353,85 +353,85 @@ void AddDescriptorsImpl() {
|
|
|
"Car_info\022\025\n\ncar_length\030\001 \001(\002:\0010\022\024\n\tcar_w"
|
|
|
"idth\030\002 \001(\002:\0010\022\025\n\ncar_height\030\003 \001(\002:\0010\022\021\n\007"
|
|
|
"license\030\004 \001(\t:\000\022\031\n\016car_wheel_base\030\005 \001(\002:"
|
|
|
- "\0010\022\032\n\017car_wheel_width\030\006 \001(\002:\0010\"\247\004\n\016Parks"
|
|
|
- "pace_info\022\027\n\014parkspace_id\030\001 \001(\005:\0010\022\020\n\005in"
|
|
|
- "dex\030\002 \001(\005:\0010\0228\n\tdirection\030\003 \001(\0162\022.messag"
|
|
|
- "e.Direction:\021eDirection_unknow\022\020\n\005floor\030"
|
|
|
- "\004 \001(\005:\0010\022\021\n\006length\030\005 \001(\002:\0010\022\020\n\005width\030\006 \001"
|
|
|
- "(\002:\0010\022\021\n\006height\030\007 \001(\002:\0010\022M\n\020parkspace_st"
|
|
|
- "atus\030\010 \001(\0162\031.message.Parkspace_status:\030e"
|
|
|
- "Parkspace_status_unknow\022#\n\010car_info\030\t \001("
|
|
|
- "\0132\021.message.Car_info\022\024\n\nentry_time\030\n \001(\t"
|
|
|
- ":\000\022\024\n\nleave_time\030\013 \001(\t:\000\022\023\n\010block_id\030\014 \001"
|
|
|
- "(\005:\0010\022<\n\016parkspace_path\030\r \001(\0162\027.message."
|
|
|
- "Parkspace_path:\013UNKNOW_PATH\022\035\n\022path_esti"
|
|
|
- "mate_time\030\016 \001(\002:\0010\022T\n\027parkspace_status_t"
|
|
|
- "arget\030\017 \001(\0162\031.message.Parkspace_status:\030"
|
|
|
- "eParkspace_status_unknow*\334\t\n\014Message_typ"
|
|
|
- "e\022\r\n\teBase_msg\020\000\022\020\n\014eCommand_msg\020\001\022\026\n\022eL"
|
|
|
- "ocate_status_msg\020\021\022\027\n\023eLocate_request_ms"
|
|
|
- "g\020\022\022\030\n\024eLocate_response_msg\020\023\022\034\n\030eLocate"
|
|
|
- "_sift_request_msg\020\024\022\035\n\031eLocate_sift_resp"
|
|
|
- "onse_msg\020\025\022\030\n\024eDispatch_status_msg\020!\022\031\n\025"
|
|
|
- "eDispatch_request_msg\020\"\022\032\n\026eDispatch_res"
|
|
|
- "ponse_msg\020#\022$\n eParkspace_allocation_sta"
|
|
|
- "tus_msg\0201\022%\n!eParkspace_allocation_reque"
|
|
|
- "st_msg\0202\022&\n\"eParkspace_allocation_respon"
|
|
|
- "se_msg\0203\022!\n\035eParkspace_search_request_ms"
|
|
|
- "g\0204\022\"\n\036eParkspace_search_response_msg\0205\022"
|
|
|
- "\"\n\036eParkspace_release_request_msg\0206\022#\n\037e"
|
|
|
- "Parkspace_release_response_msg\0207\022\'\n#ePar"
|
|
|
- "kspace_force_update_request_msg\0208\022(\n$ePa"
|
|
|
- "rkspace_force_update_response_msg\0209\022(\n$e"
|
|
|
- "Parkspace_confirm_alloc_request_msg\020:\022)\n"
|
|
|
- "%eParkspace_confirm_alloc_response_msg\020;"
|
|
|
- "\022\"\n\036eParkspace_allocation_data_msg\020<\022\036\n\032"
|
|
|
- "eStore_command_request_msg\020A\022\037\n\033eStore_c"
|
|
|
- "ommand_response_msg\020B\022\037\n\033ePickup_command"
|
|
|
- "_request_msg\020C\022 \n\034ePickup_command_respon"
|
|
|
- "se_msg\020D\022\037\n\032eStoring_process_statu_msg\020\220"
|
|
|
- "\001\022\037\n\032ePicking_process_statu_msg\020\221\001\022\"\n\035eC"
|
|
|
- "entral_controller_statu_msg\020\240\001\022#\n\036eEntra"
|
|
|
- "nce_manual_operation_msg\020\260\001\022\"\n\035eProcess_"
|
|
|
- "manual_operation_msg\020\261\001\022\037\n\032eDispatch_pla"
|
|
|
- "n_request_msg\020\340\001\022 \n\033eDispatch_plan_respo"
|
|
|
- "nse_msg\020\341\001\022\"\n\035eDispatch_control_request_"
|
|
|
- "msg\020\342\001\022#\n\036eDispatch_control_response_msg"
|
|
|
- "\020\343\001\022!\n\034eDispatch_manager_status_msg\020\352\001\022\037"
|
|
|
- "\n\032eDispatch_manager_data_msg\020\353\001*\242\001\n\014Comm"
|
|
|
- "unicator\022\n\n\006eEmpty\020\000\022\t\n\005eMain\020\001\022\016\n\teTerm"
|
|
|
- "inor\020\200\002\022\017\n\neParkspace\020\200\004\022\016\n\teMeasurer\020\200\006"
|
|
|
- "\022\032\n\025eMeasurer_sift_server\020\201\006\022\026\n\021eDispatc"
|
|
|
- "h_mamager\020\200\010\022\026\n\021eDispatch_control\020\201\010**\n\014"
|
|
|
- "Process_type\022\014\n\010eStoring\020\001\022\014\n\010ePicking\020\002"
|
|
|
- "*e\n\013Error_level\022\n\n\006NORMAL\020\000\022\024\n\020NEGLIGIBL"
|
|
|
- "E_ERROR\020\001\022\017\n\013MINOR_ERROR\020\002\022\017\n\013MAJOR_ERRO"
|
|
|
- "R\020\003\022\022\n\016CRITICAL_ERROR\020\004*\245\001\n\020Parkspace_st"
|
|
|
- "atus\022\034\n\030eParkspace_status_unknow\020\000\022\024\n\020eP"
|
|
|
- "arkspace_empty\020\001\022\027\n\023eParkspace_occupied\020"
|
|
|
- "\002\022\027\n\023eParkspace_reserved\020\003\022\025\n\021eParkspace"
|
|
|
- "_locked\020\004\022\024\n\020eParkspace_error\020\005*\?\n\tDirec"
|
|
|
- "tion\022\025\n\021eDirection_unknow\020\000\022\014\n\010eForward\020"
|
|
|
- "\001\022\r\n\teBackward\020\002*l\n\016Parkspace_path\022\017\n\013UN"
|
|
|
- "KNOW_PATH\020\000\022\020\n\014OPTIMAL_PATH\020\001\022\r\n\tLEFT_PA"
|
|
|
- "TH\020\002\022\016\n\nRIGHT_PATH\020\003\022\030\n\024TEMPORARY_CACHE_"
|
|
|
- "PATH\020\004*m\n\016Parkspace_type\022\031\n\025UNKNOW_PARKS"
|
|
|
- "PACE_TYPE\020\000\022\024\n\020MIN_PARKINGSPACE\020\001\022\024\n\020MID"
|
|
|
- "_PARKINGSPACE\020\002\022\024\n\020BIG_PARKINGSPACE\020\003*\335\002"
|
|
|
- "\n\tStep_type\022\017\n\013eAlloc_step\020\000\022\021\n\reMeasure"
|
|
|
- "_step\020\001\022\021\n\reCompare_step\020\002\022\022\n\016eDispatch_"
|
|
|
- "step\020\003\022\021\n\reConfirm_step\020\004\022\020\n\014eSearch_ste"
|
|
|
- "p\020\005\022\016\n\neWait_step\020\006\022\021\n\reRelease_step\020\007\022\r"
|
|
|
- "\n\teComplete\020\010\022\025\n\021eBackConfirm_step\020\t\022\026\n\022"
|
|
|
- "eBack_compare_step\020\n\022\025\n\021eBackMeasure_ste"
|
|
|
- "p\020\013\022\023\n\017eBackAlloc_step\020\014\022\022\n\016eBackWait_st"
|
|
|
- "ep\020\r\022\026\n\022eBackDispatch_step\020\016\022\024\n\020eBackSea"
|
|
|
- "rch_step\020\017\022\021\n\reBackComplete\020\020*C\n\nStep_st"
|
|
|
- "atu\022\014\n\010eWaiting\020\000\022\014\n\010eWorking\020\001\022\n\n\006eErro"
|
|
|
- "r\020\002\022\r\n\teFinished\020\003"
|
|
|
+ "\0010\022\032\n\017car_wheel_width\030\006 \001(\002:\0010\"\271\004\n\016Parks"
|
|
|
+ "pace_info\022\035\n\025parkingspace_index_id\030\001 \001(\005"
|
|
|
+ "\0222\n\021parkingspace_type\030\002 \001(\0162\027.message.Pa"
|
|
|
+ "rkspace_type\022\034\n\024parkingspace_unit_id\030\003 \001"
|
|
|
+ "(\005\022\034\n\024parkingspace_room_id\030\004 \001(\005\0222\n\026park"
|
|
|
+ "ingspace_direction\030\005 \001(\0162\022.message.Direc"
|
|
|
+ "tion\022\035\n\025parkingspace_floor_id\030\006 \001(\005\022\032\n\022p"
|
|
|
+ "arkingspace_width\030\007 \001(\002\022\033\n\023parkingspace_"
|
|
|
+ "height\030\010 \001(\002\0226\n\023parkingspace_status\030\t \001("
|
|
|
+ "\0162\031.message.Parkspace_status\022#\n\010car_info"
|
|
|
+ "\030\n \001(\0132\021.message.Car_info\022\022\n\nentry_time\030"
|
|
|
+ "\013 \001(\t\022\022\n\nleave_time\030\014 \001(\t\022/\n\016parkspace_p"
|
|
|
+ "ath\030\r \001(\0162\027.message.Parkspace_path\022\032\n\022pa"
|
|
|
+ "th_estimate_time\030\016 \001(\002\022:\n\027parkspace_stat"
|
|
|
+ "us_target\030\017 \001(\0162\031.message.Parkspace_stat"
|
|
|
+ "us*\334\t\n\014Message_type\022\r\n\teBase_msg\020\000\022\020\n\014eC"
|
|
|
+ "ommand_msg\020\001\022\026\n\022eLocate_status_msg\020\021\022\027\n\023"
|
|
|
+ "eLocate_request_msg\020\022\022\030\n\024eLocate_respons"
|
|
|
+ "e_msg\020\023\022\034\n\030eLocate_sift_request_msg\020\024\022\035\n"
|
|
|
+ "\031eLocate_sift_response_msg\020\025\022\030\n\024eDispatc"
|
|
|
+ "h_status_msg\020!\022\031\n\025eDispatch_request_msg\020"
|
|
|
+ "\"\022\032\n\026eDispatch_response_msg\020#\022$\n eParksp"
|
|
|
+ "ace_allocation_status_msg\0201\022%\n!eParkspac"
|
|
|
+ "e_allocation_request_msg\0202\022&\n\"eParkspace"
|
|
|
+ "_allocation_response_msg\0203\022!\n\035eParkspace"
|
|
|
+ "_search_request_msg\0204\022\"\n\036eParkspace_sear"
|
|
|
+ "ch_response_msg\0205\022\"\n\036eParkspace_release_"
|
|
|
+ "request_msg\0206\022#\n\037eParkspace_release_resp"
|
|
|
+ "onse_msg\0207\022\'\n#eParkspace_force_update_re"
|
|
|
+ "quest_msg\0208\022(\n$eParkspace_force_update_r"
|
|
|
+ "esponse_msg\0209\022(\n$eParkspace_confirm_allo"
|
|
|
+ "c_request_msg\020:\022)\n%eParkspace_confirm_al"
|
|
|
+ "loc_response_msg\020;\022\"\n\036eParkspace_allocat"
|
|
|
+ "ion_data_msg\020<\022\036\n\032eStore_command_request"
|
|
|
+ "_msg\020A\022\037\n\033eStore_command_response_msg\020B\022"
|
|
|
+ "\037\n\033ePickup_command_request_msg\020C\022 \n\034ePic"
|
|
|
+ "kup_command_response_msg\020D\022\037\n\032eStoring_p"
|
|
|
+ "rocess_statu_msg\020\220\001\022\037\n\032ePicking_process_"
|
|
|
+ "statu_msg\020\221\001\022\"\n\035eCentral_controller_stat"
|
|
|
+ "u_msg\020\240\001\022#\n\036eEntrance_manual_operation_m"
|
|
|
+ "sg\020\260\001\022\"\n\035eProcess_manual_operation_msg\020\261"
|
|
|
+ "\001\022\037\n\032eDispatch_plan_request_msg\020\340\001\022 \n\033eD"
|
|
|
+ "ispatch_plan_response_msg\020\341\001\022\"\n\035eDispatc"
|
|
|
+ "h_control_request_msg\020\342\001\022#\n\036eDispatch_co"
|
|
|
+ "ntrol_response_msg\020\343\001\022!\n\034eDispatch_manag"
|
|
|
+ "er_status_msg\020\352\001\022\037\n\032eDispatch_manager_da"
|
|
|
+ "ta_msg\020\353\001*\242\001\n\014Communicator\022\n\n\006eEmpty\020\000\022\t"
|
|
|
+ "\n\005eMain\020\001\022\016\n\teTerminor\020\200\002\022\017\n\neParkspace\020"
|
|
|
+ "\200\004\022\016\n\teMeasurer\020\200\006\022\032\n\025eMeasurer_sift_ser"
|
|
|
+ "ver\020\201\006\022\026\n\021eDispatch_manager\020\200\010\022\026\n\021eDispa"
|
|
|
+ "tch_control\020\201\010**\n\014Process_type\022\014\n\010eStori"
|
|
|
+ "ng\020\001\022\014\n\010ePicking\020\002*e\n\013Error_level\022\n\n\006NOR"
|
|
|
+ "MAL\020\000\022\024\n\020NEGLIGIBLE_ERROR\020\001\022\017\n\013MINOR_ERR"
|
|
|
+ "OR\020\002\022\017\n\013MAJOR_ERROR\020\003\022\022\n\016CRITICAL_ERROR\020"
|
|
|
+ "\004*\245\001\n\020Parkspace_status\022\034\n\030eParkspace_sta"
|
|
|
+ "tus_unknow\020\000\022\024\n\020eParkspace_empty\020\001\022\027\n\023eP"
|
|
|
+ "arkspace_occupied\020\002\022\027\n\023eParkspace_reserv"
|
|
|
+ "ed\020\003\022\025\n\021eParkspace_locked\020\004\022\024\n\020eParkspac"
|
|
|
+ "e_error\020\005*\?\n\tDirection\022\025\n\021eDirection_unk"
|
|
|
+ "now\020\000\022\014\n\010eForward\020\001\022\r\n\teBackward\020\002*l\n\016Pa"
|
|
|
+ "rkspace_path\022\017\n\013UNKNOW_PATH\020\000\022\020\n\014OPTIMAL"
|
|
|
+ "_PATH\020\001\022\r\n\tLEFT_PATH\020\002\022\016\n\nRIGHT_PATH\020\003\022\030"
|
|
|
+ "\n\024TEMPORARY_CACHE_PATH\020\004*m\n\016Parkspace_ty"
|
|
|
+ "pe\022\031\n\025UNKNOW_PARKSPACE_TYPE\020\000\022\024\n\020MIN_PAR"
|
|
|
+ "KINGSPACE\020\001\022\024\n\020MID_PARKINGSPACE\020\002\022\024\n\020BIG"
|
|
|
+ "_PARKINGSPACE\020\003*\335\002\n\tStep_type\022\017\n\013eAlloc_"
|
|
|
+ "step\020\000\022\021\n\reMeasure_step\020\001\022\021\n\reCompare_st"
|
|
|
+ "ep\020\002\022\022\n\016eDispatch_step\020\003\022\021\n\reConfirm_ste"
|
|
|
+ "p\020\004\022\020\n\014eSearch_step\020\005\022\016\n\neWait_step\020\006\022\021\n"
|
|
|
+ "\reRelease_step\020\007\022\r\n\teComplete\020\010\022\025\n\021eBack"
|
|
|
+ "Confirm_step\020\t\022\026\n\022eBack_compare_step\020\n\022\025"
|
|
|
+ "\n\021eBackMeasure_step\020\013\022\023\n\017eBackAlloc_step"
|
|
|
+ "\020\014\022\022\n\016eBackWait_step\020\r\022\026\n\022eBackDispatch_"
|
|
|
+ "step\020\016\022\024\n\020eBackSearch_step\020\017\022\021\n\reBackCom"
|
|
|
+ "plete\020\020*C\n\nStep_statu\022\014\n\010eWaiting\020\000\022\014\n\010e"
|
|
|
+ "Working\020\001\022\n\n\006eError\020\002\022\r\n\teFinished\020\003"
|
|
|
};
|
|
|
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
|
|
|
- descriptor, 3818);
|
|
|
+ descriptor, 3836);
|
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
|
|
|
"message_base.proto", &protobuf_RegisterTypes);
|
|
|
}
|
|
@@ -2716,18 +2716,18 @@ void Parkspace_info::InitAsDefaultInstance() {
|
|
|
::message::Car_info::internal_default_instance());
|
|
|
}
|
|
|
#if !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
-const int Parkspace_info::kParkspaceIdFieldNumber;
|
|
|
-const int Parkspace_info::kIndexFieldNumber;
|
|
|
-const int Parkspace_info::kDirectionFieldNumber;
|
|
|
-const int Parkspace_info::kFloorFieldNumber;
|
|
|
-const int Parkspace_info::kLengthFieldNumber;
|
|
|
-const int Parkspace_info::kWidthFieldNumber;
|
|
|
-const int Parkspace_info::kHeightFieldNumber;
|
|
|
-const int Parkspace_info::kParkspaceStatusFieldNumber;
|
|
|
+const int Parkspace_info::kParkingspaceIndexIdFieldNumber;
|
|
|
+const int Parkspace_info::kParkingspaceTypeFieldNumber;
|
|
|
+const int Parkspace_info::kParkingspaceUnitIdFieldNumber;
|
|
|
+const int Parkspace_info::kParkingspaceRoomIdFieldNumber;
|
|
|
+const int Parkspace_info::kParkingspaceDirectionFieldNumber;
|
|
|
+const int Parkspace_info::kParkingspaceFloorIdFieldNumber;
|
|
|
+const int Parkspace_info::kParkingspaceWidthFieldNumber;
|
|
|
+const int Parkspace_info::kParkingspaceHeightFieldNumber;
|
|
|
+const int Parkspace_info::kParkingspaceStatusFieldNumber;
|
|
|
const int Parkspace_info::kCarInfoFieldNumber;
|
|
|
const int Parkspace_info::kEntryTimeFieldNumber;
|
|
|
const int Parkspace_info::kLeaveTimeFieldNumber;
|
|
|
-const int Parkspace_info::kBlockIdFieldNumber;
|
|
|
const int Parkspace_info::kParkspacePathFieldNumber;
|
|
|
const int Parkspace_info::kPathEstimateTimeFieldNumber;
|
|
|
const int Parkspace_info::kParkspaceStatusTargetFieldNumber;
|
|
@@ -2760,9 +2760,9 @@ Parkspace_info::Parkspace_info(const Parkspace_info& from)
|
|
|
} else {
|
|
|
car_info_ = NULL;
|
|
|
}
|
|
|
- ::memcpy(&parkspace_id_, &from.parkspace_id_,
|
|
|
+ ::memcpy(&parkingspace_index_id_, &from.parkingspace_index_id_,
|
|
|
static_cast<size_t>(reinterpret_cast<char*>(&parkspace_status_target_) -
|
|
|
- reinterpret_cast<char*>(&parkspace_id_)) + sizeof(parkspace_status_target_));
|
|
|
+ reinterpret_cast<char*>(&parkingspace_index_id_)) + sizeof(parkspace_status_target_));
|
|
|
// @@protoc_insertion_point(copy_constructor:message.Parkspace_info)
|
|
|
}
|
|
|
|
|
@@ -2831,14 +2831,14 @@ void Parkspace_info::Clear() {
|
|
|
}
|
|
|
}
|
|
|
if (cached_has_bits & 248u) {
|
|
|
- ::memset(&parkspace_id_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&length_) -
|
|
|
- reinterpret_cast<char*>(&parkspace_id_)) + sizeof(length_));
|
|
|
+ ::memset(&parkingspace_index_id_, 0, static_cast<size_t>(
|
|
|
+ reinterpret_cast<char*>(&parkingspace_direction_) -
|
|
|
+ reinterpret_cast<char*>(&parkingspace_index_id_)) + sizeof(parkingspace_direction_));
|
|
|
}
|
|
|
if (cached_has_bits & 32512u) {
|
|
|
- ::memset(&width_, 0, static_cast<size_t>(
|
|
|
+ ::memset(&parkingspace_floor_id_, 0, static_cast<size_t>(
|
|
|
reinterpret_cast<char*>(&parkspace_status_target_) -
|
|
|
- reinterpret_cast<char*>(&width_)) + sizeof(parkspace_status_target_));
|
|
|
+ reinterpret_cast<char*>(&parkingspace_floor_id_)) + sizeof(parkspace_status_target_));
|
|
|
}
|
|
|
_has_bits_.Clear();
|
|
|
_internal_metadata_.Clear();
|
|
@@ -2854,123 +2854,143 @@ bool Parkspace_info::MergePartialFromCodedStream(
|
|
|
tag = p.first;
|
|
|
if (!p.second) goto handle_unusual;
|
|
|
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
|
- // optional int32 parkspace_id = 1 [default = 0];
|
|
|
+ // optional int32 parkingspace_index_id = 1;
|
|
|
case 1: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
|
|
|
- set_has_parkspace_id();
|
|
|
+ set_has_parkingspace_index_id();
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &parkspace_id_)));
|
|
|
+ input, &parkingspace_index_id_)));
|
|
|
} else {
|
|
|
goto handle_unusual;
|
|
|
}
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // optional int32 index = 2 [default = 0];
|
|
|
+ // optional .message.Parkspace_type parkingspace_type = 2;
|
|
|
case 2: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
|
|
|
- set_has_index();
|
|
|
+ int value;
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &index_)));
|
|
|
+ int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
|
|
|
+ input, &value)));
|
|
|
+ if (::message::Parkspace_type_IsValid(value)) {
|
|
|
+ set_parkingspace_type(static_cast< ::message::Parkspace_type >(value));
|
|
|
+ } else {
|
|
|
+ mutable_unknown_fields()->AddVarint(
|
|
|
+ 2, static_cast< ::google::protobuf::uint64>(value));
|
|
|
+ }
|
|
|
} else {
|
|
|
goto handle_unusual;
|
|
|
}
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // optional .message.Direction direction = 3 [default = eDirection_unknow];
|
|
|
+ // optional int32 parkingspace_unit_id = 3;
|
|
|
case 3: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
|
|
|
- int value;
|
|
|
+ set_has_parkingspace_unit_id();
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
|
|
|
- input, &value)));
|
|
|
- if (::message::Direction_IsValid(value)) {
|
|
|
- set_direction(static_cast< ::message::Direction >(value));
|
|
|
- } else {
|
|
|
- mutable_unknown_fields()->AddVarint(
|
|
|
- 3, static_cast< ::google::protobuf::uint64>(value));
|
|
|
- }
|
|
|
+ ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
+ input, &parkingspace_unit_id_)));
|
|
|
} else {
|
|
|
goto handle_unusual;
|
|
|
}
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // optional int32 floor = 4 [default = 0];
|
|
|
+ // optional int32 parkingspace_room_id = 4;
|
|
|
case 4: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
|
|
|
- set_has_floor();
|
|
|
+ set_has_parkingspace_room_id();
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &floor_)));
|
|
|
+ input, &parkingspace_room_id_)));
|
|
|
} else {
|
|
|
goto handle_unusual;
|
|
|
}
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // optional float length = 5 [default = 0];
|
|
|
+ // optional .message.Direction parkingspace_direction = 5;
|
|
|
case 5: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(45u /* 45 & 0xFF */)) {
|
|
|
- set_has_length();
|
|
|
+ static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
|
|
|
+ int value;
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
|
- input, &length_)));
|
|
|
+ int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
|
|
|
+ input, &value)));
|
|
|
+ if (::message::Direction_IsValid(value)) {
|
|
|
+ set_parkingspace_direction(static_cast< ::message::Direction >(value));
|
|
|
+ } else {
|
|
|
+ mutable_unknown_fields()->AddVarint(
|
|
|
+ 5, static_cast< ::google::protobuf::uint64>(value));
|
|
|
+ }
|
|
|
} else {
|
|
|
goto handle_unusual;
|
|
|
}
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // optional float width = 6 [default = 0];
|
|
|
+ // optional int32 parkingspace_floor_id = 6;
|
|
|
case 6: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(53u /* 53 & 0xFF */)) {
|
|
|
- set_has_width();
|
|
|
+ static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
|
|
|
+ set_has_parkingspace_floor_id();
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
|
- input, &width_)));
|
|
|
+ ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
+ input, &parkingspace_floor_id_)));
|
|
|
} else {
|
|
|
goto handle_unusual;
|
|
|
}
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // optional float height = 7 [default = 0];
|
|
|
+ // optional float parkingspace_width = 7;
|
|
|
case 7: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
static_cast< ::google::protobuf::uint8>(61u /* 61 & 0xFF */)) {
|
|
|
- set_has_height();
|
|
|
+ set_has_parkingspace_width();
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
|
- input, &height_)));
|
|
|
+ input, &parkingspace_width_)));
|
|
|
} else {
|
|
|
goto handle_unusual;
|
|
|
}
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // optional .message.Parkspace_status parkspace_status = 8 [default = eParkspace_status_unknow];
|
|
|
+ // optional float parkingspace_height = 8;
|
|
|
case 8: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) {
|
|
|
+ static_cast< ::google::protobuf::uint8>(69u /* 69 & 0xFF */)) {
|
|
|
+ set_has_parkingspace_height();
|
|
|
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
+ float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
|
+ input, &parkingspace_height_)));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // optional .message.Parkspace_status parkingspace_status = 9;
|
|
|
+ case 9: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
|
|
|
int value;
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
|
|
|
input, &value)));
|
|
|
if (::message::Parkspace_status_IsValid(value)) {
|
|
|
- set_parkspace_status(static_cast< ::message::Parkspace_status >(value));
|
|
|
+ set_parkingspace_status(static_cast< ::message::Parkspace_status >(value));
|
|
|
} else {
|
|
|
mutable_unknown_fields()->AddVarint(
|
|
|
- 8, static_cast< ::google::protobuf::uint64>(value));
|
|
|
+ 9, static_cast< ::google::protobuf::uint64>(value));
|
|
|
}
|
|
|
} else {
|
|
|
goto handle_unusual;
|
|
@@ -2978,10 +2998,10 @@ bool Parkspace_info::MergePartialFromCodedStream(
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // optional .message.Car_info car_info = 9;
|
|
|
- case 9: {
|
|
|
+ // optional .message.Car_info car_info = 10;
|
|
|
+ case 10: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(74u /* 74 & 0xFF */)) {
|
|
|
+ static_cast< ::google::protobuf::uint8>(82u /* 82 & 0xFF */)) {
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
|
|
|
input, mutable_car_info()));
|
|
|
} else {
|
|
@@ -2990,10 +3010,10 @@ bool Parkspace_info::MergePartialFromCodedStream(
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // optional string entry_time = 10 [default = ""];
|
|
|
- case 10: {
|
|
|
+ // optional string entry_time = 11;
|
|
|
+ case 11: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(82u /* 82 & 0xFF */)) {
|
|
|
+ static_cast< ::google::protobuf::uint8>(90u /* 90 & 0xFF */)) {
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
|
input, this->mutable_entry_time()));
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
@@ -3006,10 +3026,10 @@ bool Parkspace_info::MergePartialFromCodedStream(
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // optional string leave_time = 11 [default = ""];
|
|
|
- case 11: {
|
|
|
+ // optional string leave_time = 12;
|
|
|
+ case 12: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(90u /* 90 & 0xFF */)) {
|
|
|
+ static_cast< ::google::protobuf::uint8>(98u /* 98 & 0xFF */)) {
|
|
|
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
|
input, this->mutable_leave_time()));
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
@@ -3022,21 +3042,7 @@ bool Parkspace_info::MergePartialFromCodedStream(
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // optional int32 block_id = 12 [default = 0];
|
|
|
- case 12: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(96u /* 96 & 0xFF */)) {
|
|
|
- set_has_block_id();
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &block_id_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // optional .message.Parkspace_path parkspace_path = 13 [default = UNKNOW_PATH];
|
|
|
+ // optional .message.Parkspace_path parkspace_path = 13;
|
|
|
case 13: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
static_cast< ::google::protobuf::uint8>(104u /* 104 & 0xFF */)) {
|
|
@@ -3056,7 +3062,7 @@ bool Parkspace_info::MergePartialFromCodedStream(
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // optional float path_estimate_time = 14 [default = 0];
|
|
|
+ // optional float path_estimate_time = 14;
|
|
|
case 14: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
static_cast< ::google::protobuf::uint8>(117u /* 117 & 0xFF */)) {
|
|
@@ -3070,7 +3076,7 @@ bool Parkspace_info::MergePartialFromCodedStream(
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // optional .message.Parkspace_status parkspace_status_target = 15 [default = eParkspace_status_unknow];
|
|
|
+ // optional .message.Parkspace_status parkspace_status_target = 15;
|
|
|
case 15: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
static_cast< ::google::protobuf::uint8>(120u /* 120 & 0xFF */)) {
|
|
@@ -3117,91 +3123,92 @@ void Parkspace_info::SerializeWithCachedSizes(
|
|
|
(void) cached_has_bits;
|
|
|
|
|
|
cached_has_bits = _has_bits_[0];
|
|
|
- // optional int32 parkspace_id = 1 [default = 0];
|
|
|
+ // optional int32 parkingspace_index_id = 1;
|
|
|
if (cached_has_bits & 0x00000008u) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->parkspace_id(), output);
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->parkingspace_index_id(), output);
|
|
|
}
|
|
|
|
|
|
- // optional int32 index = 2 [default = 0];
|
|
|
+ // optional .message.Parkspace_type parkingspace_type = 2;
|
|
|
if (cached_has_bits & 0x00000010u) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
+ 2, this->parkingspace_type(), output);
|
|
|
}
|
|
|
|
|
|
- // optional .message.Direction direction = 3 [default = eDirection_unknow];
|
|
|
+ // optional int32 parkingspace_unit_id = 3;
|
|
|
if (cached_has_bits & 0x00000020u) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
- 3, this->direction(), output);
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->parkingspace_unit_id(), output);
|
|
|
}
|
|
|
|
|
|
- // optional int32 floor = 4 [default = 0];
|
|
|
+ // optional int32 parkingspace_room_id = 4;
|
|
|
if (cached_has_bits & 0x00000040u) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->floor(), output);
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->parkingspace_room_id(), output);
|
|
|
}
|
|
|
|
|
|
- // optional float length = 5 [default = 0];
|
|
|
+ // optional .message.Direction parkingspace_direction = 5;
|
|
|
if (cached_has_bits & 0x00000080u) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteFloat(5, this->length(), output);
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
+ 5, this->parkingspace_direction(), output);
|
|
|
}
|
|
|
|
|
|
- // optional float width = 6 [default = 0];
|
|
|
+ // optional int32 parkingspace_floor_id = 6;
|
|
|
if (cached_has_bits & 0x00000100u) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteFloat(6, this->width(), output);
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->parkingspace_floor_id(), output);
|
|
|
}
|
|
|
|
|
|
- // optional float height = 7 [default = 0];
|
|
|
+ // optional float parkingspace_width = 7;
|
|
|
if (cached_has_bits & 0x00000200u) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteFloat(7, this->height(), output);
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteFloat(7, this->parkingspace_width(), output);
|
|
|
}
|
|
|
|
|
|
- // optional .message.Parkspace_status parkspace_status = 8 [default = eParkspace_status_unknow];
|
|
|
+ // optional float parkingspace_height = 8;
|
|
|
if (cached_has_bits & 0x00000400u) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteFloat(8, this->parkingspace_height(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // optional .message.Parkspace_status parkingspace_status = 9;
|
|
|
+ if (cached_has_bits & 0x00000800u) {
|
|
|
::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
- 8, this->parkspace_status(), output);
|
|
|
+ 9, this->parkingspace_status(), output);
|
|
|
}
|
|
|
|
|
|
- // optional .message.Car_info car_info = 9;
|
|
|
+ // optional .message.Car_info car_info = 10;
|
|
|
if (cached_has_bits & 0x00000004u) {
|
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
|
- 9, *this->car_info_, output);
|
|
|
+ 10, *this->car_info_, output);
|
|
|
}
|
|
|
|
|
|
- // optional string entry_time = 10 [default = ""];
|
|
|
+ // optional string entry_time = 11;
|
|
|
if (cached_has_bits & 0x00000001u) {
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
|
this->entry_time().data(), static_cast<int>(this->entry_time().length()),
|
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
|
"message.Parkspace_info.entry_time");
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
|
- 10, this->entry_time(), output);
|
|
|
+ 11, this->entry_time(), output);
|
|
|
}
|
|
|
|
|
|
- // optional string leave_time = 11 [default = ""];
|
|
|
+ // optional string leave_time = 12;
|
|
|
if (cached_has_bits & 0x00000002u) {
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
|
this->leave_time().data(), static_cast<int>(this->leave_time().length()),
|
|
|
::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
|
"message.Parkspace_info.leave_time");
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
|
- 11, this->leave_time(), output);
|
|
|
+ 12, this->leave_time(), output);
|
|
|
}
|
|
|
|
|
|
- // optional int32 block_id = 12 [default = 0];
|
|
|
- if (cached_has_bits & 0x00000800u) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(12, this->block_id(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // optional .message.Parkspace_path parkspace_path = 13 [default = UNKNOW_PATH];
|
|
|
+ // optional .message.Parkspace_path parkspace_path = 13;
|
|
|
if (cached_has_bits & 0x00001000u) {
|
|
|
::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
13, this->parkspace_path(), output);
|
|
|
}
|
|
|
|
|
|
- // optional float path_estimate_time = 14 [default = 0];
|
|
|
+ // optional float path_estimate_time = 14;
|
|
|
if (cached_has_bits & 0x00002000u) {
|
|
|
::google::protobuf::internal::WireFormatLite::WriteFloat(14, this->path_estimate_time(), output);
|
|
|
}
|
|
|
|
|
|
- // optional .message.Parkspace_status parkspace_status_target = 15 [default = eParkspace_status_unknow];
|
|
|
+ // optional .message.Parkspace_status parkspace_status_target = 15;
|
|
|
if (cached_has_bits & 0x00004000u) {
|
|
|
::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
15, this->parkspace_status_target(), output);
|
|
@@ -3222,56 +3229,62 @@ void Parkspace_info::SerializeWithCachedSizes(
|
|
|
(void) cached_has_bits;
|
|
|
|
|
|
cached_has_bits = _has_bits_[0];
|
|
|
- // optional int32 parkspace_id = 1 [default = 0];
|
|
|
+ // optional int32 parkingspace_index_id = 1;
|
|
|
if (cached_has_bits & 0x00000008u) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->parkspace_id(), target);
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->parkingspace_index_id(), target);
|
|
|
}
|
|
|
|
|
|
- // optional int32 index = 2 [default = 0];
|
|
|
+ // optional .message.Parkspace_type parkingspace_type = 2;
|
|
|
if (cached_has_bits & 0x00000010u) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
|
+ 2, this->parkingspace_type(), target);
|
|
|
}
|
|
|
|
|
|
- // optional .message.Direction direction = 3 [default = eDirection_unknow];
|
|
|
+ // optional int32 parkingspace_unit_id = 3;
|
|
|
if (cached_has_bits & 0x00000020u) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
|
- 3, this->direction(), target);
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->parkingspace_unit_id(), target);
|
|
|
}
|
|
|
|
|
|
- // optional int32 floor = 4 [default = 0];
|
|
|
+ // optional int32 parkingspace_room_id = 4;
|
|
|
if (cached_has_bits & 0x00000040u) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->floor(), target);
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->parkingspace_room_id(), target);
|
|
|
}
|
|
|
|
|
|
- // optional float length = 5 [default = 0];
|
|
|
+ // optional .message.Direction parkingspace_direction = 5;
|
|
|
if (cached_has_bits & 0x00000080u) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(5, this->length(), target);
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
|
+ 5, this->parkingspace_direction(), target);
|
|
|
}
|
|
|
|
|
|
- // optional float width = 6 [default = 0];
|
|
|
+ // optional int32 parkingspace_floor_id = 6;
|
|
|
if (cached_has_bits & 0x00000100u) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(6, this->width(), target);
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->parkingspace_floor_id(), target);
|
|
|
}
|
|
|
|
|
|
- // optional float height = 7 [default = 0];
|
|
|
+ // optional float parkingspace_width = 7;
|
|
|
if (cached_has_bits & 0x00000200u) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(7, this->height(), target);
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(7, this->parkingspace_width(), target);
|
|
|
}
|
|
|
|
|
|
- // optional .message.Parkspace_status parkspace_status = 8 [default = eParkspace_status_unknow];
|
|
|
+ // optional float parkingspace_height = 8;
|
|
|
if (cached_has_bits & 0x00000400u) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(8, this->parkingspace_height(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // optional .message.Parkspace_status parkingspace_status = 9;
|
|
|
+ if (cached_has_bits & 0x00000800u) {
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
|
- 8, this->parkspace_status(), target);
|
|
|
+ 9, this->parkingspace_status(), target);
|
|
|
}
|
|
|
|
|
|
- // optional .message.Car_info car_info = 9;
|
|
|
+ // optional .message.Car_info car_info = 10;
|
|
|
if (cached_has_bits & 0x00000004u) {
|
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
|
InternalWriteMessageToArray(
|
|
|
- 9, *this->car_info_, deterministic, target);
|
|
|
+ 10, *this->car_info_, deterministic, target);
|
|
|
}
|
|
|
|
|
|
- // optional string entry_time = 10 [default = ""];
|
|
|
+ // optional string entry_time = 11;
|
|
|
if (cached_has_bits & 0x00000001u) {
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
|
this->entry_time().data(), static_cast<int>(this->entry_time().length()),
|
|
@@ -3279,10 +3292,10 @@ void Parkspace_info::SerializeWithCachedSizes(
|
|
|
"message.Parkspace_info.entry_time");
|
|
|
target =
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
- 10, this->entry_time(), target);
|
|
|
+ 11, this->entry_time(), target);
|
|
|
}
|
|
|
|
|
|
- // optional string leave_time = 11 [default = ""];
|
|
|
+ // optional string leave_time = 12;
|
|
|
if (cached_has_bits & 0x00000002u) {
|
|
|
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
|
this->leave_time().data(), static_cast<int>(this->leave_time().length()),
|
|
@@ -3290,26 +3303,21 @@ void Parkspace_info::SerializeWithCachedSizes(
|
|
|
"message.Parkspace_info.leave_time");
|
|
|
target =
|
|
|
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
- 11, this->leave_time(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // optional int32 block_id = 12 [default = 0];
|
|
|
- if (cached_has_bits & 0x00000800u) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(12, this->block_id(), target);
|
|
|
+ 12, this->leave_time(), target);
|
|
|
}
|
|
|
|
|
|
- // optional .message.Parkspace_path parkspace_path = 13 [default = UNKNOW_PATH];
|
|
|
+ // optional .message.Parkspace_path parkspace_path = 13;
|
|
|
if (cached_has_bits & 0x00001000u) {
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
|
13, this->parkspace_path(), target);
|
|
|
}
|
|
|
|
|
|
- // optional float path_estimate_time = 14 [default = 0];
|
|
|
+ // optional float path_estimate_time = 14;
|
|
|
if (cached_has_bits & 0x00002000u) {
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(14, this->path_estimate_time(), target);
|
|
|
}
|
|
|
|
|
|
- // optional .message.Parkspace_status parkspace_status_target = 15 [default = eParkspace_status_unknow];
|
|
|
+ // optional .message.Parkspace_status parkspace_status_target = 15;
|
|
|
if (cached_has_bits & 0x00004000u) {
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
|
15, this->parkspace_status_target(), target);
|
|
@@ -3333,96 +3341,97 @@ size_t Parkspace_info::ByteSizeLong() const {
|
|
|
_internal_metadata_.unknown_fields());
|
|
|
}
|
|
|
if (_has_bits_[0 / 32] & 255u) {
|
|
|
- // optional string entry_time = 10 [default = ""];
|
|
|
+ // optional string entry_time = 11;
|
|
|
if (has_entry_time()) {
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
this->entry_time());
|
|
|
}
|
|
|
|
|
|
- // optional string leave_time = 11 [default = ""];
|
|
|
+ // optional string leave_time = 12;
|
|
|
if (has_leave_time()) {
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
this->leave_time());
|
|
|
}
|
|
|
|
|
|
- // optional .message.Car_info car_info = 9;
|
|
|
+ // optional .message.Car_info car_info = 10;
|
|
|
if (has_car_info()) {
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
*this->car_info_);
|
|
|
}
|
|
|
|
|
|
- // optional int32 parkspace_id = 1 [default = 0];
|
|
|
- if (has_parkspace_id()) {
|
|
|
+ // optional int32 parkingspace_index_id = 1;
|
|
|
+ if (has_parkingspace_index_id()) {
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->parkspace_id());
|
|
|
+ this->parkingspace_index_id());
|
|
|
}
|
|
|
|
|
|
- // optional int32 index = 2 [default = 0];
|
|
|
- if (has_index()) {
|
|
|
+ // optional .message.Parkspace_type parkingspace_type = 2;
|
|
|
+ if (has_parkingspace_type()) {
|
|
|
total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->index());
|
|
|
+ ::google::protobuf::internal::WireFormatLite::EnumSize(this->parkingspace_type());
|
|
|
}
|
|
|
|
|
|
- // optional .message.Direction direction = 3 [default = eDirection_unknow];
|
|
|
- if (has_direction()) {
|
|
|
+ // optional int32 parkingspace_unit_id = 3;
|
|
|
+ if (has_parkingspace_unit_id()) {
|
|
|
total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->direction());
|
|
|
+ ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
+ this->parkingspace_unit_id());
|
|
|
}
|
|
|
|
|
|
- // optional int32 floor = 4 [default = 0];
|
|
|
- if (has_floor()) {
|
|
|
+ // optional int32 parkingspace_room_id = 4;
|
|
|
+ if (has_parkingspace_room_id()) {
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->floor());
|
|
|
+ this->parkingspace_room_id());
|
|
|
}
|
|
|
|
|
|
- // optional float length = 5 [default = 0];
|
|
|
- if (has_length()) {
|
|
|
- total_size += 1 + 4;
|
|
|
+ // optional .message.Direction parkingspace_direction = 5;
|
|
|
+ if (has_parkingspace_direction()) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::EnumSize(this->parkingspace_direction());
|
|
|
}
|
|
|
|
|
|
}
|
|
|
if (_has_bits_[8 / 32] & 32512u) {
|
|
|
- // optional float width = 6 [default = 0];
|
|
|
- if (has_width()) {
|
|
|
- total_size += 1 + 4;
|
|
|
+ // optional int32 parkingspace_floor_id = 6;
|
|
|
+ if (has_parkingspace_floor_id()) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
+ this->parkingspace_floor_id());
|
|
|
}
|
|
|
|
|
|
- // optional float height = 7 [default = 0];
|
|
|
- if (has_height()) {
|
|
|
+ // optional float parkingspace_width = 7;
|
|
|
+ if (has_parkingspace_width()) {
|
|
|
total_size += 1 + 4;
|
|
|
}
|
|
|
|
|
|
- // optional .message.Parkspace_status parkspace_status = 8 [default = eParkspace_status_unknow];
|
|
|
- if (has_parkspace_status()) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->parkspace_status());
|
|
|
+ // optional float parkingspace_height = 8;
|
|
|
+ if (has_parkingspace_height()) {
|
|
|
+ total_size += 1 + 4;
|
|
|
}
|
|
|
|
|
|
- // optional int32 block_id = 12 [default = 0];
|
|
|
- if (has_block_id()) {
|
|
|
+ // optional .message.Parkspace_status parkingspace_status = 9;
|
|
|
+ if (has_parkingspace_status()) {
|
|
|
total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->block_id());
|
|
|
+ ::google::protobuf::internal::WireFormatLite::EnumSize(this->parkingspace_status());
|
|
|
}
|
|
|
|
|
|
- // optional .message.Parkspace_path parkspace_path = 13 [default = UNKNOW_PATH];
|
|
|
+ // optional .message.Parkspace_path parkspace_path = 13;
|
|
|
if (has_parkspace_path()) {
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::EnumSize(this->parkspace_path());
|
|
|
}
|
|
|
|
|
|
- // optional float path_estimate_time = 14 [default = 0];
|
|
|
+ // optional float path_estimate_time = 14;
|
|
|
if (has_path_estimate_time()) {
|
|
|
total_size += 1 + 4;
|
|
|
}
|
|
|
|
|
|
- // optional .message.Parkspace_status parkspace_status_target = 15 [default = eParkspace_status_unknow];
|
|
|
+ // optional .message.Parkspace_status parkspace_status_target = 15;
|
|
|
if (has_parkspace_status_target()) {
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::EnumSize(this->parkspace_status_target());
|
|
@@ -3472,34 +3481,34 @@ void Parkspace_info::MergeFrom(const Parkspace_info& from) {
|
|
|
mutable_car_info()->::message::Car_info::MergeFrom(from.car_info());
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000008u) {
|
|
|
- parkspace_id_ = from.parkspace_id_;
|
|
|
+ parkingspace_index_id_ = from.parkingspace_index_id_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000010u) {
|
|
|
- index_ = from.index_;
|
|
|
+ parkingspace_type_ = from.parkingspace_type_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000020u) {
|
|
|
- direction_ = from.direction_;
|
|
|
+ parkingspace_unit_id_ = from.parkingspace_unit_id_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000040u) {
|
|
|
- floor_ = from.floor_;
|
|
|
+ parkingspace_room_id_ = from.parkingspace_room_id_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000080u) {
|
|
|
- length_ = from.length_;
|
|
|
+ parkingspace_direction_ = from.parkingspace_direction_;
|
|
|
}
|
|
|
_has_bits_[0] |= cached_has_bits;
|
|
|
}
|
|
|
if (cached_has_bits & 32512u) {
|
|
|
if (cached_has_bits & 0x00000100u) {
|
|
|
- width_ = from.width_;
|
|
|
+ parkingspace_floor_id_ = from.parkingspace_floor_id_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000200u) {
|
|
|
- height_ = from.height_;
|
|
|
+ parkingspace_width_ = from.parkingspace_width_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000400u) {
|
|
|
- parkspace_status_ = from.parkspace_status_;
|
|
|
+ parkingspace_height_ = from.parkingspace_height_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000800u) {
|
|
|
- block_id_ = from.block_id_;
|
|
|
+ parkingspace_status_ = from.parkingspace_status_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00001000u) {
|
|
|
parkspace_path_ = from.parkspace_path_;
|
|
@@ -3541,15 +3550,15 @@ void Parkspace_info::InternalSwap(Parkspace_info* other) {
|
|
|
entry_time_.Swap(&other->entry_time_);
|
|
|
leave_time_.Swap(&other->leave_time_);
|
|
|
swap(car_info_, other->car_info_);
|
|
|
- swap(parkspace_id_, other->parkspace_id_);
|
|
|
- swap(index_, other->index_);
|
|
|
- swap(direction_, other->direction_);
|
|
|
- swap(floor_, other->floor_);
|
|
|
- swap(length_, other->length_);
|
|
|
- swap(width_, other->width_);
|
|
|
- swap(height_, other->height_);
|
|
|
- swap(parkspace_status_, other->parkspace_status_);
|
|
|
- swap(block_id_, other->block_id_);
|
|
|
+ swap(parkingspace_index_id_, other->parkingspace_index_id_);
|
|
|
+ swap(parkingspace_type_, other->parkingspace_type_);
|
|
|
+ swap(parkingspace_unit_id_, other->parkingspace_unit_id_);
|
|
|
+ swap(parkingspace_room_id_, other->parkingspace_room_id_);
|
|
|
+ swap(parkingspace_direction_, other->parkingspace_direction_);
|
|
|
+ swap(parkingspace_floor_id_, other->parkingspace_floor_id_);
|
|
|
+ swap(parkingspace_width_, other->parkingspace_width_);
|
|
|
+ swap(parkingspace_height_, other->parkingspace_height_);
|
|
|
+ swap(parkingspace_status_, other->parkingspace_status_);
|
|
|
swap(parkspace_path_, other->parkspace_path_);
|
|
|
swap(path_estimate_time_, other->path_estimate_time_);
|
|
|
swap(parkspace_status_target_, other->parkspace_status_target_);
|