|
@@ -38,7 +38,7 @@ namespace protobuf_dispatch_5fmessage_2eproto {
|
|
|
struct TableStruct {
|
|
|
static const ::google::protobuf::internal::ParseTableField entries[];
|
|
|
static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
|
|
|
- static const ::google::protobuf::internal::ParseTable schema[5];
|
|
|
+ static const ::google::protobuf::internal::ParseTable schema[6];
|
|
|
static const ::google::protobuf::internal::FieldMetadata field_metadata[];
|
|
|
static const ::google::protobuf::internal::SerializationTable serialization_table[];
|
|
|
static const ::google::protobuf::uint32 offsets[];
|
|
@@ -46,6 +46,8 @@ struct TableStruct {
|
|
|
void AddDescriptors();
|
|
|
void InitDefaultsDevice_positionImpl();
|
|
|
void InitDefaultsDevice_position();
|
|
|
+void InitDefaultsDispatch_manager_data_msgImpl();
|
|
|
+void InitDefaultsDispatch_manager_data_msg();
|
|
|
void InitDefaultsDispatch_manager_status_msgImpl();
|
|
|
void InitDefaultsDispatch_manager_status_msg();
|
|
|
void InitDefaultsDispatch_terminal_status_msgImpl();
|
|
@@ -56,6 +58,7 @@ void InitDefaultsDispatch_response_msgImpl();
|
|
|
void InitDefaultsDispatch_response_msg();
|
|
|
inline void InitDefaults() {
|
|
|
InitDefaultsDevice_position();
|
|
|
+ InitDefaultsDispatch_manager_data_msg();
|
|
|
InitDefaultsDispatch_manager_status_msg();
|
|
|
InitDefaultsDispatch_terminal_status_msg();
|
|
|
InitDefaultsDispatch_request_msg();
|
|
@@ -66,6 +69,9 @@ namespace message {
|
|
|
class Device_position;
|
|
|
class Device_positionDefaultTypeInternal;
|
|
|
extern Device_positionDefaultTypeInternal _Device_position_default_instance_;
|
|
|
+class Dispatch_manager_data_msg;
|
|
|
+class Dispatch_manager_data_msgDefaultTypeInternal;
|
|
|
+extern Dispatch_manager_data_msgDefaultTypeInternal _Dispatch_manager_data_msg_default_instance_;
|
|
|
class Dispatch_manager_status_msg;
|
|
|
class Dispatch_manager_status_msgDefaultTypeInternal;
|
|
|
extern Dispatch_manager_status_msgDefaultTypeInternal _Dispatch_manager_status_msg_default_instance_;
|
|
@@ -252,6 +258,27 @@ inline bool Dispatch_motion_direction_Parse(
|
|
|
return ::google::protobuf::internal::ParseNamedEnum<Dispatch_motion_direction>(
|
|
|
Dispatch_motion_direction_descriptor(), name, value);
|
|
|
}
|
|
|
+enum Dispatch_device_status {
|
|
|
+ DISPATCH_DEVICE_UNKNOW = 0,
|
|
|
+ DISPATCH_DEVICE_READY = 1,
|
|
|
+ DISPATCH_DEVICE_BUSY = 2,
|
|
|
+ DISPATCH_DEVICE_FAULT = 10
|
|
|
+};
|
|
|
+bool Dispatch_device_status_IsValid(int value);
|
|
|
+const Dispatch_device_status Dispatch_device_status_MIN = DISPATCH_DEVICE_UNKNOW;
|
|
|
+const Dispatch_device_status Dispatch_device_status_MAX = DISPATCH_DEVICE_FAULT;
|
|
|
+const int Dispatch_device_status_ARRAYSIZE = Dispatch_device_status_MAX + 1;
|
|
|
+
|
|
|
+const ::google::protobuf::EnumDescriptor* Dispatch_device_status_descriptor();
|
|
|
+inline const ::std::string& Dispatch_device_status_Name(Dispatch_device_status value) {
|
|
|
+ return ::google::protobuf::internal::NameOfEnum(
|
|
|
+ Dispatch_device_status_descriptor(), value);
|
|
|
+}
|
|
|
+inline bool Dispatch_device_status_Parse(
|
|
|
+ const ::std::string& name, Dispatch_device_status* value) {
|
|
|
+ return ::google::protobuf::internal::ParseNamedEnum<Dispatch_device_status>(
|
|
|
+ Dispatch_device_status_descriptor(), name, value);
|
|
|
+}
|
|
|
// ===================================================================
|
|
|
|
|
|
class Device_position : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Device_position) */ {
|
|
@@ -387,6 +414,106 @@ class Device_position : public ::google::protobuf::Message /* @@protoc_insertion
|
|
|
};
|
|
|
// -------------------------------------------------------------------
|
|
|
|
|
|
+class Dispatch_manager_data_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Dispatch_manager_data_msg) */ {
|
|
|
+ public:
|
|
|
+ Dispatch_manager_data_msg();
|
|
|
+ virtual ~Dispatch_manager_data_msg();
|
|
|
+
|
|
|
+ Dispatch_manager_data_msg(const Dispatch_manager_data_msg& from);
|
|
|
+
|
|
|
+ inline Dispatch_manager_data_msg& operator=(const Dispatch_manager_data_msg& from) {
|
|
|
+ CopyFrom(from);
|
|
|
+ return *this;
|
|
|
+ }
|
|
|
+ #if LANG_CXX11
|
|
|
+ Dispatch_manager_data_msg(Dispatch_manager_data_msg&& from) noexcept
|
|
|
+ : Dispatch_manager_data_msg() {
|
|
|
+ *this = ::std::move(from);
|
|
|
+ }
|
|
|
+
|
|
|
+ inline Dispatch_manager_data_msg& operator=(Dispatch_manager_data_msg&& from) noexcept {
|
|
|
+ if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
|
+ if (this != &from) InternalSwap(&from);
|
|
|
+ } else {
|
|
|
+ CopyFrom(from);
|
|
|
+ }
|
|
|
+ return *this;
|
|
|
+ }
|
|
|
+ #endif
|
|
|
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
|
|
|
+ return _internal_metadata_.unknown_fields();
|
|
|
+ }
|
|
|
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
|
|
|
+ return _internal_metadata_.mutable_unknown_fields();
|
|
|
+ }
|
|
|
+
|
|
|
+ static const ::google::protobuf::Descriptor* descriptor();
|
|
|
+ static const Dispatch_manager_data_msg& default_instance();
|
|
|
+
|
|
|
+ static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
|
+ static inline const Dispatch_manager_data_msg* internal_default_instance() {
|
|
|
+ return reinterpret_cast<const Dispatch_manager_data_msg*>(
|
|
|
+ &_Dispatch_manager_data_msg_default_instance_);
|
|
|
+ }
|
|
|
+ static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
|
+ 1;
|
|
|
+
|
|
|
+ void Swap(Dispatch_manager_data_msg* other);
|
|
|
+ friend void swap(Dispatch_manager_data_msg& a, Dispatch_manager_data_msg& b) {
|
|
|
+ a.Swap(&b);
|
|
|
+ }
|
|
|
+
|
|
|
+ // implements Message ----------------------------------------------
|
|
|
+
|
|
|
+ inline Dispatch_manager_data_msg* New() const PROTOBUF_FINAL { return New(NULL); }
|
|
|
+
|
|
|
+ Dispatch_manager_data_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
|
+ void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
|
|
|
+ void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
|
|
|
+ void CopyFrom(const Dispatch_manager_data_msg& from);
|
|
|
+ void MergeFrom(const Dispatch_manager_data_msg& from);
|
|
|
+ void Clear() PROTOBUF_FINAL;
|
|
|
+ bool IsInitialized() const PROTOBUF_FINAL;
|
|
|
+
|
|
|
+ size_t ByteSizeLong() const PROTOBUF_FINAL;
|
|
|
+ bool MergePartialFromCodedStream(
|
|
|
+ ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
|
|
+ void SerializeWithCachedSizes(
|
|
|
+ ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
|
|
+ ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
|
|
+ bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
|
|
|
+ int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
|
|
+ private:
|
|
|
+ void SharedCtor();
|
|
|
+ void SharedDtor();
|
|
|
+ void SetCachedSize(int size) const PROTOBUF_FINAL;
|
|
|
+ void InternalSwap(Dispatch_manager_data_msg* other);
|
|
|
+ private:
|
|
|
+ inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
|
+ return NULL;
|
|
|
+ }
|
|
|
+ inline void* MaybeArenaPtr() const {
|
|
|
+ return NULL;
|
|
|
+ }
|
|
|
+ public:
|
|
|
+
|
|
|
+ ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
|
|
|
+
|
|
|
+ // nested types ----------------------------------------------------
|
|
|
+
|
|
|
+ // accessors -------------------------------------------------------
|
|
|
+
|
|
|
+ // @@protoc_insertion_point(class_scope:message.Dispatch_manager_data_msg)
|
|
|
+ private:
|
|
|
+
|
|
|
+ ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
|
+ ::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
|
+ mutable int _cached_size_;
|
|
|
+ friend struct ::protobuf_dispatch_5fmessage_2eproto::TableStruct;
|
|
|
+ friend void ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsDispatch_manager_data_msgImpl();
|
|
|
+};
|
|
|
+// -------------------------------------------------------------------
|
|
|
+
|
|
|
class Dispatch_manager_status_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Dispatch_manager_status_msg) */ {
|
|
|
public:
|
|
|
Dispatch_manager_status_msg();
|
|
@@ -429,7 +556,7 @@ class Dispatch_manager_status_msg : public ::google::protobuf::Message /* @@prot
|
|
|
&_Dispatch_manager_status_msg_default_instance_);
|
|
|
}
|
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
|
- 1;
|
|
|
+ 2;
|
|
|
|
|
|
void Swap(Dispatch_manager_status_msg* other);
|
|
|
friend void swap(Dispatch_manager_status_msg& a, Dispatch_manager_status_msg& b) {
|
|
@@ -476,46 +603,6 @@ class Dispatch_manager_status_msg : public ::google::protobuf::Message /* @@prot
|
|
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
|
|
- // repeated .message.Catcher_status catcher_status = 4;
|
|
|
- int catcher_status_size() const;
|
|
|
- void clear_catcher_status();
|
|
|
- static const int kCatcherStatusFieldNumber = 4;
|
|
|
- ::message::Catcher_status catcher_status(int index) const;
|
|
|
- void set_catcher_status(int index, ::message::Catcher_status value);
|
|
|
- void add_catcher_status(::message::Catcher_status value);
|
|
|
- const ::google::protobuf::RepeatedField<int>& catcher_status() const;
|
|
|
- ::google::protobuf::RepeatedField<int>* mutable_catcher_status();
|
|
|
-
|
|
|
- // repeated .message.Carrier_status carrier_status = 5;
|
|
|
- int carrier_status_size() const;
|
|
|
- void clear_carrier_status();
|
|
|
- static const int kCarrierStatusFieldNumber = 5;
|
|
|
- ::message::Carrier_status carrier_status(int index) const;
|
|
|
- void set_carrier_status(int index, ::message::Carrier_status value);
|
|
|
- void add_carrier_status(::message::Carrier_status value);
|
|
|
- const ::google::protobuf::RepeatedField<int>& carrier_status() const;
|
|
|
- ::google::protobuf::RepeatedField<int>* mutable_carrier_status();
|
|
|
-
|
|
|
- // repeated .message.Elevator_status elevator_status = 6;
|
|
|
- int elevator_status_size() const;
|
|
|
- void clear_elevator_status();
|
|
|
- static const int kElevatorStatusFieldNumber = 6;
|
|
|
- ::message::Elevator_status elevator_status(int index) const;
|
|
|
- void set_elevator_status(int index, ::message::Elevator_status value);
|
|
|
- void add_elevator_status(::message::Elevator_status value);
|
|
|
- const ::google::protobuf::RepeatedField<int>& elevator_status() const;
|
|
|
- ::google::protobuf::RepeatedField<int>* mutable_elevator_status();
|
|
|
-
|
|
|
- // repeated .message.Passageway_status passageway_status = 7;
|
|
|
- int passageway_status_size() const;
|
|
|
- void clear_passageway_status();
|
|
|
- static const int kPassagewayStatusFieldNumber = 7;
|
|
|
- ::message::Passageway_status passageway_status(int index) const;
|
|
|
- void set_passageway_status(int index, ::message::Passageway_status value);
|
|
|
- void add_passageway_status(::message::Passageway_status value);
|
|
|
- const ::google::protobuf::RepeatedField<int>& passageway_status() const;
|
|
|
- ::google::protobuf::RepeatedField<int>* mutable_passageway_status();
|
|
|
-
|
|
|
// required .message.Base_info base_info = 1;
|
|
|
bool has_base_info() const;
|
|
|
void clear_base_info();
|
|
@@ -539,6 +626,97 @@ class Dispatch_manager_status_msg : public ::google::protobuf::Message /* @@prot
|
|
|
::message::Dispatch_manager_status dispatch_manager_status() const;
|
|
|
void set_dispatch_manager_status(::message::Dispatch_manager_status value);
|
|
|
|
|
|
+ // optional .message.Dispatch_device_status robot_1_status = 4;
|
|
|
+ bool has_robot_1_status() const;
|
|
|
+ void clear_robot_1_status();
|
|
|
+ static const int kRobot1StatusFieldNumber = 4;
|
|
|
+ ::message::Dispatch_device_status robot_1_status() const;
|
|
|
+ void set_robot_1_status(::message::Dispatch_device_status value);
|
|
|
+
|
|
|
+ // optional .message.Dispatch_device_status robot_2_status = 5;
|
|
|
+ bool has_robot_2_status() const;
|
|
|
+ void clear_robot_2_status();
|
|
|
+ static const int kRobot2StatusFieldNumber = 5;
|
|
|
+ ::message::Dispatch_device_status robot_2_status() const;
|
|
|
+ void set_robot_2_status(::message::Dispatch_device_status value);
|
|
|
+
|
|
|
+ // optional .message.Dispatch_device_status carrier_1_status = 6;
|
|
|
+ bool has_carrier_1_status() const;
|
|
|
+ void clear_carrier_1_status();
|
|
|
+ static const int kCarrier1StatusFieldNumber = 6;
|
|
|
+ ::message::Dispatch_device_status carrier_1_status() const;
|
|
|
+ void set_carrier_1_status(::message::Dispatch_device_status value);
|
|
|
+
|
|
|
+ // optional .message.Dispatch_device_status carrier_2_status = 7;
|
|
|
+ bool has_carrier_2_status() const;
|
|
|
+ void clear_carrier_2_status();
|
|
|
+ static const int kCarrier2StatusFieldNumber = 7;
|
|
|
+ ::message::Dispatch_device_status carrier_2_status() const;
|
|
|
+ void set_carrier_2_status(::message::Dispatch_device_status value);
|
|
|
+
|
|
|
+ // optional .message.Dispatch_device_status carrier_3_status = 8;
|
|
|
+ bool has_carrier_3_status() const;
|
|
|
+ void clear_carrier_3_status();
|
|
|
+ static const int kCarrier3StatusFieldNumber = 8;
|
|
|
+ ::message::Dispatch_device_status carrier_3_status() const;
|
|
|
+ void set_carrier_3_status(::message::Dispatch_device_status value);
|
|
|
+
|
|
|
+ // optional .message.Dispatch_device_status passageway_0_status = 9;
|
|
|
+ bool has_passageway_0_status() const;
|
|
|
+ void clear_passageway_0_status();
|
|
|
+ static const int kPassageway0StatusFieldNumber = 9;
|
|
|
+ ::message::Dispatch_device_status passageway_0_status() const;
|
|
|
+ void set_passageway_0_status(::message::Dispatch_device_status value);
|
|
|
+
|
|
|
+ // optional .message.Dispatch_device_status passageway_1_status = 10;
|
|
|
+ bool has_passageway_1_status() const;
|
|
|
+ void clear_passageway_1_status();
|
|
|
+ static const int kPassageway1StatusFieldNumber = 10;
|
|
|
+ ::message::Dispatch_device_status passageway_1_status() const;
|
|
|
+ void set_passageway_1_status(::message::Dispatch_device_status value);
|
|
|
+
|
|
|
+ // optional .message.Dispatch_device_status passageway_2_status = 11;
|
|
|
+ bool has_passageway_2_status() const;
|
|
|
+ void clear_passageway_2_status();
|
|
|
+ static const int kPassageway2StatusFieldNumber = 11;
|
|
|
+ ::message::Dispatch_device_status passageway_2_status() const;
|
|
|
+ void set_passageway_2_status(::message::Dispatch_device_status value);
|
|
|
+
|
|
|
+ // optional .message.Dispatch_device_status passageway_3_status = 12;
|
|
|
+ bool has_passageway_3_status() const;
|
|
|
+ void clear_passageway_3_status();
|
|
|
+ static const int kPassageway3StatusFieldNumber = 12;
|
|
|
+ ::message::Dispatch_device_status passageway_3_status() const;
|
|
|
+ void set_passageway_3_status(::message::Dispatch_device_status value);
|
|
|
+
|
|
|
+ // optional .message.Dispatch_device_status passageway_4_status = 13;
|
|
|
+ bool has_passageway_4_status() const;
|
|
|
+ void clear_passageway_4_status();
|
|
|
+ static const int kPassageway4StatusFieldNumber = 13;
|
|
|
+ ::message::Dispatch_device_status passageway_4_status() const;
|
|
|
+ void set_passageway_4_status(::message::Dispatch_device_status value);
|
|
|
+
|
|
|
+ // optional .message.Dispatch_device_status passageway_5_status = 14;
|
|
|
+ bool has_passageway_5_status() const;
|
|
|
+ void clear_passageway_5_status();
|
|
|
+ static const int kPassageway5StatusFieldNumber = 14;
|
|
|
+ ::message::Dispatch_device_status passageway_5_status() const;
|
|
|
+ void set_passageway_5_status(::message::Dispatch_device_status value);
|
|
|
+
|
|
|
+ // optional .message.Dispatch_device_status passageway_6_status = 15;
|
|
|
+ bool has_passageway_6_status() const;
|
|
|
+ void clear_passageway_6_status();
|
|
|
+ static const int kPassageway6StatusFieldNumber = 15;
|
|
|
+ ::message::Dispatch_device_status passageway_6_status() const;
|
|
|
+ void set_passageway_6_status(::message::Dispatch_device_status value);
|
|
|
+
|
|
|
+ // optional .message.Dispatch_device_status passageway_7_status = 16;
|
|
|
+ bool has_passageway_7_status() const;
|
|
|
+ void clear_passageway_7_status();
|
|
|
+ static const int kPassageway7StatusFieldNumber = 16;
|
|
|
+ ::message::Dispatch_device_status passageway_7_status() const;
|
|
|
+ void set_passageway_7_status(::message::Dispatch_device_status value);
|
|
|
+
|
|
|
// @@protoc_insertion_point(class_scope:message.Dispatch_manager_status_msg)
|
|
|
private:
|
|
|
void set_has_base_info();
|
|
@@ -547,6 +725,32 @@ class Dispatch_manager_status_msg : public ::google::protobuf::Message /* @@prot
|
|
|
void clear_has_dispatch_id();
|
|
|
void set_has_dispatch_manager_status();
|
|
|
void clear_has_dispatch_manager_status();
|
|
|
+ void set_has_robot_1_status();
|
|
|
+ void clear_has_robot_1_status();
|
|
|
+ void set_has_robot_2_status();
|
|
|
+ void clear_has_robot_2_status();
|
|
|
+ void set_has_carrier_1_status();
|
|
|
+ void clear_has_carrier_1_status();
|
|
|
+ void set_has_carrier_2_status();
|
|
|
+ void clear_has_carrier_2_status();
|
|
|
+ void set_has_carrier_3_status();
|
|
|
+ void clear_has_carrier_3_status();
|
|
|
+ void set_has_passageway_0_status();
|
|
|
+ void clear_has_passageway_0_status();
|
|
|
+ void set_has_passageway_1_status();
|
|
|
+ void clear_has_passageway_1_status();
|
|
|
+ void set_has_passageway_2_status();
|
|
|
+ void clear_has_passageway_2_status();
|
|
|
+ void set_has_passageway_3_status();
|
|
|
+ void clear_has_passageway_3_status();
|
|
|
+ void set_has_passageway_4_status();
|
|
|
+ void clear_has_passageway_4_status();
|
|
|
+ void set_has_passageway_5_status();
|
|
|
+ void clear_has_passageway_5_status();
|
|
|
+ void set_has_passageway_6_status();
|
|
|
+ void clear_has_passageway_6_status();
|
|
|
+ void set_has_passageway_7_status();
|
|
|
+ void clear_has_passageway_7_status();
|
|
|
|
|
|
// helper for ByteSizeLong()
|
|
|
size_t RequiredFieldsByteSizeFallback() const;
|
|
@@ -554,13 +758,22 @@ class Dispatch_manager_status_msg : public ::google::protobuf::Message /* @@prot
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
|
|
::google::protobuf::internal::HasBits<1> _has_bits_;
|
|
|
mutable int _cached_size_;
|
|
|
- ::google::protobuf::RepeatedField<int> catcher_status_;
|
|
|
- ::google::protobuf::RepeatedField<int> carrier_status_;
|
|
|
- ::google::protobuf::RepeatedField<int> elevator_status_;
|
|
|
- ::google::protobuf::RepeatedField<int> passageway_status_;
|
|
|
::message::Base_info* base_info_;
|
|
|
::google::protobuf::int32 dispatch_id_;
|
|
|
int dispatch_manager_status_;
|
|
|
+ int robot_1_status_;
|
|
|
+ int robot_2_status_;
|
|
|
+ int carrier_1_status_;
|
|
|
+ int carrier_2_status_;
|
|
|
+ int carrier_3_status_;
|
|
|
+ int passageway_0_status_;
|
|
|
+ int passageway_1_status_;
|
|
|
+ int passageway_2_status_;
|
|
|
+ int passageway_3_status_;
|
|
|
+ int passageway_4_status_;
|
|
|
+ int passageway_5_status_;
|
|
|
+ int passageway_6_status_;
|
|
|
+ int passageway_7_status_;
|
|
|
friend struct ::protobuf_dispatch_5fmessage_2eproto::TableStruct;
|
|
|
friend void ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsDispatch_manager_status_msgImpl();
|
|
|
};
|
|
@@ -608,7 +821,7 @@ class Dispatch_terminal_status_msg : public ::google::protobuf::Message /* @@pro
|
|
|
&_Dispatch_terminal_status_msg_default_instance_);
|
|
|
}
|
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
|
- 2;
|
|
|
+ 3;
|
|
|
|
|
|
void Swap(Dispatch_terminal_status_msg* other);
|
|
|
friend void swap(Dispatch_terminal_status_msg& a, Dispatch_terminal_status_msg& b) {
|
|
@@ -753,7 +966,7 @@ class Dispatch_request_msg : public ::google::protobuf::Message /* @@protoc_inse
|
|
|
&_Dispatch_request_msg_default_instance_);
|
|
|
}
|
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
|
- 3;
|
|
|
+ 4;
|
|
|
|
|
|
void Swap(Dispatch_request_msg* other);
|
|
|
friend void swap(Dispatch_request_msg& a, Dispatch_request_msg& b) {
|
|
@@ -930,7 +1143,7 @@ class Dispatch_response_msg : public ::google::protobuf::Message /* @@protoc_ins
|
|
|
&_Dispatch_response_msg_default_instance_);
|
|
|
}
|
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
|
- 4;
|
|
|
+ 5;
|
|
|
|
|
|
void Swap(Dispatch_response_msg* other);
|
|
|
friend void swap(Dispatch_response_msg& a, Dispatch_response_msg& b) {
|
|
@@ -1116,6 +1329,10 @@ inline void Device_position::set_z(float value) {
|
|
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
|
|
+// Dispatch_manager_data_msg
|
|
|
+
|
|
|
+// -------------------------------------------------------------------
|
|
|
+
|
|
|
// Dispatch_manager_status_msg
|
|
|
|
|
|
// required .message.Base_info base_info = 1;
|
|
@@ -1217,132 +1434,329 @@ inline void Dispatch_manager_status_msg::set_dispatch_manager_status(::message::
|
|
|
// @@protoc_insertion_point(field_set:message.Dispatch_manager_status_msg.dispatch_manager_status)
|
|
|
}
|
|
|
|
|
|
-// repeated .message.Catcher_status catcher_status = 4;
|
|
|
-inline int Dispatch_manager_status_msg::catcher_status_size() const {
|
|
|
- return catcher_status_.size();
|
|
|
+// optional .message.Dispatch_device_status robot_1_status = 4;
|
|
|
+inline bool Dispatch_manager_status_msg::has_robot_1_status() const {
|
|
|
+ return (_has_bits_[0] & 0x00000008u) != 0;
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::set_has_robot_1_status() {
|
|
|
+ _has_bits_[0] |= 0x00000008u;
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::clear_has_robot_1_status() {
|
|
|
+ _has_bits_[0] &= ~0x00000008u;
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::clear_robot_1_status() {
|
|
|
+ robot_1_status_ = 0;
|
|
|
+ clear_has_robot_1_status();
|
|
|
+}
|
|
|
+inline ::message::Dispatch_device_status Dispatch_manager_status_msg::robot_1_status() const {
|
|
|
+ // @@protoc_insertion_point(field_get:message.Dispatch_manager_status_msg.robot_1_status)
|
|
|
+ return static_cast< ::message::Dispatch_device_status >(robot_1_status_);
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::set_robot_1_status(::message::Dispatch_device_status value) {
|
|
|
+ assert(::message::Dispatch_device_status_IsValid(value));
|
|
|
+ set_has_robot_1_status();
|
|
|
+ robot_1_status_ = value;
|
|
|
+ // @@protoc_insertion_point(field_set:message.Dispatch_manager_status_msg.robot_1_status)
|
|
|
+}
|
|
|
+
|
|
|
+// optional .message.Dispatch_device_status robot_2_status = 5;
|
|
|
+inline bool Dispatch_manager_status_msg::has_robot_2_status() const {
|
|
|
+ return (_has_bits_[0] & 0x00000010u) != 0;
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::set_has_robot_2_status() {
|
|
|
+ _has_bits_[0] |= 0x00000010u;
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::clear_has_robot_2_status() {
|
|
|
+ _has_bits_[0] &= ~0x00000010u;
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::clear_robot_2_status() {
|
|
|
+ robot_2_status_ = 0;
|
|
|
+ clear_has_robot_2_status();
|
|
|
+}
|
|
|
+inline ::message::Dispatch_device_status Dispatch_manager_status_msg::robot_2_status() const {
|
|
|
+ // @@protoc_insertion_point(field_get:message.Dispatch_manager_status_msg.robot_2_status)
|
|
|
+ return static_cast< ::message::Dispatch_device_status >(robot_2_status_);
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::set_robot_2_status(::message::Dispatch_device_status value) {
|
|
|
+ assert(::message::Dispatch_device_status_IsValid(value));
|
|
|
+ set_has_robot_2_status();
|
|
|
+ robot_2_status_ = value;
|
|
|
+ // @@protoc_insertion_point(field_set:message.Dispatch_manager_status_msg.robot_2_status)
|
|
|
+}
|
|
|
+
|
|
|
+// optional .message.Dispatch_device_status carrier_1_status = 6;
|
|
|
+inline bool Dispatch_manager_status_msg::has_carrier_1_status() const {
|
|
|
+ return (_has_bits_[0] & 0x00000020u) != 0;
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::set_has_carrier_1_status() {
|
|
|
+ _has_bits_[0] |= 0x00000020u;
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::clear_has_carrier_1_status() {
|
|
|
+ _has_bits_[0] &= ~0x00000020u;
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::clear_carrier_1_status() {
|
|
|
+ carrier_1_status_ = 0;
|
|
|
+ clear_has_carrier_1_status();
|
|
|
+}
|
|
|
+inline ::message::Dispatch_device_status Dispatch_manager_status_msg::carrier_1_status() const {
|
|
|
+ // @@protoc_insertion_point(field_get:message.Dispatch_manager_status_msg.carrier_1_status)
|
|
|
+ return static_cast< ::message::Dispatch_device_status >(carrier_1_status_);
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::set_carrier_1_status(::message::Dispatch_device_status value) {
|
|
|
+ assert(::message::Dispatch_device_status_IsValid(value));
|
|
|
+ set_has_carrier_1_status();
|
|
|
+ carrier_1_status_ = value;
|
|
|
+ // @@protoc_insertion_point(field_set:message.Dispatch_manager_status_msg.carrier_1_status)
|
|
|
+}
|
|
|
+
|
|
|
+// optional .message.Dispatch_device_status carrier_2_status = 7;
|
|
|
+inline bool Dispatch_manager_status_msg::has_carrier_2_status() const {
|
|
|
+ return (_has_bits_[0] & 0x00000040u) != 0;
|
|
|
}
|
|
|
-inline void Dispatch_manager_status_msg::clear_catcher_status() {
|
|
|
- catcher_status_.Clear();
|
|
|
+inline void Dispatch_manager_status_msg::set_has_carrier_2_status() {
|
|
|
+ _has_bits_[0] |= 0x00000040u;
|
|
|
}
|
|
|
-inline ::message::Catcher_status Dispatch_manager_status_msg::catcher_status(int index) const {
|
|
|
- // @@protoc_insertion_point(field_get:message.Dispatch_manager_status_msg.catcher_status)
|
|
|
- return static_cast< ::message::Catcher_status >(catcher_status_.Get(index));
|
|
|
+inline void Dispatch_manager_status_msg::clear_has_carrier_2_status() {
|
|
|
+ _has_bits_[0] &= ~0x00000040u;
|
|
|
}
|
|
|
-inline void Dispatch_manager_status_msg::set_catcher_status(int index, ::message::Catcher_status value) {
|
|
|
- assert(::message::Catcher_status_IsValid(value));
|
|
|
- catcher_status_.Set(index, value);
|
|
|
- // @@protoc_insertion_point(field_set:message.Dispatch_manager_status_msg.catcher_status)
|
|
|
+inline void Dispatch_manager_status_msg::clear_carrier_2_status() {
|
|
|
+ carrier_2_status_ = 0;
|
|
|
+ clear_has_carrier_2_status();
|
|
|
}
|
|
|
-inline void Dispatch_manager_status_msg::add_catcher_status(::message::Catcher_status value) {
|
|
|
- assert(::message::Catcher_status_IsValid(value));
|
|
|
- catcher_status_.Add(value);
|
|
|
- // @@protoc_insertion_point(field_add:message.Dispatch_manager_status_msg.catcher_status)
|
|
|
+inline ::message::Dispatch_device_status Dispatch_manager_status_msg::carrier_2_status() const {
|
|
|
+ // @@protoc_insertion_point(field_get:message.Dispatch_manager_status_msg.carrier_2_status)
|
|
|
+ return static_cast< ::message::Dispatch_device_status >(carrier_2_status_);
|
|
|
}
|
|
|
-inline const ::google::protobuf::RepeatedField<int>&
|
|
|
-Dispatch_manager_status_msg::catcher_status() const {
|
|
|
- // @@protoc_insertion_point(field_list:message.Dispatch_manager_status_msg.catcher_status)
|
|
|
- return catcher_status_;
|
|
|
+inline void Dispatch_manager_status_msg::set_carrier_2_status(::message::Dispatch_device_status value) {
|
|
|
+ assert(::message::Dispatch_device_status_IsValid(value));
|
|
|
+ set_has_carrier_2_status();
|
|
|
+ carrier_2_status_ = value;
|
|
|
+ // @@protoc_insertion_point(field_set:message.Dispatch_manager_status_msg.carrier_2_status)
|
|
|
}
|
|
|
-inline ::google::protobuf::RepeatedField<int>*
|
|
|
-Dispatch_manager_status_msg::mutable_catcher_status() {
|
|
|
- // @@protoc_insertion_point(field_mutable_list:message.Dispatch_manager_status_msg.catcher_status)
|
|
|
- return &catcher_status_;
|
|
|
+
|
|
|
+// optional .message.Dispatch_device_status carrier_3_status = 8;
|
|
|
+inline bool Dispatch_manager_status_msg::has_carrier_3_status() const {
|
|
|
+ return (_has_bits_[0] & 0x00000080u) != 0;
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::set_has_carrier_3_status() {
|
|
|
+ _has_bits_[0] |= 0x00000080u;
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::clear_has_carrier_3_status() {
|
|
|
+ _has_bits_[0] &= ~0x00000080u;
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::clear_carrier_3_status() {
|
|
|
+ carrier_3_status_ = 0;
|
|
|
+ clear_has_carrier_3_status();
|
|
|
+}
|
|
|
+inline ::message::Dispatch_device_status Dispatch_manager_status_msg::carrier_3_status() const {
|
|
|
+ // @@protoc_insertion_point(field_get:message.Dispatch_manager_status_msg.carrier_3_status)
|
|
|
+ return static_cast< ::message::Dispatch_device_status >(carrier_3_status_);
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::set_carrier_3_status(::message::Dispatch_device_status value) {
|
|
|
+ assert(::message::Dispatch_device_status_IsValid(value));
|
|
|
+ set_has_carrier_3_status();
|
|
|
+ carrier_3_status_ = value;
|
|
|
+ // @@protoc_insertion_point(field_set:message.Dispatch_manager_status_msg.carrier_3_status)
|
|
|
}
|
|
|
|
|
|
-// repeated .message.Carrier_status carrier_status = 5;
|
|
|
-inline int Dispatch_manager_status_msg::carrier_status_size() const {
|
|
|
- return carrier_status_.size();
|
|
|
+// optional .message.Dispatch_device_status passageway_0_status = 9;
|
|
|
+inline bool Dispatch_manager_status_msg::has_passageway_0_status() const {
|
|
|
+ return (_has_bits_[0] & 0x00000100u) != 0;
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::set_has_passageway_0_status() {
|
|
|
+ _has_bits_[0] |= 0x00000100u;
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::clear_has_passageway_0_status() {
|
|
|
+ _has_bits_[0] &= ~0x00000100u;
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::clear_passageway_0_status() {
|
|
|
+ passageway_0_status_ = 0;
|
|
|
+ clear_has_passageway_0_status();
|
|
|
+}
|
|
|
+inline ::message::Dispatch_device_status Dispatch_manager_status_msg::passageway_0_status() const {
|
|
|
+ // @@protoc_insertion_point(field_get:message.Dispatch_manager_status_msg.passageway_0_status)
|
|
|
+ return static_cast< ::message::Dispatch_device_status >(passageway_0_status_);
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::set_passageway_0_status(::message::Dispatch_device_status value) {
|
|
|
+ assert(::message::Dispatch_device_status_IsValid(value));
|
|
|
+ set_has_passageway_0_status();
|
|
|
+ passageway_0_status_ = value;
|
|
|
+ // @@protoc_insertion_point(field_set:message.Dispatch_manager_status_msg.passageway_0_status)
|
|
|
+}
|
|
|
+
|
|
|
+// optional .message.Dispatch_device_status passageway_1_status = 10;
|
|
|
+inline bool Dispatch_manager_status_msg::has_passageway_1_status() const {
|
|
|
+ return (_has_bits_[0] & 0x00000200u) != 0;
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::set_has_passageway_1_status() {
|
|
|
+ _has_bits_[0] |= 0x00000200u;
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::clear_has_passageway_1_status() {
|
|
|
+ _has_bits_[0] &= ~0x00000200u;
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::clear_passageway_1_status() {
|
|
|
+ passageway_1_status_ = 0;
|
|
|
+ clear_has_passageway_1_status();
|
|
|
+}
|
|
|
+inline ::message::Dispatch_device_status Dispatch_manager_status_msg::passageway_1_status() const {
|
|
|
+ // @@protoc_insertion_point(field_get:message.Dispatch_manager_status_msg.passageway_1_status)
|
|
|
+ return static_cast< ::message::Dispatch_device_status >(passageway_1_status_);
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::set_passageway_1_status(::message::Dispatch_device_status value) {
|
|
|
+ assert(::message::Dispatch_device_status_IsValid(value));
|
|
|
+ set_has_passageway_1_status();
|
|
|
+ passageway_1_status_ = value;
|
|
|
+ // @@protoc_insertion_point(field_set:message.Dispatch_manager_status_msg.passageway_1_status)
|
|
|
+}
|
|
|
+
|
|
|
+// optional .message.Dispatch_device_status passageway_2_status = 11;
|
|
|
+inline bool Dispatch_manager_status_msg::has_passageway_2_status() const {
|
|
|
+ return (_has_bits_[0] & 0x00000400u) != 0;
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::set_has_passageway_2_status() {
|
|
|
+ _has_bits_[0] |= 0x00000400u;
|
|
|
}
|
|
|
-inline void Dispatch_manager_status_msg::clear_carrier_status() {
|
|
|
- carrier_status_.Clear();
|
|
|
+inline void Dispatch_manager_status_msg::clear_has_passageway_2_status() {
|
|
|
+ _has_bits_[0] &= ~0x00000400u;
|
|
|
}
|
|
|
-inline ::message::Carrier_status Dispatch_manager_status_msg::carrier_status(int index) const {
|
|
|
- // @@protoc_insertion_point(field_get:message.Dispatch_manager_status_msg.carrier_status)
|
|
|
- return static_cast< ::message::Carrier_status >(carrier_status_.Get(index));
|
|
|
+inline void Dispatch_manager_status_msg::clear_passageway_2_status() {
|
|
|
+ passageway_2_status_ = 0;
|
|
|
+ clear_has_passageway_2_status();
|
|
|
}
|
|
|
-inline void Dispatch_manager_status_msg::set_carrier_status(int index, ::message::Carrier_status value) {
|
|
|
- assert(::message::Carrier_status_IsValid(value));
|
|
|
- carrier_status_.Set(index, value);
|
|
|
- // @@protoc_insertion_point(field_set:message.Dispatch_manager_status_msg.carrier_status)
|
|
|
+inline ::message::Dispatch_device_status Dispatch_manager_status_msg::passageway_2_status() const {
|
|
|
+ // @@protoc_insertion_point(field_get:message.Dispatch_manager_status_msg.passageway_2_status)
|
|
|
+ return static_cast< ::message::Dispatch_device_status >(passageway_2_status_);
|
|
|
}
|
|
|
-inline void Dispatch_manager_status_msg::add_carrier_status(::message::Carrier_status value) {
|
|
|
- assert(::message::Carrier_status_IsValid(value));
|
|
|
- carrier_status_.Add(value);
|
|
|
- // @@protoc_insertion_point(field_add:message.Dispatch_manager_status_msg.carrier_status)
|
|
|
+inline void Dispatch_manager_status_msg::set_passageway_2_status(::message::Dispatch_device_status value) {
|
|
|
+ assert(::message::Dispatch_device_status_IsValid(value));
|
|
|
+ set_has_passageway_2_status();
|
|
|
+ passageway_2_status_ = value;
|
|
|
+ // @@protoc_insertion_point(field_set:message.Dispatch_manager_status_msg.passageway_2_status)
|
|
|
}
|
|
|
-inline const ::google::protobuf::RepeatedField<int>&
|
|
|
-Dispatch_manager_status_msg::carrier_status() const {
|
|
|
- // @@protoc_insertion_point(field_list:message.Dispatch_manager_status_msg.carrier_status)
|
|
|
- return carrier_status_;
|
|
|
+
|
|
|
+// optional .message.Dispatch_device_status passageway_3_status = 12;
|
|
|
+inline bool Dispatch_manager_status_msg::has_passageway_3_status() const {
|
|
|
+ return (_has_bits_[0] & 0x00000800u) != 0;
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::set_has_passageway_3_status() {
|
|
|
+ _has_bits_[0] |= 0x00000800u;
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::clear_has_passageway_3_status() {
|
|
|
+ _has_bits_[0] &= ~0x00000800u;
|
|
|
}
|
|
|
-inline ::google::protobuf::RepeatedField<int>*
|
|
|
-Dispatch_manager_status_msg::mutable_carrier_status() {
|
|
|
- // @@protoc_insertion_point(field_mutable_list:message.Dispatch_manager_status_msg.carrier_status)
|
|
|
- return &carrier_status_;
|
|
|
+inline void Dispatch_manager_status_msg::clear_passageway_3_status() {
|
|
|
+ passageway_3_status_ = 0;
|
|
|
+ clear_has_passageway_3_status();
|
|
|
+}
|
|
|
+inline ::message::Dispatch_device_status Dispatch_manager_status_msg::passageway_3_status() const {
|
|
|
+ // @@protoc_insertion_point(field_get:message.Dispatch_manager_status_msg.passageway_3_status)
|
|
|
+ return static_cast< ::message::Dispatch_device_status >(passageway_3_status_);
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::set_passageway_3_status(::message::Dispatch_device_status value) {
|
|
|
+ assert(::message::Dispatch_device_status_IsValid(value));
|
|
|
+ set_has_passageway_3_status();
|
|
|
+ passageway_3_status_ = value;
|
|
|
+ // @@protoc_insertion_point(field_set:message.Dispatch_manager_status_msg.passageway_3_status)
|
|
|
}
|
|
|
|
|
|
-// repeated .message.Elevator_status elevator_status = 6;
|
|
|
-inline int Dispatch_manager_status_msg::elevator_status_size() const {
|
|
|
- return elevator_status_.size();
|
|
|
+// optional .message.Dispatch_device_status passageway_4_status = 13;
|
|
|
+inline bool Dispatch_manager_status_msg::has_passageway_4_status() const {
|
|
|
+ return (_has_bits_[0] & 0x00001000u) != 0;
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::set_has_passageway_4_status() {
|
|
|
+ _has_bits_[0] |= 0x00001000u;
|
|
|
}
|
|
|
-inline void Dispatch_manager_status_msg::clear_elevator_status() {
|
|
|
- elevator_status_.Clear();
|
|
|
+inline void Dispatch_manager_status_msg::clear_has_passageway_4_status() {
|
|
|
+ _has_bits_[0] &= ~0x00001000u;
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::clear_passageway_4_status() {
|
|
|
+ passageway_4_status_ = 0;
|
|
|
+ clear_has_passageway_4_status();
|
|
|
+}
|
|
|
+inline ::message::Dispatch_device_status Dispatch_manager_status_msg::passageway_4_status() const {
|
|
|
+ // @@protoc_insertion_point(field_get:message.Dispatch_manager_status_msg.passageway_4_status)
|
|
|
+ return static_cast< ::message::Dispatch_device_status >(passageway_4_status_);
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::set_passageway_4_status(::message::Dispatch_device_status value) {
|
|
|
+ assert(::message::Dispatch_device_status_IsValid(value));
|
|
|
+ set_has_passageway_4_status();
|
|
|
+ passageway_4_status_ = value;
|
|
|
+ // @@protoc_insertion_point(field_set:message.Dispatch_manager_status_msg.passageway_4_status)
|
|
|
+}
|
|
|
+
|
|
|
+// optional .message.Dispatch_device_status passageway_5_status = 14;
|
|
|
+inline bool Dispatch_manager_status_msg::has_passageway_5_status() const {
|
|
|
+ return (_has_bits_[0] & 0x00002000u) != 0;
|
|
|
}
|
|
|
-inline ::message::Elevator_status Dispatch_manager_status_msg::elevator_status(int index) const {
|
|
|
- // @@protoc_insertion_point(field_get:message.Dispatch_manager_status_msg.elevator_status)
|
|
|
- return static_cast< ::message::Elevator_status >(elevator_status_.Get(index));
|
|
|
+inline void Dispatch_manager_status_msg::set_has_passageway_5_status() {
|
|
|
+ _has_bits_[0] |= 0x00002000u;
|
|
|
}
|
|
|
-inline void Dispatch_manager_status_msg::set_elevator_status(int index, ::message::Elevator_status value) {
|
|
|
- assert(::message::Elevator_status_IsValid(value));
|
|
|
- elevator_status_.Set(index, value);
|
|
|
- // @@protoc_insertion_point(field_set:message.Dispatch_manager_status_msg.elevator_status)
|
|
|
+inline void Dispatch_manager_status_msg::clear_has_passageway_5_status() {
|
|
|
+ _has_bits_[0] &= ~0x00002000u;
|
|
|
}
|
|
|
-inline void Dispatch_manager_status_msg::add_elevator_status(::message::Elevator_status value) {
|
|
|
- assert(::message::Elevator_status_IsValid(value));
|
|
|
- elevator_status_.Add(value);
|
|
|
- // @@protoc_insertion_point(field_add:message.Dispatch_manager_status_msg.elevator_status)
|
|
|
+inline void Dispatch_manager_status_msg::clear_passageway_5_status() {
|
|
|
+ passageway_5_status_ = 0;
|
|
|
+ clear_has_passageway_5_status();
|
|
|
}
|
|
|
-inline const ::google::protobuf::RepeatedField<int>&
|
|
|
-Dispatch_manager_status_msg::elevator_status() const {
|
|
|
- // @@protoc_insertion_point(field_list:message.Dispatch_manager_status_msg.elevator_status)
|
|
|
- return elevator_status_;
|
|
|
+inline ::message::Dispatch_device_status Dispatch_manager_status_msg::passageway_5_status() const {
|
|
|
+ // @@protoc_insertion_point(field_get:message.Dispatch_manager_status_msg.passageway_5_status)
|
|
|
+ return static_cast< ::message::Dispatch_device_status >(passageway_5_status_);
|
|
|
}
|
|
|
-inline ::google::protobuf::RepeatedField<int>*
|
|
|
-Dispatch_manager_status_msg::mutable_elevator_status() {
|
|
|
- // @@protoc_insertion_point(field_mutable_list:message.Dispatch_manager_status_msg.elevator_status)
|
|
|
- return &elevator_status_;
|
|
|
+inline void Dispatch_manager_status_msg::set_passageway_5_status(::message::Dispatch_device_status value) {
|
|
|
+ assert(::message::Dispatch_device_status_IsValid(value));
|
|
|
+ set_has_passageway_5_status();
|
|
|
+ passageway_5_status_ = value;
|
|
|
+ // @@protoc_insertion_point(field_set:message.Dispatch_manager_status_msg.passageway_5_status)
|
|
|
}
|
|
|
|
|
|
-// repeated .message.Passageway_status passageway_status = 7;
|
|
|
-inline int Dispatch_manager_status_msg::passageway_status_size() const {
|
|
|
- return passageway_status_.size();
|
|
|
+// optional .message.Dispatch_device_status passageway_6_status = 15;
|
|
|
+inline bool Dispatch_manager_status_msg::has_passageway_6_status() const {
|
|
|
+ return (_has_bits_[0] & 0x00004000u) != 0;
|
|
|
}
|
|
|
-inline void Dispatch_manager_status_msg::clear_passageway_status() {
|
|
|
- passageway_status_.Clear();
|
|
|
+inline void Dispatch_manager_status_msg::set_has_passageway_6_status() {
|
|
|
+ _has_bits_[0] |= 0x00004000u;
|
|
|
}
|
|
|
-inline ::message::Passageway_status Dispatch_manager_status_msg::passageway_status(int index) const {
|
|
|
- // @@protoc_insertion_point(field_get:message.Dispatch_manager_status_msg.passageway_status)
|
|
|
- return static_cast< ::message::Passageway_status >(passageway_status_.Get(index));
|
|
|
+inline void Dispatch_manager_status_msg::clear_has_passageway_6_status() {
|
|
|
+ _has_bits_[0] &= ~0x00004000u;
|
|
|
}
|
|
|
-inline void Dispatch_manager_status_msg::set_passageway_status(int index, ::message::Passageway_status value) {
|
|
|
- assert(::message::Passageway_status_IsValid(value));
|
|
|
- passageway_status_.Set(index, value);
|
|
|
- // @@protoc_insertion_point(field_set:message.Dispatch_manager_status_msg.passageway_status)
|
|
|
+inline void Dispatch_manager_status_msg::clear_passageway_6_status() {
|
|
|
+ passageway_6_status_ = 0;
|
|
|
+ clear_has_passageway_6_status();
|
|
|
}
|
|
|
-inline void Dispatch_manager_status_msg::add_passageway_status(::message::Passageway_status value) {
|
|
|
- assert(::message::Passageway_status_IsValid(value));
|
|
|
- passageway_status_.Add(value);
|
|
|
- // @@protoc_insertion_point(field_add:message.Dispatch_manager_status_msg.passageway_status)
|
|
|
+inline ::message::Dispatch_device_status Dispatch_manager_status_msg::passageway_6_status() const {
|
|
|
+ // @@protoc_insertion_point(field_get:message.Dispatch_manager_status_msg.passageway_6_status)
|
|
|
+ return static_cast< ::message::Dispatch_device_status >(passageway_6_status_);
|
|
|
}
|
|
|
-inline const ::google::protobuf::RepeatedField<int>&
|
|
|
-Dispatch_manager_status_msg::passageway_status() const {
|
|
|
- // @@protoc_insertion_point(field_list:message.Dispatch_manager_status_msg.passageway_status)
|
|
|
- return passageway_status_;
|
|
|
+inline void Dispatch_manager_status_msg::set_passageway_6_status(::message::Dispatch_device_status value) {
|
|
|
+ assert(::message::Dispatch_device_status_IsValid(value));
|
|
|
+ set_has_passageway_6_status();
|
|
|
+ passageway_6_status_ = value;
|
|
|
+ // @@protoc_insertion_point(field_set:message.Dispatch_manager_status_msg.passageway_6_status)
|
|
|
}
|
|
|
-inline ::google::protobuf::RepeatedField<int>*
|
|
|
-Dispatch_manager_status_msg::mutable_passageway_status() {
|
|
|
- // @@protoc_insertion_point(field_mutable_list:message.Dispatch_manager_status_msg.passageway_status)
|
|
|
- return &passageway_status_;
|
|
|
+
|
|
|
+// optional .message.Dispatch_device_status passageway_7_status = 16;
|
|
|
+inline bool Dispatch_manager_status_msg::has_passageway_7_status() const {
|
|
|
+ return (_has_bits_[0] & 0x00008000u) != 0;
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::set_has_passageway_7_status() {
|
|
|
+ _has_bits_[0] |= 0x00008000u;
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::clear_has_passageway_7_status() {
|
|
|
+ _has_bits_[0] &= ~0x00008000u;
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::clear_passageway_7_status() {
|
|
|
+ passageway_7_status_ = 0;
|
|
|
+ clear_has_passageway_7_status();
|
|
|
+}
|
|
|
+inline ::message::Dispatch_device_status Dispatch_manager_status_msg::passageway_7_status() const {
|
|
|
+ // @@protoc_insertion_point(field_get:message.Dispatch_manager_status_msg.passageway_7_status)
|
|
|
+ return static_cast< ::message::Dispatch_device_status >(passageway_7_status_);
|
|
|
+}
|
|
|
+inline void Dispatch_manager_status_msg::set_passageway_7_status(::message::Dispatch_device_status value) {
|
|
|
+ assert(::message::Dispatch_device_status_IsValid(value));
|
|
|
+ set_has_passageway_7_status();
|
|
|
+ passageway_7_status_ = value;
|
|
|
+ // @@protoc_insertion_point(field_set:message.Dispatch_manager_status_msg.passageway_7_status)
|
|
|
}
|
|
|
|
|
|
// -------------------------------------------------------------------
|
|
@@ -1917,6 +2331,8 @@ inline void Dispatch_response_msg::set_allocated_error_manager(::message::Error_
|
|
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
|
|
+// -------------------------------------------------------------------
|
|
|
+
|
|
|
|
|
|
// @@protoc_insertion_point(namespace_scope)
|
|
|
|
|
@@ -1965,6 +2381,11 @@ template <>
|
|
|
inline const EnumDescriptor* GetEnumDescriptor< ::message::Dispatch_motion_direction>() {
|
|
|
return ::message::Dispatch_motion_direction_descriptor();
|
|
|
}
|
|
|
+template <> struct is_proto_enum< ::message::Dispatch_device_status> : ::google::protobuf::internal::true_type {};
|
|
|
+template <>
|
|
|
+inline const EnumDescriptor* GetEnumDescriptor< ::message::Dispatch_device_status>() {
|
|
|
+ return ::message::Dispatch_device_status_descriptor();
|
|
|
+}
|
|
|
|
|
|
} // namespace protobuf
|
|
|
} // namespace google
|