aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/Connectivity/WiFiAuthenticationView.xaml
blob: d3f6f9e4931ab4506c017348b46e451b5280a88e (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<UserControl x:Class="Tango.PPC.UI.Connectivity.WiFiAuthenticationView"
             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:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:touch="clr-namespace:Tango.Touch.Controls;assembly=Tango.Touch"
             xmlns:local="clr-namespace:Tango.PPC.UI.Connectivity"
             mc:Ignorable="d" 
             Background="{StaticResource TangoPrimaryBackgroundBrush}" MinWidth="500" Height="570" d:DataContext="{d:DesignInstance Type=local:WiFiAuthenticationViewVM, IsDesignTimeCreatable=False}">
    <Grid Margin="10">
        <Grid.RowDefinitions>
            <RowDefinition Height="200"/>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="50"/>
        </Grid.RowDefinitions>

        <StackPanel>
            <touch:TouchIcon Icon="WifiStrength3Lock" Width="100" Height="100" Foreground="{StaticResource TangoPrimaryAccentBrush}" Margin="10" />
            <TextBlock HorizontalAlignment="Center" FontSize="{StaticResource TangoTitleFontSize}">
                <Run>Connect to </Run>
                <Run Foreground="{StaticResource TangoPrimaryAccentBrush}" FontStyle="Italic" Text="{Binding WiFiNetwork.Name,Mode=OneWay}"></Run>
            </TextBlock>
        </StackPanel>

        <Grid Grid.Row="1">
            <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Width="300" TextElement.FontSize="{StaticResource TangoDefaultFontSize}">
                <StackPanel Margin="0 0 0 40" Visibility="{Binding WiFiAuthentication.IsUserNameRequired,Converter={StaticResource BooleanToVisibilityConverter}}">
                    <TextBlock TextAlignment="Center">Enter user name</TextBlock>
                    <touch:TouchTextBox Margin="0 10 0 0" Background="{StaticResource TangoPrimaryBackgroundBrush}" Text="{Binding WiFiAuthentication.UserName}"></touch:TouchTextBox>
                </StackPanel>
                <StackPanel Margin="0 0 0 0" Visibility="{Binding WiFiAuthentication.IsPasswordRequired,Converter={StaticResource BooleanToVisibilityConverter}}">
                    <TextBlock x:Name="txtPassword" TextAlignment="Center">Enter the network security key</TextBlock>
                    <touch:TouchTextBox Margin="0 10 0 0" IsPassword="True" Background="{StaticResource TangoPrimaryBackgroundBrush}" Text="{Binding WiFiAuthentication.Password}"></touch:TouchTextBox>
                </StackPanel>
            </StackPanel>
        </Grid>

        <Grid Grid.Row="2">
            <Grid>
                <touch:TouchButton HorizontalAlignment="Left" Command="{Binding CloseCommand}" CornerRadius="25" Width="170" Height="50" Style="{StaticResource TangoHollowButton}">CANCEL</touch:TouchButton>
                <touch:TouchButton HorizontalAlignment="Right" CornerRadius="25" Width="170" Height="50" Margin="10 0 0 0" Command="{Binding OKCommand}" Style="{StaticResource TangoHollowButton}">CONNECT</touch:TouchButton>
            </Grid>
        </Grid>
    </Grid>
</UserControl>
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: StubHeatingTestRequest.proto

#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "StubHeatingTestRequest.pb.h"

#include <algorithm>

#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/wire_format_lite_inl.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/reflection_ops.h>
#include <google/protobuf/wire_format.h>
// @@protoc_insertion_point(includes)

namespace Tango {
namespace PMR {
namespace Stubs {
class StubHeatingTestRequestDefaultTypeInternal {
public:
 ::google::protobuf::internal::ExplicitlyConstructed<StubHeatingTestRequest>
     _instance;
} _StubHeatingTestRequest_default_instance_;

namespace protobuf_StubHeatingTestRequest_2eproto {


namespace {

::google::protobuf::Metadata file_level_metadata[1];

}  // namespace

PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::ParseTableField
    const TableStruct::entries[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  {0, 0, 0, ::google::protobuf::internal::kInvalidMask, 0, 0},
};

PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::AuxillaryParseTableField
    const TableStruct::aux[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  ::google::protobuf::internal::AuxillaryParseTableField(),
};
PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::ParseTable const
    TableStruct::schema[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  { NULL, NULL, 0, -1, -1, -1, -1, NULL, false },
};

const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  ~0u,  // no _has_bits_
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubHeatingTestRequest, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubHeatingTestRequest, dryerzone1temp_),
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubHeatingTestRequest, dryerzone2temp_),
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubHeatingTestRequest, hardwarepidcontrol1_),
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubHeatingTestRequest, hardwarepidcontrol2_),
};
static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  { 0, -1, sizeof(StubHeatingTestRequest)},
};

static ::google::protobuf::Message const * const file_default_instances[] = {
  reinterpret_cast<const ::google::protobuf::Message*>(&_StubHeatingTestRequest_default_instance_),
};

namespace {

void protobuf_AssignDescriptors() {
  AddDescriptors();
  ::google::protobuf::MessageFactory* factory = NULL;
  AssignDescriptors(
      "StubHeatingTestRequest.proto", schemas, file_default_instances, TableStruct::offsets, factory,
      file_level_metadata, NULL, NULL);
}

void protobuf_AssignDescriptorsOnce() {
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors);
}

void protobuf_RegisterTypes(const ::std::string&) GOOGLE_ATTRIBUTE_COLD;
void protobuf_RegisterTypes(const ::std::string&) {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 1);
}

}  // namespace
void TableStruct::InitDefaultsImpl() {
  GOOGLE_PROTOBUF_VERIFY_VERSION;

  ::google::protobuf::internal::InitProtobufDefaults();
  ::Tango::PMR::Hardware::protobuf_HardwarePidControl_2eproto::InitDefaults();
  _StubHeatingTestRequest_default_instance_._instance.DefaultConstruct();
  ::google::protobuf::internal::OnShutdownDestroyMessage(
      &_StubHeatingTestRequest_default_instance_);_StubHeatingTestRequest_default_instance_._instance.get_mutable()->hardwarepidcontrol1_ = const_cast< ::Tango::PMR::Hardware::HardwarePidControl*>(
      ::Tango::PMR::Hardware::HardwarePidControl::internal_default_instance());
  _StubHeatingTestRequest_default_instance_._instance.get_mutable()->hardwarepidcontrol2_ = const_cast< ::Tango::PMR::Hardware::HardwarePidControl*>(
      ::Tango::PMR::Hardware::HardwarePidControl::internal_default_instance());
}

void InitDefaults() {
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  ::google::protobuf::GoogleOnceInit(&once, &TableStruct::InitDefaultsImpl);
}
namespace {
void AddDescriptorsImpl() {
  InitDefaults();
  static const char descriptor[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
      "\n\034StubHeatingTestRequest.proto\022\017Tango.PM"
      "R.Stubs\032\030HardwarePidControl.proto\"\322\001\n\026St"
      "ubHeatingTestRequest\022\026\n\016DryerZone1Temp\030\001"
      " \001(\001\022\026\n\016DryerZone2Temp\030\002 \001(\001\022C\n\023Hardware"
      "PidControl1\030\003 \001(\0132&.Tango.PMR.Hardware.H"
      "ardwarePidControl\022C\n\023HardwarePidControl2"
      "\030\004 \001(\0132&.Tango.PMR.Hardware.HardwarePidC"
      "ontrolB\033\n\031com.twine.tango.pmr.stubsb\006pro"
      "to3"
  };
  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
      descriptor, 323);
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
    "StubHeatingTestRequest.proto", &protobuf_RegisterTypes);
  ::Tango::PMR::Hardware::protobuf_HardwarePidControl_2eproto::AddDescriptors();
}
} // anonymous namespace

void AddDescriptors() {
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl);
}
// Force AddDescriptors() to be called at dynamic initialization time.
struct StaticDescriptorInitializer {
  StaticDescriptorInitializer() {
    AddDescriptors();
  }
} static_descriptor_initializer;

}  // namespace protobuf_StubHeatingTestRequest_2eproto


// ===================================================================

#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int StubHeatingTestRequest::kDryerZone1TempFieldNumber;
const int StubHeatingTestRequest::kDryerZone2TempFieldNumber;
const int StubHeatingTestRequest::kHardwarePidControl1FieldNumber;
const int StubHeatingTestRequest::kHardwarePidControl2FieldNumber;
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900

StubHeatingTestRequest::StubHeatingTestRequest()
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
    protobuf_StubHeatingTestRequest_2eproto::InitDefaults();
  }
  SharedCtor();
  // @@protoc_insertion_point(constructor:Tango.PMR.Stubs.StubHeatingTestRequest)
}
StubHeatingTestRequest::StubHeatingTestRequest(const StubHeatingTestRequest& from)
  : ::google::protobuf::Message(),
      _internal_metadata_(NULL),
      _cached_size_(0) {
  _internal_metadata_.MergeFrom(from._internal_metadata_);
  if (from.has_hardwarepidcontrol1()) {
    hardwarepidcontrol1_ = new ::Tango::PMR::Hardware::HardwarePidControl(*from.hardwarepidcontrol1_);
  } else {
    hardwarepidcontrol1_ = NULL;
  }
  if (from.has_hardwarepidcontrol2()) {
    hardwarepidcontrol2_ = new ::Tango::PMR::Hardware::HardwarePidControl(*from.hardwarepidcontrol2_);
  } else {
    hardwarepidcontrol2_ = NULL;
  }
  ::memcpy(&dryerzone1temp_, &from.dryerzone1temp_,
    static_cast<size_t>(reinterpret_cast<char*>(&dryerzone2temp_) -
    reinterpret_cast<char*>(&dryerzone1temp_)) + sizeof(dryerzone2temp_));
  // @@protoc_insertion_point(copy_constructor:Tango.PMR.Stubs.StubHeatingTestRequest)
}

void StubHeatingTestRequest::SharedCtor() {
  ::memset(&hardwarepidcontrol1_, 0, static_cast<size_t>(
      reinterpret_cast<char*>(&dryerzone2temp_) -
      reinterpret_cast<char*>(&hardwarepidcontrol1_)) + sizeof(dryerzone2temp_));
  _cached_size_ = 0;
}

StubHeatingTestRequest::~StubHeatingTestRequest() {
  // @@protoc_insertion_point(destructor:Tango.PMR.Stubs.StubHeatingTestRequest)
  SharedDtor();
}

void StubHeatingTestRequest::SharedDtor() {
  if (this != internal_default_instance()) delete hardwarepidcontrol1_;
  if (this != internal_default_instance()) delete hardwarepidcontrol2_;
}

void StubHeatingTestRequest::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* StubHeatingTestRequest::descriptor() {
  protobuf_StubHeatingTestRequest_2eproto::protobuf_AssignDescriptorsOnce();
  return protobuf_StubHeatingTestRequest_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
}

const StubHeatingTestRequest& StubHeatingTestRequest::default_instance() {
  protobuf_StubHeatingTestRequest_2eproto::InitDefaults();
  return *internal_default_instance();
}

StubHeatingTestRequest* StubHeatingTestRequest::New(::google::protobuf::Arena* arena) const {
  StubHeatingTestRequest* n = new StubHeatingTestRequest;
  if (arena != NULL) {
    arena->Own(n);
  }
  return n;
}

void StubHeatingTestRequest::Clear() {
// @@protoc_insertion_point(message_clear_start:Tango.PMR.Stubs.StubHeatingTestRequest)
  ::google::protobuf::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  if (GetArenaNoVirtual() == NULL && hardwarepidcontrol1_ != NULL) {
    delete hardwarepidcontrol1_;
  }
  hardwarepidcontrol1_ = NULL;
  if (GetArenaNoVirtual() == NULL && hardwarepidcontrol2_ != NULL) {
    delete hardwarepidcontrol2_;
  }
  hardwarepidcontrol2_ = NULL;
  ::memset(&dryerzone1temp_, 0, static_cast<size_t>(
      reinterpret_cast<char*>(&dryerzone2temp_) -
      reinterpret_cast<char*>(&dryerzone1temp_)) + sizeof(dryerzone2temp_));
  _internal_metadata_.Clear();
}

bool StubHeatingTestRequest::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  ::google::protobuf::uint32 tag;
  // @@protoc_insertion_point(parse_start:Tango.PMR.Stubs.StubHeatingTestRequest)
  for (;;) {
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
    tag = p.first;
    if (!p.second) goto handle_unusual;
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // double DryerZone1Temp = 1;
      case 1: {
        if (static_cast< ::google::protobuf::uint8>(tag) ==
            static_cast< ::google::protobuf::uint8>(9u /* 9 & 0xFF */)) {

          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
                 input, &dryerzone1temp_)));
        } else {
          goto handle_unusual;
        }
        break;
      }

      // double DryerZone2Temp = 2;
      case 2: {
        if (static_cast< ::google::protobuf::uint8>(tag) ==
            static_cast< ::google::protobuf::uint8>(17u /* 17 & 0xFF */)) {

          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
                 input, &dryerzone2temp_)));
        } else {
          goto handle_unusual;
        }
        break;
      }

      // .Tango.PMR.Hardware.HardwarePidControl HardwarePidControl1 = 3;
      case 3: {
        if (static_cast< ::google::protobuf::uint8>(tag) ==
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
               input, mutable_hardwarepidcontrol1()));
        } else {
          goto handle_unusual;
        }
        break;
      }

      // .Tango.PMR.Hardware.HardwarePidControl HardwarePidControl2 = 4;
      case 4: {
        if (static_cast< ::google::protobuf::uint8>(tag) ==
            static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
               input, mutable_hardwarepidcontrol2()));
        } else {
          goto handle_unusual;
        }
        break;
      }

      default: {
      handle_unusual:
        if (tag == 0) {
          goto success;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, _internal_metadata_.mutable_unknown_fields()));
        break;
      }
    }
  }
success:
  // @@protoc_insertion_point(parse_success:Tango.PMR.Stubs.StubHeatingTestRequest)
  return true;
failure:
  // @@protoc_insertion_point(parse_failure:Tango.PMR.Stubs.StubHeatingTestRequest)
  return false;
#undef DO_
}

void StubHeatingTestRequest::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // @@protoc_insertion_point(serialize_start:Tango.PMR.Stubs.StubHeatingTestRequest)
  ::google::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  // double DryerZone1Temp = 1;
  if (this->dryerzone1temp() != 0) {
    ::google::protobuf::internal::WireFormatLite::WriteDouble(1, this->dryerzone1temp(), output);
  }

  // double DryerZone2Temp = 2;
  if (this->dryerzone2temp() != 0) {
    ::google::protobuf::internal::WireFormatLite::WriteDouble(2, this->dryerzone2temp(), output);
  }

  // .Tango.PMR.Hardware.HardwarePidControl HardwarePidControl1 = 3;
  if (this->has_hardwarepidcontrol1()) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      3, *this->hardwarepidcontrol1_, output);
  }

  // .Tango.PMR.Hardware.HardwarePidControl HardwarePidControl2 = 4;
  if (this->has_hardwarepidcontrol2()) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      4, *this->hardwarepidcontrol2_, output);
  }

  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
  }
  // @@protoc_insertion_point(serialize_end:Tango.PMR.Stubs.StubHeatingTestRequest)
}

::google::protobuf::uint8* StubHeatingTestRequest::InternalSerializeWithCachedSizesToArray(
    bool deterministic, ::google::protobuf::uint8* target) const {
  (void)deterministic; // Unused
  // @@protoc_insertion_point(serialize_to_array_start:Tango.PMR.Stubs.StubHeatingTestRequest)
  ::google::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  // double DryerZone1Temp = 1;
  if (this->dryerzone1temp() != 0) {
    target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(1, this->dryerzone1temp(), target);
  }

  // double DryerZone2Temp = 2;
  if (this->dryerzone2temp() != 0) {
    target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(2, this->dryerzone2temp(), target);
  }

  // .Tango.PMR.Hardware.HardwarePidControl HardwarePidControl1 = 3;
  if (this->has_hardwarepidcontrol1()) {
    target = ::google::protobuf::internal::WireFormatLite::
      InternalWriteMessageNoVirtualToArray(
        3, *this->hardwarepidcontrol1_, deterministic, target);
  }

  // .Tango.PMR.Hardware.HardwarePidControl HardwarePidControl2 = 4;
  if (this->has_hardwarepidcontrol2()) {
    target = ::google::protobuf::internal::WireFormatLite::
      InternalWriteMessageNoVirtualToArray(
        4, *this->hardwarepidcontrol2_, deterministic, target);
  }

  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:Tango.PMR.Stubs.StubHeatingTestRequest)
  return target;
}

size_t StubHeatingTestRequest::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:Tango.PMR.Stubs.StubHeatingTestRequest)
  size_t total_size = 0;

  if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
  }
  // .Tango.PMR.Hardware.HardwarePidControl HardwarePidControl1 = 3;
  if (this->has_hardwarepidcontrol1()) {
    total_size += 1 +
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        *this->hardwarepidcontrol1_);
  }

  // .Tango.PMR.Hardware.HardwarePidControl HardwarePidControl2 = 4;
  if (this->has_hardwarepidcontrol2()) {
    total_size += 1 +
      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
        *this->hardwarepidcontrol2_);
  }

  // double DryerZone1Temp = 1;
  if (this->dryerzone1temp() != 0) {
    total_size += 1 + 8;
  }

  // double DryerZone2Temp = 2;
  if (this->dryerzone2temp() != 0) {
    total_size += 1 + 8;
  }

  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = cached_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void StubHeatingTestRequest::MergeFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:Tango.PMR.Stubs.StubHeatingTestRequest)
  GOOGLE_DCHECK_NE(&from, this);
  const StubHeatingTestRequest* source =
      ::google::protobuf::internal::DynamicCastToGenerated<const StubHeatingTestRequest>(
          &from);
  if (source == NULL) {
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:Tango.PMR.Stubs.StubHeatingTestRequest)
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
  // @@protoc_insertion_point(generalized_merge_from_cast_success:Tango.PMR.Stubs.StubHeatingTestRequest)
    MergeFrom(*source);
  }
}

void StubHeatingTestRequest::MergeFrom(const StubHeatingTestRequest& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:Tango.PMR.Stubs.StubHeatingTestRequest)
  GOOGLE_DCHECK_NE(&from, this);
  _internal_metadata_.MergeFrom(from._internal_metadata_);
  ::google::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  if (from.has_hardwarepidcontrol1()) {
    mutable_hardwarepidcontrol1()->::Tango::PMR::Hardware::HardwarePidControl::MergeFrom(from.hardwarepidcontrol1());
  }
  if (from.has_hardwarepidcontrol2()) {
    mutable_hardwarepidcontrol2()->::Tango::PMR::Hardware::HardwarePidControl::MergeFrom(from.hardwarepidcontrol2());
  }
  if (from.dryerzone1temp() != 0) {
    set_dryerzone1temp(from.dryerzone1temp());
  }
  if (from.dryerzone2temp() != 0) {
    set_dryerzone2temp(from.dryerzone2temp());
  }
}

void StubHeatingTestRequest::CopyFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:Tango.PMR.Stubs.StubHeatingTestRequest)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void StubHeatingTestRequest::CopyFrom(const StubHeatingTestRequest& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:Tango.PMR.Stubs.StubHeatingTestRequest)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool StubHeatingTestRequest::IsInitialized() const {
  return true;
}

void StubHeatingTestRequest::Swap(StubHeatingTestRequest* other) {
  if (other == this) return;
  InternalSwap(other);
}
void StubHeatingTestRequest::InternalSwap(StubHeatingTestRequest* other) {
  using std::swap;
  swap(hardwarepidcontrol1_, other->hardwarepidcontrol1_);
  swap(hardwarepidcontrol2_, other->hardwarepidcontrol2_);
  swap(dryerzone1temp_, other->dryerzone1temp_);
  swap(dryerzone2temp_, other->dryerzone2temp_);
  _internal_metadata_.Swap(&other->_internal_metadata_);
  swap(_cached_size_, other->_cached_size_);
}

::google::protobuf::Metadata StubHeatingTestRequest::GetMetadata() const {
  protobuf_StubHeatingTestRequest_2eproto::protobuf_AssignDescriptorsOnce();
  return protobuf_StubHeatingTestRequest_2eproto::file_level_metadata[kIndexInFileMessages];
}

#if PROTOBUF_INLINE_NOT_IN_HEADERS
// StubHeatingTestRequest

// double DryerZone1Temp = 1;
void StubHeatingTestRequest::clear_dryerzone1temp() {
  dryerzone1temp_ = 0;
}
double StubHeatingTestRequest::dryerzone1temp() const {
  // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubHeatingTestRequest.DryerZone1Temp)
  return dryerzone1temp_;
}
void StubHeatingTestRequest::set_dryerzone1temp(double value) {
  
  dryerzone1temp_ = value;
  // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubHeatingTestRequest.DryerZone1Temp)
}

// double DryerZone2Temp = 2;
void StubHeatingTestRequest::clear_dryerzone2temp() {
  dryerzone2temp_ = 0;
}
double StubHeatingTestRequest::dryerzone2temp() const {
  // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubHeatingTestRequest.DryerZone2Temp)
  return dryerzone2temp_;
}
void StubHeatingTestRequest::set_dryerzone2temp(double value) {
  
  dryerzone2temp_ = value;
  // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubHeatingTestRequest.DryerZone2Temp)
}

// .Tango.PMR.Hardware.HardwarePidControl HardwarePidControl1 = 3;
bool StubHeatingTestRequest::has_hardwarepidcontrol1() const {
  return this != internal_default_instance() && hardwarepidcontrol1_ != NULL;
}
void StubHeatingTestRequest::clear_hardwarepidcontrol1() {
  if (GetArenaNoVirtual() == NULL && hardwarepidcontrol1_ != NULL) delete hardwarepidcontrol1_;
  hardwarepidcontrol1_ = NULL;
}
const ::Tango::PMR::Hardware::HardwarePidControl& StubHeatingTestRequest::hardwarepidcontrol1() const {
  const ::Tango::PMR::Hardware::HardwarePidControl* p = hardwarepidcontrol1_;
  // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubHeatingTestRequest.HardwarePidControl1)
  return p != NULL ? *p : *reinterpret_cast<const ::Tango::PMR::Hardware::HardwarePidControl*>(
      &::Tango::PMR::Hardware::_HardwarePidControl_default_instance_);
}
::Tango::PMR::Hardware::HardwarePidControl* StubHeatingTestRequest::mutable_hardwarepidcontrol1() {
  
  if (hardwarepidcontrol1_ == NULL) {
    hardwarepidcontrol1_ = new ::Tango::PMR::Hardware::HardwarePidControl;
  }
  // @@protoc_insertion_point(field_mutable:Tango.PMR.Stubs.StubHeatingTestRequest.HardwarePidControl1)
  return hardwarepidcontrol1_;
}
::Tango::PMR::Hardware::HardwarePidControl* StubHeatingTestRequest::release_hardwarepidcontrol1() {
  // @@protoc_insertion_point(field_release:Tango.PMR.Stubs.StubHeatingTestRequest.HardwarePidControl1)
  
  ::Tango::PMR::Hardware::HardwarePidControl* temp = hardwarepidcontrol1_;
  hardwarepidcontrol1_ = NULL;
  return temp;
}
void StubHeatingTestRequest::set_allocated_hardwarepidcontrol1(::Tango::PMR::Hardware::HardwarePidControl* hardwarepidcontrol1) {
  delete hardwarepidcontrol1_;
  hardwarepidcontrol1_ = hardwarepidcontrol1;
  if (hardwarepidcontrol1) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_set_allocated:Tango.PMR.Stubs.StubHeatingTestRequest.HardwarePidControl1)
}

// .Tango.PMR.Hardware.HardwarePidControl HardwarePidControl2 = 4;
bool StubHeatingTestRequest::has_hardwarepidcontrol2() const {
  return this != internal_default_instance() && hardwarepidcontrol2_ != NULL;
}
void StubHeatingTestRequest::clear_hardwarepidcontrol2() {
  if (GetArenaNoVirtual() == NULL && hardwarepidcontrol2_ != NULL) delete hardwarepidcontrol2_;
  hardwarepidcontrol2_ = NULL;
}
const ::Tango::PMR::Hardware::HardwarePidControl& StubHeatingTestRequest::hardwarepidcontrol2() const {
  const ::Tango::PMR::Hardware::HardwarePidControl* p = hardwarepidcontrol2_;
  // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubHeatingTestRequest.HardwarePidControl2)
  return p != NULL ? *p : *reinterpret_cast<const ::Tango::PMR::Hardware::HardwarePidControl*>(
      &::Tango::PMR::Hardware::_HardwarePidControl_default_instance_);
}
::Tango::PMR::Hardware::HardwarePidControl* StubHeatingTestRequest::mutable_hardwarepidcontrol2() {
  
  if (hardwarepidcontrol2_ == NULL) {
    hardwarepidcontrol2_ = new ::Tango::PMR::Hardware::HardwarePidControl;
  }
  // @@protoc_insertion_point(field_mutable:Tango.PMR.Stubs.StubHeatingTestRequest.HardwarePidControl2)
  return hardwarepidcontrol2_;
}
::Tango::PMR::Hardware::HardwarePidControl* StubHeatingTestRequest::release_hardwarepidcontrol2() {
  // @@protoc_insertion_point(field_release:Tango.PMR.Stubs.StubHeatingTestRequest.HardwarePidControl2)
  
  ::Tango::PMR::Hardware::HardwarePidControl* temp = hardwarepidcontrol2_;
  hardwarepidcontrol2_ = NULL;
  return temp;
}
void StubHeatingTestRequest::set_allocated_hardwarepidcontrol2(::Tango::PMR::Hardware::HardwarePidControl* hardwarepidcontrol2) {
  delete hardwarepidcontrol2_;
  hardwarepidcontrol2_ = hardwarepidcontrol2;
  if (hardwarepidcontrol2) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_set_allocated:Tango.PMR.Stubs.StubHeatingTestRequest.HardwarePidControl2)
}

#endif  // PROTOBUF_INLINE_NOT_IN_HEADERS

// @@protoc_insertion_point(namespace_scope)

}  // namespace Stubs
}  // namespace PMR
}  // namespace Tango

// @@protoc_insertion_point(global_scope)