aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.PMR/Printing/StartHeadCleaningRequest.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/Printing/StartHeadCleaningRequest.cs')
-rw-r--r--Software/Visual_Studio/Tango.PMR/Printing/StartHeadCleaningRequest.cs35
1 files changed, 32 insertions, 3 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/Printing/StartHeadCleaningRequest.cs b/Software/Visual_Studio/Tango.PMR/Printing/StartHeadCleaningRequest.cs
index d04dd4e66..71f8fbc49 100644
--- a/Software/Visual_Studio/Tango.PMR/Printing/StartHeadCleaningRequest.cs
+++ b/Software/Visual_Studio/Tango.PMR/Printing/StartHeadCleaningRequest.cs
@@ -23,12 +23,13 @@ namespace Tango.PMR.Printing {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ch5TdGFydEhlYWRDbGVhbmluZ1JlcXVlc3QucHJvdG8SElRhbmdvLlBNUi5Q",
- "cmludGluZyIaChhTdGFydEhlYWRDbGVhbmluZ1JlcXVlc3RCHgocY29tLnR3",
- "aW5lLnRhbmdvLnBtci5wcmludGluZ2IGcHJvdG8z"));
+ "cmludGluZyItChhTdGFydEhlYWRDbGVhbmluZ1JlcXVlc3QSEQoJSXNMb25n",
+ "Sm9iGAEgASgIQh4KHGNvbS50d2luZS50YW5nby5wbXIucHJpbnRpbmdiBnBy",
+ "b3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Printing.StartHeadCleaningRequest), global::Tango.PMR.Printing.StartHeadCleaningRequest.Parser, null, null, null, null)
+ new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Printing.StartHeadCleaningRequest), global::Tango.PMR.Printing.StartHeadCleaningRequest.Parser, new[]{ "IsLongJob" }, null, null, null)
}));
}
#endregion
@@ -59,6 +60,7 @@ namespace Tango.PMR.Printing {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StartHeadCleaningRequest(StartHeadCleaningRequest other) : this() {
+ isLongJob_ = other.isLongJob_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -66,6 +68,17 @@ namespace Tango.PMR.Printing {
return new StartHeadCleaningRequest(this);
}
+ /// <summary>Field number for the "IsLongJob" field.</summary>
+ public const int IsLongJobFieldNumber = 1;
+ private bool isLongJob_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool IsLongJob {
+ get { return isLongJob_; }
+ set {
+ isLongJob_ = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as StartHeadCleaningRequest);
@@ -79,12 +92,14 @@ namespace Tango.PMR.Printing {
if (ReferenceEquals(other, this)) {
return true;
}
+ if (IsLongJob != other.IsLongJob) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
+ if (IsLongJob != false) hash ^= IsLongJob.GetHashCode();
return hash;
}
@@ -95,11 +110,18 @@ namespace Tango.PMR.Printing {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
+ if (IsLongJob != false) {
+ output.WriteRawTag(8);
+ output.WriteBool(IsLongJob);
+ }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
+ if (IsLongJob != false) {
+ size += 1 + 1;
+ }
return size;
}
@@ -108,6 +130,9 @@ namespace Tango.PMR.Printing {
if (other == null) {
return;
}
+ if (other.IsLongJob != false) {
+ IsLongJob = other.IsLongJob;
+ }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -118,6 +143,10 @@ namespace Tango.PMR.Printing {
default:
input.SkipLastField();
break;
+ case 8: {
+ IsLongJob = input.ReadBool();
+ break;
+ }
}
}
}