aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Core/IParameterized.cs
blob: d8e3982bb16aa8579703a7b2518e5cd259cd7f0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using LiteDB;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace Tango.Core
{
    /// <summary>
    /// Represents a component that exposes some of it's properties as an observable collection of <see cref="ParameterItem"/> which can be bound to UI controls.
    /// </summary>
    public interface IParameterized
    {
        /// <summary>
        /// Gets a bind-able observable collection of the component properties.
        /// </summary>
        [ParameterIgnore]
        [XmlIgnore]
        [BsonIgnore]
        ReadOnlyObservableCollection<ParameterItem> Parameters { get; }
    }
}
/* Generated by the protocol buffer compiler.  DO NOT EDIT! */
/* Generated from: StubL6470DriverResponse.proto */

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

#include "StubL6470DriverResponse.pb-c.h"
void   stub_l6470_driver_response__init
                     (StubL6470DriverResponse         *message)
{
  static const StubL6470DriverResponse init_value = STUB_L6470_DRIVER_RESPONSE__INIT;
  *message = init_value;
}
size_t stub_l6470_driver_response__get_packed_size
                     (const StubL6470DriverResponse *message)
{
  assert(message->base.descriptor == &stub_l6470_driver_response__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t stub_l6470_driver_response__pack
                     (const StubL6470DriverResponse *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &stub_l6470_driver_response__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t stub_l6470_driver_response__pack_to_buffer
                     (const StubL6470DriverResponse *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &stub_l6470_driver_response__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
StubL6470DriverResponse *
       stub_l6470_driver_response__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (StubL6470DriverResponse *)
     protobuf_c_message_unpack (&stub_l6470_driver_response__descriptor,
                                allocator, len, data);
}
void   stub_l6470_driver_response__free_unpacked
                     (StubL6470DriverResponse *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &stub_l6470_driver_response__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
static const ProtobufCFieldDescriptor stub_l6470_driver_response__field_descriptors[15] =
{
  {
    "Run_Value",
    1,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(StubL6470DriverResponse, has_run_value),
    offsetof(StubL6470DriverResponse, run_value),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "Mov_Value",
    2,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(StubL6470DriverResponse, has_mov_value),
    offsetof(StubL6470DriverResponse, mov_value),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "TestBool_1",
    3,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_BOOL,
    offsetof(StubL6470DriverResponse, has_testbool_1),
    offsetof(StubL6470DriverResponse, testbool_1),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "TestBool_2",
    4,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_BOOL,
    offsetof(StubL6470DriverResponse, has_testbool_2),
    offsetof(StubL6470DriverResponse, testbool_2),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "TestBool_3",
    5,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_BOOL,
    offsetof(StubL6470DriverResponse, has_testbool_3),
    offsetof(StubL6470DriverResponse, testbool_3),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "TestBool_4",
    6,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_BOOL,
    offsetof(StubL6470DriverResponse, has_testbool_4),
    offsetof(StubL6470DriverResponse, testbool_4),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "TestBool_5",
    7,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_BOOL,
    offsetof(StubL6470DriverResponse, has_testbool_5),
    offsetof(StubL6470DriverResponse, testbool_5),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "TestUint32_1",
    8,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(StubL6470DriverResponse, has_testuint32_1),
    offsetof(StubL6470DriverResponse, testuint32_1),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "TestUint32_2",
    9,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(StubL6470DriverResponse, has_testuint32_2),
    offsetof(StubL6470DriverResponse, testuint32_2),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "TestUint32_3",
    10,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(StubL6470DriverResponse, has_testuint32_3),
    offsetof(StubL6470DriverResponse, testuint32_3),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "TestUint32_4",
    11,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(StubL6470DriverResponse, has_testuint32_4),
    offsetof(StubL6470DriverResponse, testuint32_4),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "TestUint32_5",
    12,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(StubL6470DriverResponse, has_testuint32_5),
    offsetof(StubL6470DriverResponse, testuint32_5),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "TestUint32_6",
    13,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(StubL6470DriverResponse, has_testuint32_6),
    offsetof(StubL6470DriverResponse, testuint32_6),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "Status",
    14,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(StubL6470DriverResponse, status),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "StatusWord",
    15,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(StubL6470DriverResponse, has_statusword),
    offsetof(StubL6470DriverResponse, statusword),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned stub_l6470_driver_response__field_indices_by_name[] = {
  1,   /* field[1] = Mov_Value */
  0,   /* field[0] = Run_Value */
  13,   /* field[13] = Status */
  14,   /* field[14] = StatusWord */
  2,   /* field[2] = TestBool_1 */
  3,   /* field[3] = TestBool_2 */
  4,   /* field[4] = TestBool_3 */
  5,   /* field[5] = TestBool_4 */
  6,   /* field[6] = TestBool_5 */
  7,   /* field[7] = TestUint32_1 */
  8,   /* field[8] = TestUint32_2 */
  9,   /* field[9] = TestUint32_3 */
  10,   /* field[10] = TestUint32_4 */
  11,   /* field[11] = TestUint32_5 */
  12,   /* field[12] = TestUint32_6 */
};
static const ProtobufCIntRange stub_l6470_driver_response__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 15 }
};
const ProtobufCMessageDescriptor stub_l6470_driver_response__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "StubL6470DriverResponse",
  "StubL6470DriverResponse",
  "StubL6470DriverResponse",
  "",
  sizeof(StubL6470DriverResponse),
  15,
  stub_l6470_driver_response__field_descriptors,
  stub_l6470_driver_response__field_indices_by_name,
  1,  stub_l6470_driver_response__number_ranges,
  (ProtobufCMessageInit) stub_l6470_driver_response__init,
  NULL,NULL,NULL    /* reserved[123] */
};