// Generated by the protocol buffer compiler. DO NOT EDIT! // source: DispenserRunningData.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.EmbeddedParameters { /// Holder for reflection information generated from DispenserRunningData.proto public static partial class DispenserRunningDataReflection { #region Descriptor /// File descriptor for DispenserRunningData.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static DispenserRunningDataReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChpEaXNwZW5zZXJSdW5uaW5nRGF0YS5wcm90bxIcVGFuZ28uUE1SLkVtYmVk", "ZGVkUGFyYW1ldGVycyKzAQoURGlzcGVuc2VyUnVubmluZ0RhdGESFwoPTnVt", "YmVyT2ZSZWZpbGxzGAEgASgNEiEKGVRvdGFsQ29uc3VtZWRJbk5hbm9MaXR0", "ZXIYAiABKAESHAoUQ29uc3VtZWRJbk5hbm9MaXR0ZXIYAyABKAESGgoSTmFu", "b0xpdHRlclBlclB1bHNlGAQgASgBEhIKCk1pY3JvU3RlcHMYBSABKA0SEQoJ", "RGlyZWN0aW9uGAYgASgIQigKJmNvbS50d2luZS50YW5nby5wbXIuZW1iZWRk", "ZWRwYXJhbWV0ZXJzYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.EmbeddedParameters.DispenserRunningData), global::Tango.PMR.EmbeddedParameters.DispenserRunningData.Parser, new[]{ "NumberOfRefills", "TotalConsumedInNanoLitter", "ConsumedInNanoLitter", "NanoLitterPerPulse", "MicroSteps", "Direction" }, null, null, null) })); } #endregion } #region Messages public sealed partial class DispenserRunningData : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DispenserRunningData()); [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.EmbeddedParameters.DispenserRunningDataReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public DispenserRunningData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public DispenserRunningData(DispenserRunningData other) : this() { numberOfRefills_ = other.numberOfRefills_; totalConsumedInNanoLitter_ = other.totalConsumedInNanoLitter_; consumedInNanoLitter_ = other.consumedInNanoLitter_; nanoLitterPerPulse_ = other.nanoLitterPerPulse_; microSteps_ = other.microSteps_; direction_ = other.direction_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public DispenserRunningData Clone() { return new DispenserRunningData(this); } /// Field number for the "NumberOfRefills" field. public const int NumberOfRefillsFieldNumber = 1; private uint numberOfRefills_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint NumberOfRefills { get { return numberOfRefills_; } set { numberOfRefills_ = value; } } /// Field number for the "TotalConsumedInNanoLitter" field. public const int TotalConsumedInNanoLitterFieldNumber = 2; private double totalConsumedInNanoLitter_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double TotalConsumedInNanoLitter { get { return totalConsumedInNanoLitter_; } set { totalConsumedInNanoLitter_ = value; } } /// Field number for the "ConsumedInNanoLitter" field. public const int ConsumedInNanoLitterFieldNumber = 3; private double consumedInNanoLitter_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double ConsumedInNanoLitter { get { return consumedInNanoLitter_; } set { consumedInNanoLitter_ = value; } } /// Field number for the "NanoLitterPerPulse" field. public const int NanoLitterPerPulseFieldNumber = 4; private double nanoLitterPerPulse_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double NanoLitterPerPulse { get { return nanoLitterPerPulse_; } set { nanoLitterPerPulse_ = value; } } /// Field number for the "MicroSteps" field. public const int MicroStepsFieldNumber = 5; private uint microSteps_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint MicroSteps { get { return microSteps_; } set { microSteps_ = value; } } /// Field number for the "Direction" field. public const int DirectionFieldNumber = 6; private bool direction_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Direction { get { return direction_; } set { direction_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as DispenserRunningData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(DispenserRunningData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (NumberOfRefills != other.NumberOfRefills) return false; if (TotalConsumedInNanoLitter != other.TotalConsumedInNanoLitter) return false; if (ConsumedInNanoLitter != other.ConsumedInNanoLitter) return false; if (NanoLitterPerPulse != other.NanoLitterPerPulse) return false; if (MicroSteps != other.MicroSteps) return false; if (Direction != other.Direction) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (NumberOfRefills != 0) hash ^= NumberOfRefills.GetHashCode(); if (TotalConsumedInNanoLitter != 0D) hash ^= TotalConsumedInNanoLitter.GetHashCode(); if (ConsumedInNanoLitter != 0D) hash ^= ConsumedInNanoLitter.GetHashCode(); if (NanoLitterPerPulse != 0D) hash ^= NanoLitterPerPulse.GetHashCode(); if (MicroSteps != 0) hash ^= MicroSteps.GetHashCode(); if (Direction != false) hash ^= Direction.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 (NumberOfRefills != 0) { output.WriteRawTag(8); output.WriteUInt32(NumberOfRefills); } if (TotalConsumedInNanoLitter != 0D) { output.WriteRawTag(17); output.WriteDouble(TotalConsumedInNanoLitter); } if (ConsumedInNanoLitter != 0D) { output.WriteRawTag(25); output.WriteDouble(ConsumedInNanoLitter); } if (NanoLitterPerPulse != 0D) { output.WriteRawTag(33); output.WriteDouble(NanoLitterPerPulse); } if (MicroSteps != 0) { output.WriteRawTag(40); output.WriteUInt32(MicroSteps); } if (Direction != false) { output.WriteRawTag(48); output.WriteBool(Direction); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (NumberOfRefills != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NumberOfRefills); } if (TotalConsumedInNanoLitter != 0D) { size += 1 + 8; } if (ConsumedInNanoLitter != 0D) { size += 1 + 8; } if (NanoLitterPerPulse != 0D) { size += 1 + 8; } if (MicroSteps != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MicroSteps); } if (Direction != false) { size += 1 + 1; } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(DispenserRunningData other) { if (other == null) { return; } if (other.NumberOfRefills != 0) { NumberOfRefills = other.NumberOfRefills; } if (other.TotalConsumedInNanoLitter != 0D) { TotalConsumedInNanoLitter = other.TotalConsumedInNanoLitter; } if (other.ConsumedInNanoLitter != 0D) { ConsumedInNanoLitter = other.ConsumedInNanoLitter; } if (other.NanoLitterPerPulse != 0D) { NanoLitterPerPulse = other.NanoLitterPerPulse; } if (other.MicroSteps != 0) { MicroSteps = other.MicroSteps; } if (other.Direction != false) { Direction = other.Direction; } } [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: { NumberOfRefills = input.ReadUInt32(); break; } case 17: { TotalConsumedInNanoLitter = input.ReadDouble(); break; } case 25: { ConsumedInNanoLitter = input.ReadDouble(); break; } case 33: { NanoLitterPerPulse = input.ReadDouble(); break; } case 40: { MicroSteps = input.ReadUInt32(); break; } case 48: { Direction = input.ReadBool(); break; } } } } } #endregion } #endregion Designer generated code