From 8e49a8041391c9aa946060aed2c538b1ce958a68 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Thu, 19 Sep 2019 18:29:10 +0300 Subject: Added support for multiple ColorLib versions ! Added version control and display in RML & Research Module. Implemented GenerateHive optimizations. --- .../Debugging/SetDebugLogCategoryRequest.cs | 161 +++++++++++++++++++++ .../Debugging/SetDebugLogCategoryResponse.cs | 131 +++++++++++++++++ 2 files changed, 292 insertions(+) create mode 100644 Software/Visual_Studio/Tango.PMR/Debugging/SetDebugLogCategoryRequest.cs create mode 100644 Software/Visual_Studio/Tango.PMR/Debugging/SetDebugLogCategoryResponse.cs (limited to 'Software/Visual_Studio/Tango.PMR/Debugging') diff --git a/Software/Visual_Studio/Tango.PMR/Debugging/SetDebugLogCategoryRequest.cs b/Software/Visual_Studio/Tango.PMR/Debugging/SetDebugLogCategoryRequest.cs new file mode 100644 index 000000000..7f47fd974 --- /dev/null +++ b/Software/Visual_Studio/Tango.PMR/Debugging/SetDebugLogCategoryRequest.cs @@ -0,0 +1,161 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: SetDebugLogCategoryRequest.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.Debugging { + + /// Holder for reflection information generated from SetDebugLogCategoryRequest.proto + public static partial class SetDebugLogCategoryRequestReflection { + + #region Descriptor + /// File descriptor for SetDebugLogCategoryRequest.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static SetDebugLogCategoryRequestReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiBTZXREZWJ1Z0xvZ0NhdGVnb3J5UmVxdWVzdC5wcm90bxITVGFuZ28uUE1S", + "LkRlYnVnZ2luZxoWRGVidWdMb2dDYXRlZ29yeS5wcm90byJcChpTZXREZWJ1", + "Z0xvZ0NhdGVnb3J5UmVxdWVzdBI+Cg9NaW5pbXVtQ2F0ZWdvcnkYASABKA4y", + "JS5UYW5nby5QTVIuRGVidWdnaW5nLkRlYnVnTG9nQ2F0ZWdvcnlCHwodY29t", + "LnR3aW5lLnRhbmdvLnBtci5kZWJ1Z2dpbmdiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Tango.PMR.Debugging.DebugLogCategoryReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Debugging.SetDebugLogCategoryRequest), global::Tango.PMR.Debugging.SetDebugLogCategoryRequest.Parser, new[]{ "MinimumCategory" }, null, null, null) + })); + } + #endregion + + } + #region Messages + public sealed partial class SetDebugLogCategoryRequest : pb::IMessage { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetDebugLogCategoryRequest()); + [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.Debugging.SetDebugLogCategoryRequestReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public SetDebugLogCategoryRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public SetDebugLogCategoryRequest(SetDebugLogCategoryRequest other) : this() { + minimumCategory_ = other.minimumCategory_; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public SetDebugLogCategoryRequest Clone() { + return new SetDebugLogCategoryRequest(this); + } + + /// Field number for the "MinimumCategory" field. + public const int MinimumCategoryFieldNumber = 1; + private global::Tango.PMR.Debugging.DebugLogCategory minimumCategory_ = 0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public global::Tango.PMR.Debugging.DebugLogCategory MinimumCategory { + get { return minimumCategory_; } + set { + minimumCategory_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as SetDebugLogCategoryRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(SetDebugLogCategoryRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (MinimumCategory != other.MinimumCategory) return false; + return true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (MinimumCategory != 0) hash ^= MinimumCategory.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 (MinimumCategory != 0) { + output.WriteRawTag(8); + output.WriteEnum((int) MinimumCategory); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (MinimumCategory != 0) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) MinimumCategory); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(SetDebugLogCategoryRequest other) { + if (other == null) { + return; + } + if (other.MinimumCategory != 0) { + MinimumCategory = other.MinimumCategory; + } + } + + [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: { + minimumCategory_ = (global::Tango.PMR.Debugging.DebugLogCategory) input.ReadEnum(); + break; + } + } + } + } + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/Debugging/SetDebugLogCategoryResponse.cs b/Software/Visual_Studio/Tango.PMR/Debugging/SetDebugLogCategoryResponse.cs new file mode 100644 index 000000000..d681ddcd1 --- /dev/null +++ b/Software/Visual_Studio/Tango.PMR/Debugging/SetDebugLogCategoryResponse.cs @@ -0,0 +1,131 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: SetDebugLogCategoryResponse.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.Debugging { + + /// Holder for reflection information generated from SetDebugLogCategoryResponse.proto + public static partial class SetDebugLogCategoryResponseReflection { + + #region Descriptor + /// File descriptor for SetDebugLogCategoryResponse.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static SetDebugLogCategoryResponseReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiFTZXREZWJ1Z0xvZ0NhdGVnb3J5UmVzcG9uc2UucHJvdG8SE1RhbmdvLlBN", + "Ui5EZWJ1Z2dpbmciHQobU2V0RGVidWdMb2dDYXRlZ29yeVJlc3BvbnNlQh8K", + "HWNvbS50d2luZS50YW5nby5wbXIuZGVidWdnaW5nYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Debugging.SetDebugLogCategoryResponse), global::Tango.PMR.Debugging.SetDebugLogCategoryResponse.Parser, null, null, null, null) + })); + } + #endregion + + } + #region Messages + public sealed partial class SetDebugLogCategoryResponse : pb::IMessage { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetDebugLogCategoryResponse()); + [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.Debugging.SetDebugLogCategoryResponseReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public SetDebugLogCategoryResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public SetDebugLogCategoryResponse(SetDebugLogCategoryResponse other) : this() { + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public SetDebugLogCategoryResponse Clone() { + return new SetDebugLogCategoryResponse(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as SetDebugLogCategoryResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(SetDebugLogCategoryResponse 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(SetDebugLogCategoryResponse 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 -- cgit v1.3.1