diff options
| author | Avi Levkovich <avi@twine-s.com> | 2018-02-26 16:28:13 +0200 |
|---|---|---|
| committer | Avi Levkovich <avi@twine-s.com> | 2018-02-26 16:28:13 +0200 |
| commit | 4c052df707280abd208b03aa88cf904e0eb6b9bf (patch) | |
| tree | c8523aac236d207b5d9f68ca1611ba66e987ab52 /Software/Visual_Studio/Tango.PMR/Stubs | |
| parent | 6c208c90bc45aff4a7fa214356a42fe7757c5e6f (diff) | |
| download | Tango-4c052df707280abd208b03aa88cf904e0eb6b9bf.tar.gz Tango-4c052df707280abd208b03aa88cf904e0eb6b9bf.zip | |
New Stubs.
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/Stubs')
6 files changed, 1119 insertions, 8 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubF3Gpo01WriteRequest.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubF3Gpo01WriteRequest.cs new file mode 100644 index 000000000..2355a2665 --- /dev/null +++ b/Software/Visual_Studio/Tango.PMR/Stubs/StubF3Gpo01WriteRequest.cs @@ -0,0 +1,480 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: StubF3Gpo01WriteRequest.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 { + + /// <summary>Holder for reflection information generated from StubF3Gpo01WriteRequest.proto</summary> + public static partial class StubF3Gpo01WriteRequestReflection { + + #region Descriptor + /// <summary>File descriptor for StubF3Gpo01WriteRequest.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static StubF3Gpo01WriteRequestReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ch1TdHViRjNHcG8wMVdyaXRlUmVxdWVzdC5wcm90bxIPVGFuZ28uUE1SLlN0", + "dWJzIt0CChdTdHViRjNHcG8wMVdyaXRlUmVxdWVzdBITCgtGM19HUE9fTEVE", + "NBgBIAEoCBIZChFXcml0ZV9GM19HUE9fTEVENBgCIAEoCBITCgtGM19HUE9f", + "TEVEMxgDIAEoCBIZChFXcml0ZV9GM19HUE9fTEVEMxgEIAEoCBITCgtGM19H", + "UE9fTEVEMhgFIAEoCBIZChFXcml0ZV9GM19HUE9fTEVEMhgGIAEoCBITCgtG", + "M19HUE9fTEVEMRgHIAEoCBIZChFXcml0ZV9GM19HUE9fTEVEMRgIIAEoCBIj", + "ChtGM19HUE9fRVhUV0lOREVSX1NTUjExX0NUUkwYCSABKAgSKQohV3JpdGVf", + "RjNfR1BPX0VYVFdJTkRFUl9TU1IxMV9DVFJMGAogASgIEhUKDUYzX0dQT19C", + "VVpaRVIYCyABKAgSGwoTV3JpdGVfRjNfR1BPX0JVWlpFUhgMIAEoCEIbChlj", + "b20udHdpbmUudGFuZ28ucG1yLnN0dWJzYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubF3Gpo01WriteRequest), global::Tango.PMR.Stubs.StubF3Gpo01WriteRequest.Parser, new[]{ "F3GPOLED4", "WriteF3GPOLED4", "F3GPOLED3", "WriteF3GPOLED3", "F3GPOLED2", "WriteF3GPOLED2", "F3GPOLED1", "WriteF3GPOLED1", "F3GPOEXTWINDERSSR11CTRL", "WriteF3GPOEXTWINDERSSR11CTRL", "F3GPOBUZZER", "WriteF3GPOBUZZER" }, null, null, null) + })); + } + #endregion + + } + #region Messages + public sealed partial class StubF3Gpo01WriteRequest : pb::IMessage<StubF3Gpo01WriteRequest> { + private static readonly pb::MessageParser<StubF3Gpo01WriteRequest> _parser = new pb::MessageParser<StubF3Gpo01WriteRequest>(() => new StubF3Gpo01WriteRequest()); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser<StubF3Gpo01WriteRequest> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::Tango.PMR.Stubs.StubF3Gpo01WriteRequestReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public StubF3Gpo01WriteRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public StubF3Gpo01WriteRequest(StubF3Gpo01WriteRequest other) : this() { + f3GPOLED4_ = other.f3GPOLED4_; + writeF3GPOLED4_ = other.writeF3GPOLED4_; + f3GPOLED3_ = other.f3GPOLED3_; + writeF3GPOLED3_ = other.writeF3GPOLED3_; + f3GPOLED2_ = other.f3GPOLED2_; + writeF3GPOLED2_ = other.writeF3GPOLED2_; + f3GPOLED1_ = other.f3GPOLED1_; + writeF3GPOLED1_ = other.writeF3GPOLED1_; + f3GPOEXTWINDERSSR11CTRL_ = other.f3GPOEXTWINDERSSR11CTRL_; + writeF3GPOEXTWINDERSSR11CTRL_ = other.writeF3GPOEXTWINDERSSR11CTRL_; + f3GPOBUZZER_ = other.f3GPOBUZZER_; + writeF3GPOBUZZER_ = other.writeF3GPOBUZZER_; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public StubF3Gpo01WriteRequest Clone() { + return new StubF3Gpo01WriteRequest(this); + } + + /// <summary>Field number for the "F3_GPO_LED4" field.</summary> + public const int F3GPOLED4FieldNumber = 1; + private bool f3GPOLED4_; + /// <summary> + ///value + /// </summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool F3GPOLED4 { + get { return f3GPOLED4_; } + set { + f3GPOLED4_ = value; + } + } + + /// <summary>Field number for the "Write_F3_GPO_LED4" field.</summary> + public const int WriteF3GPOLED4FieldNumber = 2; + private bool writeF3GPOLED4_; + /// <summary> + ///write + /// </summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool WriteF3GPOLED4 { + get { return writeF3GPOLED4_; } + set { + writeF3GPOLED4_ = value; + } + } + + /// <summary>Field number for the "F3_GPO_LED3" field.</summary> + public const int F3GPOLED3FieldNumber = 3; + private bool f3GPOLED3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool F3GPOLED3 { + get { return f3GPOLED3_; } + set { + f3GPOLED3_ = value; + } + } + + /// <summary>Field number for the "Write_F3_GPO_LED3" field.</summary> + public const int WriteF3GPOLED3FieldNumber = 4; + private bool writeF3GPOLED3_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool WriteF3GPOLED3 { + get { return writeF3GPOLED3_; } + set { + writeF3GPOLED3_ = value; + } + } + + /// <summary>Field number for the "F3_GPO_LED2" field.</summary> + public const int F3GPOLED2FieldNumber = 5; + private bool f3GPOLED2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool F3GPOLED2 { + get { return f3GPOLED2_; } + set { + f3GPOLED2_ = value; + } + } + + /// <summary>Field number for the "Write_F3_GPO_LED2" field.</summary> + public const int WriteF3GPOLED2FieldNumber = 6; + private bool writeF3GPOLED2_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool WriteF3GPOLED2 { + get { return writeF3GPOLED2_; } + set { + writeF3GPOLED2_ = value; + } + } + + /// <summary>Field number for the "F3_GPO_LED1" field.</summary> + public const int F3GPOLED1FieldNumber = 7; + private bool f3GPOLED1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool F3GPOLED1 { + get { return f3GPOLED1_; } + set { + f3GPOLED1_ = value; + } + } + + /// <summary>Field number for the "Write_F3_GPO_LED1" field.</summary> + public const int WriteF3GPOLED1FieldNumber = 8; + private bool writeF3GPOLED1_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool WriteF3GPOLED1 { + get { return writeF3GPOLED1_; } + set { + writeF3GPOLED1_ = value; + } + } + + /// <summary>Field number for the "F3_GPO_EXTWINDER_SSR11_CTRL" field.</summary> + public const int F3GPOEXTWINDERSSR11CTRLFieldNumber = 9; + private bool f3GPOEXTWINDERSSR11CTRL_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool F3GPOEXTWINDERSSR11CTRL { + get { return f3GPOEXTWINDERSSR11CTRL_; } + set { + f3GPOEXTWINDERSSR11CTRL_ = value; + } + } + + /// <summary>Field number for the "Write_F3_GPO_EXTWINDER_SSR11_CTRL" field.</summary> + public const int WriteF3GPOEXTWINDERSSR11CTRLFieldNumber = 10; + private bool writeF3GPOEXTWINDERSSR11CTRL_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool WriteF3GPOEXTWINDERSSR11CTRL { + get { return writeF3GPOEXTWINDERSSR11CTRL_; } + set { + writeF3GPOEXTWINDERSSR11CTRL_ = value; + } + } + + /// <summary>Field number for the "F3_GPO_BUZZER" field.</summary> + public const int F3GPOBUZZERFieldNumber = 11; + private bool f3GPOBUZZER_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool F3GPOBUZZER { + get { return f3GPOBUZZER_; } + set { + f3GPOBUZZER_ = value; + } + } + + /// <summary>Field number for the "Write_F3_GPO_BUZZER" field.</summary> + public const int WriteF3GPOBUZZERFieldNumber = 12; + private bool writeF3GPOBUZZER_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool WriteF3GPOBUZZER { + get { return writeF3GPOBUZZER_; } + set { + writeF3GPOBUZZER_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as StubF3Gpo01WriteRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(StubF3Gpo01WriteRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (F3GPOLED4 != other.F3GPOLED4) return false; + if (WriteF3GPOLED4 != other.WriteF3GPOLED4) return false; + if (F3GPOLED3 != other.F3GPOLED3) return false; + if (WriteF3GPOLED3 != other.WriteF3GPOLED3) return false; + if (F3GPOLED2 != other.F3GPOLED2) return false; + if (WriteF3GPOLED2 != other.WriteF3GPOLED2) return false; + if (F3GPOLED1 != other.F3GPOLED1) return false; + if (WriteF3GPOLED1 != other.WriteF3GPOLED1) return false; + if (F3GPOEXTWINDERSSR11CTRL != other.F3GPOEXTWINDERSSR11CTRL) return false; + if (WriteF3GPOEXTWINDERSSR11CTRL != other.WriteF3GPOEXTWINDERSSR11CTRL) return false; + if (F3GPOBUZZER != other.F3GPOBUZZER) return false; + if (WriteF3GPOBUZZER != other.WriteF3GPOBUZZER) return false; + return true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (F3GPOLED4 != false) hash ^= F3GPOLED4.GetHashCode(); + if (WriteF3GPOLED4 != false) hash ^= WriteF3GPOLED4.GetHashCode(); + if (F3GPOLED3 != false) hash ^= F3GPOLED3.GetHashCode(); + if (WriteF3GPOLED3 != false) hash ^= WriteF3GPOLED3.GetHashCode(); + if (F3GPOLED2 != false) hash ^= F3GPOLED2.GetHashCode(); + if (WriteF3GPOLED2 != false) hash ^= WriteF3GPOLED2.GetHashCode(); + if (F3GPOLED1 != false) hash ^= F3GPOLED1.GetHashCode(); + if (WriteF3GPOLED1 != false) hash ^= WriteF3GPOLED1.GetHashCode(); + if (F3GPOEXTWINDERSSR11CTRL != false) hash ^= F3GPOEXTWINDERSSR11CTRL.GetHashCode(); + if (WriteF3GPOEXTWINDERSSR11CTRL != false) hash ^= WriteF3GPOEXTWINDERSSR11CTRL.GetHashCode(); + if (F3GPOBUZZER != false) hash ^= F3GPOBUZZER.GetHashCode(); + if (WriteF3GPOBUZZER != false) hash ^= WriteF3GPOBUZZER.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 (F3GPOLED4 != false) { + output.WriteRawTag(8); + output.WriteBool(F3GPOLED4); + } + if (WriteF3GPOLED4 != false) { + output.WriteRawTag(16); + output.WriteBool(WriteF3GPOLED4); + } + if (F3GPOLED3 != false) { + output.WriteRawTag(24); + output.WriteBool(F3GPOLED3); + } + if (WriteF3GPOLED3 != false) { + output.WriteRawTag(32); + output.WriteBool(WriteF3GPOLED3); + } + if (F3GPOLED2 != false) { + output.WriteRawTag(40); + output.WriteBool(F3GPOLED2); + } + if (WriteF3GPOLED2 != false) { + output.WriteRawTag(48); + output.WriteBool(WriteF3GPOLED2); + } + if (F3GPOLED1 != false) { + output.WriteRawTag(56); + output.WriteBool(F3GPOLED1); + } + if (WriteF3GPOLED1 != false) { + output.WriteRawTag(64); + output.WriteBool(WriteF3GPOLED1); + } + if (F3GPOEXTWINDERSSR11CTRL != false) { + output.WriteRawTag(72); + output.WriteBool(F3GPOEXTWINDERSSR11CTRL); + } + if (WriteF3GPOEXTWINDERSSR11CTRL != false) { + output.WriteRawTag(80); + output.WriteBool(WriteF3GPOEXTWINDERSSR11CTRL); + } + if (F3GPOBUZZER != false) { + output.WriteRawTag(88); + output.WriteBool(F3GPOBUZZER); + } + if (WriteF3GPOBUZZER != false) { + output.WriteRawTag(96); + output.WriteBool(WriteF3GPOBUZZER); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (F3GPOLED4 != false) { + size += 1 + 1; + } + if (WriteF3GPOLED4 != false) { + size += 1 + 1; + } + if (F3GPOLED3 != false) { + size += 1 + 1; + } + if (WriteF3GPOLED3 != false) { + size += 1 + 1; + } + if (F3GPOLED2 != false) { + size += 1 + 1; + } + if (WriteF3GPOLED2 != false) { + size += 1 + 1; + } + if (F3GPOLED1 != false) { + size += 1 + 1; + } + if (WriteF3GPOLED1 != false) { + size += 1 + 1; + } + if (F3GPOEXTWINDERSSR11CTRL != false) { + size += 1 + 1; + } + if (WriteF3GPOEXTWINDERSSR11CTRL != false) { + size += 1 + 1; + } + if (F3GPOBUZZER != false) { + size += 1 + 1; + } + if (WriteF3GPOBUZZER != false) { + size += 1 + 1; + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(StubF3Gpo01WriteRequest other) { + if (other == null) { + return; + } + if (other.F3GPOLED4 != false) { + F3GPOLED4 = other.F3GPOLED4; + } + if (other.WriteF3GPOLED4 != false) { + WriteF3GPOLED4 = other.WriteF3GPOLED4; + } + if (other.F3GPOLED3 != false) { + F3GPOLED3 = other.F3GPOLED3; + } + if (other.WriteF3GPOLED3 != false) { + WriteF3GPOLED3 = other.WriteF3GPOLED3; + } + if (other.F3GPOLED2 != false) { + F3GPOLED2 = other.F3GPOLED2; + } + if (other.WriteF3GPOLED2 != false) { + WriteF3GPOLED2 = other.WriteF3GPOLED2; + } + if (other.F3GPOLED1 != false) { + F3GPOLED1 = other.F3GPOLED1; + } + if (other.WriteF3GPOLED1 != false) { + WriteF3GPOLED1 = other.WriteF3GPOLED1; + } + if (other.F3GPOEXTWINDERSSR11CTRL != false) { + F3GPOEXTWINDERSSR11CTRL = other.F3GPOEXTWINDERSSR11CTRL; + } + if (other.WriteF3GPOEXTWINDERSSR11CTRL != false) { + WriteF3GPOEXTWINDERSSR11CTRL = other.WriteF3GPOEXTWINDERSSR11CTRL; + } + if (other.F3GPOBUZZER != false) { + F3GPOBUZZER = other.F3GPOBUZZER; + } + if (other.WriteF3GPOBUZZER != false) { + WriteF3GPOBUZZER = other.WriteF3GPOBUZZER; + } + } + + [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: { + F3GPOLED4 = input.ReadBool(); + break; + } + case 16: { + WriteF3GPOLED4 = input.ReadBool(); + break; + } + case 24: { + F3GPOLED3 = input.ReadBool(); + break; + } + case 32: { + WriteF3GPOLED3 = input.ReadBool(); + break; + } + case 40: { + F3GPOLED2 = input.ReadBool(); + break; + } + case 48: { + WriteF3GPOLED2 = input.ReadBool(); + break; + } + case 56: { + F3GPOLED1 = input.ReadBool(); + break; + } + case 64: { + WriteF3GPOLED1 = input.ReadBool(); + break; + } + case 72: { + F3GPOEXTWINDERSSR11CTRL = input.ReadBool(); + break; + } + case 80: { + WriteF3GPOEXTWINDERSSR11CTRL = input.ReadBool(); + break; + } + case 88: { + F3GPOBUZZER = input.ReadBool(); + break; + } + case 96: { + WriteF3GPOBUZZER = input.ReadBool(); + break; + } + } + } + } + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubF3Gpo01WriteResponse.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubF3Gpo01WriteResponse.cs new file mode 100644 index 000000000..5522c39d6 --- /dev/null +++ b/Software/Visual_Studio/Tango.PMR/Stubs/StubF3Gpo01WriteResponse.cs @@ -0,0 +1,194 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: StubF3Gpo01WriteResponse.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 { + + /// <summary>Holder for reflection information generated from StubF3Gpo01WriteResponse.proto</summary> + public static partial class StubF3Gpo01WriteResponseReflection { + + #region Descriptor + /// <summary>File descriptor for StubF3Gpo01WriteResponse.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static StubF3Gpo01WriteResponseReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ch5TdHViRjNHcG8wMVdyaXRlUmVzcG9uc2UucHJvdG8SD1RhbmdvLlBNUi5T", + "dHVicyI+ChhTdHViRjNHcG8wMVdyaXRlUmVzcG9uc2USDgoGU3RhdHVzGAEg", + "ASgJEhIKClN0YXR1c1dvcmQYAiABKA1CGwoZY29tLnR3aW5lLnRhbmdvLnBt", + "ci5zdHVic2IGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubF3Gpo01WriteResponse), global::Tango.PMR.Stubs.StubF3Gpo01WriteResponse.Parser, new[]{ "Status", "StatusWord" }, null, null, null) + })); + } + #endregion + + } + #region Messages + public sealed partial class StubF3Gpo01WriteResponse : pb::IMessage<StubF3Gpo01WriteResponse> { + private static readonly pb::MessageParser<StubF3Gpo01WriteResponse> _parser = new pb::MessageParser<StubF3Gpo01WriteResponse>(() => new StubF3Gpo01WriteResponse()); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser<StubF3Gpo01WriteResponse> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::Tango.PMR.Stubs.StubF3Gpo01WriteResponseReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public StubF3Gpo01WriteResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public StubF3Gpo01WriteResponse(StubF3Gpo01WriteResponse other) : this() { + status_ = other.status_; + statusWord_ = other.statusWord_; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public StubF3Gpo01WriteResponse Clone() { + return new StubF3Gpo01WriteResponse(this); + } + + /// <summary>Field number for the "Status" field.</summary> + public const int StatusFieldNumber = 1; + private string status_ = ""; + /// <summary> + /// Passed/Failed + /// </summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public string Status { + get { return status_; } + set { + status_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "StatusWord" field.</summary> + public const int StatusWordFieldNumber = 2; + private uint statusWord_; + /// <summary> + /// Error number/bit when the status is Failed + /// </summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public uint StatusWord { + get { return statusWord_; } + set { + statusWord_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as StubF3Gpo01WriteResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(StubF3Gpo01WriteResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Status != other.Status) return false; + if (StatusWord != other.StatusWord) return false; + return true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (Status.Length != 0) hash ^= Status.GetHashCode(); + if (StatusWord != 0) hash ^= StatusWord.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 (Status.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Status); + } + if (StatusWord != 0) { + output.WriteRawTag(16); + output.WriteUInt32(StatusWord); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (Status.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Status); + } + if (StatusWord != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StatusWord); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(StubF3Gpo01WriteResponse other) { + if (other == null) { + return; + } + if (other.Status.Length != 0) { + Status = other.Status; + } + if (other.StatusWord != 0) { + StatusWord = other.StatusWord; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + input.SkipLastField(); + break; + case 10: { + Status = input.ReadString(); + break; + } + case 16: { + StatusWord = input.ReadUInt32(); + break; + } + } + } + } + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubHWVersionRequest.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubHWVersionRequest.cs new file mode 100644 index 000000000..edc6cf464 --- /dev/null +++ b/Software/Visual_Studio/Tango.PMR/Stubs/StubHWVersionRequest.cs @@ -0,0 +1,131 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: StubHWVersionRequest.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 { + + /// <summary>Holder for reflection information generated from StubHWVersionRequest.proto</summary> + public static partial class StubHWVersionRequestReflection { + + #region Descriptor + /// <summary>File descriptor for StubHWVersionRequest.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static StubHWVersionRequestReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChpTdHViSFdWZXJzaW9uUmVxdWVzdC5wcm90bxIPVGFuZ28uUE1SLlN0dWJz", + "IhYKFFN0dWJIV1ZlcnNpb25SZXF1ZXN0QhsKGWNvbS50d2luZS50YW5nby5w", + "bXIuc3R1YnNiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubHWVersionRequest), global::Tango.PMR.Stubs.StubHWVersionRequest.Parser, null, null, null, null) + })); + } + #endregion + + } + #region Messages + public sealed partial class StubHWVersionRequest : pb::IMessage<StubHWVersionRequest> { + private static readonly pb::MessageParser<StubHWVersionRequest> _parser = new pb::MessageParser<StubHWVersionRequest>(() => new StubHWVersionRequest()); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser<StubHWVersionRequest> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::Tango.PMR.Stubs.StubHWVersionRequestReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public StubHWVersionRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public StubHWVersionRequest(StubHWVersionRequest other) : this() { + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public StubHWVersionRequest Clone() { + return new StubHWVersionRequest(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as StubHWVersionRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(StubHWVersionRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + 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) { + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(StubHWVersionRequest other) { + if (other == null) { + return; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + input.SkipLastField(); + break; + } + } + } + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubHWVersionResponse.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubHWVersionResponse.cs new file mode 100644 index 000000000..203d37da8 --- /dev/null +++ b/Software/Visual_Studio/Tango.PMR/Stubs/StubHWVersionResponse.cs @@ -0,0 +1,250 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: StubHWVersionResponse.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 { + + /// <summary>Holder for reflection information generated from StubHWVersionResponse.proto</summary> + public static partial class StubHWVersionResponseReflection { + + #region Descriptor + /// <summary>File descriptor for StubHWVersionResponse.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static StubHWVersionResponseReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChtTdHViSFdWZXJzaW9uUmVzcG9uc2UucHJvdG8SD1RhbmdvLlBNUi5TdHVi", + "cyJcChVTdHViSFdWZXJzaW9uUmVzcG9uc2USDgoGQlJEX0lEGAEgASgNEg8K", + "B0FTU1lfSUQYAiABKA0SDgoGU3RhdHVzGAMgASgJEhIKClN0YXR1c1dvcmQY", + "BCABKA1CGwoZY29tLnR3aW5lLnRhbmdvLnBtci5zdHVic2IGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubHWVersionResponse), global::Tango.PMR.Stubs.StubHWVersionResponse.Parser, new[]{ "BRDID", "ASSYID", "Status", "StatusWord" }, null, null, null) + })); + } + #endregion + + } + #region Messages + public sealed partial class StubHWVersionResponse : pb::IMessage<StubHWVersionResponse> { + private static readonly pb::MessageParser<StubHWVersionResponse> _parser = new pb::MessageParser<StubHWVersionResponse>(() => new StubHWVersionResponse()); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser<StubHWVersionResponse> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::Tango.PMR.Stubs.StubHWVersionResponseReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public StubHWVersionResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public StubHWVersionResponse(StubHWVersionResponse other) : this() { + bRDID_ = other.bRDID_; + aSSYID_ = other.aSSYID_; + status_ = other.status_; + statusWord_ = other.statusWord_; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public StubHWVersionResponse Clone() { + return new StubHWVersionResponse(this); + } + + /// <summary>Field number for the "BRD_ID" field.</summary> + public const int BRDIDFieldNumber = 1; + private uint bRDID_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public uint BRDID { + get { return bRDID_; } + set { + bRDID_ = value; + } + } + + /// <summary>Field number for the "ASSY_ID" field.</summary> + public const int ASSYIDFieldNumber = 2; + private uint aSSYID_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public uint ASSYID { + get { return aSSYID_; } + set { + aSSYID_ = value; + } + } + + /// <summary>Field number for the "Status" field.</summary> + public const int StatusFieldNumber = 3; + private string status_ = ""; + /// <summary> + /// Passed/Failed + /// </summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public string Status { + get { return status_; } + set { + status_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "StatusWord" field.</summary> + public const int StatusWordFieldNumber = 4; + private uint statusWord_; + /// <summary> + /// Error number/bit when the status is Failed + /// </summary> + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public uint StatusWord { + get { return statusWord_; } + set { + statusWord_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as StubHWVersionResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(StubHWVersionResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (BRDID != other.BRDID) return false; + if (ASSYID != other.ASSYID) return false; + if (Status != other.Status) return false; + if (StatusWord != other.StatusWord) return false; + return true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (BRDID != 0) hash ^= BRDID.GetHashCode(); + if (ASSYID != 0) hash ^= ASSYID.GetHashCode(); + if (Status.Length != 0) hash ^= Status.GetHashCode(); + if (StatusWord != 0) hash ^= StatusWord.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 (BRDID != 0) { + output.WriteRawTag(8); + output.WriteUInt32(BRDID); + } + if (ASSYID != 0) { + output.WriteRawTag(16); + output.WriteUInt32(ASSYID); + } + if (Status.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Status); + } + if (StatusWord != 0) { + output.WriteRawTag(32); + output.WriteUInt32(StatusWord); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (BRDID != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BRDID); + } + if (ASSYID != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ASSYID); + } + if (Status.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Status); + } + if (StatusWord != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StatusWord); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(StubHWVersionResponse other) { + if (other == null) { + return; + } + if (other.BRDID != 0) { + BRDID = other.BRDID; + } + if (other.ASSYID != 0) { + ASSYID = other.ASSYID; + } + if (other.Status.Length != 0) { + Status = other.Status; + } + if (other.StatusWord != 0) { + StatusWord = other.StatusWord; + } + } + + [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: { + BRDID = input.ReadUInt32(); + break; + } + case 16: { + ASSYID = input.ReadUInt32(); + break; + } + case 26: { + Status = input.ReadString(); + break; + } + case 32: { + StatusWord = input.ReadUInt32(); + break; + } + } + } + } + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubMotorRunResponse.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubMotorRunResponse.cs index ea8a714ec..2e6576323 100644 --- a/Software/Visual_Studio/Tango.PMR/Stubs/StubMotorRunResponse.cs +++ b/Software/Visual_Studio/Tango.PMR/Stubs/StubMotorRunResponse.cs @@ -23,15 +23,15 @@ namespace Tango.PMR.Stubs { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChpTdHViTW90b3JSdW5SZXNwb25zZS5wcm90bxIPVGFuZ28uUE1SLlN0dWJz", - "IpwBChRTdHViTW90b3JSdW5SZXNwb25zZRIQCghNb3Rvcl9JRBgBIAEoDRIN", + "IqoBChRTdHViTW90b3JSdW5SZXNwb25zZRIQCghNb3Rvcl9JRBgBIAEoDRIN", "CgVTcGVlZBgCIAEoARISCgpTdGF0dXNfUmVnGAMgASgNEhEKCURpcmVjdGlv", "bhgEIAEoCBISCgpNb3RfU3RhdHVzGAUgASgNEhMKC1NURVBfTE9TU19BGAYg", - "ASgIEhMKC1NURVBfTE9TU19CGAcgASgIQhsKGWNvbS50d2luZS50YW5nby5w", - "bXIuc3R1YnNiBnByb3RvMw==")); + "ASgIEhMKC1NURVBfTE9TU19CGAcgASgIEgwKBEJVU1kYCCABKAhCGwoZY29t", + "LnR3aW5lLnRhbmdvLnBtci5zdHVic2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubMotorRunResponse), global::Tango.PMR.Stubs.StubMotorRunResponse.Parser, new[]{ "MotorID", "Speed", "StatusReg", "Direction", "MotStatus", "STEPLOSSA", "STEPLOSSB" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubMotorRunResponse), global::Tango.PMR.Stubs.StubMotorRunResponse.Parser, new[]{ "MotorID", "Speed", "StatusReg", "Direction", "MotStatus", "STEPLOSSA", "STEPLOSSB", "BUSY" }, null, null, null) })); } #endregion @@ -69,6 +69,7 @@ namespace Tango.PMR.Stubs { motStatus_ = other.motStatus_; sTEPLOSSA_ = other.sTEPLOSSA_; sTEPLOSSB_ = other.sTEPLOSSB_; + bUSY_ = other.bUSY_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -159,6 +160,17 @@ namespace Tango.PMR.Stubs { } } + /// <summary>Field number for the "BUSY" field.</summary> + public const int BUSYFieldNumber = 8; + private bool bUSY_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool BUSY { + get { return bUSY_; } + set { + bUSY_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as StubMotorRunResponse); @@ -179,6 +191,7 @@ namespace Tango.PMR.Stubs { if (MotStatus != other.MotStatus) return false; if (STEPLOSSA != other.STEPLOSSA) return false; if (STEPLOSSB != other.STEPLOSSB) return false; + if (BUSY != other.BUSY) return false; return true; } @@ -192,6 +205,7 @@ namespace Tango.PMR.Stubs { if (MotStatus != 0) hash ^= MotStatus.GetHashCode(); if (STEPLOSSA != false) hash ^= STEPLOSSA.GetHashCode(); if (STEPLOSSB != false) hash ^= STEPLOSSB.GetHashCode(); + if (BUSY != false) hash ^= BUSY.GetHashCode(); return hash; } @@ -230,6 +244,10 @@ namespace Tango.PMR.Stubs { output.WriteRawTag(56); output.WriteBool(STEPLOSSB); } + if (BUSY != false) { + output.WriteRawTag(64); + output.WriteBool(BUSY); + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -256,6 +274,9 @@ namespace Tango.PMR.Stubs { if (STEPLOSSB != false) { size += 1 + 1; } + if (BUSY != false) { + size += 1 + 1; + } return size; } @@ -285,6 +306,9 @@ namespace Tango.PMR.Stubs { if (other.STEPLOSSB != false) { STEPLOSSB = other.STEPLOSSB; } + if (other.BUSY != false) { + BUSY = other.BUSY; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -323,6 +347,10 @@ namespace Tango.PMR.Stubs { STEPLOSSB = input.ReadBool(); break; } + case 64: { + BUSY = input.ReadBool(); + break; + } } } } diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubMotorStopResponse.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubMotorStopResponse.cs index 59fc68fe2..f7d143168 100644 --- a/Software/Visual_Studio/Tango.PMR/Stubs/StubMotorStopResponse.cs +++ b/Software/Visual_Studio/Tango.PMR/Stubs/StubMotorStopResponse.cs @@ -23,13 +23,13 @@ namespace Tango.PMR.Stubs { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChtTdHViTW90b3JTdG9wUmVzcG9uc2UucHJvdG8SD1RhbmdvLlBNUi5TdHVi", - "cyJKChVTdHViTW90b3JTdG9wUmVzcG9uc2USEAoITW90b3JfSUQYASABKA0S", - "EgoKTW90X1N0YXR1cxgCIAEoDRILCgNIaVoYAyABKAhCGwoZY29tLnR3aW5l", - "LnRhbmdvLnBtci5zdHVic2IGcHJvdG8z")); + "cyJYChVTdHViTW90b3JTdG9wUmVzcG9uc2USEAoITW90b3JfSUQYASABKA0S", + "EgoKTW90X1N0YXR1cxgCIAEoDRILCgNIaVoYAyABKAgSDAoEQlVTWRgEIAEo", + "CEIbChljb20udHdpbmUudGFuZ28ucG1yLnN0dWJzYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubMotorStopResponse), global::Tango.PMR.Stubs.StubMotorStopResponse.Parser, new[]{ "MotorID", "MotStatus", "HiZ" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubMotorStopResponse), global::Tango.PMR.Stubs.StubMotorStopResponse.Parser, new[]{ "MotorID", "MotStatus", "HiZ", "BUSY" }, null, null, null) })); } #endregion @@ -63,6 +63,7 @@ namespace Tango.PMR.Stubs { motorID_ = other.motorID_; motStatus_ = other.motStatus_; hiZ_ = other.hiZ_; + bUSY_ = other.bUSY_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -109,6 +110,17 @@ namespace Tango.PMR.Stubs { } } + /// <summary>Field number for the "BUSY" field.</summary> + public const int BUSYFieldNumber = 4; + private bool bUSY_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool BUSY { + get { return bUSY_; } + set { + bUSY_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as StubMotorStopResponse); @@ -125,6 +137,7 @@ namespace Tango.PMR.Stubs { if (MotorID != other.MotorID) return false; if (MotStatus != other.MotStatus) return false; if (HiZ != other.HiZ) return false; + if (BUSY != other.BUSY) return false; return true; } @@ -134,6 +147,7 @@ namespace Tango.PMR.Stubs { if (MotorID != 0) hash ^= MotorID.GetHashCode(); if (MotStatus != 0) hash ^= MotStatus.GetHashCode(); if (HiZ != false) hash ^= HiZ.GetHashCode(); + if (BUSY != false) hash ^= BUSY.GetHashCode(); return hash; } @@ -156,6 +170,10 @@ namespace Tango.PMR.Stubs { output.WriteRawTag(24); output.WriteBool(HiZ); } + if (BUSY != false) { + output.WriteRawTag(32); + output.WriteBool(BUSY); + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -170,6 +188,9 @@ namespace Tango.PMR.Stubs { if (HiZ != false) { size += 1 + 1; } + if (BUSY != false) { + size += 1 + 1; + } return size; } @@ -187,6 +208,9 @@ namespace Tango.PMR.Stubs { if (other.HiZ != false) { HiZ = other.HiZ; } + if (other.BUSY != false) { + BUSY = other.BUSY; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -209,6 +233,10 @@ namespace Tango.PMR.Stubs { HiZ = input.ReadBool(); break; } + case 32: { + BUSY = input.ReadBool(); + break; + } } } } |
