|
@@ -181,7 +181,7 @@ void InitDefaultsParkspace_info() {
|
|
|
}
|
|
|
|
|
|
::google::protobuf::Metadata file_level_metadata[6];
|
|
|
-const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[8];
|
|
|
+const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[10];
|
|
|
|
|
|
const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Base_info, _has_bits_),
|
|
@@ -256,30 +256,36 @@ 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, block_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, 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_),
|
|
|
3,
|
|
|
+ 13,
|
|
|
4,
|
|
|
5,
|
|
|
- 11,
|
|
|
+ 14,
|
|
|
6,
|
|
|
7,
|
|
|
8,
|
|
|
9,
|
|
|
- 10,
|
|
|
2,
|
|
|
0,
|
|
|
1,
|
|
|
+ 12,
|
|
|
+ 10,
|
|
|
+ 11,
|
|
|
};
|
|
|
static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
{ 0, 9, sizeof(::message::Base_info)},
|
|
@@ -287,7 +293,7 @@ static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROT
|
|
|
{ 20, 28, sizeof(::message::Error_manager)},
|
|
|
{ 31, 45, sizeof(::message::Locate_information)},
|
|
|
{ 54, 63, sizeof(::message::Car_info)},
|
|
|
- { 67, 84, sizeof(::message::Parkspace_info)},
|
|
|
+ { 67, 87, sizeof(::message::Parkspace_info)},
|
|
|
};
|
|
|
|
|
|
static ::google::protobuf::Message const * const file_default_instances[] = {
|
|
@@ -337,63 +343,74 @@ void AddDescriptorsImpl() {
|
|
|
"\n\022locate_wheel_width\030\010 \001(\002\022\026\n\016locate_cor"
|
|
|
"rect\030\t \001(\010\"V\n\010Car_info\022\022\n\ncar_length\030\001 \001"
|
|
|
"(\002\022\021\n\tcar_width\030\002 \001(\002\022\022\n\ncar_height\030\003 \001("
|
|
|
- "\002\022\017\n\007license\030\004 \001(\t\"\256\002\n\016Parkspace_info\022\024\n"
|
|
|
- "\014parkspace_id\030\001 \001(\005\022\020\n\010block_id\030\002 \001(\005\022\r\n"
|
|
|
- "\005index\030\003 \001(\005\022%\n\tdirection\030\004 \001(\0162\022.messag"
|
|
|
- "e.Direction\022\r\n\005floor\030\005 \001(\005\022\016\n\006length\030\006 \001"
|
|
|
- "(\002\022\r\n\005width\030\007 \001(\002\022\016\n\006height\030\010 \001(\002\0223\n\020par"
|
|
|
- "kspace_status\030\t \001(\0162\031.message.Parkspace_"
|
|
|
- "status\022#\n\010car_info\030\n \001(\0132\021.message.Car_i"
|
|
|
- "nfo\022\022\n\nentry_time\030\013 \001(\t\022\022\n\nleave_time\030\014 "
|
|
|
- "\001(\t*\317\007\n\014Message_type\022\r\n\teBase_msg\020\000\022\020\n\014e"
|
|
|
- "Command_msg\020\001\022\026\n\022eLocate_status_msg\020\021\022\027\n"
|
|
|
- "\023eLocate_request_msg\020\022\022\030\n\024eLocate_respon"
|
|
|
- "se_msg\020\023\022\030\n\024eDispatch_status_msg\020!\022\031\n\025eD"
|
|
|
- "ispatch_request_msg\020\"\022\032\n\026eDispatch_respo"
|
|
|
- "nse_msg\020#\022$\n eParkspace_allocation_statu"
|
|
|
- "s_msg\0201\022%\n!eParkspace_allocation_request"
|
|
|
- "_msg\0202\022&\n\"eParkspace_allocation_response"
|
|
|
- "_msg\0203\022!\n\035eParkspace_search_request_msg\020"
|
|
|
- "4\022\"\n\036eParkspace_search_response_msg\0205\022\"\n"
|
|
|
- "\036eParkspace_release_request_msg\0206\022#\n\037ePa"
|
|
|
- "rkspace_release_response_msg\0207\022\'\n#eParks"
|
|
|
- "pace_force_update_request_msg\0208\022(\n$ePark"
|
|
|
- "space_force_update_response_msg\0209\022(\n$ePa"
|
|
|
- "rkspace_confirm_alloc_request_msg\020:\022)\n%e"
|
|
|
- "Parkspace_confirm_alloc_response_msg\020;\022\""
|
|
|
- "\n\036eParkspace_allocation_data_msg\020<\022\036\n\032eS"
|
|
|
- "tore_command_request_msg\020A\022\037\n\033eStore_com"
|
|
|
- "mand_response_msg\020B\022\037\n\033ePickup_command_r"
|
|
|
- "equest_msg\020C\022 \n\034ePickup_command_response"
|
|
|
- "_msg\020D\022\037\n\032eStoring_process_statu_msg\020\220\001\022"
|
|
|
- "\037\n\032ePicking_process_statu_msg\020\221\001\022\"\n\035eCen"
|
|
|
- "tral_controller_statu_msg\020\240\001\022#\n\036eEntranc"
|
|
|
- "e_manual_operation_msg\020\260\001\022\"\n\035eProcess_ma"
|
|
|
- "nual_operation_msg\020\261\001*f\n\014Communicator\022\n\n"
|
|
|
- "\006eEmpty\020\000\022\t\n\005eMain\020\001\022\016\n\teTerminor\020\200\002\022\017\n\n"
|
|
|
- "eParkspace\020\200\004\022\016\n\teMeasurer\020\200\006\022\016\n\teDispat"
|
|
|
- "ch\020\200\010**\n\014Process_type\022\014\n\010eStoring\020\001\022\014\n\010e"
|
|
|
- "Picking\020\002*e\n\013Error_level\022\n\n\006NORMAL\020\000\022\024\n\020"
|
|
|
- "NEGLIGIBLE_ERROR\020\001\022\017\n\013MINOR_ERROR\020\002\022\017\n\013M"
|
|
|
- "AJOR_ERROR\020\003\022\022\n\016CRITICAL_ERROR\020\004*\207\001\n\020Par"
|
|
|
- "kspace_status\022\024\n\020eParkspace_empty\020\000\022\027\n\023e"
|
|
|
- "Parkspace_occupied\020\001\022\027\n\023eParkspace_reser"
|
|
|
- "ved\020\002\022\025\n\021eParkspace_locked\020\003\022\024\n\020eParkspa"
|
|
|
- "ce_error\020\004*(\n\tDirection\022\014\n\010eForward\020\001\022\r\n"
|
|
|
- "\teBackward\020\002*\335\002\n\tStep_type\022\017\n\013eAlloc_ste"
|
|
|
- "p\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_step\020\005\022\016\n\neWait_step\020\006\022\021\n\reR"
|
|
|
- "elease_step\020\007\022\r\n\teComplete\020\010\022\025\n\021eBackCon"
|
|
|
- "firm_step\020\t\022\026\n\022eBack_compare_step\020\n\022\025\n\021e"
|
|
|
- "BackMeasure_step\020\013\022\023\n\017eBackAlloc_step\020\014\022"
|
|
|
- "\022\n\016eBackWait_step\020\r\022\026\n\022eBackDispatch_ste"
|
|
|
- "p\020\016\022\024\n\020eBackSearch_step\020\017\022\021\n\reBackComple"
|
|
|
- "te\020\020*C\n\nStep_statu\022\014\n\010eWaiting\020\000\022\014\n\010eWor"
|
|
|
- "king\020\001\022\n\n\006eError\020\002\022\r\n\teFinished\020\003"
|
|
|
+ "\002\022\017\n\007license\030\004 \001(\t\"\271\004\n\016Parkspace_info\022\035\n"
|
|
|
+ "\025parkingspace_index_id\030\001 \001(\005\0222\n\021parkings"
|
|
|
+ "pace_type\030\002 \001(\0162\027.message.Parkspace_type"
|
|
|
+ "\022\034\n\024parkingspace_unit_id\030\003 \001(\005\022\034\n\024parkin"
|
|
|
+ "gspace_room_id\030\004 \001(\005\0222\n\026parkingspace_dir"
|
|
|
+ "ection\030\005 \001(\0162\022.message.Direction\022\035\n\025park"
|
|
|
+ "ingspace_floor_id\030\006 \001(\005\022\032\n\022parkingspace_"
|
|
|
+ "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.mes"
|
|
|
+ "sage.Car_info\022\022\n\nentry_time\030\013 \001(\t\022\022\n\nlea"
|
|
|
+ "ve_time\030\014 \001(\t\022/\n\016parkspace_path\030\r \001(\0162\027."
|
|
|
+ "message.Parkspace_path\022\032\n\022path_estimate_"
|
|
|
+ "time\030\016 \001(\002\022:\n\027parkspace_status_target\030\017 "
|
|
|
+ "\001(\0162\031.message.Parkspace_status*\317\007\n\014Messa"
|
|
|
+ "ge_type\022\r\n\teBase_msg\020\000\022\020\n\014eCommand_msg\020\001"
|
|
|
+ "\022\026\n\022eLocate_status_msg\020\021\022\027\n\023eLocate_requ"
|
|
|
+ "est_msg\020\022\022\030\n\024eLocate_response_msg\020\023\022\030\n\024e"
|
|
|
+ "Dispatch_status_msg\020!\022\031\n\025eDispatch_reque"
|
|
|
+ "st_msg\020\"\022\032\n\026eDispatch_response_msg\020#\022$\n "
|
|
|
+ "eParkspace_allocation_status_msg\0201\022%\n!eP"
|
|
|
+ "arkspace_allocation_request_msg\0202\022&\n\"ePa"
|
|
|
+ "rkspace_allocation_response_msg\0203\022!\n\035ePa"
|
|
|
+ "rkspace_search_request_msg\0204\022\"\n\036eParkspa"
|
|
|
+ "ce_search_response_msg\0205\022\"\n\036eParkspace_r"
|
|
|
+ "elease_request_msg\0206\022#\n\037eParkspace_relea"
|
|
|
+ "se_response_msg\0207\022\'\n#eParkspace_force_up"
|
|
|
+ "date_request_msg\0208\022(\n$eParkspace_force_u"
|
|
|
+ "pdate_response_msg\0209\022(\n$eParkspace_confi"
|
|
|
+ "rm_alloc_request_msg\020:\022)\n%eParkspace_con"
|
|
|
+ "firm_alloc_response_msg\020;\022\"\n\036eParkspace_"
|
|
|
+ "allocation_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\034ePickup_command_response_msg\020D\022\037\n\032eSt"
|
|
|
+ "oring_process_statu_msg\020\220\001\022\037\n\032ePicking_p"
|
|
|
+ "rocess_statu_msg\020\221\001\022\"\n\035eCentral_controll"
|
|
|
+ "er_statu_msg\020\240\001\022#\n\036eEntrance_manual_oper"
|
|
|
+ "ation_msg\020\260\001\022\"\n\035eProcess_manual_operatio"
|
|
|
+ "n_msg\020\261\001*f\n\014Communicator\022\n\n\006eEmpty\020\000\022\t\n\005"
|
|
|
+ "eMain\020\001\022\016\n\teTerminor\020\200\002\022\017\n\neParkspace\020\200\004"
|
|
|
+ "\022\016\n\teMeasurer\020\200\006\022\016\n\teDispatch\020\200\010**\n\014Proc"
|
|
|
+ "ess_type\022\014\n\010eStoring\020\001\022\014\n\010ePicking\020\002*e\n\013"
|
|
|
+ "Error_level\022\n\n\006NORMAL\020\000\022\024\n\020NEGLIGIBLE_ER"
|
|
|
+ "ROR\020\001\022\017\n\013MINOR_ERROR\020\002\022\017\n\013MAJOR_ERROR\020\003\022"
|
|
|
+ "\022\n\016CRITICAL_ERROR\020\004*\207\001\n\020Parkspace_status"
|
|
|
+ "\022\024\n\020eParkspace_empty\020\000\022\027\n\023eParkspace_occ"
|
|
|
+ "upied\020\001\022\027\n\023eParkspace_reserved\020\002\022\025\n\021ePar"
|
|
|
+ "kspace_locked\020\003\022\024\n\020eParkspace_error\020\004*(\n"
|
|
|
+ "\tDirection\022\014\n\010eForward\020\001\022\r\n\teBackward\020\002*"
|
|
|
+ "[\n\016Parkspace_path\022\020\n\014OPTIMAL_PATH\020\001\022\r\n\tL"
|
|
|
+ "EFT_PATH\020\002\022\016\n\nRIGHT_PATH\020\003\022\030\n\024TEMPORARY_"
|
|
|
+ "CACHE_PATH\020\004*R\n\016Parkspace_type\022\024\n\020MIN_PA"
|
|
|
+ "RKINGSPACE\020\001\022\024\n\020MID_PARKINGSPACE\020\002\022\024\n\020BI"
|
|
|
+ "G_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_s"
|
|
|
+ "tep\020\002\022\022\n\016eDispatch_step\020\003\022\021\n\reConfirm_st"
|
|
|
+ "ep\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\021eBac"
|
|
|
+ "kConfirm_step\020\t\022\026\n\022eBack_compare_step\020\n\022"
|
|
|
+ "\025\n\021eBackMeasure_step\020\013\022\023\n\017eBackAlloc_ste"
|
|
|
+ "p\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\reBackCo"
|
|
|
+ "mplete\020\020*C\n\nStep_statu\022\014\n\010eWaiting\020\000\022\014\n\010"
|
|
|
+ "eWorking\020\001\022\n\n\006eError\020\002\022\r\n\teFinished\020\003"
|
|
|
};
|
|
|
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
|
|
|
- descriptor, 2793);
|
|
|
+ descriptor, 3237);
|
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
|
|
|
"message_base.proto", &protobuf_RegisterTypes);
|
|
|
}
|
|
@@ -531,10 +548,41 @@ bool Direction_IsValid(int value) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-const ::google::protobuf::EnumDescriptor* Step_type_descriptor() {
|
|
|
+const ::google::protobuf::EnumDescriptor* Parkspace_path_descriptor() {
|
|
|
protobuf_message_5fbase_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
return protobuf_message_5fbase_2eproto::file_level_enum_descriptors[6];
|
|
|
}
|
|
|
+bool Parkspace_path_IsValid(int value) {
|
|
|
+ switch (value) {
|
|
|
+ case 1:
|
|
|
+ case 2:
|
|
|
+ case 3:
|
|
|
+ case 4:
|
|
|
+ return true;
|
|
|
+ default:
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+const ::google::protobuf::EnumDescriptor* Parkspace_type_descriptor() {
|
|
|
+ protobuf_message_5fbase_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
+ return protobuf_message_5fbase_2eproto::file_level_enum_descriptors[7];
|
|
|
+}
|
|
|
+bool Parkspace_type_IsValid(int value) {
|
|
|
+ switch (value) {
|
|
|
+ case 1:
|
|
|
+ case 2:
|
|
|
+ case 3:
|
|
|
+ return true;
|
|
|
+ default:
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+const ::google::protobuf::EnumDescriptor* Step_type_descriptor() {
|
|
|
+ protobuf_message_5fbase_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
+ return protobuf_message_5fbase_2eproto::file_level_enum_descriptors[8];
|
|
|
+}
|
|
|
bool Step_type_IsValid(int value) {
|
|
|
switch (value) {
|
|
|
case 0:
|
|
@@ -562,7 +610,7 @@ bool Step_type_IsValid(int value) {
|
|
|
|
|
|
const ::google::protobuf::EnumDescriptor* Step_statu_descriptor() {
|
|
|
protobuf_message_5fbase_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
- return protobuf_message_5fbase_2eproto::file_level_enum_descriptors[7];
|
|
|
+ return protobuf_message_5fbase_2eproto::file_level_enum_descriptors[9];
|
|
|
}
|
|
|
bool Step_statu_IsValid(int value) {
|
|
|
switch (value) {
|
|
@@ -2522,18 +2570,21 @@ 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::kBlockIdFieldNumber;
|
|
|
-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::kParkspacePathFieldNumber;
|
|
|
+const int Parkspace_info::kPathEstimateTimeFieldNumber;
|
|
|
+const int Parkspace_info::kParkspaceStatusTargetFieldNumber;
|
|
|
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
|
|
|
Parkspace_info::Parkspace_info()
|
|
@@ -2563,9 +2614,9 @@ Parkspace_info::Parkspace_info(const Parkspace_info& from)
|
|
|
} else {
|
|
|
car_info_ = NULL;
|
|
|
}
|
|
|
- ::memcpy(&parkspace_id_, &from.parkspace_id_,
|
|
|
- static_cast<size_t>(reinterpret_cast<char*>(&direction_) -
|
|
|
- reinterpret_cast<char*>(&parkspace_id_)) + sizeof(direction_));
|
|
|
+ ::memcpy(&parkingspace_index_id_, &from.parkingspace_index_id_,
|
|
|
+ static_cast<size_t>(reinterpret_cast<char*>(&parkingspace_direction_) -
|
|
|
+ reinterpret_cast<char*>(&parkingspace_index_id_)) + sizeof(parkingspace_direction_));
|
|
|
// @@protoc_insertion_point(copy_constructor:message.Parkspace_info)
|
|
|
}
|
|
|
|
|
@@ -2574,9 +2625,11 @@ void Parkspace_info::SharedCtor() {
|
|
|
entry_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
leave_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
::memset(&car_info_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&parkspace_status_) -
|
|
|
- reinterpret_cast<char*>(&car_info_)) + sizeof(parkspace_status_));
|
|
|
- direction_ = 1;
|
|
|
+ reinterpret_cast<char*>(&parkspace_status_target_) -
|
|
|
+ reinterpret_cast<char*>(&car_info_)) + sizeof(parkspace_status_target_));
|
|
|
+ parkspace_path_ = 1;
|
|
|
+ parkingspace_type_ = 1;
|
|
|
+ parkingspace_direction_ = 1;
|
|
|
}
|
|
|
|
|
|
Parkspace_info::~Parkspace_info() {
|
|
@@ -2635,15 +2688,17 @@ 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_));
|
|
|
- }
|
|
|
- if (cached_has_bits & 3840u) {
|
|
|
- ::memset(&width_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&parkspace_status_) -
|
|
|
- reinterpret_cast<char*>(&width_)) + sizeof(parkspace_status_));
|
|
|
- direction_ = 1;
|
|
|
+ ::memset(&parkingspace_index_id_, 0, static_cast<size_t>(
|
|
|
+ reinterpret_cast<char*>(&parkingspace_width_) -
|
|
|
+ reinterpret_cast<char*>(&parkingspace_index_id_)) + sizeof(parkingspace_width_));
|
|
|
+ }
|
|
|
+ if (cached_has_bits & 32512u) {
|
|
|
+ ::memset(&parkingspace_height_, 0, static_cast<size_t>(
|
|
|
+ reinterpret_cast<char*>(&parkspace_status_target_) -
|
|
|
+ reinterpret_cast<char*>(&parkingspace_height_)) + sizeof(parkspace_status_target_));
|
|
|
+ parkspace_path_ = 1;
|
|
|
+ parkingspace_type_ = 1;
|
|
|
+ parkingspace_direction_ = 1;
|
|
|
}
|
|
|
_has_bits_.Clear();
|
|
|
_internal_metadata_.Clear();
|
|
@@ -2659,125 +2714,131 @@ 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;
|
|
|
+ // 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 block_id = 2;
|
|
|
+ // 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_block_id();
|
|
|
+ int value;
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &block_id_)));
|
|
|
+ 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 int32 index = 3;
|
|
|
+ // optional int32 parkingspace_unit_id = 3;
|
|
|
case 3: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
|
|
|
- set_has_index();
|
|
|
+ set_has_parkingspace_unit_id();
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &index_)));
|
|
|
+ input, &parkingspace_unit_id_)));
|
|
|
} else {
|
|
|
goto handle_unusual;
|
|
|
}
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // optional .message.Direction direction = 4;
|
|
|
+ // optional int32 parkingspace_room_id = 4;
|
|
|
case 4: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
|
|
|
- int value;
|
|
|
+ set_has_parkingspace_room_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(
|
|
|
- 4, static_cast< ::google::protobuf::uint64>(value));
|
|
|
- }
|
|
|
+ ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
+ input, &parkingspace_room_id_)));
|
|
|
} else {
|
|
|
goto handle_unusual;
|
|
|
}
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // optional int32 floor = 5;
|
|
|
+ // optional .message.Direction parkingspace_direction = 5;
|
|
|
case 5: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
|
|
|
- set_has_floor();
|
|
|
+ int value;
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &floor_)));
|
|
|
+ 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 length = 6;
|
|
|
+ // 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_length();
|
|
|
+ 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, &length_)));
|
|
|
+ ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
+ input, &parkingspace_floor_id_)));
|
|
|
} else {
|
|
|
goto handle_unusual;
|
|
|
}
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // optional float width = 7;
|
|
|
+ // optional float parkingspace_width = 7;
|
|
|
case 7: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
static_cast< ::google::protobuf::uint8>(61u /* 61 & 0xFF */)) {
|
|
|
- set_has_width();
|
|
|
+ set_has_parkingspace_width();
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
|
- input, &width_)));
|
|
|
+ input, &parkingspace_width_)));
|
|
|
} else {
|
|
|
goto handle_unusual;
|
|
|
}
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // optional float height = 8;
|
|
|
+ // optional float parkingspace_height = 8;
|
|
|
case 8: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
static_cast< ::google::protobuf::uint8>(69u /* 69 & 0xFF */)) {
|
|
|
- set_has_height();
|
|
|
+ set_has_parkingspace_height();
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
|
- input, &height_)));
|
|
|
+ input, &parkingspace_height_)));
|
|
|
} else {
|
|
|
goto handle_unusual;
|
|
|
}
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // optional .message.Parkspace_status parkspace_status = 9;
|
|
|
+ // optional .message.Parkspace_status parkingspace_status = 9;
|
|
|
case 9: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
|
|
@@ -2786,7 +2847,7 @@ bool Parkspace_info::MergePartialFromCodedStream(
|
|
|
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(
|
|
|
9, static_cast< ::google::protobuf::uint64>(value));
|
|
@@ -2841,6 +2902,60 @@ bool Parkspace_info::MergePartialFromCodedStream(
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
+ // optional .message.Parkspace_path parkspace_path = 13;
|
|
|
+ case 13: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(104u /* 104 & 0xFF */)) {
|
|
|
+ int value;
|
|
|
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
+ int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
|
|
|
+ input, &value)));
|
|
|
+ if (::message::Parkspace_path_IsValid(value)) {
|
|
|
+ set_parkspace_path(static_cast< ::message::Parkspace_path >(value));
|
|
|
+ } else {
|
|
|
+ mutable_unknown_fields()->AddVarint(
|
|
|
+ 13, static_cast< ::google::protobuf::uint64>(value));
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // optional float path_estimate_time = 14;
|
|
|
+ case 14: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(117u /* 117 & 0xFF */)) {
|
|
|
+ set_has_path_estimate_time();
|
|
|
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
+ float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
|
|
|
+ input, &path_estimate_time_)));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // 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 */)) {
|
|
|
+ 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_target(static_cast< ::message::Parkspace_status >(value));
|
|
|
+ } else {
|
|
|
+ mutable_unknown_fields()->AddVarint(
|
|
|
+ 15, static_cast< ::google::protobuf::uint64>(value));
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
default: {
|
|
|
handle_unusual:
|
|
|
if (tag == 0) {
|
|
@@ -2868,51 +2983,52 @@ void Parkspace_info::SerializeWithCachedSizes(
|
|
|
(void) cached_has_bits;
|
|
|
|
|
|
cached_has_bits = _has_bits_[0];
|
|
|
- // optional int32 parkspace_id = 1;
|
|
|
+ // 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 .message.Parkspace_type parkingspace_type = 2;
|
|
|
+ if (cached_has_bits & 0x00002000u) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
+ 2, this->parkingspace_type(), output);
|
|
|
}
|
|
|
|
|
|
- // optional int32 block_id = 2;
|
|
|
+ // optional int32 parkingspace_unit_id = 3;
|
|
|
if (cached_has_bits & 0x00000010u) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->block_id(), output);
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->parkingspace_unit_id(), output);
|
|
|
}
|
|
|
|
|
|
- // optional int32 index = 3;
|
|
|
+ // optional int32 parkingspace_room_id = 4;
|
|
|
if (cached_has_bits & 0x00000020u) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->parkingspace_room_id(), output);
|
|
|
}
|
|
|
|
|
|
- // optional .message.Direction direction = 4;
|
|
|
- if (cached_has_bits & 0x00000800u) {
|
|
|
+ // optional .message.Direction parkingspace_direction = 5;
|
|
|
+ if (cached_has_bits & 0x00004000u) {
|
|
|
::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
- 4, this->direction(), output);
|
|
|
+ 5, this->parkingspace_direction(), output);
|
|
|
}
|
|
|
|
|
|
- // optional int32 floor = 5;
|
|
|
+ // optional int32 parkingspace_floor_id = 6;
|
|
|
if (cached_has_bits & 0x00000040u) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->floor(), output);
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->parkingspace_floor_id(), output);
|
|
|
}
|
|
|
|
|
|
- // optional float length = 6;
|
|
|
+ // optional float parkingspace_width = 7;
|
|
|
if (cached_has_bits & 0x00000080u) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteFloat(6, this->length(), output);
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteFloat(7, this->parkingspace_width(), output);
|
|
|
}
|
|
|
|
|
|
- // optional float width = 7;
|
|
|
+ // optional float parkingspace_height = 8;
|
|
|
if (cached_has_bits & 0x00000100u) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteFloat(7, this->width(), output);
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteFloat(8, this->parkingspace_height(), output);
|
|
|
}
|
|
|
|
|
|
- // optional float height = 8;
|
|
|
+ // optional .message.Parkspace_status parkingspace_status = 9;
|
|
|
if (cached_has_bits & 0x00000200u) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteFloat(8, this->height(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // optional .message.Parkspace_status parkspace_status = 9;
|
|
|
- if (cached_has_bits & 0x00000400u) {
|
|
|
::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
- 9, this->parkspace_status(), output);
|
|
|
+ 9, this->parkingspace_status(), output);
|
|
|
}
|
|
|
|
|
|
// optional .message.Car_info car_info = 10;
|
|
@@ -2941,6 +3057,23 @@ void Parkspace_info::SerializeWithCachedSizes(
|
|
|
12, this->leave_time(), output);
|
|
|
}
|
|
|
|
|
|
+ // 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;
|
|
|
+ if (cached_has_bits & 0x00000400u) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteFloat(14, this->path_estimate_time(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // optional .message.Parkspace_status parkspace_status_target = 15;
|
|
|
+ if (cached_has_bits & 0x00000800u) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
+ 15, this->parkspace_status_target(), output);
|
|
|
+ }
|
|
|
+
|
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
_internal_metadata_.unknown_fields(), output);
|
|
@@ -2956,51 +3089,52 @@ void Parkspace_info::SerializeWithCachedSizes(
|
|
|
(void) cached_has_bits;
|
|
|
|
|
|
cached_has_bits = _has_bits_[0];
|
|
|
- // optional int32 parkspace_id = 1;
|
|
|
+ // 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 .message.Parkspace_type parkingspace_type = 2;
|
|
|
+ if (cached_has_bits & 0x00002000u) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
|
+ 2, this->parkingspace_type(), target);
|
|
|
}
|
|
|
|
|
|
- // optional int32 block_id = 2;
|
|
|
+ // optional int32 parkingspace_unit_id = 3;
|
|
|
if (cached_has_bits & 0x00000010u) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->block_id(), target);
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->parkingspace_unit_id(), target);
|
|
|
}
|
|
|
|
|
|
- // optional int32 index = 3;
|
|
|
+ // optional int32 parkingspace_room_id = 4;
|
|
|
if (cached_has_bits & 0x00000020u) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->parkingspace_room_id(), target);
|
|
|
}
|
|
|
|
|
|
- // optional .message.Direction direction = 4;
|
|
|
- if (cached_has_bits & 0x00000800u) {
|
|
|
+ // optional .message.Direction parkingspace_direction = 5;
|
|
|
+ if (cached_has_bits & 0x00004000u) {
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
|
- 4, this->direction(), target);
|
|
|
+ 5, this->parkingspace_direction(), target);
|
|
|
}
|
|
|
|
|
|
- // optional int32 floor = 5;
|
|
|
+ // optional int32 parkingspace_floor_id = 6;
|
|
|
if (cached_has_bits & 0x00000040u) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->floor(), target);
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->parkingspace_floor_id(), target);
|
|
|
}
|
|
|
|
|
|
- // optional float length = 6;
|
|
|
+ // optional float parkingspace_width = 7;
|
|
|
if (cached_has_bits & 0x00000080u) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(6, this->length(), target);
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(7, this->parkingspace_width(), target);
|
|
|
}
|
|
|
|
|
|
- // optional float width = 7;
|
|
|
+ // optional float parkingspace_height = 8;
|
|
|
if (cached_has_bits & 0x00000100u) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(7, this->width(), target);
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(8, this->parkingspace_height(), target);
|
|
|
}
|
|
|
|
|
|
- // optional float height = 8;
|
|
|
+ // optional .message.Parkspace_status parkingspace_status = 9;
|
|
|
if (cached_has_bits & 0x00000200u) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(8, this->height(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // optional .message.Parkspace_status parkspace_status = 9;
|
|
|
- if (cached_has_bits & 0x00000400u) {
|
|
|
target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
|
- 9, this->parkspace_status(), target);
|
|
|
+ 9, this->parkingspace_status(), target);
|
|
|
}
|
|
|
|
|
|
// optional .message.Car_info car_info = 10;
|
|
@@ -3032,6 +3166,23 @@ void Parkspace_info::SerializeWithCachedSizes(
|
|
|
12, this->leave_time(), target);
|
|
|
}
|
|
|
|
|
|
+ // 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;
|
|
|
+ if (cached_has_bits & 0x00000400u) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(14, this->path_estimate_time(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // optional .message.Parkspace_status parkspace_status_target = 15;
|
|
|
+ if (cached_has_bits & 0x00000800u) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
|
+ 15, this->parkspace_status_target(), target);
|
|
|
+ }
|
|
|
+
|
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
_internal_metadata_.unknown_fields(), target);
|
|
@@ -3071,61 +3222,79 @@ size_t Parkspace_info::ByteSizeLong() const {
|
|
|
*this->car_info_);
|
|
|
}
|
|
|
|
|
|
- // optional int32 parkspace_id = 1;
|
|
|
- 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 block_id = 2;
|
|
|
- if (has_block_id()) {
|
|
|
+ // optional int32 parkingspace_unit_id = 3;
|
|
|
+ if (has_parkingspace_unit_id()) {
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->block_id());
|
|
|
+ this->parkingspace_unit_id());
|
|
|
}
|
|
|
|
|
|
- // optional int32 index = 3;
|
|
|
- if (has_index()) {
|
|
|
+ // optional int32 parkingspace_room_id = 4;
|
|
|
+ if (has_parkingspace_room_id()) {
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->index());
|
|
|
+ this->parkingspace_room_id());
|
|
|
}
|
|
|
|
|
|
- // optional int32 floor = 5;
|
|
|
- if (has_floor()) {
|
|
|
+ // optional int32 parkingspace_floor_id = 6;
|
|
|
+ if (has_parkingspace_floor_id()) {
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->floor());
|
|
|
+ this->parkingspace_floor_id());
|
|
|
}
|
|
|
|
|
|
- // optional float length = 6;
|
|
|
- if (has_length()) {
|
|
|
+ // optional float parkingspace_width = 7;
|
|
|
+ if (has_parkingspace_width()) {
|
|
|
total_size += 1 + 4;
|
|
|
}
|
|
|
|
|
|
}
|
|
|
- if (_has_bits_[8 / 32] & 3840u) {
|
|
|
- // optional float width = 7;
|
|
|
- if (has_width()) {
|
|
|
+ if (_has_bits_[8 / 32] & 32512u) {
|
|
|
+ // optional float parkingspace_height = 8;
|
|
|
+ if (has_parkingspace_height()) {
|
|
|
total_size += 1 + 4;
|
|
|
}
|
|
|
|
|
|
- // optional float height = 8;
|
|
|
- if (has_height()) {
|
|
|
+ // optional .message.Parkspace_status parkingspace_status = 9;
|
|
|
+ if (has_parkingspace_status()) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::EnumSize(this->parkingspace_status());
|
|
|
+ }
|
|
|
+
|
|
|
+ // optional float path_estimate_time = 14;
|
|
|
+ if (has_path_estimate_time()) {
|
|
|
total_size += 1 + 4;
|
|
|
}
|
|
|
|
|
|
- // optional .message.Parkspace_status parkspace_status = 9;
|
|
|
- if (has_parkspace_status()) {
|
|
|
+ // optional .message.Parkspace_status parkspace_status_target = 15;
|
|
|
+ if (has_parkspace_status_target()) {
|
|
|
total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->parkspace_status());
|
|
|
+ ::google::protobuf::internal::WireFormatLite::EnumSize(this->parkspace_status_target());
|
|
|
}
|
|
|
|
|
|
- // optional .message.Direction direction = 4;
|
|
|
- if (has_direction()) {
|
|
|
+ // optional .message.Parkspace_path parkspace_path = 13;
|
|
|
+ if (has_parkspace_path()) {
|
|
|
total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->direction());
|
|
|
+ ::google::protobuf::internal::WireFormatLite::EnumSize(this->parkspace_path());
|
|
|
+ }
|
|
|
+
|
|
|
+ // optional .message.Parkspace_type parkingspace_type = 2;
|
|
|
+ if (has_parkingspace_type()) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::EnumSize(this->parkingspace_type());
|
|
|
+ }
|
|
|
+
|
|
|
+ // optional .message.Direction parkingspace_direction = 5;
|
|
|
+ if (has_parkingspace_direction()) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::EnumSize(this->parkingspace_direction());
|
|
|
}
|
|
|
|
|
|
}
|
|
@@ -3172,34 +3341,43 @@ 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) {
|
|
|
- block_id_ = from.block_id_;
|
|
|
+ parkingspace_unit_id_ = from.parkingspace_unit_id_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000020u) {
|
|
|
- index_ = from.index_;
|
|
|
+ parkingspace_room_id_ = from.parkingspace_room_id_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000040u) {
|
|
|
- floor_ = from.floor_;
|
|
|
+ parkingspace_floor_id_ = from.parkingspace_floor_id_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000080u) {
|
|
|
- length_ = from.length_;
|
|
|
+ parkingspace_width_ = from.parkingspace_width_;
|
|
|
}
|
|
|
_has_bits_[0] |= cached_has_bits;
|
|
|
}
|
|
|
- if (cached_has_bits & 3840u) {
|
|
|
+ if (cached_has_bits & 32512u) {
|
|
|
if (cached_has_bits & 0x00000100u) {
|
|
|
- width_ = from.width_;
|
|
|
+ parkingspace_height_ = from.parkingspace_height_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000200u) {
|
|
|
- height_ = from.height_;
|
|
|
+ parkingspace_status_ = from.parkingspace_status_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000400u) {
|
|
|
- parkspace_status_ = from.parkspace_status_;
|
|
|
+ path_estimate_time_ = from.path_estimate_time_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000800u) {
|
|
|
- direction_ = from.direction_;
|
|
|
+ parkspace_status_target_ = from.parkspace_status_target_;
|
|
|
+ }
|
|
|
+ if (cached_has_bits & 0x00001000u) {
|
|
|
+ parkspace_path_ = from.parkspace_path_;
|
|
|
+ }
|
|
|
+ if (cached_has_bits & 0x00002000u) {
|
|
|
+ parkingspace_type_ = from.parkingspace_type_;
|
|
|
+ }
|
|
|
+ if (cached_has_bits & 0x00004000u) {
|
|
|
+ parkingspace_direction_ = from.parkingspace_direction_;
|
|
|
}
|
|
|
_has_bits_[0] |= cached_has_bits;
|
|
|
}
|
|
@@ -3232,15 +3410,18 @@ 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(block_id_, other->block_id_);
|
|
|
- swap(index_, other->index_);
|
|
|
- swap(floor_, other->floor_);
|
|
|
- swap(length_, other->length_);
|
|
|
- swap(width_, other->width_);
|
|
|
- swap(height_, other->height_);
|
|
|
- swap(parkspace_status_, other->parkspace_status_);
|
|
|
- swap(direction_, other->direction_);
|
|
|
+ swap(parkingspace_index_id_, other->parkingspace_index_id_);
|
|
|
+ swap(parkingspace_unit_id_, other->parkingspace_unit_id_);
|
|
|
+ swap(parkingspace_room_id_, other->parkingspace_room_id_);
|
|
|
+ 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(path_estimate_time_, other->path_estimate_time_);
|
|
|
+ swap(parkspace_status_target_, other->parkspace_status_target_);
|
|
|
+ swap(parkspace_path_, other->parkspace_path_);
|
|
|
+ swap(parkingspace_type_, other->parkingspace_type_);
|
|
|
+ swap(parkingspace_direction_, other->parkingspace_direction_);
|
|
|
swap(_has_bits_[0], other->_has_bits_[0]);
|
|
|
_internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
swap(_cached_size_, other->_cached_size_);
|