diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2019-12-04 16:27:16 +0200 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2019-12-04 16:27:16 +0200 |
| commit | c19fa7f39c4614307c6fbd80ce1de5bd7dd4db8b (patch) | |
| tree | df875d8f8f70c08a72173d673c5f819703a8cb7f /Software/Embedded_SW/Embedded/Communication/PMR/Debugging | |
| parent | feea57db6edf990f16333395d2639a61a1966a58 (diff) | |
| download | Tango-c19fa7f39c4614307c6fbd80ce1de5bd7dd4db8b.tar.gz Tango-c19fa7f39c4614307c6fbd80ce1de5bd7dd4db8b.zip | |
pressure handling in inactive dispensers
Diffstat (limited to 'Software/Embedded_SW/Embedded/Communication/PMR/Debugging')
2 files changed, 26 insertions, 10 deletions
diff --git a/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/SetupDebugDisributorsRequest.pb-c.c b/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/SetupDebugDisributorsRequest.pb-c.c index ebdad2054..e4e1c7ae1 100644 --- a/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/SetupDebugDisributorsRequest.pb-c.c +++ b/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/SetupDebugDisributorsRequest.pb-c.c @@ -52,14 +52,26 @@ void setup_debug_disributors_request__free_unpacked assert(message->base.descriptor == &setup_debug_disributors_request__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -static const ProtobufCFieldDescriptor setup_debug_disributors_request__field_descriptors[1] = +static const ProtobufCFieldDescriptor setup_debug_disributors_request__field_descriptors[2] = { { - "DistributorActive", + "DebugDistributor", 1, - PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_ENUM, + offsetof(SetupDebugDisributorsRequest, has_debugdistributor), + offsetof(SetupDebugDisributorsRequest, debugdistributor), + &debug_distributor_type__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "DistributorActive", + 2, + PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_BOOL, - offsetof(SetupDebugDisributorsRequest, n_distributoractive), + offsetof(SetupDebugDisributorsRequest, has_distributoractive), offsetof(SetupDebugDisributorsRequest, distributoractive), NULL, NULL, @@ -68,12 +80,13 @@ static const ProtobufCFieldDescriptor setup_debug_disributors_request__field_des }, }; static const unsigned setup_debug_disributors_request__field_indices_by_name[] = { - 0, /* field[0] = DistributorActive */ + 0, /* field[0] = DebugDistributor */ + 1, /* field[1] = DistributorActive */ }; static const ProtobufCIntRange setup_debug_disributors_request__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; const ProtobufCMessageDescriptor setup_debug_disributors_request__descriptor = { @@ -83,7 +96,7 @@ const ProtobufCMessageDescriptor setup_debug_disributors_request__descriptor = "SetupDebugDisributorsRequest", "", sizeof(SetupDebugDisributorsRequest), - 1, + 2, setup_debug_disributors_request__field_descriptors, setup_debug_disributors_request__field_indices_by_name, 1, setup_debug_disributors_request__number_ranges, diff --git a/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/SetupDebugDisributorsRequest.pb-c.h b/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/SetupDebugDisributorsRequest.pb-c.h index 65a5091ac..053609d76 100644 --- a/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/SetupDebugDisributorsRequest.pb-c.h +++ b/Software/Embedded_SW/Embedded/Communication/PMR/Debugging/SetupDebugDisributorsRequest.pb-c.h @@ -14,6 +14,7 @@ PROTOBUF_C__BEGIN_DECLS # error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. #endif +#include "DebugDistributorType.pb-c.h" typedef struct _SetupDebugDisributorsRequest SetupDebugDisributorsRequest; @@ -26,12 +27,14 @@ typedef struct _SetupDebugDisributorsRequest SetupDebugDisributorsRequest; struct _SetupDebugDisributorsRequest { ProtobufCMessage base; - size_t n_distributoractive; - protobuf_c_boolean *distributoractive; + protobuf_c_boolean has_debugdistributor; + DebugDistributorType debugdistributor; + protobuf_c_boolean has_distributoractive; + protobuf_c_boolean distributoractive; }; #define SETUP_DEBUG_DISRIBUTORS_REQUEST__INIT \ { PROTOBUF_C_MESSAGE_INIT (&setup_debug_disributors_request__descriptor) \ - , 0,NULL } + , 0, DEBUG_DISTRIBUTOR_TYPE__ControlFilter, 0, 0 } /* SetupDebugDisributorsRequest methods */ |
