// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ThreadParameters.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.Printing {
/// Holder for reflection information generated from ThreadParameters.proto
public static partial class ThreadParametersReflection {
#region Descriptor
/// File descriptor for ThreadParameters.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ThreadParametersReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChZUaHJlYWRQYXJhbWV0ZXJzLnByb3RvEhJUYW5nby5QTVIuUHJpbnRpbmci",
"wgEKEFRocmVhZFBhcmFtZXRlcnMSDwoHRmVlZGVyUBgBIAEoBRIPCgdGZWVk",
"ZXJJGAIgASgFEg8KB0ZlZWRlckQYAyABKAUSDwoHUHVsbGVyUBgEIAEoBRIP",
"CgdQdWxsZXJJGAUgASgFEg8KB1B1bGxlckQYBiABKAUSDwoHV2luZGVyUBgH",
"IAEoBRIPCgdXaW5kZXJJGAggASgFEg8KB1dpbmRlckQYCSABKAUSFQoNQnlw",
"YXNzUm9ja2VycxgKIAEoCEIeChxjb20udHdpbmUudGFuZ28ucG1yLnByaW50",
"aW5nYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Printing.ThreadParameters), global::Tango.PMR.Printing.ThreadParameters.Parser, new[]{ "FeederP", "FeederI", "FeederD", "PullerP", "PullerI", "PullerD", "WinderP", "WinderI", "WinderD", "BypassRockers" }, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class ThreadParameters : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ThreadParameters());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Tango.PMR.Printing.ThreadParametersReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ThreadParameters() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ThreadParameters(ThreadParameters other) : this() {
feederP_ = other.feederP_;
feederI_ = other.feederI_;
feederD_ = other.feederD_;
pullerP_ = other.pullerP_;
pullerI_ = other.pullerI_;
pullerD_ = other.pullerD_;
winderP_ = other.winderP_;
winderI_ = other.winderI_;
winderD_ = other.winderD_;
bypassRockers_ = other.bypassRockers_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ThreadParameters Clone() {
return new ThreadParameters(this);
}
/// Field number for the "FeederP" field.
public const int FeederPFieldNumber = 1;
private int feederP_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int FeederP {
get { return feederP_; }
set {
feederP_ = value;
}
}
/// Field number for the "FeederI" field.
public const int FeederIFieldNumber = 2;
private int feederI_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int FeederI {
get { return feederI_; }
set {
feederI_ = value;
}
}
/// Field number for the "FeederD" field.
public const int FeederDFieldNumber = 3;
private int feederD_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int FeederD {
get { return feederD_; }
set {
feederD_ = value;
}
}
/// Field number for the "PullerP" field.
public const int PullerPFieldNumber = 4;
private int pullerP_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int PullerP {
get { return pullerP_; }
set {
pullerP_ = value;
}
}
/// Field number for the "PullerI" field.
public const int PullerIFieldNumber = 5;
private int pullerI_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int PullerI {
get { return pullerI_; }
set {
pullerI_ = value;
}
}
/// Field number for the "PullerD" field.
public const int PullerDFieldNumber = 6;
private int pullerD_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int PullerD {
get { return pullerD_; }
set {
pullerD_ = value;
}
}
/// Field number for the "WinderP" field.
public const int WinderPFieldNumber = 7;
private int winderP_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int WinderP {
get { return winderP_; }
set {
winderP_ = value;
}
}
/// Field number for the "WinderI" field.
public const int WinderIFieldNumber = 8;
private int winderI_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int WinderI {
get { return winderI_; }
set {
winderI_ = value;
}
}
/// Field number for the "WinderD" field.
public const int WinderDFieldNumber = 9;
private int winderD_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int WinderD {
get { return winderD_; }
set {
winderD_ = value;
}
}
/// Field number for the "BypassRockers" field.
public const int BypassRockersFieldNumber = 10;
private bool bypassRockers_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool BypassRockers {
get { return bypassRockers_; }
set {
bypassRockers_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as ThreadParameters);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(ThreadParameters other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (FeederP != other.FeederP) return false;
if (FeederI != other.FeederI) return false;
if (FeederD != other.FeederD) return false;
if (PullerP != other.PullerP) return false;
if (PullerI != other.PullerI) return false;
if (PullerD != other.PullerD) return false;
if (WinderP != other.WinderP) return false;
if (WinderI != other.WinderI) return false;
if (WinderD != other.WinderD) return false;
if (BypassRockers != other.BypassRockers) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (FeederP != 0) hash ^= FeederP.GetHashCode();
if (FeederI != 0) hash ^= FeederI.GetHashCode();
if (FeederD != 0) hash ^= FeederD.GetHashCode();
if (PullerP != 0) hash ^= PullerP.GetHashCode();
if (PullerI != 0) hash ^= PullerI.GetHashCode();
if (PullerD != 0) hash ^= PullerD.GetHashCode();
if (WinderP != 0) hash ^= WinderP.GetHashCode();
if (WinderI != 0) hash ^= WinderI.GetHashCode();
if (WinderD != 0) hash ^= WinderD.GetHashCode();
if (BypassRockers != false) hash ^= BypassRockers.GetHashCode();
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (FeederP != 0) {
output.WriteRawTag(8);
output.WriteInt32(FeederP);
}
if (FeederI != 0) {
output.WriteRawTag(16);
output.WriteInt32(FeederI);
}
if (FeederD != 0) {
output.WriteRawTag(24);
output.WriteInt32(FeederD);
}
if (PullerP != 0) {
output.WriteRawTag(32);
output.WriteInt32(PullerP);
}
if (PullerI != 0) {
output.WriteRawTag(40);
output.WriteInt32(PullerI);
}
if (PullerD != 0) {
output.WriteRawTag(48);
output.WriteInt32(PullerD);
}
if (WinderP != 0) {
output.WriteRawTag(56);
output.WriteInt32(WinderP);
}
if (WinderI != 0) {
output.WriteRawTag(64);
output.WriteInt32(WinderI);
}
if (WinderD != 0) {
output.WriteRawTag(72);
output.WriteInt32(WinderD);
}
if (BypassRockers != false) {
output.WriteRawTag(80);
output.WriteBool(BypassRockers);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (FeederP != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(FeederP);
}
if (FeederI != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(FeederI);
}
if (FeederD != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(FeederD);
}
if (PullerP != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(PullerP);
}
if (PullerI != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(PullerI);
}
if (PullerD != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(PullerD);
}
if (WinderP != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(WinderP);
}
if (WinderI != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(WinderI);
}
if (WinderD != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(WinderD);
}
if (BypassRockers != false) {
size += 1 + 1;
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(ThreadParameters other) {
if (other == null) {
return;
}
if (other.FeederP != 0) {
FeederP = other.FeederP;
}
if (other.FeederI != 0) {
FeederI = other.FeederI;
}
if (other.FeederD != 0) {
FeederD = other.FeederD;
}
if (other.PullerP != 0) {
PullerP = other.PullerP;
}
if (other.PullerI != 0) {
PullerI = other.PullerI;
}
if (other.PullerD != 0) {
PullerD = other.PullerD;
}
if (other.WinderP != 0) {
WinderP = other.WinderP;
}
if (other.WinderI != 0) {
WinderI = other.WinderI;
}
if (other.WinderD != 0) {
WinderD = other.WinderD;
}
if (other.BypassRockers != false) {
BypassRockers = other.BypassRockers;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
input.SkipLastField();
break;
case 8: {
FeederP = input.ReadInt32();
break;
}
case 16: {
FeederI = input.ReadInt32();
break;
}
case 24: {
FeederD = input.ReadInt32();
break;
}
case 32: {
PullerP = input.ReadInt32();
break;
}
case 40: {
PullerI = input.ReadInt32();
break;
}
case 48: {
PullerD = input.ReadInt32();
break;
}
case 56: {
WinderP = input.ReadInt32();
break;
}
case 64: {
WinderI = input.ReadInt32();
break;
}
case 72: {
WinderD = input.ReadInt32();
break;
}
case 80: {
BypassRockers = input.ReadBool();
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code