|
@@ -20,6 +20,11 @@
|
|
|
#endif
|
|
|
// @@protoc_insertion_point(includes)
|
|
|
namespace message {
|
|
|
+class Entrance_statuDefaultTypeInternal {
|
|
|
+ public:
|
|
|
+ ::google::protobuf::internal::ExplicitlyConstructed<Entrance_statu>
|
|
|
+ _instance;
|
|
|
+} _Entrance_statu_default_instance_;
|
|
|
class Central_controller_statu_msgDefaultTypeInternal {
|
|
|
public:
|
|
|
::google::protobuf::internal::ExplicitlyConstructed<Central_controller_statu_msg>
|
|
@@ -37,6 +42,27 @@ class Process_manual_operation_msgDefaultTypeInternal {
|
|
|
} _Process_manual_operation_msg_default_instance_;
|
|
|
} // namespace message
|
|
|
namespace protobuf_central_5fcontrol_5fmessage_2eproto {
|
|
|
+void InitDefaultsEntrance_statuImpl() {
|
|
|
+ GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
+
|
|
|
+#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
|
+ ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
|
|
|
+#else
|
|
|
+ ::google::protobuf::internal::InitProtobufDefaults();
|
|
|
+#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
|
+ {
|
|
|
+ void* ptr = &::message::_Entrance_statu_default_instance_;
|
|
|
+ new (ptr) ::message::Entrance_statu();
|
|
|
+ ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
|
|
|
+ }
|
|
|
+ ::message::Entrance_statu::InitAsDefaultInstance();
|
|
|
+}
|
|
|
+
|
|
|
+void InitDefaultsEntrance_statu() {
|
|
|
+ static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
|
|
|
+ ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsEntrance_statuImpl);
|
|
|
+}
|
|
|
+
|
|
|
void InitDefaultsCentral_controller_statu_msgImpl() {
|
|
|
GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
|
|
@@ -46,6 +72,7 @@ void InitDefaultsCentral_controller_statu_msgImpl() {
|
|
|
::google::protobuf::internal::InitProtobufDefaults();
|
|
|
#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
|
protobuf_message_5fbase_2eproto::InitDefaultsBase_info();
|
|
|
+ protobuf_central_5fcontrol_5fmessage_2eproto::InitDefaultsEntrance_statu();
|
|
|
{
|
|
|
void* ptr = &::message::_Central_controller_statu_msg_default_instance_;
|
|
|
new (ptr) ::message::Central_controller_statu_msg();
|
|
@@ -103,10 +130,23 @@ void InitDefaultsProcess_manual_operation_msg() {
|
|
|
::google::protobuf::GoogleOnceInit(&once, &InitDefaultsProcess_manual_operation_msgImpl);
|
|
|
}
|
|
|
|
|
|
-::google::protobuf::Metadata file_level_metadata[3];
|
|
|
+::google::protobuf::Metadata file_level_metadata[4];
|
|
|
const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[2];
|
|
|
|
|
|
const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Entrance_statu, _has_bits_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Entrance_statu, _internal_metadata_),
|
|
|
+ ~0u, // no _extensions_
|
|
|
+ ~0u, // no _oneof_case_
|
|
|
+ ~0u, // no _weak_field_map_
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Entrance_statu, paused_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Entrance_statu, parkspace_statu_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Entrance_statu, measure_statu_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Entrance_statu, dispatch_statu_),
|
|
|
+ 0,
|
|
|
+ 1,
|
|
|
+ 2,
|
|
|
+ 3,
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Central_controller_statu_msg, _has_bits_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Central_controller_statu_msg, _internal_metadata_),
|
|
|
~0u, // no _extensions_
|
|
@@ -126,7 +166,7 @@ const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUT
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Entrance_manual_operation_msg, base_info_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Entrance_manual_operation_msg, terminal_id_),
|
|
|
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Entrance_manual_operation_msg, process_type_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Entrance_manual_operation_msg, entrance_statu_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::message::Entrance_manual_operation_msg, paused_),
|
|
|
0,
|
|
|
1,
|
|
|
3,
|
|
@@ -146,12 +186,14 @@ const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUT
|
|
|
3,
|
|
|
};
|
|
|
static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
- { 0, 8, sizeof(::message::Central_controller_statu_msg)},
|
|
|
- { 11, 20, sizeof(::message::Entrance_manual_operation_msg)},
|
|
|
- { 24, 33, sizeof(::message::Process_manual_operation_msg)},
|
|
|
+ { 0, 9, sizeof(::message::Entrance_statu)},
|
|
|
+ { 13, 21, sizeof(::message::Central_controller_statu_msg)},
|
|
|
+ { 24, 33, sizeof(::message::Entrance_manual_operation_msg)},
|
|
|
+ { 37, 46, sizeof(::message::Process_manual_operation_msg)},
|
|
|
};
|
|
|
|
|
|
static ::google::protobuf::Message const * const file_default_instances[] = {
|
|
|
+ reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Entrance_statu_default_instance_),
|
|
|
reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Central_controller_statu_msg_default_instance_),
|
|
|
reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Entrance_manual_operation_msg_default_instance_),
|
|
|
reinterpret_cast<const ::google::protobuf::Message*>(&::message::_Process_manual_operation_msg_default_instance_),
|
|
@@ -173,34 +215,38 @@ void protobuf_AssignDescriptorsOnce() {
|
|
|
void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
|
|
|
void protobuf_RegisterTypes(const ::std::string&) {
|
|
|
protobuf_AssignDescriptorsOnce();
|
|
|
- ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 3);
|
|
|
+ ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 4);
|
|
|
}
|
|
|
|
|
|
void AddDescriptorsImpl() {
|
|
|
InitDefaults();
|
|
|
static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
"\n\035central_control_message.proto\022\007message"
|
|
|
- "\032\022message_base.proto\"\263\001\n\034Central_control"
|
|
|
- "ler_statu_msg\022%\n\tbase_info\030\001 \002(\0132\022.messa"
|
|
|
- "ge.Base_info\0226\n\025entrance_statu_vector\030\002 "
|
|
|
- "\003(\0162\027.message.Entrance_statu\0224\n\023export_s"
|
|
|
- "tatu_vector\030\003 \003(\0162\027.message.Entrance_sta"
|
|
|
- "tu\"\271\001\n\035Entrance_manual_operation_msg\022%\n\t"
|
|
|
- "base_info\030\001 \002(\0132\022.message.Base_info\022\023\n\013t"
|
|
|
- "erminal_id\030\002 \002(\005\022+\n\014process_type\030\003 \002(\0162\025"
|
|
|
- ".message.Process_type\022/\n\016entrance_statu\030"
|
|
|
- "\004 \002(\0162\027.message.Entrance_statu\"\264\001\n\034Proce"
|
|
|
- "ss_manual_operation_msg\022%\n\tbase_info\030\001 \002"
|
|
|
- "(\0132\022.message.Base_info\022\017\n\007license\030\002 \002(\t\022"
|
|
|
- "%\n\tstep_type\030\003 \002(\0162\022.message.Step_type\0225"
|
|
|
- "\n\014operate_type\030\004 \002(\0162\037.message.Process_o"
|
|
|
- "peration_type*8\n\016Entrance_statu\022\013\n\007eEnab"
|
|
|
- "le\020\000\022\014\n\010eDisable\020\001\022\013\n\007ePaused\020\002*S\n\026Proce"
|
|
|
- "ss_operation_type\022\022\n\016eManual_cancel\020\000\022\021\n"
|
|
|
- "\reManual_retry\020\001\022\022\n\016eManual_ignore\020\002"
|
|
|
+ "\032\022message_base.proto\"\255\001\n\016Entrance_statu\022"
|
|
|
+ "\016\n\006paused\030\001 \002(\010\022.\n\017parkspace_statu\030\002 \001(\016"
|
|
|
+ "2\025.message.Module_statu\022,\n\rmeasure_statu"
|
|
|
+ "\030\003 \001(\0162\025.message.Module_statu\022-\n\016dispatc"
|
|
|
+ "h_statu\030\004 \001(\0162\025.message.Module_statu\"\263\001\n"
|
|
|
+ "\034Central_controller_statu_msg\022%\n\tbase_in"
|
|
|
+ "fo\030\001 \002(\0132\022.message.Base_info\0226\n\025entrance"
|
|
|
+ "_statu_vector\030\002 \003(\0132\027.message.Entrance_s"
|
|
|
+ "tatu\0224\n\023export_statu_vector\030\003 \003(\0132\027.mess"
|
|
|
+ "age.Entrance_statu\"\230\001\n\035Entrance_manual_o"
|
|
|
+ "peration_msg\022%\n\tbase_info\030\001 \002(\0132\022.messag"
|
|
|
+ "e.Base_info\022\023\n\013terminal_id\030\002 \002(\005\022+\n\014proc"
|
|
|
+ "ess_type\030\003 \002(\0162\025.message.Process_type\022\016\n"
|
|
|
+ "\006paused\030\004 \002(\010\"\264\001\n\034Process_manual_operati"
|
|
|
+ "on_msg\022%\n\tbase_info\030\001 \002(\0132\022.message.Base"
|
|
|
+ "_info\022\017\n\007license\030\002 \002(\t\022%\n\tstep_type\030\003 \002("
|
|
|
+ "\0162\022.message.Step_type\0225\n\014operate_type\030\004 "
|
|
|
+ "\002(\0162\037.message.Process_operation_type*S\n\026"
|
|
|
+ "Process_operation_type\022\022\n\016eManual_cancel"
|
|
|
+ "\020\000\022\021\n\reManual_retry\020\001\022\022\n\016eManual_ignore\020"
|
|
|
+ "\002*=\n\014Module_statu\022\016\n\neConnected\020\000\022\021\n\reDi"
|
|
|
+ "sconnected\020\001\022\n\n\006eFault\020\002"
|
|
|
};
|
|
|
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
|
|
|
- descriptor, 756);
|
|
|
+ descriptor, 904);
|
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
|
|
|
"central_control_message.proto", &protobuf_RegisterTypes);
|
|
|
::protobuf_message_5fbase_2eproto::AddDescriptors();
|
|
@@ -218,11 +264,11 @@ struct StaticDescriptorInitializer {
|
|
|
} static_descriptor_initializer;
|
|
|
} // namespace protobuf_central_5fcontrol_5fmessage_2eproto
|
|
|
namespace message {
|
|
|
-const ::google::protobuf::EnumDescriptor* Entrance_statu_descriptor() {
|
|
|
+const ::google::protobuf::EnumDescriptor* Process_operation_type_descriptor() {
|
|
|
protobuf_central_5fcontrol_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
return protobuf_central_5fcontrol_5fmessage_2eproto::file_level_enum_descriptors[0];
|
|
|
}
|
|
|
-bool Entrance_statu_IsValid(int value) {
|
|
|
+bool Process_operation_type_IsValid(int value) {
|
|
|
switch (value) {
|
|
|
case 0:
|
|
|
case 1:
|
|
@@ -233,11 +279,11 @@ bool Entrance_statu_IsValid(int value) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-const ::google::protobuf::EnumDescriptor* Process_operation_type_descriptor() {
|
|
|
+const ::google::protobuf::EnumDescriptor* Module_statu_descriptor() {
|
|
|
protobuf_central_5fcontrol_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
return protobuf_central_5fcontrol_5fmessage_2eproto::file_level_enum_descriptors[1];
|
|
|
}
|
|
|
-bool Process_operation_type_IsValid(int value) {
|
|
|
+bool Module_statu_IsValid(int value) {
|
|
|
switch (value) {
|
|
|
case 0:
|
|
|
case 1:
|
|
@@ -249,6 +295,391 @@ bool Process_operation_type_IsValid(int value) {
|
|
|
}
|
|
|
|
|
|
|
|
|
+// ===================================================================
|
|
|
+
|
|
|
+void Entrance_statu::InitAsDefaultInstance() {
|
|
|
+}
|
|
|
+#if !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
+const int Entrance_statu::kPausedFieldNumber;
|
|
|
+const int Entrance_statu::kParkspaceStatuFieldNumber;
|
|
|
+const int Entrance_statu::kMeasureStatuFieldNumber;
|
|
|
+const int Entrance_statu::kDispatchStatuFieldNumber;
|
|
|
+#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
+
|
|
|
+Entrance_statu::Entrance_statu()
|
|
|
+ : ::google::protobuf::Message(), _internal_metadata_(NULL) {
|
|
|
+ if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
|
|
|
+ ::protobuf_central_5fcontrol_5fmessage_2eproto::InitDefaultsEntrance_statu();
|
|
|
+ }
|
|
|
+ SharedCtor();
|
|
|
+ // @@protoc_insertion_point(constructor:message.Entrance_statu)
|
|
|
+}
|
|
|
+Entrance_statu::Entrance_statu(const Entrance_statu& from)
|
|
|
+ : ::google::protobuf::Message(),
|
|
|
+ _internal_metadata_(NULL),
|
|
|
+ _has_bits_(from._has_bits_),
|
|
|
+ _cached_size_(0) {
|
|
|
+ _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
+ ::memcpy(&paused_, &from.paused_,
|
|
|
+ static_cast<size_t>(reinterpret_cast<char*>(&dispatch_statu_) -
|
|
|
+ reinterpret_cast<char*>(&paused_)) + sizeof(dispatch_statu_));
|
|
|
+ // @@protoc_insertion_point(copy_constructor:message.Entrance_statu)
|
|
|
+}
|
|
|
+
|
|
|
+void Entrance_statu::SharedCtor() {
|
|
|
+ _cached_size_ = 0;
|
|
|
+ ::memset(&paused_, 0, static_cast<size_t>(
|
|
|
+ reinterpret_cast<char*>(&dispatch_statu_) -
|
|
|
+ reinterpret_cast<char*>(&paused_)) + sizeof(dispatch_statu_));
|
|
|
+}
|
|
|
+
|
|
|
+Entrance_statu::~Entrance_statu() {
|
|
|
+ // @@protoc_insertion_point(destructor:message.Entrance_statu)
|
|
|
+ SharedDtor();
|
|
|
+}
|
|
|
+
|
|
|
+void Entrance_statu::SharedDtor() {
|
|
|
+}
|
|
|
+
|
|
|
+void Entrance_statu::SetCachedSize(int size) const {
|
|
|
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
+ _cached_size_ = size;
|
|
|
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
+}
|
|
|
+const ::google::protobuf::Descriptor* Entrance_statu::descriptor() {
|
|
|
+ ::protobuf_central_5fcontrol_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
+ return ::protobuf_central_5fcontrol_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
|
|
|
+}
|
|
|
+
|
|
|
+const Entrance_statu& Entrance_statu::default_instance() {
|
|
|
+ ::protobuf_central_5fcontrol_5fmessage_2eproto::InitDefaultsEntrance_statu();
|
|
|
+ return *internal_default_instance();
|
|
|
+}
|
|
|
+
|
|
|
+Entrance_statu* Entrance_statu::New(::google::protobuf::Arena* arena) const {
|
|
|
+ Entrance_statu* n = new Entrance_statu;
|
|
|
+ if (arena != NULL) {
|
|
|
+ arena->Own(n);
|
|
|
+ }
|
|
|
+ return n;
|
|
|
+}
|
|
|
+
|
|
|
+void Entrance_statu::Clear() {
|
|
|
+// @@protoc_insertion_point(message_clear_start:message.Entrance_statu)
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ // Prevent compiler warnings about cached_has_bits being unused
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ cached_has_bits = _has_bits_[0];
|
|
|
+ if (cached_has_bits & 15u) {
|
|
|
+ ::memset(&paused_, 0, static_cast<size_t>(
|
|
|
+ reinterpret_cast<char*>(&dispatch_statu_) -
|
|
|
+ reinterpret_cast<char*>(&paused_)) + sizeof(dispatch_statu_));
|
|
|
+ }
|
|
|
+ _has_bits_.Clear();
|
|
|
+ _internal_metadata_.Clear();
|
|
|
+}
|
|
|
+
|
|
|
+bool Entrance_statu::MergePartialFromCodedStream(
|
|
|
+ ::google::protobuf::io::CodedInputStream* input) {
|
|
|
+#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
|
|
|
+ ::google::protobuf::uint32 tag;
|
|
|
+ // @@protoc_insertion_point(parse_start:message.Entrance_statu)
|
|
|
+ for (;;) {
|
|
|
+ ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
|
|
|
+ tag = p.first;
|
|
|
+ if (!p.second) goto handle_unusual;
|
|
|
+ switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
|
+ // required bool paused = 1;
|
|
|
+ case 1: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
|
|
|
+ set_has_paused();
|
|
|
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
+ bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
|
|
|
+ input, &paused_)));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // optional .message.Module_statu parkspace_statu = 2;
|
|
|
+ case 2: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
|
|
|
+ int value;
|
|
|
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
+ int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
|
|
|
+ input, &value)));
|
|
|
+ if (::message::Module_statu_IsValid(value)) {
|
|
|
+ set_parkspace_statu(static_cast< ::message::Module_statu >(value));
|
|
|
+ } else {
|
|
|
+ mutable_unknown_fields()->AddVarint(
|
|
|
+ 2, static_cast< ::google::protobuf::uint64>(value));
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // optional .message.Module_statu measure_statu = 3;
|
|
|
+ case 3: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
|
|
|
+ int value;
|
|
|
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
+ int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
|
|
|
+ input, &value)));
|
|
|
+ if (::message::Module_statu_IsValid(value)) {
|
|
|
+ set_measure_statu(static_cast< ::message::Module_statu >(value));
|
|
|
+ } else {
|
|
|
+ mutable_unknown_fields()->AddVarint(
|
|
|
+ 3, static_cast< ::google::protobuf::uint64>(value));
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // optional .message.Module_statu dispatch_statu = 4;
|
|
|
+ case 4: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
|
|
|
+ int value;
|
|
|
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
+ int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
|
|
|
+ input, &value)));
|
|
|
+ if (::message::Module_statu_IsValid(value)) {
|
|
|
+ set_dispatch_statu(static_cast< ::message::Module_statu >(value));
|
|
|
+ } else {
|
|
|
+ mutable_unknown_fields()->AddVarint(
|
|
|
+ 4, static_cast< ::google::protobuf::uint64>(value));
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ default: {
|
|
|
+ handle_unusual:
|
|
|
+ if (tag == 0) {
|
|
|
+ goto success;
|
|
|
+ }
|
|
|
+ DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
|
+ input, tag, _internal_metadata_.mutable_unknown_fields()));
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+success:
|
|
|
+ // @@protoc_insertion_point(parse_success:message.Entrance_statu)
|
|
|
+ return true;
|
|
|
+failure:
|
|
|
+ // @@protoc_insertion_point(parse_failure:message.Entrance_statu)
|
|
|
+ return false;
|
|
|
+#undef DO_
|
|
|
+}
|
|
|
+
|
|
|
+void Entrance_statu::SerializeWithCachedSizes(
|
|
|
+ ::google::protobuf::io::CodedOutputStream* output) const {
|
|
|
+ // @@protoc_insertion_point(serialize_start:message.Entrance_statu)
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ cached_has_bits = _has_bits_[0];
|
|
|
+ // required bool paused = 1;
|
|
|
+ if (cached_has_bits & 0x00000001u) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->paused(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // optional .message.Module_statu parkspace_statu = 2;
|
|
|
+ if (cached_has_bits & 0x00000002u) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
+ 2, this->parkspace_statu(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // optional .message.Module_statu measure_statu = 3;
|
|
|
+ if (cached_has_bits & 0x00000004u) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
+ 3, this->measure_statu(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // optional .message.Module_statu dispatch_statu = 4;
|
|
|
+ if (cached_has_bits & 0x00000008u) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
+ 4, this->dispatch_statu(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ if (_internal_metadata_.have_unknown_fields()) {
|
|
|
+ ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
+ _internal_metadata_.unknown_fields(), output);
|
|
|
+ }
|
|
|
+ // @@protoc_insertion_point(serialize_end:message.Entrance_statu)
|
|
|
+}
|
|
|
+
|
|
|
+::google::protobuf::uint8* Entrance_statu::InternalSerializeWithCachedSizesToArray(
|
|
|
+ bool deterministic, ::google::protobuf::uint8* target) const {
|
|
|
+ (void)deterministic; // Unused
|
|
|
+ // @@protoc_insertion_point(serialize_to_array_start:message.Entrance_statu)
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ cached_has_bits = _has_bits_[0];
|
|
|
+ // required bool paused = 1;
|
|
|
+ if (cached_has_bits & 0x00000001u) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->paused(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // optional .message.Module_statu parkspace_statu = 2;
|
|
|
+ if (cached_has_bits & 0x00000002u) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
|
+ 2, this->parkspace_statu(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // optional .message.Module_statu measure_statu = 3;
|
|
|
+ if (cached_has_bits & 0x00000004u) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
|
+ 3, this->measure_statu(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // optional .message.Module_statu dispatch_statu = 4;
|
|
|
+ if (cached_has_bits & 0x00000008u) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
|
+ 4, this->dispatch_statu(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ if (_internal_metadata_.have_unknown_fields()) {
|
|
|
+ target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
+ _internal_metadata_.unknown_fields(), target);
|
|
|
+ }
|
|
|
+ // @@protoc_insertion_point(serialize_to_array_end:message.Entrance_statu)
|
|
|
+ return target;
|
|
|
+}
|
|
|
+
|
|
|
+size_t Entrance_statu::ByteSizeLong() const {
|
|
|
+// @@protoc_insertion_point(message_byte_size_start:message.Entrance_statu)
|
|
|
+ size_t total_size = 0;
|
|
|
+
|
|
|
+ if (_internal_metadata_.have_unknown_fields()) {
|
|
|
+ total_size +=
|
|
|
+ ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
|
|
|
+ _internal_metadata_.unknown_fields());
|
|
|
+ }
|
|
|
+ // required bool paused = 1;
|
|
|
+ if (has_paused()) {
|
|
|
+ total_size += 1 + 1;
|
|
|
+ }
|
|
|
+ if (_has_bits_[0 / 32] & 14u) {
|
|
|
+ // optional .message.Module_statu parkspace_statu = 2;
|
|
|
+ if (has_parkspace_statu()) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::EnumSize(this->parkspace_statu());
|
|
|
+ }
|
|
|
+
|
|
|
+ // optional .message.Module_statu measure_statu = 3;
|
|
|
+ if (has_measure_statu()) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::EnumSize(this->measure_statu());
|
|
|
+ }
|
|
|
+
|
|
|
+ // optional .message.Module_statu dispatch_statu = 4;
|
|
|
+ if (has_dispatch_statu()) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::EnumSize(this->dispatch_statu());
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
|
|
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
+ _cached_size_ = cached_size;
|
|
|
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
+ return total_size;
|
|
|
+}
|
|
|
+
|
|
|
+void Entrance_statu::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
+// @@protoc_insertion_point(generalized_merge_from_start:message.Entrance_statu)
|
|
|
+ GOOGLE_DCHECK_NE(&from, this);
|
|
|
+ const Entrance_statu* source =
|
|
|
+ ::google::protobuf::internal::DynamicCastToGenerated<const Entrance_statu>(
|
|
|
+ &from);
|
|
|
+ if (source == NULL) {
|
|
|
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:message.Entrance_statu)
|
|
|
+ ::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
+ } else {
|
|
|
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:message.Entrance_statu)
|
|
|
+ MergeFrom(*source);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+void Entrance_statu::MergeFrom(const Entrance_statu& from) {
|
|
|
+// @@protoc_insertion_point(class_specific_merge_from_start:message.Entrance_statu)
|
|
|
+ GOOGLE_DCHECK_NE(&from, this);
|
|
|
+ _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ cached_has_bits = from._has_bits_[0];
|
|
|
+ if (cached_has_bits & 15u) {
|
|
|
+ if (cached_has_bits & 0x00000001u) {
|
|
|
+ paused_ = from.paused_;
|
|
|
+ }
|
|
|
+ if (cached_has_bits & 0x00000002u) {
|
|
|
+ parkspace_statu_ = from.parkspace_statu_;
|
|
|
+ }
|
|
|
+ if (cached_has_bits & 0x00000004u) {
|
|
|
+ measure_statu_ = from.measure_statu_;
|
|
|
+ }
|
|
|
+ if (cached_has_bits & 0x00000008u) {
|
|
|
+ dispatch_statu_ = from.dispatch_statu_;
|
|
|
+ }
|
|
|
+ _has_bits_[0] |= cached_has_bits;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+void Entrance_statu::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
+// @@protoc_insertion_point(generalized_copy_from_start:message.Entrance_statu)
|
|
|
+ if (&from == this) return;
|
|
|
+ Clear();
|
|
|
+ MergeFrom(from);
|
|
|
+}
|
|
|
+
|
|
|
+void Entrance_statu::CopyFrom(const Entrance_statu& from) {
|
|
|
+// @@protoc_insertion_point(class_specific_copy_from_start:message.Entrance_statu)
|
|
|
+ if (&from == this) return;
|
|
|
+ Clear();
|
|
|
+ MergeFrom(from);
|
|
|
+}
|
|
|
+
|
|
|
+bool Entrance_statu::IsInitialized() const {
|
|
|
+ if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
|
|
|
+ return true;
|
|
|
+}
|
|
|
+
|
|
|
+void Entrance_statu::Swap(Entrance_statu* other) {
|
|
|
+ if (other == this) return;
|
|
|
+ InternalSwap(other);
|
|
|
+}
|
|
|
+void Entrance_statu::InternalSwap(Entrance_statu* other) {
|
|
|
+ using std::swap;
|
|
|
+ swap(paused_, other->paused_);
|
|
|
+ swap(parkspace_statu_, other->parkspace_statu_);
|
|
|
+ swap(measure_statu_, other->measure_statu_);
|
|
|
+ swap(dispatch_statu_, other->dispatch_statu_);
|
|
|
+ swap(_has_bits_[0], other->_has_bits_[0]);
|
|
|
+ _internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
+ swap(_cached_size_, other->_cached_size_);
|
|
|
+}
|
|
|
+
|
|
|
+::google::protobuf::Metadata Entrance_statu::GetMetadata() const {
|
|
|
+ protobuf_central_5fcontrol_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
+ return ::protobuf_central_5fcontrol_5fmessage_2eproto::file_level_metadata[kIndexInFileMessages];
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
// ===================================================================
|
|
|
|
|
|
void Central_controller_statu_msg::InitAsDefaultInstance() {
|
|
@@ -368,26 +799,8 @@ bool Central_controller_statu_msg::MergePartialFromCodedStream(
|
|
|
// repeated .message.Entrance_statu entrance_statu_vector = 2;
|
|
|
case 2: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
|
|
|
- int value;
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
|
|
|
- input, &value)));
|
|
|
- if (::message::Entrance_statu_IsValid(value)) {
|
|
|
- add_entrance_statu_vector(static_cast< ::message::Entrance_statu >(value));
|
|
|
- } else {
|
|
|
- mutable_unknown_fields()->AddVarint(
|
|
|
- 2, static_cast< ::google::protobuf::uint64>(value));
|
|
|
- }
|
|
|
- } else if (
|
|
|
- static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
|
|
|
- DO_((::google::protobuf::internal::WireFormat::ReadPackedEnumPreserveUnknowns(
|
|
|
- input,
|
|
|
- 2,
|
|
|
- ::message::Entrance_statu_IsValid,
|
|
|
- mutable_unknown_fields(),
|
|
|
- this->mutable_entrance_statu_vector())));
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_entrance_statu_vector()));
|
|
|
} else {
|
|
|
goto handle_unusual;
|
|
|
}
|
|
@@ -397,26 +810,8 @@ bool Central_controller_statu_msg::MergePartialFromCodedStream(
|
|
|
// repeated .message.Entrance_statu export_statu_vector = 3;
|
|
|
case 3: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
|
|
|
- int value;
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
|
|
|
- input, &value)));
|
|
|
- if (::message::Entrance_statu_IsValid(value)) {
|
|
|
- add_export_statu_vector(static_cast< ::message::Entrance_statu >(value));
|
|
|
- } else {
|
|
|
- mutable_unknown_fields()->AddVarint(
|
|
|
- 3, static_cast< ::google::protobuf::uint64>(value));
|
|
|
- }
|
|
|
- } else if (
|
|
|
- static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
|
|
|
- DO_((::google::protobuf::internal::WireFormat::ReadPackedEnumPreserveUnknowns(
|
|
|
- input,
|
|
|
- 3,
|
|
|
- ::message::Entrance_statu_IsValid,
|
|
|
- mutable_unknown_fields(),
|
|
|
- this->mutable_export_statu_vector())));
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_export_statu_vector()));
|
|
|
} else {
|
|
|
goto handle_unusual;
|
|
|
}
|
|
@@ -457,15 +852,17 @@ void Central_controller_statu_msg::SerializeWithCachedSizes(
|
|
|
}
|
|
|
|
|
|
// repeated .message.Entrance_statu entrance_statu_vector = 2;
|
|
|
- for (int i = 0, n = this->entrance_statu_vector_size(); i < n; i++) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
- 2, this->entrance_statu_vector(i), output);
|
|
|
+ for (unsigned int i = 0,
|
|
|
+ n = static_cast<unsigned int>(this->entrance_statu_vector_size()); i < n; i++) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
|
+ 2, this->entrance_statu_vector(static_cast<int>(i)), output);
|
|
|
}
|
|
|
|
|
|
// repeated .message.Entrance_statu export_statu_vector = 3;
|
|
|
- for (int i = 0, n = this->export_statu_vector_size(); i < n; i++) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
- 3, this->export_statu_vector(i), output);
|
|
|
+ for (unsigned int i = 0,
|
|
|
+ n = static_cast<unsigned int>(this->export_statu_vector_size()); i < n; i++) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
|
+ 3, this->export_statu_vector(static_cast<int>(i)), output);
|
|
|
}
|
|
|
|
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
@@ -491,12 +888,20 @@ void Central_controller_statu_msg::SerializeWithCachedSizes(
|
|
|
}
|
|
|
|
|
|
// repeated .message.Entrance_statu entrance_statu_vector = 2;
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
|
- 2, this->entrance_statu_vector_, target);
|
|
|
+ for (unsigned int i = 0,
|
|
|
+ n = static_cast<unsigned int>(this->entrance_statu_vector_size()); i < n; i++) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::
|
|
|
+ InternalWriteMessageToArray(
|
|
|
+ 2, this->entrance_statu_vector(static_cast<int>(i)), deterministic, target);
|
|
|
+ }
|
|
|
|
|
|
// repeated .message.Entrance_statu export_statu_vector = 3;
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
|
- 3, this->export_statu_vector_, target);
|
|
|
+ for (unsigned int i = 0,
|
|
|
+ n = static_cast<unsigned int>(this->export_statu_vector_size()); i < n; i++) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::
|
|
|
+ InternalWriteMessageToArray(
|
|
|
+ 3, this->export_statu_vector(static_cast<int>(i)), deterministic, target);
|
|
|
+ }
|
|
|
|
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
@@ -523,22 +928,24 @@ size_t Central_controller_statu_msg::ByteSizeLong() const {
|
|
|
}
|
|
|
// repeated .message.Entrance_statu entrance_statu_vector = 2;
|
|
|
{
|
|
|
- size_t data_size = 0;
|
|
|
- unsigned int count = static_cast<unsigned int>(this->entrance_statu_vector_size());for (unsigned int i = 0; i < count; i++) {
|
|
|
- data_size += ::google::protobuf::internal::WireFormatLite::EnumSize(
|
|
|
- this->entrance_statu_vector(static_cast<int>(i)));
|
|
|
+ unsigned int count = static_cast<unsigned int>(this->entrance_statu_vector_size());
|
|
|
+ total_size += 1UL * count;
|
|
|
+ for (unsigned int i = 0; i < count; i++) {
|
|
|
+ total_size +=
|
|
|
+ ::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
+ this->entrance_statu_vector(static_cast<int>(i)));
|
|
|
}
|
|
|
- total_size += (1UL * count) + data_size;
|
|
|
}
|
|
|
|
|
|
// repeated .message.Entrance_statu export_statu_vector = 3;
|
|
|
{
|
|
|
- size_t data_size = 0;
|
|
|
- unsigned int count = static_cast<unsigned int>(this->export_statu_vector_size());for (unsigned int i = 0; i < count; i++) {
|
|
|
- data_size += ::google::protobuf::internal::WireFormatLite::EnumSize(
|
|
|
- this->export_statu_vector(static_cast<int>(i)));
|
|
|
+ unsigned int count = static_cast<unsigned int>(this->export_statu_vector_size());
|
|
|
+ total_size += 1UL * count;
|
|
|
+ for (unsigned int i = 0; i < count; i++) {
|
|
|
+ total_size +=
|
|
|
+ ::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
+ this->export_statu_vector(static_cast<int>(i)));
|
|
|
}
|
|
|
- total_size += (1UL * count) + data_size;
|
|
|
}
|
|
|
|
|
|
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
|
@@ -593,6 +1000,8 @@ void Central_controller_statu_msg::CopyFrom(const Central_controller_statu_msg&
|
|
|
|
|
|
bool Central_controller_statu_msg::IsInitialized() const {
|
|
|
if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
|
|
|
+ if (!::google::protobuf::internal::AllAreInitialized(this->entrance_statu_vector())) return false;
|
|
|
+ if (!::google::protobuf::internal::AllAreInitialized(this->export_statu_vector())) return false;
|
|
|
if (has_base_info()) {
|
|
|
if (!this->base_info_->IsInitialized()) return false;
|
|
|
}
|
|
@@ -633,7 +1042,7 @@ void Entrance_manual_operation_msg::clear_base_info() {
|
|
|
const int Entrance_manual_operation_msg::kBaseInfoFieldNumber;
|
|
|
const int Entrance_manual_operation_msg::kTerminalIdFieldNumber;
|
|
|
const int Entrance_manual_operation_msg::kProcessTypeFieldNumber;
|
|
|
-const int Entrance_manual_operation_msg::kEntranceStatuFieldNumber;
|
|
|
+const int Entrance_manual_operation_msg::kPausedFieldNumber;
|
|
|
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
|
|
|
Entrance_manual_operation_msg::Entrance_manual_operation_msg()
|
|
@@ -664,8 +1073,8 @@ Entrance_manual_operation_msg::Entrance_manual_operation_msg(const Entrance_manu
|
|
|
void Entrance_manual_operation_msg::SharedCtor() {
|
|
|
_cached_size_ = 0;
|
|
|
::memset(&base_info_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&entrance_statu_) -
|
|
|
- reinterpret_cast<char*>(&base_info_)) + sizeof(entrance_statu_));
|
|
|
+ reinterpret_cast<char*>(&paused_) -
|
|
|
+ reinterpret_cast<char*>(&base_info_)) + sizeof(paused_));
|
|
|
process_type_ = 1;
|
|
|
}
|
|
|
|
|
@@ -714,8 +1123,8 @@ void Entrance_manual_operation_msg::Clear() {
|
|
|
}
|
|
|
if (cached_has_bits & 14u) {
|
|
|
::memset(&terminal_id_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&entrance_statu_) -
|
|
|
- reinterpret_cast<char*>(&terminal_id_)) + sizeof(entrance_statu_));
|
|
|
+ reinterpret_cast<char*>(&paused_) -
|
|
|
+ reinterpret_cast<char*>(&terminal_id_)) + sizeof(paused_));
|
|
|
process_type_ = 1;
|
|
|
}
|
|
|
_has_bits_.Clear();
|
|
@@ -778,20 +1187,14 @@ bool Entrance_manual_operation_msg::MergePartialFromCodedStream(
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- // required .message.Entrance_statu entrance_statu = 4;
|
|
|
+ // required bool paused = 4;
|
|
|
case 4: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
|
|
|
- int value;
|
|
|
+ set_has_paused();
|
|
|
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
|
|
|
- input, &value)));
|
|
|
- if (::message::Entrance_statu_IsValid(value)) {
|
|
|
- set_entrance_statu(static_cast< ::message::Entrance_statu >(value));
|
|
|
- } else {
|
|
|
- mutable_unknown_fields()->AddVarint(
|
|
|
- 4, static_cast< ::google::protobuf::uint64>(value));
|
|
|
- }
|
|
|
+ bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
|
|
|
+ input, &paused_)));
|
|
|
} else {
|
|
|
goto handle_unusual;
|
|
|
}
|
|
@@ -842,10 +1245,9 @@ void Entrance_manual_operation_msg::SerializeWithCachedSizes(
|
|
|
3, this->process_type(), output);
|
|
|
}
|
|
|
|
|
|
- // required .message.Entrance_statu entrance_statu = 4;
|
|
|
+ // required bool paused = 4;
|
|
|
if (cached_has_bits & 0x00000004u) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
|
|
|
- 4, this->entrance_statu(), output);
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->paused(), output);
|
|
|
}
|
|
|
|
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
@@ -881,10 +1283,9 @@ void Entrance_manual_operation_msg::SerializeWithCachedSizes(
|
|
|
3, this->process_type(), target);
|
|
|
}
|
|
|
|
|
|
- // required .message.Entrance_statu entrance_statu = 4;
|
|
|
+ // required bool paused = 4;
|
|
|
if (cached_has_bits & 0x00000004u) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
|
|
|
- 4, this->entrance_statu(), target);
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->paused(), target);
|
|
|
}
|
|
|
|
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
@@ -913,10 +1314,9 @@ size_t Entrance_manual_operation_msg::RequiredFieldsByteSizeFallback() const {
|
|
|
this->terminal_id());
|
|
|
}
|
|
|
|
|
|
- if (has_entrance_statu()) {
|
|
|
- // required .message.Entrance_statu entrance_statu = 4;
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->entrance_statu());
|
|
|
+ if (has_paused()) {
|
|
|
+ // required bool paused = 4;
|
|
|
+ total_size += 1 + 1;
|
|
|
}
|
|
|
|
|
|
if (has_process_type()) {
|
|
@@ -947,9 +1347,8 @@ size_t Entrance_manual_operation_msg::ByteSizeLong() const {
|
|
|
::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
this->terminal_id());
|
|
|
|
|
|
- // required .message.Entrance_statu entrance_statu = 4;
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->entrance_statu());
|
|
|
+ // required bool paused = 4;
|
|
|
+ total_size += 1 + 1;
|
|
|
|
|
|
// required .message.Process_type process_type = 3;
|
|
|
total_size += 1 +
|
|
@@ -996,7 +1395,7 @@ void Entrance_manual_operation_msg::MergeFrom(const Entrance_manual_operation_ms
|
|
|
terminal_id_ = from.terminal_id_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000004u) {
|
|
|
- entrance_statu_ = from.entrance_statu_;
|
|
|
+ paused_ = from.paused_;
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000008u) {
|
|
|
process_type_ = from.process_type_;
|
|
@@ -1035,7 +1434,7 @@ void Entrance_manual_operation_msg::InternalSwap(Entrance_manual_operation_msg*
|
|
|
using std::swap;
|
|
|
swap(base_info_, other->base_info_);
|
|
|
swap(terminal_id_, other->terminal_id_);
|
|
|
- swap(entrance_statu_, other->entrance_statu_);
|
|
|
+ swap(paused_, other->paused_);
|
|
|
swap(process_type_, other->process_type_);
|
|
|
swap(_has_bits_[0], other->_has_bits_[0]);
|
|
|
_internal_metadata_.Swap(&other->_internal_metadata_);
|