diff options
Diffstat (limited to 'Software/Visual_Studio/Native/Tango.ProtoTest/PMR/HardwarePidControl.pb.cc')
| -rw-r--r-- | Software/Visual_Studio/Native/Tango.ProtoTest/PMR/HardwarePidControl.pb.cc | 1254 |
1 files changed, 1254 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Native/Tango.ProtoTest/PMR/HardwarePidControl.pb.cc b/Software/Visual_Studio/Native/Tango.ProtoTest/PMR/HardwarePidControl.pb.cc new file mode 100644 index 000000000..1be8b43a0 --- /dev/null +++ b/Software/Visual_Studio/Native/Tango.ProtoTest/PMR/HardwarePidControl.pb.cc @@ -0,0 +1,1254 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: HardwarePidControl.proto + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "HardwarePidControl.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 Hardware { +class HardwarePidControlDefaultTypeInternal { +public: + ::google::protobuf::internal::ExplicitlyConstructed<HardwarePidControl> + _instance; +} _HardwarePidControl_default_instance_; + +namespace protobuf_HardwarePidControl_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(HardwarePidControl, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HardwarePidControl, hardwarepidcontroltype_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HardwarePidControl, outputproportionalpowerlimit_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HardwarePidControl, outputproportionalband_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HardwarePidControl, integraltime_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HardwarePidControl, derivativetime_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HardwarePidControl, sensorcorrectionadjustment_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HardwarePidControl, sensorminvalue_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HardwarePidControl, sensormaxvalue_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HardwarePidControl, setpointramprateorsoftstartramp_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HardwarePidControl, setpointcontroloutputrate_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HardwarePidControl, controloutputtype_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HardwarePidControl, ssrcontroloutputtype_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HardwarePidControl, outputonoffhysteresisvalue_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HardwarePidControl, processvariablesamplingrate_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HardwarePidControl, pvinputfilterfactormode_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HardwarePidControl, outputproportionalcycletime_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HardwarePidControl, acheatershalfcycletime_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HardwarePidControl, proportionalgain_), +}; +static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + { 0, -1, sizeof(HardwarePidControl)}, +}; + +static ::google::protobuf::Message const * const file_default_instances[] = { + reinterpret_cast<const ::google::protobuf::Message*>(&_HardwarePidControl_default_instance_), +}; + +namespace { + +void protobuf_AssignDescriptors() { + AddDescriptors(); + ::google::protobuf::MessageFactory* factory = NULL; + AssignDescriptors( + "HardwarePidControl.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_HardwarePidControlType_2eproto::InitDefaults(); + _HardwarePidControl_default_instance_._instance.DefaultConstruct(); + ::google::protobuf::internal::OnShutdownDestroyMessage( + &_HardwarePidControl_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\030HardwarePidControl.proto\022\022Tango.PMR.Ha" + "rdware\032\034HardwarePidControlType.proto\"\366\004\n" + "\022HardwarePidControl\022J\n\026HardwarePidContro" + "lType\030\001 \001(\0162*.Tango.PMR.Hardware.Hardwar" + "ePidControlType\022$\n\034OutputProportionalPow" + "erLimit\030\002 \001(\001\022\036\n\026OutputProportionalBand\030" + "\003 \001(\001\022\024\n\014IntegralTime\030\004 \001(\001\022\026\n\016Derivativ" + "eTime\030\005 \001(\001\022\"\n\032SensorCorrectionAdjustmen" + "t\030\006 \001(\001\022\026\n\016SensorMinValue\030\007 \001(\001\022\026\n\016Senso" + "rMaxValue\030\010 \001(\001\022\'\n\037SetPointRampRateorSof" + "tStartRamp\030\t \001(\001\022!\n\031SetPointControlOutpu" + "tRate\030\n \001(\001\022\031\n\021ControlOutputType\030\013 \001(\001\022\034" + "\n\024SsrControlOutputType\030\014 \001(\001\022\"\n\032OutputOn" + "OffHysteresisValue\030\r \001(\001\022#\n\033ProcessVaria" + "bleSamplingRate\030\016 \001(\001\022\037\n\027PvInputFilterFa" + "ctorMode\030\017 \001(\001\022#\n\033OutputProportionalCycl" + "eTime\030\020 \001(\005\022\036\n\026AcHeatersHalfCycleTime\030\021 " + "\001(\005\022\030\n\020ProportionalGain\030\022 \001(\001B\036\n\034com.twi" + "ne.tango.pmr.hardwareb\006proto3" + }; + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + descriptor, 749); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "HardwarePidControl.proto", &protobuf_RegisterTypes); + ::Tango::PMR::Hardware::protobuf_HardwarePidControlType_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_HardwarePidControl_2eproto + + +// =================================================================== + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int HardwarePidControl::kHardwarePidControlTypeFieldNumber; +const int HardwarePidControl::kOutputProportionalPowerLimitFieldNumber; +const int HardwarePidControl::kOutputProportionalBandFieldNumber; +const int HardwarePidControl::kIntegralTimeFieldNumber; +const int HardwarePidControl::kDerivativeTimeFieldNumber; +const int HardwarePidControl::kSensorCorrectionAdjustmentFieldNumber; +const int HardwarePidControl::kSensorMinValueFieldNumber; +const int HardwarePidControl::kSensorMaxValueFieldNumber; +const int HardwarePidControl::kSetPointRampRateorSoftStartRampFieldNumber; +const int HardwarePidControl::kSetPointControlOutputRateFieldNumber; +const int HardwarePidControl::kControlOutputTypeFieldNumber; +const int HardwarePidControl::kSsrControlOutputTypeFieldNumber; +const int HardwarePidControl::kOutputOnOffHysteresisValueFieldNumber; +const int HardwarePidControl::kProcessVariableSamplingRateFieldNumber; +const int HardwarePidControl::kPvInputFilterFactorModeFieldNumber; +const int HardwarePidControl::kOutputProportionalCycleTimeFieldNumber; +const int HardwarePidControl::kAcHeatersHalfCycleTimeFieldNumber; +const int HardwarePidControl::kProportionalGainFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +HardwarePidControl::HardwarePidControl() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { + protobuf_HardwarePidControl_2eproto::InitDefaults(); + } + SharedCtor(); + // @@protoc_insertion_point(constructor:Tango.PMR.Hardware.HardwarePidControl) +} +HardwarePidControl::HardwarePidControl(const HardwarePidControl& from) + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _cached_size_(0) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&outputproportionalpowerlimit_, &from.outputproportionalpowerlimit_, + static_cast<size_t>(reinterpret_cast<char*>(&acheatershalfcycletime_) - + reinterpret_cast<char*>(&outputproportionalpowerlimit_)) + sizeof(acheatershalfcycletime_)); + // @@protoc_insertion_point(copy_constructor:Tango.PMR.Hardware.HardwarePidControl) +} + +void HardwarePidControl::SharedCtor() { + ::memset(&outputproportionalpowerlimit_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&acheatershalfcycletime_) - + reinterpret_cast<char*>(&outputproportionalpowerlimit_)) + sizeof(acheatershalfcycletime_)); + _cached_size_ = 0; +} + +HardwarePidControl::~HardwarePidControl() { + // @@protoc_insertion_point(destructor:Tango.PMR.Hardware.HardwarePidControl) + SharedDtor(); +} + +void HardwarePidControl::SharedDtor() { +} + +void HardwarePidControl::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* HardwarePidControl::descriptor() { + protobuf_HardwarePidControl_2eproto::protobuf_AssignDescriptorsOnce(); + return protobuf_HardwarePidControl_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + +const HardwarePidControl& HardwarePidControl::default_instance() { + protobuf_HardwarePidControl_2eproto::InitDefaults(); + return *internal_default_instance(); +} + +HardwarePidControl* HardwarePidControl::New(::google::protobuf::Arena* arena) const { + HardwarePidControl* n = new HardwarePidControl; + if (arena != NULL) { + arena->Own(n); + } + return n; +} + +void HardwarePidControl::Clear() { +// @@protoc_insertion_point(message_clear_start:Tango.PMR.Hardware.HardwarePidControl) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&outputproportionalpowerlimit_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&acheatershalfcycletime_) - + reinterpret_cast<char*>(&outputproportionalpowerlimit_)) + sizeof(acheatershalfcycletime_)); + _internal_metadata_.Clear(); +} + +bool HardwarePidControl::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.Hardware.HardwarePidControl) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .Tango.PMR.Hardware.HardwarePidControlType HardwarePidControlType = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { + int value; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + set_hardwarepidcontroltype(static_cast< ::Tango::PMR::Hardware::HardwarePidControlType >(value)); + } else { + goto handle_unusual; + } + break; + } + + // double OutputProportionalPowerLimit = 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, &outputproportionalpowerlimit_))); + } else { + goto handle_unusual; + } + break; + } + + // double OutputProportionalBand = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(25u /* 25 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( + input, &outputproportionalband_))); + } else { + goto handle_unusual; + } + break; + } + + // double IntegralTime = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(33u /* 33 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( + input, &integraltime_))); + } else { + goto handle_unusual; + } + break; + } + + // double DerivativeTime = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(41u /* 41 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( + input, &derivativetime_))); + } else { + goto handle_unusual; + } + break; + } + + // double SensorCorrectionAdjustment = 6; + case 6: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(49u /* 49 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( + input, &sensorcorrectionadjustment_))); + } else { + goto handle_unusual; + } + break; + } + + // double SensorMinValue = 7; + case 7: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(57u /* 57 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( + input, &sensorminvalue_))); + } else { + goto handle_unusual; + } + break; + } + + // double SensorMaxValue = 8; + case 8: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(65u /* 65 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( + input, &sensormaxvalue_))); + } else { + goto handle_unusual; + } + break; + } + + // double SetPointRampRateorSoftStartRamp = 9; + case 9: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(73u /* 73 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( + input, &setpointramprateorsoftstartramp_))); + } else { + goto handle_unusual; + } + break; + } + + // double SetPointControlOutputRate = 10; + case 10: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(81u /* 81 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( + input, &setpointcontroloutputrate_))); + } else { + goto handle_unusual; + } + break; + } + + // double ControlOutputType = 11; + case 11: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(89u /* 89 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( + input, &controloutputtype_))); + } else { + goto handle_unusual; + } + break; + } + + // double SsrControlOutputType = 12; + case 12: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(97u /* 97 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( + input, &ssrcontroloutputtype_))); + } else { + goto handle_unusual; + } + break; + } + + // double OutputOnOffHysteresisValue = 13; + case 13: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(105u /* 105 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( + input, &outputonoffhysteresisvalue_))); + } else { + goto handle_unusual; + } + break; + } + + // double ProcessVariableSamplingRate = 14; + case 14: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(113u /* 113 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( + input, &processvariablesamplingrate_))); + } else { + goto handle_unusual; + } + break; + } + + // double PvInputFilterFactorMode = 15; + case 15: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(121u /* 121 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( + input, &pvinputfilterfactormode_))); + } else { + goto handle_unusual; + } + break; + } + + // int32 OutputProportionalCycleTime = 16; + case 16: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(128u /* 128 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &outputproportionalcycletime_))); + } else { + goto handle_unusual; + } + break; + } + + // int32 AcHeatersHalfCycleTime = 17; + case 17: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(136u /* 136 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &acheatershalfcycletime_))); + } else { + goto handle_unusual; + } + break; + } + + // double ProportionalGain = 18; + case 18: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(145u /* 145 & 0xFF */)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( + input, &proportionalgain_))); + } 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.Hardware.HardwarePidControl) + return true; +failure: + // @@protoc_insertion_point(parse_failure:Tango.PMR.Hardware.HardwarePidControl) + return false; +#undef DO_ +} + +void HardwarePidControl::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:Tango.PMR.Hardware.HardwarePidControl) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .Tango.PMR.Hardware.HardwarePidControlType HardwarePidControlType = 1; + if (this->hardwarepidcontroltype() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->hardwarepidcontroltype(), output); + } + + // double OutputProportionalPowerLimit = 2; + if (this->outputproportionalpowerlimit() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteDouble(2, this->outputproportionalpowerlimit(), output); + } + + // double OutputProportionalBand = 3; + if (this->outputproportionalband() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteDouble(3, this->outputproportionalband(), output); + } + + // double IntegralTime = 4; + if (this->integraltime() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteDouble(4, this->integraltime(), output); + } + + // double DerivativeTime = 5; + if (this->derivativetime() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteDouble(5, this->derivativetime(), output); + } + + // double SensorCorrectionAdjustment = 6; + if (this->sensorcorrectionadjustment() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteDouble(6, this->sensorcorrectionadjustment(), output); + } + + // double SensorMinValue = 7; + if (this->sensorminvalue() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteDouble(7, this->sensorminvalue(), output); + } + + // double SensorMaxValue = 8; + if (this->sensormaxvalue() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteDouble(8, this->sensormaxvalue(), output); + } + + // double SetPointRampRateorSoftStartRamp = 9; + if (this->setpointramprateorsoftstartramp() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteDouble(9, this->setpointramprateorsoftstartramp(), output); + } + + // double SetPointControlOutputRate = 10; + if (this->setpointcontroloutputrate() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteDouble(10, this->setpointcontroloutputrate(), output); + } + + // double ControlOutputType = 11; + if (this->controloutputtype() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteDouble(11, this->controloutputtype(), output); + } + + // double SsrControlOutputType = 12; + if (this->ssrcontroloutputtype() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteDouble(12, this->ssrcontroloutputtype(), output); + } + + // double OutputOnOffHysteresisValue = 13; + if (this->outputonoffhysteresisvalue() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteDouble(13, this->outputonoffhysteresisvalue(), output); + } + + // double ProcessVariableSamplingRate = 14; + if (this->processvariablesamplingrate() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteDouble(14, this->processvariablesamplingrate(), output); + } + + // double PvInputFilterFactorMode = 15; + if (this->pvinputfilterfactormode() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteDouble(15, this->pvinputfilterfactormode(), output); + } + + // int32 OutputProportionalCycleTime = 16; + if (this->outputproportionalcycletime() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(16, this->outputproportionalcycletime(), output); + } + + // int32 AcHeatersHalfCycleTime = 17; + if (this->acheatershalfcycletime() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(17, this->acheatershalfcycletime(), output); + } + + // double ProportionalGain = 18; + if (this->proportionalgain() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteDouble(18, this->proportionalgain(), 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.Hardware.HardwarePidControl) +} + +::google::protobuf::uint8* HardwarePidControl::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:Tango.PMR.Hardware.HardwarePidControl) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .Tango.PMR.Hardware.HardwarePidControlType HardwarePidControlType = 1; + if (this->hardwarepidcontroltype() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 1, this->hardwarepidcontroltype(), target); + } + + // double OutputProportionalPowerLimit = 2; + if (this->outputproportionalpowerlimit() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(2, this->outputproportionalpowerlimit(), target); + } + + // double OutputProportionalBand = 3; + if (this->outputproportionalband() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(3, this->outputproportionalband(), target); + } + + // double IntegralTime = 4; + if (this->integraltime() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(4, this->integraltime(), target); + } + + // double DerivativeTime = 5; + if (this->derivativetime() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(5, this->derivativetime(), target); + } + + // double SensorCorrectionAdjustment = 6; + if (this->sensorcorrectionadjustment() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(6, this->sensorcorrectionadjustment(), target); + } + + // double SensorMinValue = 7; + if (this->sensorminvalue() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(7, this->sensorminvalue(), target); + } + + // double SensorMaxValue = 8; + if (this->sensormaxvalue() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(8, this->sensormaxvalue(), target); + } + + // double SetPointRampRateorSoftStartRamp = 9; + if (this->setpointramprateorsoftstartramp() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(9, this->setpointramprateorsoftstartramp(), target); + } + + // double SetPointControlOutputRate = 10; + if (this->setpointcontroloutputrate() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(10, this->setpointcontroloutputrate(), target); + } + + // double ControlOutputType = 11; + if (this->controloutputtype() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(11, this->controloutputtype(), target); + } + + // double SsrControlOutputType = 12; + if (this->ssrcontroloutputtype() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(12, this->ssrcontroloutputtype(), target); + } + + // double OutputOnOffHysteresisValue = 13; + if (this->outputonoffhysteresisvalue() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(13, this->outputonoffhysteresisvalue(), target); + } + + // double ProcessVariableSamplingRate = 14; + if (this->processvariablesamplingrate() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(14, this->processvariablesamplingrate(), target); + } + + // double PvInputFilterFactorMode = 15; + if (this->pvinputfilterfactormode() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(15, this->pvinputfilterfactormode(), target); + } + + // int32 OutputProportionalCycleTime = 16; + if (this->outputproportionalcycletime() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(16, this->outputproportionalcycletime(), target); + } + + // int32 AcHeatersHalfCycleTime = 17; + if (this->acheatershalfcycletime() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(17, this->acheatershalfcycletime(), target); + } + + // double ProportionalGain = 18; + if (this->proportionalgain() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(18, this->proportionalgain(), 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.Hardware.HardwarePidControl) + return target; +} + +size_t HardwarePidControl::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:Tango.PMR.Hardware.HardwarePidControl) + 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())); + } + // double OutputProportionalPowerLimit = 2; + if (this->outputproportionalpowerlimit() != 0) { + total_size += 1 + 8; + } + + // double OutputProportionalBand = 3; + if (this->outputproportionalband() != 0) { + total_size += 1 + 8; + } + + // double IntegralTime = 4; + if (this->integraltime() != 0) { + total_size += 1 + 8; + } + + // double DerivativeTime = 5; + if (this->derivativetime() != 0) { + total_size += 1 + 8; + } + + // double SensorCorrectionAdjustment = 6; + if (this->sensorcorrectionadjustment() != 0) { + total_size += 1 + 8; + } + + // double SensorMinValue = 7; + if (this->sensorminvalue() != 0) { + total_size += 1 + 8; + } + + // double SensorMaxValue = 8; + if (this->sensormaxvalue() != 0) { + total_size += 1 + 8; + } + + // .Tango.PMR.Hardware.HardwarePidControlType HardwarePidControlType = 1; + if (this->hardwarepidcontroltype() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->hardwarepidcontroltype()); + } + + // int32 OutputProportionalCycleTime = 16; + if (this->outputproportionalcycletime() != 0) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->outputproportionalcycletime()); + } + + // double SetPointRampRateorSoftStartRamp = 9; + if (this->setpointramprateorsoftstartramp() != 0) { + total_size += 1 + 8; + } + + // double SetPointControlOutputRate = 10; + if (this->setpointcontroloutputrate() != 0) { + total_size += 1 + 8; + } + + // double ControlOutputType = 11; + if (this->controloutputtype() != 0) { + total_size += 1 + 8; + } + + // double SsrControlOutputType = 12; + if (this->ssrcontroloutputtype() != 0) { + total_size += 1 + 8; + } + + // double OutputOnOffHysteresisValue = 13; + if (this->outputonoffhysteresisvalue() != 0) { + total_size += 1 + 8; + } + + // double ProcessVariableSamplingRate = 14; + if (this->processvariablesamplingrate() != 0) { + total_size += 1 + 8; + } + + // double PvInputFilterFactorMode = 15; + if (this->pvinputfilterfactormode() != 0) { + total_size += 1 + 8; + } + + // double ProportionalGain = 18; + if (this->proportionalgain() != 0) { + total_size += 2 + 8; + } + + // int32 AcHeatersHalfCycleTime = 17; + if (this->acheatershalfcycletime() != 0) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->acheatershalfcycletime()); + } + + 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 HardwarePidControl::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:Tango.PMR.Hardware.HardwarePidControl) + GOOGLE_DCHECK_NE(&from, this); + const HardwarePidControl* source = + ::google::protobuf::internal::DynamicCastToGenerated<const HardwarePidControl>( + &from); + if (source == NULL) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:Tango.PMR.Hardware.HardwarePidControl) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:Tango.PMR.Hardware.HardwarePidControl) + MergeFrom(*source); + } +} + +void HardwarePidControl::MergeFrom(const HardwarePidControl& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:Tango.PMR.Hardware.HardwarePidControl) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.outputproportionalpowerlimit() != 0) { + set_outputproportionalpowerlimit(from.outputproportionalpowerlimit()); + } + if (from.outputproportionalband() != 0) { + set_outputproportionalband(from.outputproportionalband()); + } + if (from.integraltime() != 0) { + set_integraltime(from.integraltime()); + } + if (from.derivativetime() != 0) { + set_derivativetime(from.derivativetime()); + } + if (from.sensorcorrectionadjustment() != 0) { + set_sensorcorrectionadjustment(from.sensorcorrectionadjustment()); + } + if (from.sensorminvalue() != 0) { + set_sensorminvalue(from.sensorminvalue()); + } + if (from.sensormaxvalue() != 0) { + set_sensormaxvalue(from.sensormaxvalue()); + } + if (from.hardwarepidcontroltype() != 0) { + set_hardwarepidcontroltype(from.hardwarepidcontroltype()); + } + if (from.outputproportionalcycletime() != 0) { + set_outputproportionalcycletime(from.outputproportionalcycletime()); + } + if (from.setpointramprateorsoftstartramp() != 0) { + set_setpointramprateorsoftstartramp(from.setpointramprateorsoftstartramp()); + } + if (from.setpointcontroloutputrate() != 0) { + set_setpointcontroloutputrate(from.setpointcontroloutputrate()); + } + if (from.controloutputtype() != 0) { + set_controloutputtype(from.controloutputtype()); + } + if (from.ssrcontroloutputtype() != 0) { + set_ssrcontroloutputtype(from.ssrcontroloutputtype()); + } + if (from.outputonoffhysteresisvalue() != 0) { + set_outputonoffhysteresisvalue(from.outputonoffhysteresisvalue()); + } + if (from.processvariablesamplingrate() != 0) { + set_processvariablesamplingrate(from.processvariablesamplingrate()); + } + if (from.pvinputfilterfactormode() != 0) { + set_pvinputfilterfactormode(from.pvinputfilterfactormode()); + } + if (from.proportionalgain() != 0) { + set_proportionalgain(from.proportionalgain()); + } + if (from.acheatershalfcycletime() != 0) { + set_acheatershalfcycletime(from.acheatershalfcycletime()); + } +} + +void HardwarePidControl::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:Tango.PMR.Hardware.HardwarePidControl) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void HardwarePidControl::CopyFrom(const HardwarePidControl& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:Tango.PMR.Hardware.HardwarePidControl) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool HardwarePidControl::IsInitialized() const { + return true; +} + +void HardwarePidControl::Swap(HardwarePidControl* other) { + if (other == this) return; + InternalSwap(other); +} +void HardwarePidControl::InternalSwap(HardwarePidControl* other) { + using std::swap; + swap(outputproportionalpowerlimit_, other->outputproportionalpowerlimit_); + swap(outputproportionalband_, other->outputproportionalband_); + swap(integraltime_, other->integraltime_); + swap(derivativetime_, other->derivativetime_); + swap(sensorcorrectionadjustment_, other->sensorcorrectionadjustment_); + swap(sensorminvalue_, other->sensorminvalue_); + swap(sensormaxvalue_, other->sensormaxvalue_); + swap(hardwarepidcontroltype_, other->hardwarepidcontroltype_); + swap(outputproportionalcycletime_, other->outputproportionalcycletime_); + swap(setpointramprateorsoftstartramp_, other->setpointramprateorsoftstartramp_); + swap(setpointcontroloutputrate_, other->setpointcontroloutputrate_); + swap(controloutputtype_, other->controloutputtype_); + swap(ssrcontroloutputtype_, other->ssrcontroloutputtype_); + swap(outputonoffhysteresisvalue_, other->outputonoffhysteresisvalue_); + swap(processvariablesamplingrate_, other->processvariablesamplingrate_); + swap(pvinputfilterfactormode_, other->pvinputfilterfactormode_); + swap(proportionalgain_, other->proportionalgain_); + swap(acheatershalfcycletime_, other->acheatershalfcycletime_); + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(_cached_size_, other->_cached_size_); +} + +::google::protobuf::Metadata HardwarePidControl::GetMetadata() const { + protobuf_HardwarePidControl_2eproto::protobuf_AssignDescriptorsOnce(); + return protobuf_HardwarePidControl_2eproto::file_level_metadata[kIndexInFileMessages]; +} + +#if PROTOBUF_INLINE_NOT_IN_HEADERS +// HardwarePidControl + +// .Tango.PMR.Hardware.HardwarePidControlType HardwarePidControlType = 1; +void HardwarePidControl::clear_hardwarepidcontroltype() { + hardwarepidcontroltype_ = 0; +} +::Tango::PMR::Hardware::HardwarePidControlType HardwarePidControl::hardwarepidcontroltype() const { + // @@protoc_insertion_point(field_get:Tango.PMR.Hardware.HardwarePidControl.HardwarePidControlType) + return static_cast< ::Tango::PMR::Hardware::HardwarePidControlType >(hardwarepidcontroltype_); +} +void HardwarePidControl::set_hardwarepidcontroltype(::Tango::PMR::Hardware::HardwarePidControlType value) { + + hardwarepidcontroltype_ = value; + // @@protoc_insertion_point(field_set:Tango.PMR.Hardware.HardwarePidControl.HardwarePidControlType) +} + +// double OutputProportionalPowerLimit = 2; +void HardwarePidControl::clear_outputproportionalpowerlimit() { + outputproportionalpowerlimit_ = 0; +} +double HardwarePidControl::outputproportionalpowerlimit() const { + // @@protoc_insertion_point(field_get:Tango.PMR.Hardware.HardwarePidControl.OutputProportionalPowerLimit) + return outputproportionalpowerlimit_; +} +void HardwarePidControl::set_outputproportionalpowerlimit(double value) { + + outputproportionalpowerlimit_ = value; + // @@protoc_insertion_point(field_set:Tango.PMR.Hardware.HardwarePidControl.OutputProportionalPowerLimit) +} + +// double OutputProportionalBand = 3; +void HardwarePidControl::clear_outputproportionalband() { + outputproportionalband_ = 0; +} +double HardwarePidControl::outputproportionalband() const { + // @@protoc_insertion_point(field_get:Tango.PMR.Hardware.HardwarePidControl.OutputProportionalBand) + return outputproportionalband_; +} +void HardwarePidControl::set_outputproportionalband(double value) { + + outputproportionalband_ = value; + // @@protoc_insertion_point(field_set:Tango.PMR.Hardware.HardwarePidControl.OutputProportionalBand) +} + +// double IntegralTime = 4; +void HardwarePidControl::clear_integraltime() { + integraltime_ = 0; +} +double HardwarePidControl::integraltime() const { + // @@protoc_insertion_point(field_get:Tango.PMR.Hardware.HardwarePidControl.IntegralTime) + return integraltime_; +} +void HardwarePidControl::set_integraltime(double value) { + + integraltime_ = value; + // @@protoc_insertion_point(field_set:Tango.PMR.Hardware.HardwarePidControl.IntegralTime) +} + +// double DerivativeTime = 5; +void HardwarePidControl::clear_derivativetime() { + derivativetime_ = 0; +} +double HardwarePidControl::derivativetime() const { + // @@protoc_insertion_point(field_get:Tango.PMR.Hardware.HardwarePidControl.DerivativeTime) + return derivativetime_; +} +void HardwarePidControl::set_derivativetime(double value) { + + derivativetime_ = value; + // @@protoc_insertion_point(field_set:Tango.PMR.Hardware.HardwarePidControl.DerivativeTime) +} + +// double SensorCorrectionAdjustment = 6; +void HardwarePidControl::clear_sensorcorrectionadjustment() { + sensorcorrectionadjustment_ = 0; +} +double HardwarePidControl::sensorcorrectionadjustment() const { + // @@protoc_insertion_point(field_get:Tango.PMR.Hardware.HardwarePidControl.SensorCorrectionAdjustment) + return sensorcorrectionadjustment_; +} +void HardwarePidControl::set_sensorcorrectionadjustment(double value) { + + sensorcorrectionadjustment_ = value; + // @@protoc_insertion_point(field_set:Tango.PMR.Hardware.HardwarePidControl.SensorCorrectionAdjustment) +} + +// double SensorMinValue = 7; +void HardwarePidControl::clear_sensorminvalue() { + sensorminvalue_ = 0; +} +double HardwarePidControl::sensorminvalue() const { + // @@protoc_insertion_point(field_get:Tango.PMR.Hardware.HardwarePidControl.SensorMinValue) + return sensorminvalue_; +} +void HardwarePidControl::set_sensorminvalue(double value) { + + sensorminvalue_ = value; + // @@protoc_insertion_point(field_set:Tango.PMR.Hardware.HardwarePidControl.SensorMinValue) +} + +// double SensorMaxValue = 8; +void HardwarePidControl::clear_sensormaxvalue() { + sensormaxvalue_ = 0; +} +double HardwarePidControl::sensormaxvalue() const { + // @@protoc_insertion_point(field_get:Tango.PMR.Hardware.HardwarePidControl.SensorMaxValue) + return sensormaxvalue_; +} +void HardwarePidControl::set_sensormaxvalue(double value) { + + sensormaxvalue_ = value; + // @@protoc_insertion_point(field_set:Tango.PMR.Hardware.HardwarePidControl.SensorMaxValue) +} + +// double SetPointRampRateorSoftStartRamp = 9; +void HardwarePidControl::clear_setpointramprateorsoftstartramp() { + setpointramprateorsoftstartramp_ = 0; +} +double HardwarePidControl::setpointramprateorsoftstartramp() const { + // @@protoc_insertion_point(field_get:Tango.PMR.Hardware.HardwarePidControl.SetPointRampRateorSoftStartRamp) + return setpointramprateorsoftstartramp_; +} +void HardwarePidControl::set_setpointramprateorsoftstartramp(double value) { + + setpointramprateorsoftstartramp_ = value; + // @@protoc_insertion_point(field_set:Tango.PMR.Hardware.HardwarePidControl.SetPointRampRateorSoftStartRamp) +} + +// double SetPointControlOutputRate = 10; +void HardwarePidControl::clear_setpointcontroloutputrate() { + setpointcontroloutputrate_ = 0; +} +double HardwarePidControl::setpointcontroloutputrate() const { + // @@protoc_insertion_point(field_get:Tango.PMR.Hardware.HardwarePidControl.SetPointControlOutputRate) + return setpointcontroloutputrate_; +} +void HardwarePidControl::set_setpointcontroloutputrate(double value) { + + setpointcontroloutputrate_ = value; + // @@protoc_insertion_point(field_set:Tango.PMR.Hardware.HardwarePidControl.SetPointControlOutputRate) +} + +// double ControlOutputType = 11; +void HardwarePidControl::clear_controloutputtype() { + controloutputtype_ = 0; +} +double HardwarePidControl::controloutputtype() const { + // @@protoc_insertion_point(field_get:Tango.PMR.Hardware.HardwarePidControl.ControlOutputType) + return controloutputtype_; +} +void HardwarePidControl::set_controloutputtype(double value) { + + controloutputtype_ = value; + // @@protoc_insertion_point(field_set:Tango.PMR.Hardware.HardwarePidControl.ControlOutputType) +} + +// double SsrControlOutputType = 12; +void HardwarePidControl::clear_ssrcontroloutputtype() { + ssrcontroloutputtype_ = 0; +} +double HardwarePidControl::ssrcontroloutputtype() const { + // @@protoc_insertion_point(field_get:Tango.PMR.Hardware.HardwarePidControl.SsrControlOutputType) + return ssrcontroloutputtype_; +} +void HardwarePidControl::set_ssrcontroloutputtype(double value) { + + ssrcontroloutputtype_ = value; + // @@protoc_insertion_point(field_set:Tango.PMR.Hardware.HardwarePidControl.SsrControlOutputType) +} + +// double OutputOnOffHysteresisValue = 13; +void HardwarePidControl::clear_outputonoffhysteresisvalue() { + outputonoffhysteresisvalue_ = 0; +} +double HardwarePidControl::outputonoffhysteresisvalue() const { + // @@protoc_insertion_point(field_get:Tango.PMR.Hardware.HardwarePidControl.OutputOnOffHysteresisValue) + return outputonoffhysteresisvalue_; +} +void HardwarePidControl::set_outputonoffhysteresisvalue(double value) { + + outputonoffhysteresisvalue_ = value; + // @@protoc_insertion_point(field_set:Tango.PMR.Hardware.HardwarePidControl.OutputOnOffHysteresisValue) +} + +// double ProcessVariableSamplingRate = 14; +void HardwarePidControl::clear_processvariablesamplingrate() { + processvariablesamplingrate_ = 0; +} +double HardwarePidControl::processvariablesamplingrate() const { + // @@protoc_insertion_point(field_get:Tango.PMR.Hardware.HardwarePidControl.ProcessVariableSamplingRate) + return processvariablesamplingrate_; +} +void HardwarePidControl::set_processvariablesamplingrate(double value) { + + processvariablesamplingrate_ = value; + // @@protoc_insertion_point(field_set:Tango.PMR.Hardware.HardwarePidControl.ProcessVariableSamplingRate) +} + +// double PvInputFilterFactorMode = 15; +void HardwarePidControl::clear_pvinputfilterfactormode() { + pvinputfilterfactormode_ = 0; +} +double HardwarePidControl::pvinputfilterfactormode() const { + // @@protoc_insertion_point(field_get:Tango.PMR.Hardware.HardwarePidControl.PvInputFilterFactorMode) + return pvinputfilterfactormode_; +} +void HardwarePidControl::set_pvinputfilterfactormode(double value) { + + pvinputfilterfactormode_ = value; + // @@protoc_insertion_point(field_set:Tango.PMR.Hardware.HardwarePidControl.PvInputFilterFactorMode) +} + +// int32 OutputProportionalCycleTime = 16; +void HardwarePidControl::clear_outputproportionalcycletime() { + outputproportionalcycletime_ = 0; +} +::google::protobuf::int32 HardwarePidControl::outputproportionalcycletime() const { + // @@protoc_insertion_point(field_get:Tango.PMR.Hardware.HardwarePidControl.OutputProportionalCycleTime) + return outputproportionalcycletime_; +} +void HardwarePidControl::set_outputproportionalcycletime(::google::protobuf::int32 value) { + + outputproportionalcycletime_ = value; + // @@protoc_insertion_point(field_set:Tango.PMR.Hardware.HardwarePidControl.OutputProportionalCycleTime) +} + +// int32 AcHeatersHalfCycleTime = 17; +void HardwarePidControl::clear_acheatershalfcycletime() { + acheatershalfcycletime_ = 0; +} +::google::protobuf::int32 HardwarePidControl::acheatershalfcycletime() const { + // @@protoc_insertion_point(field_get:Tango.PMR.Hardware.HardwarePidControl.AcHeatersHalfCycleTime) + return acheatershalfcycletime_; +} +void HardwarePidControl::set_acheatershalfcycletime(::google::protobuf::int32 value) { + + acheatershalfcycletime_ = value; + // @@protoc_insertion_point(field_set:Tango.PMR.Hardware.HardwarePidControl.AcHeatersHalfCycleTime) +} + +// double ProportionalGain = 18; +void HardwarePidControl::clear_proportionalgain() { + proportionalgain_ = 0; +} +double HardwarePidControl::proportionalgain() const { + // @@protoc_insertion_point(field_get:Tango.PMR.Hardware.HardwarePidControl.ProportionalGain) + return proportionalgain_; +} +void HardwarePidControl::set_proportionalgain(double value) { + + proportionalgain_ = value; + // @@protoc_insertion_point(field_set:Tango.PMR.Hardware.HardwarePidControl.ProportionalGain) +} + +#endif // PROTOBUF_INLINE_NOT_IN_HEADERS + +// @@protoc_insertion_point(namespace_scope) + +} // namespace Hardware +} // namespace PMR +} // namespace Tango + +// @@protoc_insertion_point(global_scope) |
