aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.PMR/Debugging
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-02-28 14:29:19 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-02-28 14:29:19 +0200
commit3e725887814383f6f18b1e6e951e1322104ebd1c (patch)
tree86f4c697307c811556ec273cd01b5cc635835c2c /Software/Visual_Studio/Tango.PMR/Debugging
parentc726e1f7697d9f0fe8cff387dc64dd00c4980b82 (diff)
downloadTango-3e725887814383f6f18b1e6e951e1322104ebd1c.tar.gz
Tango-3e725887814383f6f18b1e6e951e1322104ebd1c.zip
Lots of work !!!
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/Debugging')
-rw-r--r--Software/Visual_Studio/Tango.PMR/Debugging/DebugLogResponse.cs26
1 files changed, 13 insertions, 13 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/Debugging/DebugLogResponse.cs b/Software/Visual_Studio/Tango.PMR/Debugging/DebugLogResponse.cs
index de812f536..b7112f262 100644
--- a/Software/Visual_Studio/Tango.PMR/Debugging/DebugLogResponse.cs
+++ b/Software/Visual_Studio/Tango.PMR/Debugging/DebugLogResponse.cs
@@ -26,7 +26,7 @@ namespace Tango.PMR.Debugging {
"GhZEZWJ1Z0xvZ0NhdGVnb3J5LnByb3RvIqQBChBEZWJ1Z0xvZ1Jlc3BvbnNl",
"EjcKCENhdGVnb3J5GAEgASgOMiUuVGFuZ28uUE1SLkRlYnVnZ2luZy5EZWJ1",
"Z0xvZ0NhdGVnb3J5EhAKCEZpbGVOYW1lGAIgASgJEhIKCkxpbmVOdW1iZXIY",
- "AyABKAkSDgoGRmlsdGVyGAQgASgNEg8KB01lc3NhZ2UYBSABKAkSEAoITW9k",
+ "AyABKA0SDgoGRmlsdGVyGAQgASgNEg8KB01lc3NhZ2UYBSABKAkSEAoITW9k",
"dWxlSWQYBiABKA1CHwodY29tLnR3aW5lLnRhbmdvLnBtci5kZWJ1Z2dpbmdi",
"BnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
@@ -100,12 +100,12 @@ namespace Tango.PMR.Debugging {
/// <summary>Field number for the "LineNumber" field.</summary>
public const int LineNumberFieldNumber = 3;
- private string lineNumber_ = "";
+ private uint lineNumber_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string LineNumber {
+ public uint LineNumber {
get { return lineNumber_; }
set {
- lineNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ lineNumber_ = value;
}
}
@@ -169,7 +169,7 @@ namespace Tango.PMR.Debugging {
int hash = 1;
if (Category != 0) hash ^= Category.GetHashCode();
if (FileName.Length != 0) hash ^= FileName.GetHashCode();
- if (LineNumber.Length != 0) hash ^= LineNumber.GetHashCode();
+ if (LineNumber != 0) hash ^= LineNumber.GetHashCode();
if (Filter != 0) hash ^= Filter.GetHashCode();
if (Message.Length != 0) hash ^= Message.GetHashCode();
if (ModuleId != 0) hash ^= ModuleId.GetHashCode();
@@ -191,9 +191,9 @@ namespace Tango.PMR.Debugging {
output.WriteRawTag(18);
output.WriteString(FileName);
}
- if (LineNumber.Length != 0) {
- output.WriteRawTag(26);
- output.WriteString(LineNumber);
+ if (LineNumber != 0) {
+ output.WriteRawTag(24);
+ output.WriteUInt32(LineNumber);
}
if (Filter != 0) {
output.WriteRawTag(32);
@@ -218,8 +218,8 @@ namespace Tango.PMR.Debugging {
if (FileName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(FileName);
}
- if (LineNumber.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(LineNumber);
+ if (LineNumber != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LineNumber);
}
if (Filter != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Filter);
@@ -244,7 +244,7 @@ namespace Tango.PMR.Debugging {
if (other.FileName.Length != 0) {
FileName = other.FileName;
}
- if (other.LineNumber.Length != 0) {
+ if (other.LineNumber != 0) {
LineNumber = other.LineNumber;
}
if (other.Filter != 0) {
@@ -274,8 +274,8 @@ namespace Tango.PMR.Debugging {
FileName = input.ReadString();
break;
}
- case 26: {
- LineNumber = input.ReadString();
+ case 24: {
+ LineNumber = input.ReadUInt32();
break;
}
case 32: {