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 | |
| parent | 6c208c90bc45aff4a7fa214356a42fe7757c5e6f (diff) | |
| download | Tango-4c052df707280abd208b03aa88cf904e0eb6b9bf.tar.gz Tango-4c052df707280abd208b03aa88cf904e0eb6b9bf.zip | |
New Stubs.
Diffstat (limited to 'Software/Visual_Studio')
9 files changed, 1189 insertions, 86 deletions
diff --git a/Software/Visual_Studio/SideChains/ColorMine/ColorMine.nuspec b/Software/Visual_Studio/SideChains/ColorMine/ColorMine.nuspec deleted file mode 100644 index a8a40c98d..000000000 --- a/Software/Visual_Studio/SideChains/ColorMine/ColorMine.nuspec +++ /dev/null @@ -1,50 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> - <metadata> - <id>ColorMine</id> - <version>1.1.3.0</version> - <title>ColorMine</title> - <authors>Joe Zack</authors> - <licenseUrl>http://opensource.org/licenses/MIT</licenseUrl> - <projectUrl>https://github.com/THEjoezack/ColorMine</projectUrl> - <requireLicenseAcceptance>false</requireLicenseAcceptance> - <description>Open source library that makes converting and comparing colors easy. - - ## Supported Color Models: - * CMY - * CMYK - * HSL - * HSB - * HSV - * CIE L*AB - * Hunter LAB - * LCH - * LUV - * sRGB - * XYZ - * YXY - - ## Supported Comparisons - * CIE76 - * CMC l:c - * CIE94 - * CIE2000 - - Demonstrations at http://colormine.org.</description> - <releaseNotes>1.1.3.0 - 04/02/2014 -Bumped .Net version down to 4.0 -Fixed HSB Calcuations - -1.1.2.1 - 03/12/2014 -Now strongly signed - -1.1.2 - 03/12/2014 -Fixed CIE2000 calculations</releaseNotes> - <copyright>2014</copyright> - <language /> - <tags>color delta-e rgb to lab</tags> - </metadata> - <files> - <file src="bin\Release\ColorMine.dll" target="lib\ColorMine.dll" /> - </files> -</package>
\ No newline at end of file diff --git a/Software/Visual_Studio/Tango.PMR/Common/MessageType.cs b/Software/Visual_Studio/Tango.PMR/Common/MessageType.cs index 4811280d1..66e5d69b7 100644 --- a/Software/Visual_Studio/Tango.PMR/Common/MessageType.cs +++ b/Software/Visual_Studio/Tango.PMR/Common/MessageType.cs @@ -22,7 +22,7 @@ namespace Tango.PMR.Common { static MessageTypeReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "ChFNZXNzYWdlVHlwZS5wcm90bxIQVGFuZ28uUE1SLkNvbW1vbiqREAoLTWVz", + "ChFNZXNzYWdlVHlwZS5wcm90bxIQVGFuZ28uUE1SLkNvbW1vbiq5FQoLTWVz", "c2FnZVR5cGUSCAoETm9uZRAAEhQKEENhbGN1bGF0ZVJlcXVlc3QQAxIVChFD", "YWxjdWxhdGVSZXNwb25zZRAEEhMKD1Byb2dyZXNzUmVxdWVzdBAFEhQKEFBy", "b2dyZXNzUmVzcG9uc2UQBhIcChhTdHViQ2FydHJpZGdlUmVhZFJlcXVlc3QQ", @@ -44,32 +44,47 @@ namespace Tango.PMR.Common { "ChBTdHViVmFsdmVSZXF1ZXN0EB8SFQoRU3R1YlZhbHZlUmVzcG9uc2UQIBIb", "ChdTdHViRXh0Rmxhc2hSZWFkUmVxdWVzdBAhEhwKGFN0dWJFeHRGbGFzaFJl", "YWRSZXNwb25zZRAiEhwKGFN0dWJFeHRGbGFzaFdyaXRlUmVxdWVzdBAjEh0K", - "GVN0dWJFeHRGbGFzaFdyaXRlUmVzcG9uc2UQJBIlCiBFeHRlcm5hbEJyaWRn", - "ZVVkcERpc2NvdmVyeVBhY2tldBDoBxIfChpFeHRlcm5hbENsaWVudExvZ2lu", - "UmVxdWVzdBDpBxIgChtFeHRlcm5hbENsaWVudExvZ2luUmVzcG9uc2UQ6gcS", - "IQocRGlyZWN0U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vZ2dpbmdSZXF1ZXN0ENgPEh4KGU1vdG9yQWJv", + "cnRKb2dnaW5nUmVzcG9uc2UQ2Q8SIAobRGlzcGVuc2VyQWJvcnRIb21pbmdS", + "ZXF1ZXN0ENoPEiEKHERpc3BlbnNlckFib3J0SG9taW5nUmVzcG9uc2UQ2w8S", + "GwoWRGlzcGVuc2VySG9taW5nUmVxdWVzdBDcDxIcChdEaXNwZW5zZXJIb21p", + "bmdSZXNwb25zZRDdDxIcChdEaXNwZW5zZXJKb2dnaW5nUmVxdWVzdBDeDxId", + "ChhEaXNwZW5zZXJKb2dnaW5nUmVzcG9uc2UQ3w8SIQocRGlzcGVuc2VyQWJv", + "cnRKb2dnaW5nUmVxdWVzdBDgDxIiCh1EaXNwZW5zZXJBYm9ydEpvZ2dpbmdS", + "ZXNwb25zZRDhDxIZChRTZXREaWdpdGFsT3V0UmVxdWVzdBDiDxIaChVTZXRE", + "aWdpdGFsT3V0UmVzcG9uc2UQ4w8SGQoUVGhyZWFkSm9nZ2luZ1JlcXVlc3QQ", + "5A8SGgoVVGhyZWFkSm9nZ2luZ1Jlc3BvbnNlEOUPEh4KGVRocmVhZEFib3J0", + "Sm9nZ2luZ1JlcXVlc3QQ5g8SHwoaVGhyZWFkQWJvcnRKb2dnaW5nUmVzcG9u", + "c2UQ5w8SDwoKSm9iUmVxdWVzdBC4FxIQCgtKb2JSZXNwb25zZRC5FxIUCg9B", + "Ym9ydEpvYlJlcXVlc3QQuhcSFQoQQWJvcnRKb2JSZXNwb25zZRC7F0IcChpj", + "b20udHdpbmUudGFuZ28ucG1yLmNvbW1vbmIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Tango.PMR.Common.MessageType), }, null)); @@ -120,6 +135,30 @@ namespace Tango.PMR.Common { [pbr::OriginalName("StubExtFlashReadResponse")] StubExtFlashReadResponse = 34, [pbr::OriginalName("StubExtFlashWriteRequest")] StubExtFlashWriteRequest = 35, [pbr::OriginalName("StubExtFlashWriteResponse")] StubExtFlashWriteResponse = 36, + [pbr::OriginalName("StubFPGAReadBackRegRequest")] StubFpgareadBackRegRequest = 37, + [pbr::OriginalName("StubFPGAReadBackRegResponse")] StubFpgareadBackRegResponse = 38, + [pbr::OriginalName("StubFPGAReadVersionRequest")] StubFpgareadVersionRequest = 39, + [pbr::OriginalName("StubFPGAReadVersionResponse")] StubFpgareadVersionResponse = 40, + [pbr::OriginalName("StubL6470DriverRequest")] StubL6470DriverRequest = 41, + [pbr::OriginalName("StubL6470DriverResponse")] StubL6470DriverResponse = 42, + [pbr::OriginalName("StubMotorInitRequest")] StubMotorInitRequest = 43, + [pbr::OriginalName("StubMotorInitResponse")] StubMotorInitResponse = 44, + [pbr::OriginalName("StubMotorRunRequest")] StubMotorRunRequest = 45, + [pbr::OriginalName("StubMotorRunResponse")] StubMotorRunResponse = 46, + [pbr::OriginalName("StubMotorStopRequest")] StubMotorStopRequest = 47, + [pbr::OriginalName("StubMotorStopResponse")] StubMotorStopResponse = 48, + [pbr::OriginalName("StubMotorStatusRequest")] StubMotorStatusRequest = 49, + [pbr::OriginalName("StubMotorStatusResponse")] StubMotorStatusResponse = 50, + [pbr::OriginalName("StubMotorMovRequest")] StubMotorMovRequest = 51, + [pbr::OriginalName("StubMotorMovResponse")] StubMotorMovResponse = 52, + [pbr::OriginalName("StubMotorSpeedRequest")] StubMotorSpeedRequest = 53, + [pbr::OriginalName("StubMotorSpeedResponse")] StubMotorSpeedResponse = 54, + [pbr::OriginalName("StubMotorPositionRequest")] StubMotorPositionRequest = 55, + [pbr::OriginalName("StubMotorPositionResponse")] StubMotorPositionResponse = 56, + [pbr::OriginalName("StubHWVersionRequest")] StubHwversionRequest = 57, + [pbr::OriginalName("StubHWVersionResponse")] StubHwversionResponse = 58, + [pbr::OriginalName("StubF3Gpo01WriteRequest")] StubF3Gpo01WriteRequest = 59, + [pbr::OriginalName("StubF3Gpo01WriteResponse")] StubF3Gpo01WriteResponse = 60, /// <summary> ///Integration /// </summary> 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; + } } } } diff --git a/Software/Visual_Studio/Tango.sln b/Software/Visual_Studio/Tango.sln index f5fe8c1c0..3898d264d 100644 --- a/Software/Visual_Studio/Tango.sln +++ b/Software/Visual_Studio/Tango.sln @@ -1,7 +1,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 -VisualStudioVersion = 15.0.26430.16 +VisualStudioVersion = 15.0.27004.2010 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tango.Protobuf", "Tango.Protobuf\Tango.Protobuf.csproj", "{40073806-914E-4E78-97AB-FA9639308EBE}" EndProject @@ -1693,4 +1693,7 @@ Global {5B954D98-4020-4AC6-939F-C52B5646E8E6} = {5F6BBAA8-EAD0-4B18-97E5-55B4F56DD760} {FC337A7F-1214-41D8-9992-78092A3B961E} = {B2AF4F3F-2828-47C3-8F3E-A0EA0BD66FF8} EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {7986F7F4-A86A-4994-B1B6-0988D7F057B6} + EndGlobalSection EndGlobal |
