aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.UsersAndRoles/Views/ContactView.xaml
blob: cdfa28c507fd543018421de13b01c479dade9ac7 (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
26
27
28
29
<UserControl x:Class="Tango.MachineStudio.UsersAndRoles.Views.ContactView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:vm="clr-namespace:Tango.MachineStudio.UsersAndRoles.ViewModels"
             xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
             xmlns:autoComplete="clr-namespace:Tango.AutoComplete.Editors;assembly=Tango.AutoComplete"
             xmlns:controls="clr-namespace:Tango.SharedUI.Controls;assembly=Tango.SharedUI"
             xmlns:mahApps="http://metro.mahapps.com/winfx/xaml/controls"
             xmlns:entities="clr-namespace:Tango.BL.Entities;assembly=Tango.BL"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:Tango.MachineStudio.UsersAndRoles.Views"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300" d:DataContext="{d:DesignInstance Type=entities:Contact, IsDesignTimeCreatable=False}">
    <Grid>
        <controls:TableGrid>
            <TextBlock>FIRST NAME</TextBlock>
            <TextBox Text="{Binding FirstName}"></TextBox>
            <TextBlock>LAST NAME</TextBlock>
            <TextBox Text="{Binding LastName}"></TextBox>
            <TextBlock>EMAIL</TextBlock>
            <TextBox Text="{Binding Email}"></TextBox>
            <TextBlock>PHONE NUMBER</TextBlock>
            <TextBox Text="{Binding PhoneNumber}"></TextBox>
            <TextBlock>FAX</TextBlock>
            <TextBox Text="{Binding Fax}"></TextBox>
        </controls:TableGrid>
    </Grid>
</UserControl>
/* Generated by the protocol buffer compiler.  DO NOT EDIT! */
/* Generated from: StubMotorInitRequest.proto */

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

#include "StubMotorInitRequest.pb-c.h"
void   stub_motor_init_request__init
                     (StubMotorInitRequest         *message)
{
  static const StubMotorInitRequest init_value = STUB_MOTOR_INIT_REQUEST__INIT;
  *message = init_value;
}
size_t stub_motor_init_request__get_packed_size
                     (const StubMotorInitRequest *message)
{
  assert(message->base.descriptor == &stub_motor_init_request__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t stub_motor_init_request__pack
                     (const StubMotorInitRequest *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &stub_motor_init_request__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t stub_motor_init_request__pack_to_buffer
                     (const StubMotorInitRequest *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &stub_motor_init_request__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
StubMotorInitRequest *
       stub_motor_init_request__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (StubMotorInitRequest *)
     protobuf_c_message_unpack (&stub_motor_init_request__descriptor,
                                allocator, len, data);
}
void   stub_motor_init_request__free_unpacked
                     (StubMotorInitRequest *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &stub_motor_init_request__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
static const ProtobufCFieldDescriptor stub_motor_init_request__field_descriptors[20] =
{
  {
    "Motor_ID",
    1,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(StubMotorInitRequest, has_motor_id),
    offsetof(StubMotorInitRequest, motor_id),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "Micro_Steps",
    2,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(StubMotorInitRequest, has_micro_steps),
    offsetof(StubMotorInitRequest, micro_steps),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "Set_Micro_Steps",
    3,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_BOOL,
    offsetof(StubMotorInitRequest, has_set_micro_steps),
    offsetof(StubMotorInitRequest, set_micro_steps),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "ACC",
    4,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(StubMotorInitRequest, has_acc),
    offsetof(StubMotorInitRequest, acc),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "Set_ACC",
    5,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_BOOL,
    offsetof(StubMotorInitRequest, has_set_acc),
    offsetof(StubMotorInitRequest, set_acc),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "DEC",
    6,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(StubMotorInitRequest, has_dec),
    offsetof(StubMotorInitRequest, dec),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "Set_Dec",
    7,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_BOOL,
    offsetof(StubMotorInitRequest, has_set_dec),
    offsetof(StubMotorInitRequest, set_dec),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "Max_Speed",
    8,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(StubMotorInitRequest, has_max_speed),
    offsetof(StubMotorInitRequest, max_speed),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "Set_Max_Speed",
    9,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_BOOL,
    offsetof(StubMotorInitRequest, has_set_max_speed),
    offsetof(StubMotorInitRequest, set_max_speed),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "Min_Speed_LSPD_OPT",
    10,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(StubMotorInitRequest, has_min_speed_lspd_opt),
    offsetof(StubMotorInitRequest, min_speed_lspd_opt),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "Set_Min_Speed_LSPD_OPT",
    11,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_BOOL,
    offsetof(StubMotorInitRequest, has_set_min_speed_lspd_opt),
    offsetof(StubMotorInitRequest, set_min_speed_lspd_opt),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "Config",
    12,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(StubMotorInitRequest, has_config),
    offsetof(StubMotorInitRequest, config),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "KVAL_HOLD",
    13,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(StubMotorInitRequest, has_kval_hold),
    offsetof(StubMotorInitRequest, kval_hold),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "KVAL_RUN",
    14,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(StubMotorInitRequest, has_kval_run),
    offsetof(StubMotorInitRequest, kval_run),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "KVAL_ACC",
    15,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(StubMotorInitRequest, has_kval_acc),
    offsetof(StubMotorInitRequest, kval_acc),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "KVAL_DEC",
    16,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(StubMotorInitRequest, has_kval_dec),
    offsetof(StubMotorInitRequest, kval_dec),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "ST_SLP",
    17,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(StubMotorInitRequest, has_st_slp),
    offsetof(StubMotorInitRequest, st_slp),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "INT_SPD",
    18,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(StubMotorInitRequest, has_int_spd),
    offsetof(StubMotorInitRequest, int_spd),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "FN_SLP_ACC",
    19,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(StubMotorInitRequest, has_fn_slp_acc),
    offsetof(StubMotorInitRequest, fn_slp_acc),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "FN_SLP_DEC",
    20,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(StubMotorInitRequest, has_fn_slp_dec),
    offsetof(StubMotorInitRequest, fn_slp_dec),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned stub_motor_init_request__field_indices_by_name[] = {
  3,   /* field[3] = ACC */
  11,   /* field[11] = Config */
  5,   /* field[5] = DEC */
  18,   /* field[18] = FN_SLP_ACC */
  19,   /* field[19] = FN_SLP_DEC */
  17,   /* field[17] = INT_SPD */
  14,   /* field[14] = KVAL_ACC */
  15,   /* field[15] = KVAL_DEC */
  12,   /* field[12] = KVAL_HOLD */
  13,   /* field[13] = KVAL_RUN */
  7,   /* field[7] = Max_Speed */
  1,   /* field[1] = Micro_Steps */
  9,   /* field[9] = Min_Speed_LSPD_OPT */
  0,   /* field[0] = Motor_ID */
  16,   /* field[16] = ST_SLP */
  4,   /* field[4] = Set_ACC */
  6,   /* field[6] = Set_Dec */
  8,   /* field[8] = Set_Max_Speed */
  2,   /* field[2] = Set_Micro_Steps */
  10,   /* field[10] = Set_Min_Speed_LSPD_OPT */
};
static const ProtobufCIntRange stub_motor_init_request__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 20 }
};
const ProtobufCMessageDescriptor stub_motor_init_request__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "StubMotorInitRequest",
  "StubMotorInitRequest",
  "StubMotorInitRequest",
  "",
  sizeof(StubMotorInitRequest),
  20,
  stub_motor_init_request__field_descriptors,
  stub_motor_init_request__field_indices_by_name,
  1,  stub_motor_init_request__number_ranges,
  (ProtobufCMessageInit) stub_motor_init_request__init,
  NULL,NULL,NULL    /* reserved[123] */
};