// Generated by the protocol buffer compiler. DO NOT EDIT! // source: ProcessParameters.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 ProcessParameters.proto public static partial class ProcessParametersReflection { #region Descriptor /// File descriptor for ProcessParameters.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static ProcessParametersReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChdQcm9jZXNzUGFyYW1ldGVycy5wcm90bxISVGFuZ28uUE1SLlByaW50aW5n", "ItgDChFQcm9jZXNzUGFyYW1ldGVycxITCgtEeWVpbmdTcGVlZBgBIAEoARIU", "CgxNaW5JbmtVcHRha2UYAiABKAESFAoMTWF4SW5rVXB0YWtlGAMgASgBEhUK", "DUZlZWRlclRlbnNpb24YBCABKAESFQoNUHVsbGVyVGVuc2lvbhgFIAEoARIV", "Cg1XaW5kZXJUZW5zaW9uGAYgASgBEhEKCU1peGVyVGVtcBgHIAEoARIVCg1I", "ZWFkWm9uZTFUZW1wGAggASgBEhUKDUhlYWRab25lMlRlbXAYCSABKAESFQoN", "SGVhZFpvbmUzVGVtcBgKIAEoARIVCg1IZWFkWm9uZTRUZW1wGAsgASgBEhUK", "DUhlYWRab25lNVRlbXAYDCABKAESFQoNSGVhZFpvbmU2VGVtcBgNIAEoARIU", "CgxEcnllckFpckZsb3cYDiABKAESFgoORHJ5ZXJab25lMVRlbXAYDyABKAES", "FgoORHJ5ZXJab25lMlRlbXAYECABKAESFgoORHJ5ZXJab25lM1RlbXAYESAB", "KAESGQoRRHJ5ZXJCdWZmZXJMZW5ndGgYEiABKAESEwoLSGVhZEFpckZsb3cY", "EyABKAESEgoKVGFibGVJbmRleBgUIAEoBUIeChxjb20udHdpbmUudGFuZ28u", "cG1yLnByaW50aW5nYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Printing.ProcessParameters), global::Tango.PMR.Printing.ProcessParameters.Parser, new[]{ "DyeingSpeed", "MinInkUptake", "MaxInkUptake", "FeederTension", "PullerTension", "WinderTension", "MixerTemp", "HeadZone1Temp", "HeadZone2Temp", "HeadZone3Temp", "HeadZone4Temp", "HeadZone5Temp", "HeadZone6Temp", "DryerAirFlow", "DryerZone1Temp", "DryerZone2Temp", "DryerZone3Temp", "DryerBufferLength", "HeadAirFlow", "TableIndex" }, null, null, null) })); } #endregion } #region Messages public sealed partial class ProcessParameters : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProcessParameters()); [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.ProcessParametersReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ProcessParameters() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ProcessParameters(ProcessParameters other) : this() { dyeingSpeed_ = other.dyeingSpeed_; minInkUptake_ = other.minInkUptake_; maxInkUptake_ = other.maxInkUptake_; feederTension_ = other.feederTension_; pullerTension_ = other.pullerTension_; winderTension_ = other.winderTension_; mixerTemp_ = other.mixerTemp_; headZone1Temp_ = other.headZone1Temp_; headZone2Temp_ = other.headZone2Temp_; headZone3Temp_ = other.headZone3Temp_; headZone4Temp_ = other.headZone4Temp_; headZone5Temp_ = other.headZone5Temp_; headZone6Temp_ = other.headZone6Temp_; dryerAirFlow_ = other.dryerAirFlow_; dryerZone1Temp_ = other.dryerZone1Temp_; dryerZone2Temp_ = other.dryerZone2Temp_; dryerZone3Temp_ = other.dryerZone3Temp_; dryerBufferLength_ = other.dryerBufferLength_; headAirFlow_ = other.headAirFlow_; tableIndex_ = other.tableIndex_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ProcessParameters Clone() { return new ProcessParameters(this); } /// Field number for the "DyeingSpeed" field. public const int DyeingSpeedFieldNumber = 1; private double dyeingSpeed_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double DyeingSpeed { get { return dyeingSpeed_; } set { dyeingSpeed_ = value; } } /// Field number for the "MinInkUptake" field. public const int MinInkUptakeFieldNumber = 2; private double minInkUptake_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double MinInkUptake { get { return minInkUptake_; } set { minInkUptake_ = value; } } /// Field number for the "MaxInkUptake" field. public const int MaxInkUptakeFieldNumber = 3; private double maxInkUptake_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double MaxInkUptake { get { return maxInkUptake_; } set { maxInkUptake_ = value; } } /// Field number for the "FeederTension" field. public const int FeederTensionFieldNumber = 4; private double feederTension_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double FeederTension { get { return feederTension_; } set { feederTension_ = value; } } /// Field number for the "PullerTension" field. public const int PullerTensionFieldNumber = 5; private double pullerTension_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double PullerTension { get { return pullerTension_; } set { pullerTension_ = value; } } /// Field number for the "WinderTension" field. public const int WinderTensionFieldNumber = 6; private double winderTension_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double WinderTension { get { return winderTension_; } set { winderTension_ = value; } } /// Field number for the "MixerTemp" field. public const int MixerTempFieldNumber = 7; private double mixerTemp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double MixerTemp { get { return mixerTemp_; } set { mixerTemp_ = value; } } /// Field number for the "HeadZone1Temp" field. public const int HeadZone1TempFieldNumber = 8; private double headZone1Temp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double HeadZone1Temp { get { return headZone1Temp_; } set { headZone1Temp_ = value; } } /// Field number for the "HeadZone2Temp" field. public const int HeadZone2TempFieldNumber = 9; private double headZone2Temp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double HeadZone2Temp { get { return headZone2Temp_; } set { headZone2Temp_ = value; } } /// Field number for the "HeadZone3Temp" field. public const int HeadZone3TempFieldNumber = 10; private double headZone3Temp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double HeadZone3Temp { get { return headZone3Temp_; } set { headZone3Temp_ = value; } } /// Field number for the "HeadZone4Temp" field. public const int HeadZone4TempFieldNumber = 11; private double headZone4Temp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double HeadZone4Temp { get { return headZone4Temp_; } set { headZone4Temp_ = value; } } /// Field number for the "HeadZone5Temp" field. public const int HeadZone5TempFieldNumber = 12; private double headZone5Temp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double HeadZone5Temp { get { return headZone5Temp_; } set { headZone5Temp_ = value; } } /// Field number for the "HeadZone6Temp" field. public const int HeadZone6TempFieldNumber = 13; private double headZone6Temp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double HeadZone6Temp { get { return headZone6Temp_; } set { headZone6Temp_ = value; } } /// Field number for the "DryerAirFlow" field. public const int DryerAirFlowFieldNumber = 14; private double dryerAirFlow_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double DryerAirFlow { get { return dryerAirFlow_; } set { dryerAirFlow_ = value; } } /// Field number for the "DryerZone1Temp" field. public const int DryerZone1TempFieldNumber = 15; private double dryerZone1Temp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double DryerZone1Temp { get { return dryerZone1Temp_; } set { dryerZone1Temp_ = value; } } /// Field number for the "DryerZone2Temp" field. public const int DryerZone2TempFieldNumber = 16; private double dryerZone2Temp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double DryerZone2Temp { get { return dryerZone2Temp_; } set { dryerZone2Temp_ = value; } } /// Field number for the "DryerZone3Temp" field. public const int DryerZone3TempFieldNumber = 17; private double dryerZone3Temp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double DryerZone3Temp { get { return dryerZone3Temp_; } set { dryerZone3Temp_ = value; } } /// Field number for the "DryerBufferLength" field. public const int DryerBufferLengthFieldNumber = 18; private double dryerBufferLength_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double DryerBufferLength { get { return dryerBufferLength_; } set { dryerBufferLength_ = value; } } /// Field number for the "HeadAirFlow" field. public const int HeadAirFlowFieldNumber = 19; private double headAirFlow_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double HeadAirFlow { get { return headAirFlow_; } set { headAirFlow_ = value; } } /// Field number for the "TableIndex" field. public const int TableIndexFieldNumber = 20; private int tableIndex_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int TableIndex { get { return tableIndex_; } set { tableIndex_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as ProcessParameters); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(ProcessParameters other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (DyeingSpeed != other.DyeingSpeed) return false; if (MinInkUptake != other.MinInkUptake) return false; if (MaxInkUptake != other.MaxInkUptake) return false; if (FeederTension != other.FeederTension) return false; if (PullerTension != other.PullerTension) return false; if (WinderTension != other.WinderTension) return false; if (MixerTemp != other.MixerTemp) return false; if (HeadZone1Temp != other.HeadZone1Temp) return false; if (HeadZone2Temp != other.HeadZone2Temp) return false; if (HeadZone3Temp != other.HeadZone3Temp) return false; if (HeadZone4Temp != other.HeadZone4Temp) return false; if (HeadZone5Temp != other.HeadZone5Temp) return false; if (HeadZone6Temp != other.HeadZone6Temp) return false; if (DryerAirFlow != other.DryerAirFlow) return false; if (DryerZone1Temp != other.DryerZone1Temp) return false; if (DryerZone2Temp != other.DryerZone2Temp) return false; if (DryerZone3Temp != other.DryerZone3Temp) return false; if (DryerBufferLength != other.DryerBufferLength) return false; if (HeadAirFlow != other.HeadAirFlow) return false; if (TableIndex != other.TableIndex) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (DyeingSpeed != 0D) hash ^= DyeingSpeed.GetHashCode(); if (MinInkUptake != 0D) hash ^= MinInkUptake.GetHashCode(); if (MaxInkUptake != 0D) hash ^= MaxInkUptake.GetHashCode(); if (FeederTension != 0D) hash ^= FeederTension.GetHashCode(); if (PullerTension != 0D) hash ^= PullerTension.GetHashCode(); if (WinderTension != 0D) hash ^= WinderTension.GetHashCode(); if (MixerTemp != 0D) hash ^= MixerTemp.GetHashCode(); if (HeadZone1Temp != 0D) hash ^= HeadZone1Temp.GetHashCode(); if (HeadZone2Temp != 0D) hash ^= HeadZone2Temp.GetHashCode(); if (HeadZone3Temp != 0D) hash ^= HeadZone3Temp.GetHashCode(); if (HeadZone4Temp != 0D) hash ^= HeadZone4Temp.GetHashCode(); if (HeadZone5Temp != 0D) hash ^= HeadZone5Temp.GetHashCode(); if (HeadZone6Temp != 0D) hash ^= HeadZone6Temp.GetHashCode(); if (DryerAirFlow != 0D) hash ^= DryerAirFlow.GetHashCode(); if (DryerZone1Temp != 0D) hash ^= DryerZone1Temp.GetHashCode(); if (DryerZone2Temp != 0D) hash ^= DryerZone2Temp.GetHashCode(); if (DryerZone3Temp != 0D) hash ^= DryerZone3Temp.GetHashCode(); if (DryerBufferLength != 0D) hash ^= DryerBufferLength.GetHashCode(); if (HeadAirFlow != 0D) hash ^= HeadAirFlow.GetHashCode(); if (TableIndex != 0) hash ^= TableIndex.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 (DyeingSpeed != 0D) { output.WriteRawTag(9); output.WriteDouble(DyeingSpeed); } if (MinInkUptake != 0D) { output.WriteRawTag(17); output.WriteDouble(MinInkUptake); } if (MaxInkUptake != 0D) { output.WriteRawTag(25); output.WriteDouble(MaxInkUptake); } if (FeederTension != 0D) { output.WriteRawTag(33); output.WriteDouble(FeederTension); } if (PullerTension != 0D) { output.WriteRawTag(41); output.WriteDouble(PullerTension); } if (WinderTension != 0D) { output.WriteRawTag(49); output.WriteDouble(WinderTension); } if (MixerTemp != 0D) { output.WriteRawTag(57); output.WriteDouble(MixerTemp); } if (HeadZone1Temp != 0D) { output.WriteRawTag(65); output.WriteDouble(HeadZone1Temp); } if (HeadZone2Temp != 0D) { output.WriteRawTag(73); output.WriteDouble(HeadZone2Temp); } if (HeadZone3Temp != 0D) { output.WriteRawTag(81); output.WriteDouble(HeadZone3Temp); } if (HeadZone4Temp != 0D) { output.WriteRawTag(89); output.WriteDouble(HeadZone4Temp); } if (HeadZone5Temp != 0D) { output.WriteRawTag(97); output.WriteDouble(HeadZone5Temp); } if (HeadZone6Temp != 0D) { output.WriteRawTag(105); output.WriteDouble(HeadZone6Temp); } if (DryerAirFlow != 0D) { output.WriteRawTag(113); output.WriteDouble(DryerAirFlow); } if (DryerZone1Temp != 0D) { output.WriteRawTag(121); output.WriteDouble(DryerZone1Temp); } if (DryerZone2Temp != 0D) { output.WriteRawTag(129, 1); output.WriteDouble(DryerZone2Temp); } if (DryerZone3Temp != 0D) { output.WriteRawTag(137, 1); output.WriteDouble(DryerZone3Temp); } if (DryerBufferLength != 0D) { output.WriteRawTag(145, 1); output.WriteDouble(DryerBufferLength); } if (HeadAirFlow != 0D) { output.WriteRawTag(153, 1); output.WriteDouble(HeadAirFlow); } if (TableIndex != 0) { output.WriteRawTag(160, 1); output.WriteInt32(TableIndex); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (DyeingSpeed != 0D) { size += 1 + 8; } if (MinInkUptake != 0D) { size += 1 + 8; } if (MaxInkUptake != 0D) { size += 1 + 8; } if (FeederTension != 0D) { size += 1 + 8; } if (PullerTension != 0D) { size += 1 + 8; } if (WinderTension != 0D) { size += 1 + 8; } if (MixerTemp != 0D) { size += 1 + 8; } if (HeadZone1Temp != 0D) { size += 1 + 8; } if (HeadZone2Temp != 0D) { size += 1 + 8; } if (HeadZone3Temp != 0D) { size += 1 + 8; } if (HeadZone4Temp != 0D) { size += 1 + 8; } if (HeadZone5Temp != 0D) { size += 1 + 8; } if (HeadZone6Temp != 0D) { size += 1 + 8; } if (DryerAirFlow != 0D) { size += 1 + 8; } if (DryerZone1Temp != 0D) { size += 1 + 8; } if (DryerZone2Temp != 0D) { size += 2 + 8; } if (DryerZone3Temp != 0D) { size += 2 + 8; } if (DryerBufferLength != 0D) { size += 2 + 8; } if (HeadAirFlow != 0D) { size += 2 + 8; } if (TableIndex != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(TableIndex); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(ProcessParameters other) { if (other == null) { return; } if (other.DyeingSpeed != 0D) { DyeingSpeed = other.DyeingSpeed; } if (other.MinInkUptake != 0D) { MinInkUptake = other.MinInkUptake; } if (other.MaxInkUptake != 0D) { MaxInkUptake = other.MaxInkUptake; } if (other.FeederTension != 0D) { FeederTension = other.FeederTension; } if (other.PullerTension != 0D) { PullerTension = other.PullerTension; } if (other.WinderTension != 0D) { WinderTension = other.WinderTension; } if (other.MixerTemp != 0D) { MixerTemp = other.MixerTemp; } if (other.HeadZone1Temp != 0D) { HeadZone1Temp = other.HeadZone1Temp; } if (other.HeadZone2Temp != 0D) { HeadZone2Temp = other.HeadZone2Temp; } if (other.HeadZone3Temp != 0D) { HeadZone3Temp = other.HeadZone3Temp; } if (other.HeadZone4Temp != 0D) { HeadZone4Temp = other.HeadZone4Temp; } if (other.HeadZone5Temp != 0D) { HeadZone5Temp = other.HeadZone5Temp; } if (other.HeadZone6Temp != 0D) { HeadZone6Temp = other.HeadZone6Temp; } if (other.DryerAirFlow != 0D) { DryerAirFlow = other.DryerAirFlow; } if (other.DryerZone1Temp != 0D) { DryerZone1Temp = other.DryerZone1Temp; } if (other.DryerZone2Temp != 0D) { DryerZone2Temp = other.DryerZone2Temp; } if (other.DryerZone3Temp != 0D) { DryerZone3Temp = other.DryerZone3Temp; } if (other.DryerBufferLength != 0D) { DryerBufferLength = other.DryerBufferLength; } if (other.HeadAirFlow != 0D) { HeadAirFlow = other.HeadAirFlow; } if (other.TableIndex != 0) { TableIndex = other.TableIndex; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 9: { DyeingSpeed = input.ReadDouble(); break; } case 17: { MinInkUptake = input.ReadDouble(); break; } case 25: { MaxInkUptake = input.ReadDouble(); break; } case 33: { FeederTension = input.ReadDouble(); break; } case 41: { PullerTension = input.ReadDouble(); break; } case 49: { WinderTension = input.ReadDouble(); break; } case 57: { MixerTemp = input.ReadDouble(); break; } case 65: { HeadZone1Temp = input.ReadDouble(); break; } case 73: { HeadZone2Temp = input.ReadDouble(); break; } case 81: { HeadZone3Temp = input.ReadDouble(); break; } case 89: { HeadZone4Temp = input.ReadDouble(); break; } case 97: { HeadZone5Temp = input.ReadDouble(); break; } case 105: { HeadZone6Temp = input.ReadDouble(); break; } case 113: { DryerAirFlow = input.ReadDouble(); break; } case 121: { DryerZone1Temp = input.ReadDouble(); break; } case 129: { DryerZone2Temp = input.ReadDouble(); break; } case 137: { DryerZone3Temp = input.ReadDouble(); break; } case 145: { DryerBufferLength = input.ReadDouble(); break; } case 153: { HeadAirFlow = input.ReadDouble(); break; } case 160: { TableIndex = input.ReadInt32(); break; } } } } } #endregion } #endregion Designer generated code