aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-02-28 11:28:19 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-02-28 11:28:19 +0200
commit2f70caaf340063f90529c3302f2f2a78dda9d40c (patch)
treef3657b46f0a90202d09a8a872eaf560b8bdef526 /Software/Visual_Studio
parent687910bc052e1430c8132a5eefe63e20ba6937e0 (diff)
downloadTango-2f70caaf340063f90529c3302f2f2a78dda9d40c.tar.gz
Tango-2f70caaf340063f90529c3302f2f2a78dda9d40c.zip
Implemented PMR Debugging objects.
Diffstat (limited to 'Software/Visual_Studio')
-rw-r--r--Software/Visual_Studio/Tango.PMR/Common/RGB.cs215
-rw-r--r--Software/Visual_Studio/Tango.PMR/Debugging/DebugLogCategory.cs49
-rw-r--r--Software/Visual_Studio/Tango.PMR/Debugging/DebugLogRequest.cs131
-rw-r--r--Software/Visual_Studio/Tango.PMR/Debugging/DebugLogResponse.cs303
-rw-r--r--Software/Visual_Studio/Tango.PMR/Tango.PMR.csproj4
5 files changed, 486 insertions, 216 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/Common/RGB.cs b/Software/Visual_Studio/Tango.PMR/Common/RGB.cs
deleted file mode 100644
index 23f335254..000000000
--- a/Software/Visual_Studio/Tango.PMR/Common/RGB.cs
+++ /dev/null
@@ -1,215 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: RGB.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.Common {
-
- /// <summary>Holder for reflection information generated from RGB.proto</summary>
- public static partial class RGBReflection {
-
- #region Descriptor
- /// <summary>File descriptor for RGB.proto</summary>
- public static pbr::FileDescriptor Descriptor {
- get { return descriptor; }
- }
- private static pbr::FileDescriptor descriptor;
-
- static RGBReflection() {
- byte[] descriptorData = global::System.Convert.FromBase64String(
- string.Concat(
- "CglSR0IucHJvdG8SEFRhbmdvLlBNUi5Db21tb24iJgoDUkdCEgkKAVIYASAB",
- "KAUSCQoBRxgCIAEoBRIJCgFCGAMgASgFQhwKGmNvbS50d2luZS50YW5nby5w",
- "bXIuY29tbW9uYgZwcm90bzM="));
- descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { },
- new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Common.RGB), global::Tango.PMR.Common.RGB.Parser, new[]{ "R", "G", "B" }, null, null, null)
- }));
- }
- #endregion
-
- }
- #region Messages
- public sealed partial class RGB : pb::IMessage<RGB> {
- private static readonly pb::MessageParser<RGB> _parser = new pb::MessageParser<RGB>(() => new RGB());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser<RGB> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Tango.PMR.Common.RGBReflection.Descriptor.MessageTypes[0]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public RGB() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public RGB(RGB other) : this() {
- r_ = other.r_;
- g_ = other.g_;
- b_ = other.b_;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public RGB Clone() {
- return new RGB(this);
- }
-
- /// <summary>Field number for the "R" field.</summary>
- public const int RFieldNumber = 1;
- private int r_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int R {
- get { return r_; }
- set {
- r_ = value;
- }
- }
-
- /// <summary>Field number for the "G" field.</summary>
- public const int GFieldNumber = 2;
- private int g_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int G {
- get { return g_; }
- set {
- g_ = value;
- }
- }
-
- /// <summary>Field number for the "B" field.</summary>
- public const int BFieldNumber = 3;
- private int b_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int B {
- get { return b_; }
- set {
- b_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as RGB);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(RGB other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (R != other.R) return false;
- if (G != other.G) return false;
- if (B != other.B) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (R != 0) hash ^= R.GetHashCode();
- if (G != 0) hash ^= G.GetHashCode();
- if (B != 0) hash ^= B.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 (R != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(R);
- }
- if (G != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(G);
- }
- if (B != 0) {
- output.WriteRawTag(24);
- output.WriteInt32(B);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (R != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(R);
- }
- if (G != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(G);
- }
- if (B != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(B);
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(RGB other) {
- if (other == null) {
- return;
- }
- if (other.R != 0) {
- R = other.R;
- }
- if (other.G != 0) {
- G = other.G;
- }
- if (other.B != 0) {
- B = other.B;
- }
- }
-
- [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: {
- R = input.ReadInt32();
- break;
- }
- case 16: {
- G = input.ReadInt32();
- break;
- }
- case 24: {
- B = input.ReadInt32();
- break;
- }
- }
- }
- }
-
- }
-
- #endregion
-
-}
-
-#endregion Designer generated code
diff --git a/Software/Visual_Studio/Tango.PMR/Debugging/DebugLogCategory.cs b/Software/Visual_Studio/Tango.PMR/Debugging/DebugLogCategory.cs
new file mode 100644
index 000000000..e142d959a
--- /dev/null
+++ b/Software/Visual_Studio/Tango.PMR/Debugging/DebugLogCategory.cs
@@ -0,0 +1,49 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: DebugLogCategory.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 {
+
+ /// <summary>Holder for reflection information generated from DebugLogCategory.proto</summary>
+ public static partial class DebugLogCategoryReflection {
+
+ #region Descriptor
+ /// <summary>File descriptor for DebugLogCategory.proto</summary>
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static DebugLogCategoryReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "ChZEZWJ1Z0xvZ0NhdGVnb3J5LnByb3RvEhNUYW5nby5QTVIuRGVidWdnaW5n",
+ "Kk0KEERlYnVnTG9nQ2F0ZWdvcnkSCAoESW5mbxAAEgsKB1dhcm5pbmcQARIJ",
+ "CgVFcnJvchACEgwKCENyaXRpY2FsEAMSCQoFRGVidWcQBEIfCh1jb20udHdp",
+ "bmUudGFuZ28ucG1yLmRlYnVnZ2luZ2IGcHJvdG8z"));
+ descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
+ new pbr::FileDescriptor[] { },
+ new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Tango.PMR.Debugging.DebugLogCategory), }, null));
+ }
+ #endregion
+
+ }
+ #region Enums
+ public enum DebugLogCategory {
+ [pbr::OriginalName("Info")] Info = 0,
+ [pbr::OriginalName("Warning")] Warning = 1,
+ [pbr::OriginalName("Error")] Error = 2,
+ [pbr::OriginalName("Critical")] Critical = 3,
+ [pbr::OriginalName("Debug")] Debug = 4,
+ }
+
+ #endregion
+
+}
+
+#endregion Designer generated code
diff --git a/Software/Visual_Studio/Tango.PMR/Debugging/DebugLogRequest.cs b/Software/Visual_Studio/Tango.PMR/Debugging/DebugLogRequest.cs
new file mode 100644
index 000000000..a64d091d7
--- /dev/null
+++ b/Software/Visual_Studio/Tango.PMR/Debugging/DebugLogRequest.cs
@@ -0,0 +1,131 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: DebugLogRequest.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 {
+
+ /// <summary>Holder for reflection information generated from DebugLogRequest.proto</summary>
+ public static partial class DebugLogRequestReflection {
+
+ #region Descriptor
+ /// <summary>File descriptor for DebugLogRequest.proto</summary>
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static DebugLogRequestReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "ChVEZWJ1Z0xvZ1JlcXVlc3QucHJvdG8SE1RhbmdvLlBNUi5EZWJ1Z2dpbmci",
+ "EQoPRGVidWdMb2dSZXF1ZXN0Qh8KHWNvbS50d2luZS50YW5nby5wbXIuZGVi",
+ "dWdnaW5nYgZwcm90bzM="));
+ descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
+ new pbr::FileDescriptor[] { },
+ new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
+ new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Debugging.DebugLogRequest), global::Tango.PMR.Debugging.DebugLogRequest.Parser, null, null, null, null)
+ }));
+ }
+ #endregion
+
+ }
+ #region Messages
+ public sealed partial class DebugLogRequest : pb::IMessage<DebugLogRequest> {
+ private static readonly pb::MessageParser<DebugLogRequest> _parser = new pb::MessageParser<DebugLogRequest>(() => new DebugLogRequest());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser<DebugLogRequest> Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Tango.PMR.Debugging.DebugLogRequestReflection.Descriptor.MessageTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public DebugLogRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public DebugLogRequest(DebugLogRequest other) : this() {
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public DebugLogRequest Clone() {
+ return new DebugLogRequest(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as DebugLogRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(DebugLogRequest 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(DebugLogRequest 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/Debugging/DebugLogResponse.cs b/Software/Visual_Studio/Tango.PMR/Debugging/DebugLogResponse.cs
new file mode 100644
index 000000000..de812f536
--- /dev/null
+++ b/Software/Visual_Studio/Tango.PMR/Debugging/DebugLogResponse.cs
@@ -0,0 +1,303 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: DebugLogResponse.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 {
+
+ /// <summary>Holder for reflection information generated from DebugLogResponse.proto</summary>
+ public static partial class DebugLogResponseReflection {
+
+ #region Descriptor
+ /// <summary>File descriptor for DebugLogResponse.proto</summary>
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static DebugLogResponseReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "ChZEZWJ1Z0xvZ1Jlc3BvbnNlLnByb3RvEhNUYW5nby5QTVIuRGVidWdnaW5n",
+ "GhZEZWJ1Z0xvZ0NhdGVnb3J5LnByb3RvIqQBChBEZWJ1Z0xvZ1Jlc3BvbnNl",
+ "EjcKCENhdGVnb3J5GAEgASgOMiUuVGFuZ28uUE1SLkRlYnVnZ2luZy5EZWJ1",
+ "Z0xvZ0NhdGVnb3J5EhAKCEZpbGVOYW1lGAIgASgJEhIKCkxpbmVOdW1iZXIY",
+ "AyABKAkSDgoGRmlsdGVyGAQgASgNEg8KB01lc3NhZ2UYBSABKAkSEAoITW9k",
+ "dWxlSWQYBiABKA1CHwodY29tLnR3aW5lLnRhbmdvLnBtci5kZWJ1Z2dpbmdi",
+ "BnByb3RvMw=="));
+ 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.DebugLogResponse), global::Tango.PMR.Debugging.DebugLogResponse.Parser, new[]{ "Category", "FileName", "LineNumber", "Filter", "Message", "ModuleId" }, null, null, null)
+ }));
+ }
+ #endregion
+
+ }
+ #region Messages
+ public sealed partial class DebugLogResponse : pb::IMessage<DebugLogResponse> {
+ private static readonly pb::MessageParser<DebugLogResponse> _parser = new pb::MessageParser<DebugLogResponse>(() => new DebugLogResponse());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser<DebugLogResponse> Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Tango.PMR.Debugging.DebugLogResponseReflection.Descriptor.MessageTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public DebugLogResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public DebugLogResponse(DebugLogResponse other) : this() {
+ category_ = other.category_;
+ fileName_ = other.fileName_;
+ lineNumber_ = other.lineNumber_;
+ filter_ = other.filter_;
+ message_ = other.message_;
+ moduleId_ = other.moduleId_;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public DebugLogResponse Clone() {
+ return new DebugLogResponse(this);
+ }
+
+ /// <summary>Field number for the "Category" field.</summary>
+ public const int CategoryFieldNumber = 1;
+ private global::Tango.PMR.Debugging.DebugLogCategory category_ = 0;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::Tango.PMR.Debugging.DebugLogCategory Category {
+ get { return category_; }
+ set {
+ category_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "FileName" field.</summary>
+ public const int FileNameFieldNumber = 2;
+ private string fileName_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string FileName {
+ get { return fileName_; }
+ set {
+ fileName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// <summary>Field number for the "LineNumber" field.</summary>
+ public const int LineNumberFieldNumber = 3;
+ private string lineNumber_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string LineNumber {
+ get { return lineNumber_; }
+ set {
+ lineNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// <summary>Field number for the "Filter" field.</summary>
+ public const int FilterFieldNumber = 4;
+ private uint filter_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint Filter {
+ get { return filter_; }
+ set {
+ filter_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "Message" field.</summary>
+ public const int MessageFieldNumber = 5;
+ private string message_ = "";
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string Message {
+ get { return message_; }
+ set {
+ message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// <summary>Field number for the "ModuleId" field.</summary>
+ public const int ModuleIdFieldNumber = 6;
+ private uint moduleId_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint ModuleId {
+ get { return moduleId_; }
+ set {
+ moduleId_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as DebugLogResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(DebugLogResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Category != other.Category) return false;
+ if (FileName != other.FileName) return false;
+ if (LineNumber != other.LineNumber) return false;
+ if (Filter != other.Filter) return false;
+ if (Message != other.Message) return false;
+ if (ModuleId != other.ModuleId) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Category != 0) hash ^= Category.GetHashCode();
+ if (FileName.Length != 0) hash ^= FileName.GetHashCode();
+ if (LineNumber.Length != 0) hash ^= LineNumber.GetHashCode();
+ if (Filter != 0) hash ^= Filter.GetHashCode();
+ if (Message.Length != 0) hash ^= Message.GetHashCode();
+ if (ModuleId != 0) hash ^= ModuleId.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 (Category != 0) {
+ output.WriteRawTag(8);
+ output.WriteEnum((int) Category);
+ }
+ if (FileName.Length != 0) {
+ output.WriteRawTag(18);
+ output.WriteString(FileName);
+ }
+ if (LineNumber.Length != 0) {
+ output.WriteRawTag(26);
+ output.WriteString(LineNumber);
+ }
+ if (Filter != 0) {
+ output.WriteRawTag(32);
+ output.WriteUInt32(Filter);
+ }
+ if (Message.Length != 0) {
+ output.WriteRawTag(42);
+ output.WriteString(Message);
+ }
+ if (ModuleId != 0) {
+ output.WriteRawTag(48);
+ output.WriteUInt32(ModuleId);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (Category != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Category);
+ }
+ if (FileName.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(FileName);
+ }
+ if (LineNumber.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(LineNumber);
+ }
+ if (Filter != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Filter);
+ }
+ if (Message.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
+ }
+ if (ModuleId != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ModuleId);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(DebugLogResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Category != 0) {
+ Category = other.Category;
+ }
+ if (other.FileName.Length != 0) {
+ FileName = other.FileName;
+ }
+ if (other.LineNumber.Length != 0) {
+ LineNumber = other.LineNumber;
+ }
+ if (other.Filter != 0) {
+ Filter = other.Filter;
+ }
+ if (other.Message.Length != 0) {
+ Message = other.Message;
+ }
+ if (other.ModuleId != 0) {
+ ModuleId = other.ModuleId;
+ }
+ }
+
+ [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: {
+ category_ = (global::Tango.PMR.Debugging.DebugLogCategory) input.ReadEnum();
+ break;
+ }
+ case 18: {
+ FileName = input.ReadString();
+ break;
+ }
+ case 26: {
+ LineNumber = input.ReadString();
+ break;
+ }
+ case 32: {
+ Filter = input.ReadUInt32();
+ break;
+ }
+ case 42: {
+ Message = input.ReadString();
+ break;
+ }
+ case 48: {
+ ModuleId = input.ReadUInt32();
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ #endregion
+
+}
+
+#endregion Designer generated code
diff --git a/Software/Visual_Studio/Tango.PMR/Tango.PMR.csproj b/Software/Visual_Studio/Tango.PMR/Tango.PMR.csproj
index be8bd22ee..867c9edb0 100644
--- a/Software/Visual_Studio/Tango.PMR/Tango.PMR.csproj
+++ b/Software/Visual_Studio/Tango.PMR/Tango.PMR.csproj
@@ -57,6 +57,9 @@
<Compile Include="ColorLab\LiquidType.cs" />
<Compile Include="ColorLab\OutputCoordinates.cs" />
<Compile Include="ColorLab\OutputLiquid.cs" />
+ <Compile Include="Debugging\DebugLogCategory.cs" />
+ <Compile Include="Debugging\DebugLogRequest.cs" />
+ <Compile Include="Debugging\DebugLogResponse.cs" />
<Compile Include="Diagnostics\DataFileFrame.cs" />
<Compile Include="Diagnostics\DigitalPin.cs" />
<Compile Include="Diagnostics\DispenserAbortHomingRequest.cs" />
@@ -119,7 +122,6 @@
<Compile Include="Common\KeepAliveResponse.cs" />
<Compile Include="Common\MessageContainer.cs" />
<Compile Include="Common\MessageType.cs" />
- <Compile Include="Common\RGB.cs" />
<Compile Include="Stubs\*.cs" />
<Compile Include="Synchronization\*.cs" />
</ItemGroup>