aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Automation/UI.cs
blob: 2c200e10f350b2995cf656554a29fc3edf318b49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Generated by the protocol buffer compiler.  DO NOT EDIT! */
/* Generated from: MidTankData.proto */

/* Do not generate deprecated warnings for self */
#ifndef PROTOBUF_C__NO_DEPRECATED
#define PROTOBUF_C__NO_DEPRECATED
#endif

#include "MidTankData.pb-c.h"
void   mid_tank_data__init
                     (MidTankData         *message)
{
  static const MidTankData init_value = MID_TANK_DATA__INIT;
  *message = init_value;
}
size_t mid_tank_data__get_packed_size
                     (const MidTankData *message)
{
  assert(message->base.descriptor == &mid_tank_data__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t mid_tank_data__pack
                     (const MidTankData *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &mid_tank_data__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t mid_tank_data__pack_to_buffer
                     (const MidTankData *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &mid_tank_data__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
MidTankData *
       mid_tank_data__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (MidTankData *)
     protobuf_c_message_unpack (&mid_tank_data__descriptor,
                                allocator, len, data);
}
void   mid_tank_data__free_unpacked
                     (MidTankData *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &mid_tank_data__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
static const ProtobufCFieldDescriptor mid_tank_data__field_descriptors[3] =
{
  {
    "",
    1,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(MidTankData, has_midtankid),
    offsetof(MidTankData, midtankid),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "",
    2,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_DOUBLE,
    offsetof(MidTankData, has_initialoffseta),
    offsetof(MidTankData, initialoffseta),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "",
    3,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_DOUBLE,
    offsetof(MidTankData, has_slopeb),
    offsetof(MidTankData, slopeb),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned mid_tank_data__field_indices_by_name[] = {
  1,   /* field[1] = InitialOffsetA */
  0,   /* field[0] = MidTankId */
  2,   /* field[2] = SlopeB */
};
static const ProtobufCIntRange mid_tank_data__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 3 }
};
const ProtobufCMessageDescriptor mid_tank_data__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "",
  "",
  "",
  "",
  sizeof(MidTankData),
  3,
  mid_tank_data__field_descriptors,
  mid_tank_data__field_indices_by_name,
  1,  mid_tank_data__number_ranges,
  (ProtobufCMessageInit) mid_tank_data__init,
  NULL,NULL,NULL    /* reserved[123] */
};