// Generated by the protocol buffer compiler. DO NOT EDIT! // source: StubL6470DriverRequest.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 StubL6470DriverRequest.proto public static partial class StubL6470DriverRequestReflection { #region Descriptor /// File descriptor for StubL6470DriverRequest.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static StubL6470DriverRequestReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChxTdHViTDY0NzBEcml2ZXJSZXF1ZXN0LnByb3RvEg9UYW5nby5QTVIuU3R1", "YnMizAMKFlN0dWJMNjQ3MERyaXZlclJlcXVlc3QSEQoJUnVuX1ZhbHVlGAEg", "ASgNEhEKCU1vdl9WYWx1ZRgCIAEoDRIRCglEaXJlY3Rpb24YAyABKAgSHwoX", "VGltZV8yX0NoYW5nZV9EaXJlY3Rpb24YBCABKA0SGQoRRGlzcGxheV9UeF9P", "Tl9MQ0QYBSABKAgSGQoRRGlzcGxheV9SeF9vbl9MQ0QYBiABKAgSFgoOSW5p", "dF9NaWNyb1N0ZXAYByABKA0SEAoISW5pdF9BY2MYCCABKA0SEAoISW5pdF9E", "ZWMYCSABKA0SEgoKVGVzdEJvb2xfMRgKIAEoCBISCgpUZXN0Qm9vbF8yGAsg", "ASgIEhIKClRlc3RCb29sXzMYDCABKAgSEgoKVGVzdEJvb2xfNBgNIAEoCBIS", "CgpUZXN0Qm9vbF81GA4gASgIEhQKDFRlc3RVaW50MzJfMRgPIAEoDRIUCgxU", "ZXN0VWludDMyXzIYECABKA0SFAoMVGVzdFVpbnQzMl8zGBEgASgNEhQKDFRl", "c3RVaW50MzJfNBgSIAEoDRIUCgxUZXN0VWludDMyXzUYEyABKA0SFAoMVGVz", "dFVpbnQzMl82GBQgASgNQhsKGWNvbS50d2luZS50YW5nby5wbXIuc3R1YnNi", "BnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubL6470DriverRequest), global::Tango.PMR.Stubs.StubL6470DriverRequest.Parser, new[]{ "RunValue", "MovValue", "Direction", "Time2ChangeDirection", "DisplayTxONLCD", "DisplayRxOnLCD", "InitMicroStep", "InitAcc", "InitDec", "TestBool1", "TestBool2", "TestBool3", "TestBool4", "TestBool5", "TestUint321", "TestUint322", "TestUint323", "TestUint324", "TestUint325", "TestUint326" }, null, null, null) })); } #endregion } #region Messages public sealed partial class StubL6470DriverRequest : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StubL6470DriverRequest()); [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.StubL6470DriverRequestReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public StubL6470DriverRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public StubL6470DriverRequest(StubL6470DriverRequest other) : this() { runValue_ = other.runValue_; movValue_ = other.movValue_; direction_ = other.direction_; time2ChangeDirection_ = other.time2ChangeDirection_; displayTxONLCD_ = other.displayTxONLCD_; displayRxOnLCD_ = other.displayRxOnLCD_; initMicroStep_ = other.initMicroStep_; initAcc_ = other.initAcc_; initDec_ = other.initDec_; testBool1_ = other.testBool1_; testBool2_ = other.testBool2_; testBool3_ = other.testBool3_; testBool4_ = other.testBool4_; testBool5_ = other.testBool5_; testUint321_ = other.testUint321_; testUint322_ = other.testUint322_; testUint323_ = other.testUint323_; testUint324_ = other.testUint324_; testUint325_ = other.testUint325_; testUint326_ = other.testUint326_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public StubL6470DriverRequest Clone() { return new StubL6470DriverRequest(this); } /// Field number for the "Run_Value" field. public const int RunValueFieldNumber = 1; private uint runValue_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint RunValue { get { return runValue_; } set { runValue_ = value; } } /// Field number for the "Mov_Value" field. public const int MovValueFieldNumber = 2; private uint movValue_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint MovValue { get { return movValue_; } set { movValue_ = value; } } /// Field number for the "Direction" field. public const int DirectionFieldNumber = 3; private bool direction_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Direction { get { return direction_; } set { direction_ = value; } } /// Field number for the "Time_2_Change_Direction" field. public const int Time2ChangeDirectionFieldNumber = 4; private uint time2ChangeDirection_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint Time2ChangeDirection { get { return time2ChangeDirection_; } set { time2ChangeDirection_ = value; } } /// Field number for the "Display_Tx_ON_LCD" field. public const int DisplayTxONLCDFieldNumber = 5; private bool displayTxONLCD_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool DisplayTxONLCD { get { return displayTxONLCD_; } set { displayTxONLCD_ = value; } } /// Field number for the "Display_Rx_on_LCD" field. public const int DisplayRxOnLCDFieldNumber = 6; private bool displayRxOnLCD_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool DisplayRxOnLCD { get { return displayRxOnLCD_; } set { displayRxOnLCD_ = value; } } /// Field number for the "Init_MicroStep" field. public const int InitMicroStepFieldNumber = 7; private uint initMicroStep_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint InitMicroStep { get { return initMicroStep_; } set { initMicroStep_ = value; } } /// Field number for the "Init_Acc" field. public const int InitAccFieldNumber = 8; private uint initAcc_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint InitAcc { get { return initAcc_; } set { initAcc_ = value; } } /// Field number for the "Init_Dec" field. public const int InitDecFieldNumber = 9; private uint initDec_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint InitDec { get { return initDec_; } set { initDec_ = value; } } /// Field number for the "TestBool_1" field. public const int TestBool1FieldNumber = 10; private bool testBool1_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool TestBool1 { get { return testBool1_; } set { testBool1_ = value; } } /// Field number for the "TestBool_2" field. public const int TestBool2FieldNumber = 11; private bool testBool2_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool TestBool2 { get { return testBool2_; } set { testBool2_ = value; } } /// Field number for the "TestBool_3" field. public const int TestBool3FieldNumber = 12; private bool testBool3_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool TestBool3 { get { return testBool3_; } set { testBool3_ = value; } } /// Field number for the "TestBool_4" field. public const int TestBool4FieldNumber = 13; private bool testBool4_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool TestBool4 { get { return testBool4_; } set { testBool4_ = value; } } /// Field number for the "TestBool_5" field. public const int TestBool5FieldNumber = 14; private bool testBool5_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool TestBool5 { get { return testBool5_; } set { testBool5_ = value; } } /// Field number for the "TestUint32_1" field. public const int TestUint321FieldNumber = 15; private uint testUint321_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint TestUint321 { get { return testUint321_; } set { testUint321_ = value; } } /// Field number for the "TestUint32_2" field. public const int TestUint322FieldNumber = 16; private uint testUint322_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint TestUint322 { get { return testUint322_; } set { testUint322_ = value; } } /// Field number for the "TestUint32_3" field. public const int TestUint323FieldNumber = 17; private uint testUint323_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint TestUint323 { get { return testUint323_; } set { testUint323_ = value; } } /// Field number for the "TestUint32_4" field. public const int TestUint324FieldNumber = 18; private uint testUint324_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint TestUint324 { get { return testUint324_; } set { testUint324_ = value; } } /// Field number for the "TestUint32_5" field. public const int TestUint325FieldNumber = 19; private uint testUint325_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint TestUint325 { get { return testUint325_; } set { testUint325_ = value; } } /// Field number for the "TestUint32_6" field. public const int TestUint326FieldNumber = 20; private uint testUint326_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint TestUint326 { get { return testUint326_; } set { testUint326_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as StubL6470DriverRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(StubL6470DriverRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (RunValue != other.RunValue) return false; if (MovValue != other.MovValue) return false; if (Direction != other.Direction) return false; if (Time2ChangeDirection != other.Time2ChangeDirection) return false; if (DisplayTxONLCD != other.DisplayTxONLCD) return false; if (DisplayRxOnLCD != other.DisplayRxOnLCD) return false; if (InitMicroStep != other.InitMicroStep) return false; if (InitAcc != other.InitAcc) return false; if (InitDec != other.InitDec) return false; if (TestBool1 != other.TestBool1) return false; if (TestBool2 != other.TestBool2) return false; if (TestBool3 != other.TestBool3) return false; if (TestBool4 != other.TestBool4) return false; if (TestBool5 != other.TestBool5) return false; if (TestUint321 != other.TestUint321) return false; if (TestUint322 != other.TestUint322) return false; if (TestUint323 != other.TestUint323) return false; if (TestUint324 != other.TestUint324) return false; if (TestUint325 != other.TestUint325) return false; if (TestUint326 != other.TestUint326) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (RunValue != 0) hash ^= RunValue.GetHashCode(); if (MovValue != 0) hash ^= MovValue.GetHashCode(); if (Direction != false) hash ^= Direction.GetHashCode(); if (Time2ChangeDirection != 0) hash ^= Time2ChangeDirection.GetHashCode(); if (DisplayTxONLCD != false) hash ^= DisplayTxONLCD.GetHashCode(); if (DisplayRxOnLCD != false) hash ^= DisplayRxOnLCD.GetHashCode(); if (InitMicroStep != 0) hash ^= InitMicroStep.GetHashCode(); if (InitAcc != 0) hash ^= InitAcc.GetHashCode(); if (InitDec != 0) hash ^= InitDec.GetHashCode(); if (TestBool1 != false) hash ^= TestBool1.GetHashCode(); if (TestBool2 != false) hash ^= TestBool2.GetHashCode(); if (TestBool3 != false) hash ^= TestBool3.GetHashCode(); if (TestBool4 != false) hash ^= TestBool4.GetHashCode(); if (TestBool5 != false) hash ^= TestBool5.GetHashCode(); if (TestUint321 != 0) hash ^= TestUint321.GetHashCode(); if (TestUint322 != 0) hash ^= TestUint322.GetHashCode(); if (TestUint323 != 0) hash ^= TestUint323.GetHashCode(); if (TestUint324 != 0) hash ^= TestUint324.GetHashCode(); if (TestUint325 != 0) hash ^= TestUint325.GetHashCode(); if (TestUint326 != 0) hash ^= TestUint326.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 (RunValue != 0) { output.WriteRawTag(8); output.WriteUInt32(RunValue); } if (MovValue != 0) { output.WriteRawTag(16); output.WriteUInt32(MovValue); } if (Direction != false) { output.WriteRawTag(24); output.WriteBool(Direction); } if (Time2ChangeDirection != 0) { output.WriteRawTag(32); output.WriteUInt32(Time2ChangeDirection); } if (DisplayTxONLCD != false) { output.WriteRawTag(40); output.WriteBool(DisplayTxONLCD); } if (DisplayRxOnLCD != false) { output.WriteRawTag(48); output.WriteBool(DisplayRxOnLCD); } if (InitMicroStep != 0) { output.WriteRawTag(56); output.WriteUInt32(InitMicroStep); } if (InitAcc != 0) { output.WriteRawTag(64); output.WriteUInt32(InitAcc); } if (InitDec != 0) { output.WriteRawTag(72); output.WriteUInt32(InitDec); } if (TestBool1 != false) { output.WriteRawTag(80); output.WriteBool(TestBool1); } if (TestBool2 != false) { output.WriteRawTag(88); output.WriteBool(TestBool2); } if (TestBool3 != false) { output.WriteRawTag(96); output.WriteBool(TestBool3); } if (TestBool4 != false) { output.WriteRawTag(104); output.WriteBool(TestBool4); } if (TestBool5 != false) { output.WriteRawTag(112); output.WriteBool(TestBool5); } if (TestUint321 != 0) { output.WriteRawTag(120); output.WriteUInt32(TestUint321); } if (TestUint322 != 0) { output.WriteRawTag(128, 1); output.WriteUInt32(TestUint322); } if (TestUint323 != 0) { output.WriteRawTag(136, 1); output.WriteUInt32(TestUint323); } if (TestUint324 != 0) { output.WriteRawTag(144, 1); output.WriteUInt32(TestUint324); } if (TestUint325 != 0) { output.WriteRawTag(152, 1); output.WriteUInt32(TestUint325); } if (TestUint326 != 0) { output.WriteRawTag(160, 1); output.WriteUInt32(TestUint326); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (RunValue != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RunValue); } if (MovValue != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MovValue); } if (Direction != false) { size += 1 + 1; } if (Time2ChangeDirection != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Time2ChangeDirection); } if (DisplayTxONLCD != false) { size += 1 + 1; } if (DisplayRxOnLCD != false) { size += 1 + 1; } if (InitMicroStep != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(InitMicroStep); } if (InitAcc != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(InitAcc); } if (InitDec != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(InitDec); } if (TestBool1 != false) { size += 1 + 1; } if (TestBool2 != false) { size += 1 + 1; } if (TestBool3 != false) { size += 1 + 1; } if (TestBool4 != false) { size += 1 + 1; } if (TestBool5 != false) { size += 1 + 1; } if (TestUint321 != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TestUint321); } if (TestUint322 != 0) { size += 2 + pb::CodedOutputStream.ComputeUInt32Size(TestUint322); } if (TestUint323 != 0) { size += 2 + pb::CodedOutputStream.ComputeUInt32Size(TestUint323); } if (TestUint324 != 0) { size += 2 + pb::CodedOutputStream.ComputeUInt32Size(TestUint324); } if (TestUint325 != 0) { size += 2 + pb::CodedOutputStream.ComputeUInt32Size(TestUint325); } if (TestUint326 != 0) { size += 2 + pb::CodedOutputStream.ComputeUInt32Size(TestUint326); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(StubL6470DriverRequest other) { if (other == null) { return; } if (other.RunValue != 0) { RunValue = other.RunValue; } if (other.MovValue != 0) { MovValue = other.MovValue; } if (other.Direction != false) { Direction = other.Direction; } if (other.Time2ChangeDirection != 0) { Time2ChangeDirection = other.Time2ChangeDirection; } if (other.DisplayTxONLCD != false) { DisplayTxONLCD = other.DisplayTxONLCD; } if (other.DisplayRxOnLCD != false) { DisplayRxOnLCD = other.DisplayRxOnLCD; } if (other.InitMicroStep != 0) { InitMicroStep = other.InitMicroStep; } if (other.InitAcc != 0) { InitAcc = other.InitAcc; } if (other.InitDec != 0) { InitDec = other.InitDec; } if (other.TestBool1 != false) { TestBool1 = other.TestBool1; } if (other.TestBool2 != false) { TestBool2 = other.TestBool2; } if (other.TestBool3 != false) { TestBool3 = other.TestBool3; } if (other.TestBool4 != false) { TestBool4 = other.TestBool4; } if (other.TestBool5 != false) { TestBool5 = other.TestBool5; } if (other.TestUint321 != 0) { TestUint321 = other.TestUint321; } if (other.TestUint322 != 0) { TestUint322 = other.TestUint322; } if (other.TestUint323 != 0) { TestUint323 = other.TestUint323; } if (other.TestUint324 != 0) { TestUint324 = other.TestUint324; } if (other.TestUint325 != 0) { TestUint325 = other.TestUint325; } if (other.TestUint326 != 0) { TestUint326 = other.TestUint326; } } [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: { RunValue = input.ReadUInt32(); break; } case 16: { MovValue = input.ReadUInt32(); break; } case 24: { Direction = input.ReadBool(); break; } case 32: { Time2ChangeDirection = input.ReadUInt32(); break; } case 40: { DisplayTxONLCD = input.ReadBool(); break; } case 48: { DisplayRxOnLCD = input.ReadBool(); break; } case 56: { InitMicroStep = input.ReadUInt32(); break; } case 64: { InitAcc = input.ReadUInt32(); break; } case 72: { InitDec = input.ReadUInt32(); break; } case 80: { TestBool1 = input.ReadBool(); break; } case 88: { TestBool2 = input.ReadBool(); break; } case 96: { TestBool3 = input.ReadBool(); break; } case 104: { TestBool4 = input.ReadBool(); break; } case 112: { TestBool5 = input.ReadBool(); break; } case 120: { TestUint321 = input.ReadUInt32(); break; } case 128: { TestUint322 = input.ReadUInt32(); break; } case 136: { TestUint323 = input.ReadUInt32(); break; } case 144: { TestUint324 = input.ReadUInt32(); break; } case 152: { TestUint325 = input.ReadUInt32(); break; } case 160: { TestUint326 = input.ReadUInt32(); break; } } } } } #endregion } #endregion Designer generated code