// Generated by the protocol buffer compiler. DO NOT EDIT! // source: StubDispenserEEpromData.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.Stubs { /// Holder for reflection information generated from StubDispenserEEpromData.proto public static partial class StubDispenserEEpromDataReflection { #region Descriptor /// File descriptor for StubDispenserEEpromData.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static StubDispenserEEpromDataReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Ch1TdHViRGlzcGVuc2VyRUVwcm9tRGF0YS5wcm90bxIPVGFuZ28uUE1SLlN0", "dWJzIt8FChdTdHViRGlzcGVuc2VyRUVwcm9tRGF0YRIOCgZIZWFkZXIYASAB", "KA0SEwoLVGFibGVMZW5ndGgYAiABKA0SFAoMVGFibGV2ZXJzaW9uGAMgASgN", "EhQKDERpc3BlbnNlclBfThgEIAEoCRIOCgZQQ0JTX04YBSABKAkSFQoNUENC", "UGFydE51bWJlchgGIAEoCRIUCgxEaXNwZW5zZXJTX04YByABKAkSFwoPTWlu", "aW1hbFByZXNzdXJlGAggASgFEhcKD01heGltYWxQcmVzc3VyZRgJIAEoBRIR", "CglNaW5pbWFsTVYYCiABKAUSEQoJTWF4aW1hbE1WGAsgASgFEhMKC1RvdGFs", "Q3ljbGVzGAwgASgNEhIKCkJ1YmJsZVNpemUYDSABKAUSHAoUQVZHX05sX3N0", "ZXBWYWx1ZV8xXzQYDiABKAUSHAoUQVZHX05sX3N0ZXBWYWx1ZV8yXzQYDyAB", "KAUSHAoUQVZHX05sX3N0ZXBWYWx1ZV8zXzQYECABKAUSHAoUQVZHX05sX3N0", "ZXBWYWx1ZV80XzQYESABKAUSEgoKU1dfUmVzZXJ2ZRgSIAEoBRIXCg9TcGFy", "ZTFfcHJlc3N1cmUYEyABKAUSFwoPU3BhcmUyX3ByZXNzdXJlGBQgASgFEhsK", "E01vdG9yUHVsc2VzUGVyQ3ljbGUYFSABKA0SDQoFQ29sb3IYFiABKA0SFQoN", "UHJlc3N1cmVTbG9wZRgXIAEoBRIWCg5Qcm9kdWN0aW9uRGF0ZRgYIAEoCRIT", "CgtBVFNsb2NhdGlvbhgZIAEoDRIOCgZTcGFyZTEYGiABKAUSDgoGU3BhcmUy", "GBsgASgFEhIKCkFUU0NoYW5uZWwYHCABKA0SEQoJVW5pdEVtcHR5GB0gASgI", "EhcKD0RyeVJ1blBhc3NfRmFpbBgeIAEoCBIVCg1GbG93UGFzc19GYWlsGB8g", "ASgIEhAKCENoZWNrU3VtGCAgASgNQhsKGWNvbS50d2luZS50YW5nby5wbXIu", "c3R1YnNiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubDispenserEEpromData), global::Tango.PMR.Stubs.StubDispenserEEpromData.Parser, new[]{ "Header", "TableLength", "Tableversion", "DispenserPN", "PCBSN", "PCBPartNumber", "DispenserSN", "MinimalPressure", "MaximalPressure", "MinimalMV", "MaximalMV", "TotalCycles", "BubbleSize", "AVGNlStepValue14", "AVGNlStepValue24", "AVGNlStepValue34", "AVGNlStepValue44", "SWReserve", "Spare1Pressure", "Spare2Pressure", "MotorPulsesPerCycle", "Color", "PressureSlope", "ProductionDate", "ATSlocation", "Spare1", "Spare2", "ATSChannel", "UnitEmpty", "DryRunPassFail", "FlowPassFail", "CheckSum" }, null, null, null) })); } #endregion } #region Messages public sealed partial class StubDispenserEEpromData : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StubDispenserEEpromData()); [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.Stubs.StubDispenserEEpromDataReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public StubDispenserEEpromData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public StubDispenserEEpromData(StubDispenserEEpromData other) : this() { header_ = other.header_; tableLength_ = other.tableLength_; tableversion_ = other.tableversion_; dispenserPN_ = other.dispenserPN_; pCBSN_ = other.pCBSN_; pCBPartNumber_ = other.pCBPartNumber_; dispenserSN_ = other.dispenserSN_; minimalPressure_ = other.minimalPressure_; maximalPressure_ = other.maximalPressure_; minimalMV_ = other.minimalMV_; maximalMV_ = other.maximalMV_; totalCycles_ = other.totalCycles_; bubbleSize_ = other.bubbleSize_; aVGNlStepValue14_ = other.aVGNlStepValue14_; aVGNlStepValue24_ = other.aVGNlStepValue24_; aVGNlStepValue34_ = other.aVGNlStepValue34_; aVGNlStepValue44_ = other.aVGNlStepValue44_; sWReserve_ = other.sWReserve_; spare1Pressure_ = other.spare1Pressure_; spare2Pressure_ = other.spare2Pressure_; motorPulsesPerCycle_ = other.motorPulsesPerCycle_; color_ = other.color_; pressureSlope_ = other.pressureSlope_; productionDate_ = other.productionDate_; aTSlocation_ = other.aTSlocation_; spare1_ = other.spare1_; spare2_ = other.spare2_; aTSChannel_ = other.aTSChannel_; unitEmpty_ = other.unitEmpty_; dryRunPassFail_ = other.dryRunPassFail_; flowPassFail_ = other.flowPassFail_; checkSum_ = other.checkSum_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public StubDispenserEEpromData Clone() { return new StubDispenserEEpromData(this); } /// Field number for the "Header" field. public const int HeaderFieldNumber = 1; private uint header_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint Header { get { return header_; } set { header_ = value; } } /// Field number for the "TableLength" field. public const int TableLengthFieldNumber = 2; private uint tableLength_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint TableLength { get { return tableLength_; } set { tableLength_ = value; } } /// Field number for the "Tableversion" field. public const int TableversionFieldNumber = 3; private uint tableversion_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint Tableversion { get { return tableversion_; } set { tableversion_ = value; } } /// Field number for the "DispenserP_N" field. public const int DispenserPNFieldNumber = 4; private string dispenserPN_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string DispenserPN { get { return dispenserPN_; } set { dispenserPN_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "PCBS_N" field. public const int PCBSNFieldNumber = 5; private string pCBSN_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string PCBSN { get { return pCBSN_; } set { pCBSN_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "PCBPartNumber" field. public const int PCBPartNumberFieldNumber = 6; private string pCBPartNumber_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string PCBPartNumber { get { return pCBPartNumber_; } set { pCBPartNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "DispenserS_N" field. public const int DispenserSNFieldNumber = 7; private string dispenserSN_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string DispenserSN { get { return dispenserSN_; } set { dispenserSN_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "MinimalPressure" field. public const int MinimalPressureFieldNumber = 8; private int minimalPressure_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int MinimalPressure { get { return minimalPressure_; } set { minimalPressure_ = value; } } /// Field number for the "MaximalPressure" field. public const int MaximalPressureFieldNumber = 9; private int maximalPressure_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int MaximalPressure { get { return maximalPressure_; } set { maximalPressure_ = value; } } /// Field number for the "MinimalMV" field. public const int MinimalMVFieldNumber = 10; private int minimalMV_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int MinimalMV { get { return minimalMV_; } set { minimalMV_ = value; } } /// Field number for the "MaximalMV" field. public const int MaximalMVFieldNumber = 11; private int maximalMV_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int MaximalMV { get { return maximalMV_; } set { maximalMV_ = value; } } /// Field number for the "TotalCycles" field. public const int TotalCyclesFieldNumber = 12; private uint totalCycles_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint TotalCycles { get { return totalCycles_; } set { totalCycles_ = value; } } /// Field number for the "BubbleSize" field. public const int BubbleSizeFieldNumber = 13; private int bubbleSize_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int BubbleSize { get { return bubbleSize_; } set { bubbleSize_ = value; } } /// Field number for the "AVG_Nl_stepValue_1_4" field. public const int AVGNlStepValue14FieldNumber = 14; private int aVGNlStepValue14_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int AVGNlStepValue14 { get { return aVGNlStepValue14_; } set { aVGNlStepValue14_ = value; } } /// Field number for the "AVG_Nl_stepValue_2_4" field. public const int AVGNlStepValue24FieldNumber = 15; private int aVGNlStepValue24_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int AVGNlStepValue24 { get { return aVGNlStepValue24_; } set { aVGNlStepValue24_ = value; } } /// Field number for the "AVG_Nl_stepValue_3_4" field. public const int AVGNlStepValue34FieldNumber = 16; private int aVGNlStepValue34_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int AVGNlStepValue34 { get { return aVGNlStepValue34_; } set { aVGNlStepValue34_ = value; } } /// Field number for the "AVG_Nl_stepValue_4_4" field. public const int AVGNlStepValue44FieldNumber = 17; private int aVGNlStepValue44_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int AVGNlStepValue44 { get { return aVGNlStepValue44_; } set { aVGNlStepValue44_ = value; } } /// Field number for the "SW_Reserve" field. public const int SWReserveFieldNumber = 18; private int sWReserve_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int SWReserve { get { return sWReserve_; } set { sWReserve_ = value; } } /// Field number for the "Spare1_pressure" field. public const int Spare1PressureFieldNumber = 19; private int spare1Pressure_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Spare1Pressure { get { return spare1Pressure_; } set { spare1Pressure_ = value; } } /// Field number for the "Spare2_pressure" field. public const int Spare2PressureFieldNumber = 20; private int spare2Pressure_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Spare2Pressure { get { return spare2Pressure_; } set { spare2Pressure_ = value; } } /// Field number for the "MotorPulsesPerCycle" field. public const int MotorPulsesPerCycleFieldNumber = 21; private uint motorPulsesPerCycle_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint MotorPulsesPerCycle { get { return motorPulsesPerCycle_; } set { motorPulsesPerCycle_ = value; } } /// Field number for the "Color" field. public const int ColorFieldNumber = 22; private uint color_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint Color { get { return color_; } set { color_ = value; } } /// Field number for the "PressureSlope" field. public const int PressureSlopeFieldNumber = 23; private int pressureSlope_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int PressureSlope { get { return pressureSlope_; } set { pressureSlope_ = value; } } /// Field number for the "ProductionDate" field. public const int ProductionDateFieldNumber = 24; private string productionDate_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string ProductionDate { get { return productionDate_; } set { productionDate_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "ATSlocation" field. public const int ATSlocationFieldNumber = 25; private uint aTSlocation_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint ATSlocation { get { return aTSlocation_; } set { aTSlocation_ = value; } } /// Field number for the "Spare1" field. public const int Spare1FieldNumber = 26; private int spare1_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Spare1 { get { return spare1_; } set { spare1_ = value; } } /// Field number for the "Spare2" field. public const int Spare2FieldNumber = 27; private int spare2_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Spare2 { get { return spare2_; } set { spare2_ = value; } } /// Field number for the "ATSChannel" field. public const int ATSChannelFieldNumber = 28; private uint aTSChannel_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint ATSChannel { get { return aTSChannel_; } set { aTSChannel_ = value; } } /// Field number for the "UnitEmpty" field. public const int UnitEmptyFieldNumber = 29; private bool unitEmpty_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool UnitEmpty { get { return unitEmpty_; } set { unitEmpty_ = value; } } /// Field number for the "DryRunPass_Fail" field. public const int DryRunPassFailFieldNumber = 30; private bool dryRunPassFail_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool DryRunPassFail { get { return dryRunPassFail_; } set { dryRunPassFail_ = value; } } /// Field number for the "FlowPass_Fail" field. public const int FlowPassFailFieldNumber = 31; private bool flowPassFail_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool FlowPassFail { get { return flowPassFail_; } set { flowPassFail_ = value; } } /// Field number for the "CheckSum" field. public const int CheckSumFieldNumber = 32; private uint checkSum_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint CheckSum { get { return checkSum_; } set { checkSum_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as StubDispenserEEpromData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(StubDispenserEEpromData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Header != other.Header) return false; if (TableLength != other.TableLength) return false; if (Tableversion != other.Tableversion) return false; if (DispenserPN != other.DispenserPN) return false; if (PCBSN != other.PCBSN) return false; if (PCBPartNumber != other.PCBPartNumber) return false; if (DispenserSN != other.DispenserSN) return false; if (MinimalPressure != other.MinimalPressure) return false; if (MaximalPressure != other.MaximalPressure) return false; if (MinimalMV != other.MinimalMV) return false; if (MaximalMV != other.MaximalMV) return false; if (TotalCycles != other.TotalCycles) return false; if (BubbleSize != other.BubbleSize) return false; if (AVGNlStepValue14 != other.AVGNlStepValue14) return false; if (AVGNlStepValue24 != other.AVGNlStepValue24) return false; if (AVGNlStepValue34 != other.AVGNlStepValue34) return false; if (AVGNlStepValue44 != other.AVGNlStepValue44) return false; if (SWReserve != other.SWReserve) return false; if (Spare1Pressure != other.Spare1Pressure) return false; if (Spare2Pressure != other.Spare2Pressure) return false; if (MotorPulsesPerCycle != other.MotorPulsesPerCycle) return false; if (Color != other.Color) return false; if (PressureSlope != other.PressureSlope) return false; if (ProductionDate != other.ProductionDate) return false; if (ATSlocation != other.ATSlocation) return false; if (Spare1 != other.Spare1) return false; if (Spare2 != other.Spare2) return false; if (ATSChannel != other.ATSChannel) return false; if (UnitEmpty != other.UnitEmpty) return false; if (DryRunPassFail != other.DryRunPassFail) return false; if (FlowPassFail != other.FlowPassFail) return false; if (CheckSum != other.CheckSum) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Header != 0) hash ^= Header.GetHashCode(); if (TableLength != 0) hash ^= TableLength.GetHashCode(); if (Tableversion != 0) hash ^= Tableversion.GetHashCode(); if (DispenserPN.Length != 0) hash ^= DispenserPN.GetHashCode(); if (PCBSN.Length != 0) hash ^= PCBSN.GetHashCode(); if (PCBPartNumber.Length != 0) hash ^= PCBPartNumber.GetHashCode(); if (DispenserSN.Length != 0) hash ^= DispenserSN.GetHashCode(); if (MinimalPressure != 0) hash ^= MinimalPressure.GetHashCode(); if (MaximalPressure != 0) hash ^= MaximalPressure.GetHashCode(); if (MinimalMV != 0) hash ^= MinimalMV.GetHashCode(); if (MaximalMV != 0) hash ^= MaximalMV.GetHashCode(); if (TotalCycles != 0) hash ^= TotalCycles.GetHashCode(); if (BubbleSize != 0) hash ^= BubbleSize.GetHashCode(); if (AVGNlStepValue14 != 0) hash ^= AVGNlStepValue14.GetHashCode(); if (AVGNlStepValue24 != 0) hash ^= AVGNlStepValue24.GetHashCode(); if (AVGNlStepValue34 != 0) hash ^= AVGNlStepValue34.GetHashCode(); if (AVGNlStepValue44 != 0) hash ^= AVGNlStepValue44.GetHashCode(); if (SWReserve != 0) hash ^= SWReserve.GetHashCode(); if (Spare1Pressure != 0) hash ^= Spare1Pressure.GetHashCode(); if (Spare2Pressure != 0) hash ^= Spare2Pressure.GetHashCode(); if (MotorPulsesPerCycle != 0) hash ^= MotorPulsesPerCycle.GetHashCode(); if (Color != 0) hash ^= Color.GetHashCode(); if (PressureSlope != 0) hash ^= PressureSlope.GetHashCode(); if (ProductionDate.Length != 0) hash ^= ProductionDate.GetHashCode(); if (ATSlocation != 0) hash ^= ATSlocation.GetHashCode(); if (Spare1 != 0) hash ^= Spare1.GetHashCode(); if (Spare2 != 0) hash ^= Spare2.GetHashCode(); if (ATSChannel != 0) hash ^= ATSChannel.GetHashCode(); if (UnitEmpty != false) hash ^= UnitEmpty.GetHashCode(); if (DryRunPassFail != false) hash ^= DryRunPassFail.GetHashCode(); if (FlowPassFail != false) hash ^= FlowPassFail.GetHashCode(); if (CheckSum != 0) hash ^= CheckSum.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 (Header != 0) { output.WriteRawTag(8); output.WriteUInt32(Header); } if (TableLength != 0) { output.WriteRawTag(16); output.WriteUInt32(TableLength); } if (Tableversion != 0) { output.WriteRawTag(24); output.WriteUInt32(Tableversion); } if (DispenserPN.Length != 0) { output.WriteRawTag(34); output.WriteString(DispenserPN); } if (PCBSN.Length != 0) { output.WriteRawTag(42); output.WriteString(PCBSN); } if (PCBPartNumber.Length != 0) { output.WriteRawTag(50); output.WriteString(PCBPartNumber); } if (DispenserSN.Length != 0) { output.WriteRawTag(58); output.WriteString(DispenserSN); } if (MinimalPressure != 0) { output.WriteRawTag(64); output.WriteInt32(MinimalPressure); } if (MaximalPressure != 0) { output.WriteRawTag(72); output.WriteInt32(MaximalPressure); } if (MinimalMV != 0) { output.WriteRawTag(80); output.WriteInt32(MinimalMV); } if (MaximalMV != 0) { output.WriteRawTag(88); output.WriteInt32(MaximalMV); } if (TotalCycles != 0) { output.WriteRawTag(96); output.WriteUInt32(TotalCycles); } if (BubbleSize != 0) { output.WriteRawTag(104); output.WriteInt32(BubbleSize); } if (AVGNlStepValue14 != 0) { output.WriteRawTag(112); output.WriteInt32(AVGNlStepValue14); } if (AVGNlStepValue24 != 0) { output.WriteRawTag(120); output.WriteInt32(AVGNlStepValue24); } if (AVGNlStepValue34 != 0) { output.WriteRawTag(128, 1); output.WriteInt32(AVGNlStepValue34); } if (AVGNlStepValue44 != 0) { output.WriteRawTag(136, 1); output.WriteInt32(AVGNlStepValue44); } if (SWReserve != 0) { output.WriteRawTag(144, 1); output.WriteInt32(SWReserve); } if (Spare1Pressure != 0) { output.WriteRawTag(152, 1); output.WriteInt32(Spare1Pressure); } if (Spare2Pressure != 0) { output.WriteRawTag(160, 1); output.WriteInt32(Spare2Pressure); } if (MotorPulsesPerCycle != 0) { output.WriteRawTag(168, 1); output.WriteUInt32(MotorPulsesPerCycle); } if (Color != 0) { output.WriteRawTag(176, 1); output.WriteUInt32(Color); } if (PressureSlope != 0) { output.WriteRawTag(184, 1); output.WriteInt32(PressureSlope); } if (ProductionDate.Length != 0) { output.WriteRawTag(194, 1); output.WriteString(ProductionDate); } if (ATSlocation != 0) { output.WriteRawTag(200, 1); output.WriteUInt32(ATSlocation); } if (Spare1 != 0) { output.WriteRawTag(208, 1); output.WriteInt32(Spare1); } if (Spare2 != 0) { output.WriteRawTag(216, 1); output.WriteInt32(Spare2); } if (ATSChannel != 0) { output.WriteRawTag(224, 1); output.WriteUInt32(ATSChannel); } if (UnitEmpty != false) { output.WriteRawTag(232, 1); output.WriteBool(UnitEmpty); } if (DryRunPassFail != false) { output.WriteRawTag(240, 1); output.WriteBool(DryRunPassFail); } if (FlowPassFail != false) { output.WriteRawTag(248, 1); output.WriteBool(FlowPassFail); } if (CheckSum != 0) { output.WriteRawTag(128, 2); output.WriteUInt32(CheckSum); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Header != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Header); } if (TableLength != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TableLength); } if (Tableversion != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tableversion); } if (DispenserPN.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(DispenserPN); } if (PCBSN.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(PCBSN); } if (PCBPartNumber.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(PCBPartNumber); } if (DispenserSN.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(DispenserSN); } if (MinimalPressure != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(MinimalPressure); } if (MaximalPressure != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaximalPressure); } if (MinimalMV != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(MinimalMV); } if (MaximalMV != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaximalMV); } if (TotalCycles != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TotalCycles); } if (BubbleSize != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(BubbleSize); } if (AVGNlStepValue14 != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(AVGNlStepValue14); } if (AVGNlStepValue24 != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(AVGNlStepValue24); } if (AVGNlStepValue34 != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(AVGNlStepValue34); } if (AVGNlStepValue44 != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(AVGNlStepValue44); } if (SWReserve != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(SWReserve); } if (Spare1Pressure != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(Spare1Pressure); } if (Spare2Pressure != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(Spare2Pressure); } if (MotorPulsesPerCycle != 0) { size += 2 + pb::CodedOutputStream.ComputeUInt32Size(MotorPulsesPerCycle); } if (Color != 0) { size += 2 + pb::CodedOutputStream.ComputeUInt32Size(Color); } if (PressureSlope != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(PressureSlope); } if (ProductionDate.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(ProductionDate); } if (ATSlocation != 0) { size += 2 + pb::CodedOutputStream.ComputeUInt32Size(ATSlocation); } if (Spare1 != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(Spare1); } if (Spare2 != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(Spare2); } if (ATSChannel != 0) { size += 2 + pb::CodedOutputStream.ComputeUInt32Size(ATSChannel); } if (UnitEmpty != false) { size += 2 + 1; } if (DryRunPassFail != false) { size += 2 + 1; } if (FlowPassFail != false) { size += 2 + 1; } if (CheckSum != 0) { size += 2 + pb::CodedOutputStream.ComputeUInt32Size(CheckSum); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(StubDispenserEEpromData other) { if (other == null) { return; } if (other.Header != 0) { Header = other.Header; } if (other.TableLength != 0) { TableLength = other.TableLength; } if (other.Tableversion != 0) { Tableversion = other.Tableversion; } if (other.DispenserPN.Length != 0) { DispenserPN = other.DispenserPN; } if (other.PCBSN.Length != 0) { PCBSN = other.PCBSN; } if (other.PCBPartNumber.Length != 0) { PCBPartNumber = other.PCBPartNumber; } if (other.DispenserSN.Length != 0) { DispenserSN = other.DispenserSN; } if (other.MinimalPressure != 0) { MinimalPressure = other.MinimalPressure; } if (other.MaximalPressure != 0) { MaximalPressure = other.MaximalPressure; } if (other.MinimalMV != 0) { MinimalMV = other.MinimalMV; } if (other.MaximalMV != 0) { MaximalMV = other.MaximalMV; } if (other.TotalCycles != 0) { TotalCycles = other.TotalCycles; } if (other.BubbleSize != 0) { BubbleSize = other.BubbleSize; } if (other.AVGNlStepValue14 != 0) { AVGNlStepValue14 = other.AVGNlStepValue14; } if (other.AVGNlStepValue24 != 0) { AVGNlStepValue24 = other.AVGNlStepValue24; } if (other.AVGNlStepValue34 != 0) { AVGNlStepValue34 = other.AVGNlStepValue34; } if (other.AVGNlStepValue44 != 0) { AVGNlStepValue44 = other.AVGNlStepValue44; } if (other.SWReserve != 0) { SWReserve = other.SWReserve; } if (other.Spare1Pressure != 0) { Spare1Pressure = other.Spare1Pressure; } if (other.Spare2Pressure != 0) { Spare2Pressure = other.Spare2Pressure; } if (other.MotorPulsesPerCycle != 0) { MotorPulsesPerCycle = other.MotorPulsesPerCycle; } if (other.Color != 0) { Color = other.Color; } if (other.PressureSlope != 0) { PressureSlope = other.PressureSlope; } if (other.ProductionDate.Length != 0) { ProductionDate = other.ProductionDate; } if (other.ATSlocation != 0) { ATSlocation = other.ATSlocation; } if (other.Spare1 != 0) { Spare1 = other.Spare1; } if (other.Spare2 != 0) { Spare2 = other.Spare2; } if (other.ATSChannel != 0) { ATSChannel = other.ATSChannel; } if (other.UnitEmpty != false) { UnitEmpty = other.UnitEmpty; } if (other.DryRunPassFail != false) { DryRunPassFail = other.DryRunPassFail; } if (other.FlowPassFail != false) { FlowPassFail = other.FlowPassFail; } if (other.CheckSum != 0) { CheckSum = other.CheckSum; } } [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: { Header = input.ReadUInt32(); break; } case 16: { TableLength = input.ReadUInt32(); break; } case 24: { Tableversion = input.ReadUInt32(); break; } case 34: { DispenserPN = input.ReadString(); break; } case 42: { PCBSN = input.ReadString(); break; } case 50: { PCBPartNumber = input.ReadString(); break; } case 58: { DispenserSN = input.ReadString(); break; } case 64: { MinimalPressure = input.ReadInt32(); break; } case 72: { MaximalPressure = input.ReadInt32(); break; } case 80: { MinimalMV = input.ReadInt32(); break; } case 88: { MaximalMV = input.ReadInt32(); break; } case 96: { TotalCycles = input.ReadUInt32(); break; } case 104: { BubbleSize = input.ReadInt32(); break; } case 112: { AVGNlStepValue14 = input.ReadInt32(); break; } case 120: { AVGNlStepValue24 = input.ReadInt32(); break; } case 128: { AVGNlStepValue34 = input.ReadInt32(); break; } case 136: { AVGNlStepValue44 = input.ReadInt32(); break; } case 144: { SWReserve = input.ReadInt32(); break; } case 152: { Spare1Pressure = input.ReadInt32(); break; } case 160: { Spare2Pressure = input.ReadInt32(); break; } case 168: { MotorPulsesPerCycle = input.ReadUInt32(); break; } case 176: { Color = input.ReadUInt32(); break; } case 184: { PressureSlope = input.ReadInt32(); break; } case 194: { ProductionDate = input.ReadString(); break; } case 200: { ATSlocation = input.ReadUInt32(); break; } case 208: { Spare1 = input.ReadInt32(); break; } case 216: { Spare2 = input.ReadInt32(); break; } case 224: { ATSChannel = input.ReadUInt32(); break; } case 232: { UnitEmpty = input.ReadBool(); break; } case 240: { DryRunPassFail = input.ReadBool(); break; } case 248: { FlowPassFail = input.ReadBool(); break; } case 256: { CheckSum = input.ReadUInt32(); break; } } } } } #endregion } #endregion Designer generated code