// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: HardwareDancer.proto
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace Tango.PMR.Hardware {
/// <summary>Holder for reflection information generated from HardwareDancer.proto</summary>
public static partial class HardwareDancerReflection {
#region Descriptor
/// <summary>File descriptor for HardwareDancer.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static HardwareDancerReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChRIYXJkd2FyZURhbmNlci5wcm90bxISVGFuZ28uUE1SLkhhcmR3YXJlGhhI",
"YXJkd2FyZURhbmNlclR5cGUucHJvdG8isAIKDkhhcmR3YXJlRGFuY2VyEkIK",
"EkhhcmR3YXJlRGFuY2VyVHlwZRgBIAEoDjImLlRhbmdvLlBNUi5IYXJkd2Fy",
"ZS5IYXJkd2FyZURhbmNlclR5cGUSDwoHR3JhZHVhbBgCIAEoCBIJCgFLGAMg",
"ASgBEgkKAVgYBCABKAESGAoQUHVsc2VQZXJNbVNwcmluZxgFIAEoBRIZChFN",
"YXhpbWFsTW92ZW1lbnRNbRgGIAEoBRIRCglaZXJvUG9pbnQYByABKAUSFgoO",
"UmVzb2x1dGlvbkJpdHMYCCABKAUSEQoJQXJtTGVuZ3RoGAkgASgFEh4KFkFz",
"c2VtYmx5RGlyZWN0aW9uUmlnaHQYCiABKAgSIAoYQWNjZWxlcmF0ZU9uVGVu",
"c2lvblJhaXNlGAsgASgIQh4KHGNvbS50d2luZS50YW5nby5wbXIuaGFyZHdh",
"cmViBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Tango.PMR.Hardware.HardwareDancerTypeReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Hardware.HardwareDancer), global::Tango.PMR.Hardware.HardwareDancer.Parser, new[]{ "HardwareDancerType", "Gradual", "K", "X", "PulsePerMmSpring", "MaximalMovementMm", "ZeroPoint", "ResolutionBits", "ArmLength", "AssemblyDirectionRight", "AccelerateOnTensionRaise" }, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class HardwareDancer : pb::IMessage<HardwareDancer> {
private static readonly pb::MessageParser<HardwareDancer> _parser = new pb::MessageParser<HardwareDancer>(() => new HardwareDancer());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<HardwareDancer> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Tango.PMR.Hardware.HardwareDancerReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public HardwareDancer() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public HardwareDancer(HardwareDancer other) : this() {
hardwareDancerType_ = other.hardwareDancerType_;
gradual_ = other.gradual_;
k_ = other.k_;
x_ = other.x_;
pulsePerMmSpring_ = other.pulsePerMmSpring_;
maximalMovementMm_ = other.maximalMovementMm_;
zeroPoint_ = other.zeroPoint_;
resolutionBits_ = other.resolutionBits_;
armLength_ = other.armLength_;
assemblyDirectionRight_ = other.assemblyDirectionRight_;
accelerateOnTensionRaise_ = other.accelerateOnTensionRaise_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public HardwareDancer Clone() {
return new HardwareDancer(this);
}
/// <summary>Field number for the "HardwareDancerType" field.</summary>
public const int HardwareDancerTypeFieldNumber = 1;
private global::Tango.PMR.Hardware.HardwareDancerType hardwareDancerType_ = 0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Tango.PMR.Hardware.HardwareDancerType HardwareDancerType {
get { return hardwareDancerType_; }
set {
hardwareDancerType_ = value;
}
}
/// <summary>Field number for the "Gradual" field.</summary>
public const int GradualFieldNumber = 2;
private bool gradual_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Gradual {
get { return gradual_; }
set {
gradual_ = value;
}
}
/// <summary>Field number for the "K" field.</summary>
public const int KFieldNumber = 3;
private double k_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double K {
get { return k_; }
set {
k_ = value;
}
}
/// <summary>Field number for the "X" field.</summary>
public const int XFieldNumber = 4;
private double x_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double X {
get { return x_; }
set {
x_ = value;
}
}
/// <summary>Field number for the "PulsePerMmSpring" field.</summary>
public const int PulsePerMmSpringFieldNumber = 5;
private int pulsePerMmSpring_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int PulsePerMmSpring {
get { return pulsePerMmSpring_; }
set {
pulsePerMmSpring_ = value;
}
}
/// <summary>Field number for the "MaximalMovementMm" field.</summary>
public const int MaximalMovementMmFieldNumber = 6;
private int maximalMovementMm_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int MaximalMovementMm {
get { return maximalMovementMm_; }
set {
maximalMovementMm_ = value;
}
}
/// <summary>Field number for the "ZeroPoint" field.</summary>
public const int ZeroPointFieldNumber = 7;
private int zeroPoint_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int ZeroPoint {
get { return zeroPoint_; }
set {
zeroPoint_ = value;
}
}
/// <summary>Field number for the "ResolutionBits" field.</summary>
public const int ResolutionBitsFieldNumber = 8;
private int resolutionBits_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int ResolutionBits {
get { return resolutionBits_; }
set {
resolutionBits_ = value;
}
}
/// <summary>Field number for the "ArmLength" field.</summary>
public const int ArmLengthFieldNumber = 9;
private int armLength_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int ArmLength {
get { return armLength_; }
set {
armLength_ = value;
}
}
/// <summary>Field number for the "AssemblyDirectionRight" field.</summary>
public const int AssemblyDirectionRightFieldNumber = 10;
private bool assemblyDirectionRight_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool AssemblyDirectionRight {
get { return assemblyDirectionRight_; }
set {
assemblyDirectionRight_ = value;
}
}
/// <summary>Field number for the "AccelerateOnTensionRaise" field.</summary>
public const int AccelerateOnTensionRaiseFieldNumber = 11;
private bool accelerateOnTensionRaise_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool AccelerateOnTensionRaise {
get { return accelerateOnTensionRaise_; }
set {
accelerateOnTensionRaise_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as HardwareDancer);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(HardwareDancer other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (HardwareDancerType != other.HardwareDancerType) return false;
if