aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.PMR/Printing
diff options
context:
space:
mode:
authorMirta <mirta@twine-s.com>2020-12-30 16:39:52 +0200
committerMirta <mirta@twine-s.com>2020-12-30 16:39:52 +0200
commit00a491d93733d4625ad329b2ba8237f445364b3f (patch)
tree4b24c6fa78d7648f4bb7cefafa464bb0b063fec4 /Software/Visual_Studio/Tango.PMR/Printing
parent124ad4150f80c6846fdee41dbbda9848c105f6e5 (diff)
downloadTango-00a491d9.tar.gz
Tango-00a491d9.zip
merge
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/Printing')
-rw-r--r--Software/Visual_Studio/Tango.PMR/Printing/AbortHeadCleaningRequest.cs131
-rw-r--r--Software/Visual_Studio/Tango.PMR/Printing/AbortHeadCleaningResponse.cs131
-rw-r--r--Software/Visual_Studio/Tango.PMR/Printing/DispenserLiquidType.cs12
-rw-r--r--Software/Visual_Studio/Tango.PMR/Printing/HeadCleaningParameters.cs188
-rw-r--r--Software/Visual_Studio/Tango.PMR/Printing/JobSpool.cs37
-rw-r--r--Software/Visual_Studio/Tango.PMR/Printing/JobTicket.cs102
-rw-r--r--Software/Visual_Studio/Tango.PMR/Printing/ProcessParameters.cs321
-rw-r--r--Software/Visual_Studio/Tango.PMR/Printing/StartHeadCleaningRequest.cs131
-rw-r--r--Software/Visual_Studio/Tango.PMR/Printing/StartHeadCleaningResponse.cs216
-rw-r--r--Software/Visual_Studio/Tango.PMR/Printing/ThreadParameters.cs415
10 files changed, 27 insertions, 1657 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/Printing/AbortHeadCleaningRequest.cs b/Software/Visual_Studio/Tango.PMR/Printing/AbortHeadCleaningRequest.cs
deleted file mode 100644
index 291d960aa..000000000
--- a/Software/Visual_Studio/Tango.PMR/Printing/AbortHeadCleaningRequest.cs
+++ /dev/null
@@ -1,131 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: AbortHeadCleaningRequest.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.Printing {
-
- /// <summary>Holder for reflection information generated from AbortHeadCleaningRequest.proto</summary>
- public static partial class AbortHeadCleaningRequestReflection {
-
- #region Descriptor
- /// <summary>File descriptor for AbortHeadCleaningRequest.proto</summary>
- public static pbr::FileDescriptor Descriptor {
- get { return descriptor; }
- }
- private static pbr::FileDescriptor descriptor;
-
- static AbortHeadCleaningRequestReflection() {
- byte[] descriptorData = global::System.Convert.FromBase64String(
- string.Concat(
- "Ch5BYm9ydEhlYWRDbGVhbmluZ1JlcXVlc3QucHJvdG8SElRhbmdvLlBNUi5Q",
- "cmludGluZyIaChhBYm9ydEhlYWRDbGVhbmluZ1JlcXVlc3RCHgocY29tLnR3",
- "aW5lLnRhbmdvLnBtci5wcmludGluZ2IGcHJvdG8z"));
- descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { },
- new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Printing.AbortHeadCleaningRequest), global::Tango.PMR.Printing.AbortHeadCleaningRequest.Parser, null, null, null, null)
- }));
- }
- #endregion
-
- }
- #region Messages
- public sealed partial class AbortHeadCleaningRequest : pb::IMessage<AbortHeadCleaningRequest> {
- private static readonly pb::MessageParser<AbortHeadCleaningRequest> _parser = new pb::MessageParser<AbortHeadCleaningRequest>(() => new AbortHeadCleaningRequest());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser<AbortHeadCleaningRequest> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Tango.PMR.Printing.AbortHeadCleaningRequestReflection.Descriptor.MessageTypes[0]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public AbortHeadCleaningRequest() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public AbortHeadCleaningRequest(AbortHeadCleaningRequest other) : this() {
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public AbortHeadCleaningRequest Clone() {
- return new AbortHeadCleaningRequest(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as AbortHeadCleaningRequest);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(AbortHeadCleaningRequest 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(AbortHeadCleaningRequest 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/Printing/AbortHeadCleaningResponse.cs b/Software/Visual_Studio/Tango.PMR/Printing/AbortHeadCleaningResponse.cs
deleted file mode 100644
index d65675011..000000000
--- a/Software/Visual_Studio/Tango.PMR/Printing/AbortHeadCleaningResponse.cs
+++ /dev/null
@@ -1,131 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: AbortHeadCleaningResponse.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.Printing {
-
- /// <summary>Holder for reflection information generated from AbortHeadCleaningResponse.proto</summary>
- public static partial class AbortHeadCleaningResponseReflection {
-
- #region Descriptor
- /// <summary>File descriptor for AbortHeadCleaningResponse.proto</summary>
- public static pbr::FileDescriptor Descriptor {
- get { return descriptor; }
- }
- private static pbr::FileDescriptor descriptor;
-
- static AbortHeadCleaningResponseReflection() {
- byte[] descriptorData = global::System.Convert.FromBase64String(
- string.Concat(
- "Ch9BYm9ydEhlYWRDbGVhbmluZ1Jlc3BvbnNlLnByb3RvEhJUYW5nby5QTVIu",
- "UHJpbnRpbmciGwoZQWJvcnRIZWFkQ2xlYW5pbmdSZXNwb25zZUIeChxjb20u",
- "dHdpbmUudGFuZ28ucG1yLnByaW50aW5nYgZwcm90bzM="));
- descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { },
- new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Printing.AbortHeadCleaningResponse), global::Tango.PMR.Printing.AbortHeadCleaningResponse.Parser, null, null, null, null)
- }));
- }
- #endregion
-
- }
- #region Messages
- public sealed partial class AbortHeadCleaningResponse : pb::IMessage<AbortHeadCleaningResponse> {
- private static readonly pb::MessageParser<AbortHeadCleaningResponse> _parser = new pb::MessageParser<AbortHeadCleaningResponse>(() => new AbortHeadCleaningResponse());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser<AbortHeadCleaningResponse> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Tango.PMR.Printing.AbortHeadCleaningResponseReflection.Descriptor.MessageTypes[0]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public AbortHeadCleaningResponse() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public AbortHeadCleaningResponse(AbortHeadCleaningResponse other) : this() {
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public AbortHeadCleaningResponse Clone() {
- return new AbortHeadCleaningResponse(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as AbortHeadCleaningResponse);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(AbortHeadCleaningResponse 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(AbortHeadCleaningResponse 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/Printing/DispenserLiquidType.cs b/Software/Visual_Studio/Tango.PMR/Printing/DispenserLiquidType.cs
index 988d26788..7f97d6907 100644
--- a/Software/Visual_Studio/Tango.PMR/Printing/DispenserLiquidType.cs
+++ b/Software/Visual_Studio/Tango.PMR/Printing/DispenserLiquidType.cs
@@ -23,11 +23,10 @@ namespace Tango.PMR.Printing {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChlEaXNwZW5zZXJMaXF1aWRUeXBlLnByb3RvEhJUYW5nby5QTVIuUHJpbnRp",
- "bmcqpQEKE0Rpc3BlbnNlckxpcXVpZFR5cGUSCAoEQ3lhbhAAEgsKB01hZ2Vu",
- "dGEQARIKCgZZZWxsb3cQAhIJCgVCbGFjaxADEhIKDlRyYW5zcGFyZW50SW5r",
- "EAQSDQoJTHVicmljYW50EAUSCwoHQ2xlYW5lchAGEg0KCUxpZ2h0Q3lhbhAH",
- "EhAKDExpZ2h0TWFnZW50YRAIEg8KC0xpZ2h0WWVsbG93EAlCHgocY29tLnR3",
- "aW5lLnRhbmdvLnBtci5wcmludGluZ2IGcHJvdG8z"));
+ "bmcqcwoTRGlzcGVuc2VyTGlxdWlkVHlwZRIICgRDeWFuEAASCwoHTWFnZW50",
+ "YRABEgoKBlllbGxvdxACEgkKBUJsYWNrEAMSEgoOVHJhbnNwYXJlbnRJbmsQ",
+ "BBINCglMdWJyaWNhbnQQBRILCgdDbGVhbmVyEAZCHgocY29tLnR3aW5lLnRh",
+ "bmdvLnBtci5wcmludGluZ2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Tango.PMR.Printing.DispenserLiquidType), }, null));
@@ -44,9 +43,6 @@ namespace Tango.PMR.Printing {
[pbr::OriginalName("TransparentInk")] TransparentInk = 4,
[pbr::OriginalName("Lubricant")] Lubricant = 5,
[pbr::OriginalName("Cleaner")] Cleaner = 6,
- [pbr::OriginalName("LightCyan")] LightCyan = 7,
- [pbr::OriginalName("LightMagenta")] LightMagenta = 8,
- [pbr::OriginalName("LightYellow")] LightYellow = 9,
}
#endregion
diff --git a/Software/Visual_Studio/Tango.PMR/Printing/HeadCleaningParameters.cs b/Software/Visual_Studio/Tango.PMR/Printing/HeadCleaningParameters.cs
deleted file mode 100644
index 1c6786540..000000000
--- a/Software/Visual_Studio/Tango.PMR/Printing/HeadCleaningParameters.cs
+++ /dev/null
@@ -1,188 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: HeadCleaningParameters.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.Printing {
-
- /// <summary>Holder for reflection information generated from HeadCleaningParameters.proto</summary>
- public static partial class HeadCleaningParametersReflection {
-
- #region Descriptor
- /// <summary>File descriptor for HeadCleaningParameters.proto</summary>
- public static pbr::FileDescriptor Descriptor {
- get { return descriptor; }
- }
- private static pbr::FileDescriptor descriptor;
-
- static HeadCleaningParametersReflection() {
- byte[] descriptorData = global::System.Convert.FromBase64String(
- string.Concat(
- "ChxIZWFkQ2xlYW5pbmdQYXJhbWV0ZXJzLnByb3RvEhJUYW5nby5QTVIuUHJp",
- "bnRpbmciUAoWSGVhZENsZWFuaW5nUGFyYW1ldGVycxITCgtDbGVhbmVyRmxv",
- "dxgBIAEoARIhChlBcmNIZWFkQ2xlYW5pbmdNb3RvclNwZWVkGAIgASgBQh4K",
- "HGNvbS50d2luZS50YW5nby5wbXIucHJpbnRpbmdiBnByb3RvMw=="));
- descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { },
- new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Printing.HeadCleaningParameters), global::Tango.PMR.Printing.HeadCleaningParameters.Parser, new[]{ "CleanerFlow", "ArcHeadCleaningMotorSpeed" }, null, null, null)
- }));
- }
- #endregion
-
- }
- #region Messages
- public sealed partial class HeadCleaningParameters : pb::IMessage<HeadCleaningParameters> {
- private static readonly pb::MessageParser<HeadCleaningParameters> _parser = new pb::MessageParser<HeadCleaningParameters>(() => new HeadCleaningParameters());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser<HeadCleaningParameters> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Tango.PMR.Printing.HeadCleaningParametersReflection.Descriptor.MessageTypes[0]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public HeadCleaningParameters() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public HeadCleaningParameters(HeadCleaningParameters other) : this() {
- cleanerFlow_ = other.cleanerFlow_;
- arcHeadCleaningMotorSpeed_ = other.arcHeadCleaningMotorSpeed_;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public HeadCleaningParameters Clone() {
- return new HeadCleaningParameters(this);
- }
-
- /// <summary>Field number for the "CleanerFlow" field.</summary>
- public const int CleanerFlowFieldNumber = 1;
- private double cleanerFlow_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double CleanerFlow {
- get { return cleanerFlow_; }
- set {
- cleanerFlow_ = value;
- }
- }
-
- /// <summary>Field number for the "ArcHeadCleaningMotorSpeed" field.</summary>
- public const int ArcHeadCleaningMotorSpeedFieldNumber = 2;
- private double arcHeadCleaningMotorSpeed_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double ArcHeadCleaningMotorSpeed {
- get { return arcHeadCleaningMotorSpeed_; }
- set {
- arcHeadCleaningMotorSpeed_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as HeadCleaningParameters);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(HeadCleaningParameters other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (CleanerFlow != other.CleanerFlow) return false;
- if (ArcHeadCleaningMotorSpeed != other.ArcHeadCleaningMotorSpeed) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (CleanerFlow != 0D) hash ^= CleanerFlow.GetHashCode();
- if (ArcHeadCleaningMotorSpeed != 0D) hash ^= ArcHeadCleaningMotorSpeed.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 (CleanerFlow != 0D) {
- output.WriteRawTag(9);
- output.WriteDouble(CleanerFlow);
- }
- if (ArcHeadCleaningMotorSpeed != 0D) {
- output.WriteRawTag(17);
- output.WriteDouble(ArcHeadCleaningMotorSpeed);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (CleanerFlow != 0D) {
- size += 1 + 8;
- }
- if (ArcHeadCleaningMotorSpeed != 0D) {
- size += 1 + 8;
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(HeadCleaningParameters other) {
- if (other == null) {
- return;
- }
- if (other.CleanerFlow != 0D) {
- CleanerFlow = other.CleanerFlow;
- }
- if (other.ArcHeadCleaningMotorSpeed != 0D) {
- ArcHeadCleaningMotorSpeed = other.ArcHeadCleaningMotorSpeed;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 9: {
- CleanerFlow = input.ReadDouble();
- break;
- }
- case 17: {
- ArcHeadCleaningMotorSpeed = input.ReadDouble();
- break;
- }
- }
- }
- }
-
- }
-
- #endregion
-
-}
-
-#endregion Designer generated code
diff --git a/Software/Visual_Studio/Tango.PMR/Printing/JobSpool.cs b/Software/Visual_Studio/Tango.PMR/Printing/JobSpool.cs
index c716906e6..7261ba19b 100644
--- a/Software/Visual_Studio/Tango.PMR/Printing/JobSpool.cs
+++ b/Software/Visual_Studio/Tango.PMR/Printing/JobSpool.cs
@@ -23,18 +23,17 @@ namespace Tango.PMR.Printing {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Cg5Kb2JTcG9vbC5wcm90bxISVGFuZ28uUE1SLlByaW50aW5nGhJKb2JTcG9v",
- "bFR5cGUucHJvdG8ingIKCEpvYlNwb29sEjYKDEpvYlNwb29sVHlwZRgBIAEo",
+ "bFR5cGUucHJvdG8i+QEKCEpvYlNwb29sEjYKDEpvYlNwb29sVHlwZRgBIAEo",
"DjIgLlRhbmdvLlBNUi5QcmludGluZy5Kb2JTcG9vbFR5cGUSDgoGTGVuZ3Ro",
"GAIgASgBEg4KBldlaWdodBgDIAEoARIQCghEaWFtZXRlchgEIAEoARIbChNS",
"b3RhdGlvbnNQZXJQYXNzYWdlGAUgASgBEhkKEVN0YXJ0T2Zmc2V0UHVsc2Vz",
"GAYgASgFEhMKC0JhY2tpbmdSYXRlGAcgASgFEhsKE1NlZ21lbnRPZmZzZXRQ",
- "dWxzZXMYCCABKAUSGQoRQm90dG9tQmFja2luZ1JhdGUYCSABKAUSIwobTGlt",
- "aXRTd2l0Y2hTdGFydFBvaW50T2Zmc2V0GAogASgFQh4KHGNvbS50d2luZS50",
- "YW5nby5wbXIucHJpbnRpbmdiBnByb3RvMw=="));
+ "dWxzZXMYCCABKAUSGQoRQm90dG9tQmFja2luZ1JhdGUYCSABKAVCHgocY29t",
+ "LnR3aW5lLnRhbmdvLnBtci5wcmludGluZ2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Tango.PMR.Printing.JobSpoolTypeReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Printing.JobSpool), global::Tango.PMR.Printing.JobSpool.Parser, new[]{ "JobSpoolType", "Length", "Weight", "Diameter", "RotationsPerPassage", "StartOffsetPulses", "BackingRate", "SegmentOffsetPulses", "BottomBackingRate", "LimitSwitchStartPointOffset" }, null, null, null)
+ new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Printing.JobSpool), global::Tango.PMR.Printing.JobSpool.Parser, new[]{ "JobSpoolType", "Length", "Weight", "Diameter", "RotationsPerPassage", "StartOffsetPulses", "BackingRate", "SegmentOffsetPulses", "BottomBackingRate" }, null, null, null)
}));
}
#endregion
@@ -74,7 +73,6 @@ namespace Tango.PMR.Printing {
backingRate_ = other.backingRate_;
segmentOffsetPulses_ = other.segmentOffsetPulses_;
bottomBackingRate_ = other.bottomBackingRate_;
- limitSwitchStartPointOffset_ = other.limitSwitchStartPointOffset_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -181,17 +179,6 @@ namespace Tango.PMR.Printing {
}
}
- /// <summary>Field number for the "LimitSwitchStartPointOffset" field.</summary>
- public const int LimitSwitchStartPointOffsetFieldNumber = 10;
- private int limitSwitchStartPointOffset_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int LimitSwitchStartPointOffset {
- get { return limitSwitchStartPointOffset_; }
- set {
- limitSwitchStartPointOffset_ = value;
- }
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as JobSpool);
@@ -214,7 +201,6 @@ namespace Tango.PMR.Printing {
if (BackingRate != other.BackingRate) return false;
if (SegmentOffsetPulses != other.SegmentOffsetPulses) return false;
if (BottomBackingRate != other.BottomBackingRate) return false;
- if (LimitSwitchStartPointOffset != other.LimitSwitchStartPointOffset) return false;
return true;
}
@@ -230,7 +216,6 @@ namespace Tango.PMR.Printing {
if (BackingRate != 0) hash ^= BackingRate.GetHashCode();
if (SegmentOffsetPulses != 0) hash ^= SegmentOffsetPulses.GetHashCode();
if (BottomBackingRate != 0) hash ^= BottomBackingRate.GetHashCode();
- if (LimitSwitchStartPointOffset != 0) hash ^= LimitSwitchStartPointOffset.GetHashCode();
return hash;
}
@@ -277,10 +262,6 @@ namespace Tango.PMR.Printing {
output.WriteRawTag(72);
output.WriteInt32(BottomBackingRate);
}
- if (LimitSwitchStartPointOffset != 0) {
- output.WriteRawTag(80);
- output.WriteInt32(LimitSwitchStartPointOffset);
- }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -313,9 +294,6 @@ namespace Tango.PMR.Printing {
if (BottomBackingRate != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(BottomBackingRate);
}
- if (LimitSwitchStartPointOffset != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(LimitSwitchStartPointOffset);
- }
return size;
}
@@ -351,9 +329,6 @@ namespace Tango.PMR.Printing {
if (other.BottomBackingRate != 0) {
BottomBackingRate = other.BottomBackingRate;
}
- if (other.LimitSwitchStartPointOffset != 0) {
- LimitSwitchStartPointOffset = other.LimitSwitchStartPointOffset;
- }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -400,10 +375,6 @@ namespace Tango.PMR.Printing {
BottomBackingRate = input.ReadInt32();
break;
}
- case 80: {
- LimitSwitchStartPointOffset = input.ReadInt32();
- break;
- }
}
}
}
diff --git a/Software/Visual_Studio/Tango.PMR/Printing/JobTicket.cs b/Software/Visual_Studio/Tango.PMR/Printing/JobTicket.cs
index 8e314704d..b6ac9c9e1 100644
--- a/Software/Visual_Studio/Tango.PMR/Printing/JobTicket.cs
+++ b/Software/Visual_Studio/Tango.PMR/Printing/JobTicket.cs
@@ -25,27 +25,23 @@ namespace Tango.PMR.Printing {
"Cg9Kb2JUaWNrZXQucHJvdG8SElRhbmdvLlBNUi5QcmludGluZxoQSm9iU2Vn",
"bWVudC5wcm90bxoXUHJvY2Vzc1BhcmFtZXRlcnMucHJvdG8aFkpvYldpbmRp",
"bmdNZXRob2QucHJvdG8aDkpvYlNwb29sLnByb3RvGhdKb2JVcGxvYWRTdHJh",
- "dGVneS5wcm90bxoWVGhyZWFkUGFyYW1ldGVycy5wcm90bxocSGVhZENsZWFu",
- "aW5nUGFyYW1ldGVycy5wcm90byL9BAoJSm9iVGlja2V0EgwKBEd1aWQYASAB",
- "KAkSDAoETmFtZRgCIAEoCRIaChJFbmFibGVJbnRlclNlZ21lbnQYAyABKAgS",
- "GgoSSW50ZXJTZWdtZW50TGVuZ3RoGAQgASgBEg4KBkxlbmd0aBgFIAEoARJA",
- "ChFQcm9jZXNzUGFyYW1ldGVycxgGIAEoCzIlLlRhbmdvLlBNUi5QcmludGlu",
- "Zy5Qcm9jZXNzUGFyYW1ldGVycxI7Cg1XaW5kaW5nTWV0aG9kGAcgASgOMiQu",
- "VGFuZ28uUE1SLlByaW50aW5nLkpvYldpbmRpbmdNZXRob2QSKwoFU3Bvb2wY",
- "CCABKAsyHC5UYW5nby5QTVIuUHJpbnRpbmcuSm9iU3Bvb2wSMAoIU2VnbWVu",
- "dHMYCSADKAsyHi5UYW5nby5QTVIuUHJpbnRpbmcuSm9iU2VnbWVudBI9Cg5V",
- "cGxvYWRTdHJhdGVneRgKIAEoDjIlLlRhbmdvLlBNUi5QcmludGluZy5Kb2JV",
- "cGxvYWRTdHJhdGVneRIaChJKb2JEZXNjcmlwdGlvbkZpbGUYCyABKAkSGQoR",
- "RW5hYmxlTHVicmljYXRpb24YDCABKAgSFQoNTnVtYmVyT2ZVbml0cxgNIAEo",
- "DRIVCg1TYW1wbGVXaW5kaW5nGA4gASgIEj4KEFRocmVhZFBhcmFtZXRlcnMY",
- "DyABKAsyJC5UYW5nby5QTVIuUHJpbnRpbmcuVGhyZWFkUGFyYW1ldGVycxJK",
- "ChZIZWFkQ2xlYW5pbmdQYXJhbWV0ZXJzGBAgASgLMiouVGFuZ28uUE1SLlBy",
- "aW50aW5nLkhlYWRDbGVhbmluZ1BhcmFtZXRlcnNCHgocY29tLnR3aW5lLnRh",
- "bmdvLnBtci5wcmludGluZ2IGcHJvdG8z"));
+ "dGVneS5wcm90byLxAwoJSm9iVGlja2V0EgwKBEd1aWQYASABKAkSDAoETmFt",
+ "ZRgCIAEoCRIaChJFbmFibGVJbnRlclNlZ21lbnQYAyABKAgSGgoSSW50ZXJT",
+ "ZWdtZW50TGVuZ3RoGAQgASgBEg4KBkxlbmd0aBgFIAEoARJAChFQcm9jZXNz",
+ "UGFyYW1ldGVycxgGIAEoCzIlLlRhbmdvLlBNUi5QcmludGluZy5Qcm9jZXNz",
+ "UGFyYW1ldGVycxI7Cg1XaW5kaW5nTWV0aG9kGAcgASgOMiQuVGFuZ28uUE1S",
+ "LlByaW50aW5nLkpvYldpbmRpbmdNZXRob2QSKwoFU3Bvb2wYCCABKAsyHC5U",
+ "YW5nby5QTVIuUHJpbnRpbmcuSm9iU3Bvb2wSMAoIU2VnbWVudHMYCSADKAsy",
+ "Hi5UYW5nby5QTVIuUHJpbnRpbmcuSm9iU2VnbWVudBI9Cg5VcGxvYWRTdHJh",
+ "dGVneRgKIAEoDjIlLlRhbmdvLlBNUi5QcmludGluZy5Kb2JVcGxvYWRTdHJh",
+ "dGVneRIaChJKb2JEZXNjcmlwdGlvbkZpbGUYCyABKAkSGQoRRW5hYmxlTHVi",
+ "cmljYXRpb24YDCABKAgSFQoNTnVtYmVyT2ZVbml0cxgNIAEoDRIVCg1TYW1w",
+ "bGVXaW5kaW5nGA4gASgIQh4KHGNvbS50d2luZS50YW5nby5wbXIucHJpbnRp",
+ "bmdiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { global::Tango.PMR.Printing.JobSegmentReflection.Descriptor, global::Tango.PMR.Printing.ProcessParametersReflection.Descriptor, global::Tango.PMR.Printing.JobWindingMethodReflection.Descriptor, global::Tango.PMR.Printing.JobSpoolReflection.Descriptor, global::Tango.PMR.Printing.JobUploadStrategyReflection.Descriptor, global::Tango.PMR.Printing.ThreadParametersReflection.Descriptor, global::Tango.PMR.Printing.HeadCleaningParametersReflection.Descriptor, },
+ new pbr::FileDescriptor[] { global::Tango.PMR.Printing.JobSegmentReflection.Descriptor, global::Tango.PMR.Printing.ProcessParametersReflection.Descriptor, global::Tango.PMR.Printing.JobWindingMethodReflection.Descriptor, global::Tango.PMR.Printing.JobSpoolReflection.Descriptor, global::Tango.PMR.Printing.JobUploadStrategyReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Printing.JobTicket), global::Tango.PMR.Printing.JobTicket.Parser, new[]{ "Guid", "Name", "EnableInterSegment", "InterSegmentLength", "Length", "ProcessParameters", "WindingMethod", "Spool", "Segments", "UploadStrategy", "JobDescriptionFile", "EnableLubrication", "NumberOfUnits", "SampleWinding", "ThreadParameters", "HeadCleaningParameters" }, null, null, null)
+ new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Printing.JobTicket), global::Tango.PMR.Printing.JobTicket.Parser, new[]{ "Guid", "Name", "EnableInterSegment", "InterSegmentLength", "Length", "ProcessParameters", "WindingMethod", "Spool", "Segments", "UploadStrategy", "JobDescriptionFile", "EnableLubrication", "NumberOfUnits", "SampleWinding" }, null, null, null)
}));
}
#endregion
@@ -90,8 +86,6 @@ namespace Tango.PMR.Printing {
enableLubrication_ = other.enableLubrication_;
numberOfUnits_ = other.numberOfUnits_;
sampleWinding_ = other.sampleWinding_;
- ThreadParameters = other.threadParameters_ != null ? other.ThreadParameters.Clone() : null;
- HeadCleaningParameters = other.headCleaningParameters_ != null ? other.HeadCleaningParameters.Clone() : null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -255,28 +249,6 @@ namespace Tango.PMR.Printing {
}
}
- /// <summary>Field number for the "ThreadParameters" field.</summary>
- public const int ThreadParametersFieldNumber = 15;
- private global::Tango.PMR.Printing.ThreadParameters threadParameters_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::Tango.PMR.Printing.ThreadParameters ThreadParameters {
- get { return threadParameters_; }
- set {
- threadParameters_ = value;
- }
- }
-
- /// <summary>Field number for the "HeadCleaningParameters" field.</summary>
- public const int HeadCleaningParametersFieldNumber = 16;
- private global::Tango.PMR.Printing.HeadCleaningParameters headCleaningParameters_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::Tango.PMR.Printing.HeadCleaningParameters HeadCleaningParameters {
- get { return headCleaningParameters_; }
- set {
- headCleaningParameters_ = value;
- }
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as JobTicket);
@@ -304,8 +276,6 @@ namespace Tango.PMR.Printing {
if (EnableLubrication != other.EnableLubrication) return false;
if (NumberOfUnits != other.NumberOfUnits) return false;
if (SampleWinding != other.SampleWinding) return false;
- if (!object.Equals(ThreadParameters, other.ThreadParameters)) return false;
- if (!object.Equals(HeadCleaningParameters, other.HeadCleaningParameters)) return false;
return true;
}
@@ -326,8 +296,6 @@ namespace Tango.PMR.Printing {
if (EnableLubrication != false) hash ^= EnableLubrication.GetHashCode();
if (NumberOfUnits != 0) hash ^= NumberOfUnits.GetHashCode();
if (SampleWinding != false) hash ^= SampleWinding.GetHashCode();
- if (threadParameters_ != null) hash ^= ThreadParameters.GetHashCode();
- if (headCleaningParameters_ != null) hash ^= HeadCleaningParameters.GetHashCode();
return hash;
}
@@ -391,14 +359,6 @@ namespace Tango.PMR.Printing {
output.WriteRawTag(112);
output.WriteBool(SampleWinding);
}
- if (threadParameters_ != null) {
- output.WriteRawTag(122);
- output.WriteMessage(ThreadParameters);
- }
- if (headCleaningParameters_ != null) {
- output.WriteRawTag(130, 1);
- output.WriteMessage(HeadCleaningParameters);
- }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -444,12 +404,6 @@ namespace Tango.PMR.Printing {
if (SampleWinding != false) {
size += 1 + 1;
}
- if (threadParameters_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(ThreadParameters);
- }
- if (headCleaningParameters_ != null) {
- size += 2 + pb::CodedOutputStream.ComputeMessageSize(HeadCleaningParameters);
- }
return size;
}
@@ -504,18 +458,6 @@ namespace Tango.PMR.Printing {
if (other.SampleWinding != false) {
SampleWinding = other.SampleWinding;
}
- if (other.threadParameters_ != null) {
- if (threadParameters_ == null) {
- threadParameters_ = new global::Tango.PMR.Printing.ThreadParameters();
- }
- ThreadParameters.MergeFrom(other.ThreadParameters);
- }
- if (other.headCleaningParameters_ != null) {
- if (headCleaningParameters_ == null) {
- headCleaningParameters_ = new global::Tango.PMR.Printing.HeadCleaningParameters();
- }
- HeadCleaningParameters.MergeFrom(other.HeadCleaningParameters);
- }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -588,20 +530,6 @@ namespace Tango.PMR.Printing {
SampleWinding = input.ReadBool();
break;
}
- case 122: {
- if (threadParameters_ == null) {
- threadParameters_ = new global::Tango.PMR.Printing.ThreadParameters();
- }
- input.ReadMessage(threadParameters_);
- break;
- }
- case 130: {
- if (headCleaningParameters_ == null) {
- headCleaningParameters_ = new global::Tango.PMR.Printing.HeadCleaningParameters();
- }
- input.ReadMessage(headCleaningParameters_);
- break;
- }
}
}
}
diff --git a/Software/Visual_Studio/Tango.PMR/Printing/ProcessParameters.cs b/Software/Visual_Studio/Tango.PMR/Printing/ProcessParameters.cs
index b0c29288f..90b502b7f 100644
--- a/Software/Visual_Studio/Tango.PMR/Printing/ProcessParameters.cs
+++ b/Software/Visual_Studio/Tango.PMR/Printing/ProcessParameters.cs
@@ -23,7 +23,7 @@ namespace Tango.PMR.Printing {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChdQcm9jZXNzUGFyYW1ldGVycy5wcm90bxISVGFuZ28uUE1SLlByaW50aW5n",
- "ItIFChFQcm9jZXNzUGFyYW1ldGVycxITCgtEeWVpbmdTcGVlZBgBIAEoARIU",
+ "ItgDChFQcm9jZXNzUGFyYW1ldGVycxITCgtEeWVpbmdTcGVlZBgBIAEoARIU",
"CgxNaW5JbmtVcHRha2UYAiABKAESFAoMTWF4SW5rVXB0YWtlGAMgASgBEhUK",
"DUZlZWRlclRlbnNpb24YBCABKAESFQoNUHVsbGVyVGVuc2lvbhgFIAEoARIV",
"Cg1XaW5kZXJUZW5zaW9uGAYgASgBEhEKCU1peGVyVGVtcBgHIAEoARIVCg1I",
@@ -33,17 +33,12 @@ namespace Tango.PMR.Printing {
"CgxEcnllckFpckZsb3cYDiABKAESFgoORHJ5ZXJab25lMVRlbXAYDyABKAES",
"FgoORHJ5ZXJab25lMlRlbXAYECABKAESFgoORHJ5ZXJab25lM1RlbXAYESAB",
"KAESGQoRRHJ5ZXJCdWZmZXJMZW5ndGgYEiABKAESEwoLSGVhZEFpckZsb3cY",
- "EyABKAESEgoKVGFibGVJbmRleBgUIAEoBRIVCg1IZWFkWm9uZTdUZW1wGBUg",
- "ASgBEhUKDUhlYWRab25lOFRlbXAYFiABKAESFQoNSGVhZFpvbmU5VGVtcBgX",
- "IAEoARIWCg5IZWFkWm9uZTEwVGVtcBgYIAEoARIWCg5IZWFkWm9uZTExVGVt",
- "cBgZIAEoARIWCg5IZWFkWm9uZTEyVGVtcBgaIAEoARITCgtSQmxvd2VyRmxv",
- "dxgbIAEoARITCgtSQmxvd2VyVGVtcBgcIAEoARITCgtMQmxvd2VyRmxvdxgd",
- "IAEoARITCgtMQmxvd2VyVGVtcBgeIAEoARIXCg9QcmVzc3VyZUJ1aWxkVXAY",
- "HyABKAFCHgocY29tLnR3aW5lLnRhbmdvLnBtci5wcmludGluZ2IGcHJvdG8z"));
+ "EyABKAESEgoKVGFibGVJbmRleBgUIAEoBUIeChxjb20udHdpbmUudGFuZ28u",
+ "cG1yLnByaW50aW5nYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Printing.ProcessParameters), global::Tango.PMR.Printing.ProcessParameters.Parser, new[]{ "DyeingSpeed", "MinInkUptake", "MaxInkUptake", "FeederTension", "PullerTension", "WinderTension", "MixerTemp", "HeadZone1Temp", "HeadZone2Temp", "HeadZone3Temp", "HeadZone4Temp", "HeadZone5Temp", "HeadZone6Temp", "DryerAirFlow", "DryerZone1Temp", "DryerZone2Temp", "DryerZone3Temp", "DryerBufferLength", "HeadAirFlow", "TableIndex", "HeadZone7Temp", "HeadZone8Temp", "HeadZone9Temp", "HeadZone10Temp", "HeadZone11Temp", "HeadZone12Temp", "RBlowerFlow", "RBlowerTemp", "LBlowerFlow", "LBlowerTemp", "PressureBuildUp" }, null, null, null)
+ new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Printing.ProcessParameters), global::Tango.PMR.Printing.ProcessParameters.Parser, new[]{ "DyeingSpeed", "MinInkUptake", "MaxInkUptake", "FeederTension", "PullerTension", "WinderTension", "MixerTemp", "HeadZone1Temp", "HeadZone2Temp", "HeadZone3Temp", "HeadZone4Temp", "HeadZone5Temp", "HeadZone6Temp", "DryerAirFlow", "DryerZone1Temp", "DryerZone2Temp", "DryerZone3Temp", "DryerBufferLength", "HeadAirFlow", "TableIndex" }, null, null, null)
}));
}
#endregion
@@ -94,17 +89,6 @@ namespace Tango.PMR.Printing {
dryerBufferLength_ = other.dryerBufferLength_;
headAirFlow_ = other.headAirFlow_;
tableIndex_ = other.tableIndex_;
- headZone7Temp_ = other.headZone7Temp_;
- headZone8Temp_ = other.headZone8Temp_;
- headZone9Temp_ = other.headZone9Temp_;
- headZone10Temp_ = other.headZone10Temp_;
- headZone11Temp_ = other.headZone11Temp_;
- headZone12Temp_ = other.headZone12Temp_;
- rBlowerFlow_ = other.rBlowerFlow_;
- rBlowerTemp_ = other.rBlowerTemp_;
- lBlowerFlow_ = other.lBlowerFlow_;
- lBlowerTemp_ = other.lBlowerTemp_;
- pressureBuildUp_ = other.pressureBuildUp_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -332,127 +316,6 @@ namespace Tango.PMR.Printing {
}
}
- /// <summary>Field number for the "HeadZone7Temp" field.</summary>
- public const int HeadZone7TempFieldNumber = 21;
- private double headZone7Temp_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double HeadZone7Temp {
- get { return headZone7Temp_; }
- set {
- headZone7Temp_ = value;
- }
- }
-
- /// <summary>Field number for the "HeadZone8Temp" field.</summary>
- public const int HeadZone8TempFieldNumber = 22;
- private double headZone8Temp_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double HeadZone8Temp {
- get { return headZone8Temp_; }
- set {
- headZone8Temp_ = value;
- }
- }
-
- /// <summary>Field number for the "HeadZone9Temp" field.</summary>
- public const int HeadZone9TempFieldNumber = 23;
- private double headZone9Temp_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double HeadZone9Temp {
- get { return headZone9Temp_; }
- set {
- headZone9Temp_ = value;
- }
- }
-
- /// <summary>Field number for the "HeadZone10Temp" field.</summary>
- public const int HeadZone10TempFieldNumber = 24;
- private double headZone10Temp_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double HeadZone10Temp {
- get { return headZone10Temp_; }
- set {
- headZone10Temp_ = value;
- }
- }
-
- /// <summary>Field number for the "HeadZone11Temp" field.</summary>
- public const int HeadZone11TempFieldNumber = 25;
- private double headZone11Temp_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double HeadZone11Temp {
- get { return headZone11Temp_; }
- set {
- headZone11Temp_ = value;
- }
- }
-
- /// <summary>Field number for the "HeadZone12Temp" field.</summary>
- public const int HeadZone12TempFieldNumber = 26;
- private double headZone12Temp_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double HeadZone12Temp {
- get { return headZone12Temp_; }
- set {
- headZone12Temp_ = value;
- }
- }
-
- /// <summary>Field number for the "RBlowerFlow" field.</summary>
- public const int RBlowerFlowFieldNumber = 27;
- private double rBlowerFlow_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double RBlowerFlow {
- get { return rBlowerFlow_; }
- set {
- rBlowerFlow_ = value;
- }
- }
-
- /// <summary>Field number for the "RBlowerTemp" field.</summary>
- public const int RBlowerTempFieldNumber = 28;
- private double rBlowerTemp_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double RBlowerTemp {
- get { return rBlowerTemp_; }
- set {
- rBlowerTemp_ = value;
- }
- }
-
- /// <summary>Field number for the "LBlowerFlow" field.</summary>
- public const int LBlowerFlowFieldNumber = 29;
- private double lBlowerFlow_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double LBlowerFlow {
- get { return lBlowerFlow_; }
- set {
- lBlowerFlow_ = value;
- }
- }
-
- /// <summary>Field number for the "LBlowerTemp" field.</summary>
- public const int LBlowerTempFieldNumber = 30;
- private double lBlowerTemp_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double LBlowerTemp {
- get { return lBlowerTemp_; }
- set {
- lBlowerTemp_ = value;
- }
- }
-
- /// <summary>Field number for the "PressureBuildUp" field.</summary>
- public const int PressureBuildUpFieldNumber = 31;
- private double pressureBuildUp_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double PressureBuildUp {
- get { return pressureBuildUp_; }
- set {
- pressureBuildUp_ = value;
- }
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as ProcessParameters);
@@ -486,17 +349,6 @@ namespace Tango.PMR.Printing {
if (DryerBufferLength != other.DryerBufferLength) return false;
if (HeadAirFlow != other.HeadAirFlow) return false;
if (TableIndex != other.TableIndex) return false;
- if (HeadZone7Temp != other.HeadZone7Temp) return false;
- if (HeadZone8Temp != other.HeadZone8Temp) return false;
- if (HeadZone9Temp != other.HeadZone9Temp) return false;
- if (HeadZone10Temp != other.HeadZone10Temp) return false;
- if (HeadZone11Temp != other.HeadZone11Temp) return false;
- if (HeadZone12Temp != other.HeadZone12Temp) return false;
- if (RBlowerFlow != other.RBlowerFlow) return false;
- if (RBlowerTemp != other.RBlowerTemp) return false;
- if (LBlowerFlow != other.LBlowerFlow) return false;
- if (LBlowerTemp != other.LBlowerTemp) return false;
- if (PressureBuildUp != other.PressureBuildUp) return false;
return true;
}
@@ -523,17 +375,6 @@ namespace Tango.PMR.Printing {
if (DryerBufferLength != 0D) hash ^= DryerBufferLength.GetHashCode();
if (HeadAirFlow != 0D) hash ^= HeadAirFlow.GetHashCode();
if (TableIndex != 0) hash ^= TableIndex.GetHashCode();
- if (HeadZone7Temp != 0D) hash ^= HeadZone7Temp.GetHashCode();
- if (HeadZone8Temp != 0D) hash ^= HeadZone8Temp.GetHashCode();
- if (HeadZone9Temp != 0D) hash ^= HeadZone9Temp.GetHashCode();
- if (HeadZone10Temp != 0D) hash ^= HeadZone10Temp.GetHashCode();
- if (HeadZone11Temp != 0D) hash ^= HeadZone11Temp.GetHashCode();
- if (HeadZone12Temp != 0D) hash ^= HeadZone12Temp.GetHashCode();
- if (RBlowerFlow != 0D) hash ^= RBlowerFlow.GetHashCode();
- if (RBlowerTemp != 0D) hash ^= RBlowerTemp.GetHashCode();
- if (LBlowerFlow != 0D) hash ^= LBlowerFlow.GetHashCode();
- if (LBlowerTemp != 0D) hash ^= LBlowerTemp.GetHashCode();
- if (PressureBuildUp != 0D) hash ^= PressureBuildUp.GetHashCode();
return hash;
}
@@ -624,50 +465,6 @@ namespace Tango.PMR.Printing {
output.WriteRawTag(160, 1);
output.WriteInt32(TableIndex);
}
- if (HeadZone7Temp != 0D) {
- output.WriteRawTag(169, 1);
- output.WriteDouble(HeadZone7Temp);
- }
- if (HeadZone8Temp != 0D) {
- output.WriteRawTag(177, 1);
- output.WriteDouble(HeadZone8Temp);
- }
- if (HeadZone9Temp != 0D) {
- output.WriteRawTag(185, 1);
- output.WriteDouble(HeadZone9Temp);
- }
- if (HeadZone10Temp != 0D) {
- output.WriteRawTag(193, 1);
- output.WriteDouble(HeadZone10Temp);
- }
- if (HeadZone11Temp != 0D) {
- output.WriteRawTag(201, 1);
- output.WriteDouble(HeadZone11Temp);
- }
- if (HeadZone12Temp != 0D) {
- output.WriteRawTag(209, 1);
- output.WriteDouble(HeadZone12Temp);
- }
- if (RBlowerFlow != 0D) {
- output.WriteRawTag(217, 1);
- output.WriteDouble(RBlowerFlow);
- }
- if (RBlowerTemp != 0D) {
- output.WriteRawTag(225, 1);
- output.WriteDouble(RBlowerTemp);
- }
- if (LBlowerFlow != 0D) {
- output.WriteRawTag(233, 1);
- output.WriteDouble(LBlowerFlow);
- }
- if (LBlowerTemp != 0D) {
- output.WriteRawTag(241, 1);
- output.WriteDouble(LBlowerTemp);
- }
- if (PressureBuildUp != 0D) {
- output.WriteRawTag(249, 1);
- output.WriteDouble(PressureBuildUp);
- }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -733,39 +530,6 @@ namespace Tango.PMR.Printing {
if (TableIndex != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(TableIndex);
}
- if (HeadZone7Temp != 0D) {
- size += 2 + 8;
- }
- if (HeadZone8Temp != 0D) {
- size += 2 + 8;
- }
- if (HeadZone9Temp != 0D) {
- size += 2 + 8;
- }
- if (HeadZone10Temp != 0D) {
- size += 2 + 8;
- }
- if (HeadZone11Temp != 0D) {
- size += 2 + 8;
- }
- if (HeadZone12Temp != 0D) {
- size += 2 + 8;
- }
- if (RBlowerFlow != 0D) {
- size += 2 + 8;
- }
- if (RBlowerTemp != 0D) {
- size += 2 + 8;
- }
- if (LBlowerFlow != 0D) {
- size += 2 + 8;
- }
- if (LBlowerTemp != 0D) {
- size += 2 + 8;
- }
- if (PressureBuildUp != 0D) {
- size += 2 + 8;
- }
return size;
}
@@ -834,39 +598,6 @@ namespace Tango.PMR.Printing {
if (other.TableIndex != 0) {
TableIndex = other.TableIndex;
}
- if (other.HeadZone7Temp != 0D) {
- HeadZone7Temp = other.HeadZone7Temp;
- }
- if (other.HeadZone8Temp != 0D) {
- HeadZone8Temp = other.HeadZone8Temp;
- }
- if (other.HeadZone9Temp != 0D) {
- HeadZone9Temp = other.HeadZone9Temp;
- }
- if (other.HeadZone10Temp != 0D) {
- HeadZone10Temp = other.HeadZone10Temp;
- }
- if (other.HeadZone11Temp != 0D) {
- HeadZone11Temp = other.HeadZone11Temp;
- }
- if (other.HeadZone12Temp != 0D) {
- HeadZone12Temp = other.HeadZone12Temp;
- }
- if (other.RBlowerFlow != 0D) {
- RBlowerFlow = other.RBlowerFlow;
- }
- if (other.RBlowerTemp != 0D) {
- RBlowerTemp = other.RBlowerTemp;
- }
- if (other.LBlowerFlow != 0D) {
- LBlowerFlow = other.LBlowerFlow;
- }
- if (other.LBlowerTemp != 0D) {
- LBlowerTemp = other.LBlowerTemp;
- }
- if (other.PressureBuildUp != 0D) {
- PressureBuildUp = other.PressureBuildUp;
- }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -957,50 +688,6 @@ namespace Tango.PMR.Printing {
TableIndex = input.ReadInt32();
break;
}
- case 169: {
- HeadZone7Temp = input.ReadDouble();
- break;
- }
- case 177: {
- HeadZone8Temp = input.ReadDouble();
- break;
- }
- case 185: {
- HeadZone9Temp = input.ReadDouble();
- break;
- }
- case 193: {
- HeadZone10Temp = input.ReadDouble();
- break;
- }
- case 201: {
- HeadZone11Temp = input.ReadDouble();
- break;
- }
- case 209: {
- HeadZone12Temp = input.ReadDouble();
- break;
- }
- case 217: {
- RBlowerFlow = input.ReadDouble();
- break;
- }
- case 225: {
- RBlowerTemp = input.ReadDouble();
- break;
- }
- case 233: {
- LBlowerFlow = input.ReadDouble();
- break;
- }
- case 241: {
- LBlowerTemp = input.ReadDouble();
- break;
- }
- case 249: {
- PressureBuildUp = input.ReadDouble();
- break;
- }
}
}
}
diff --git a/Software/Visual_Studio/Tango.PMR/Printing/StartHeadCleaningRequest.cs b/Software/Visual_Studio/Tango.PMR/Printing/StartHeadCleaningRequest.cs
deleted file mode 100644
index d04dd4e66..000000000
--- a/Software/Visual_Studio/Tango.PMR/Printing/StartHeadCleaningRequest.cs
+++ /dev/null
@@ -1,131 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: StartHeadCleaningRequest.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.Printing {
-
- /// <summary>Holder for reflection information generated from StartHeadCleaningRequest.proto</summary>
- public static partial class StartHeadCleaningRequestReflection {
-
- #region Descriptor
- /// <summary>File descriptor for StartHeadCleaningRequest.proto</summary>
- public static pbr::FileDescriptor Descriptor {
- get { return descriptor; }
- }
- private static pbr::FileDescriptor descriptor;
-
- static StartHeadCleaningRequestReflection() {
- byte[] descriptorData = global::System.Convert.FromBase64String(
- string.Concat(
- "Ch5TdGFydEhlYWRDbGVhbmluZ1JlcXVlc3QucHJvdG8SElRhbmdvLlBNUi5Q",
- "cmludGluZyIaChhTdGFydEhlYWRDbGVhbmluZ1JlcXVlc3RCHgocY29tLnR3",
- "aW5lLnRhbmdvLnBtci5wcmludGluZ2IGcHJvdG8z"));
- 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)
- }));
- }
- #endregion
-
- }
- #region Messages
- public sealed partial class StartHeadCleaningRequest : pb::IMessage<StartHeadCleaningRequest> {
- private static readonly pb::MessageParser<StartHeadCleaningRequest> _parser = new pb::MessageParser<StartHeadCleaningRequest>(() => new StartHeadCleaningRequest());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser<StartHeadCleaningRequest> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Tango.PMR.Printing.StartHeadCleaningRequestReflection.Descriptor.MessageTypes[0]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public StartHeadCleaningRequest() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public StartHeadCleaningRequest(StartHeadCleaningRequest other) : this() {
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public StartHeadCleaningRequest Clone() {
- return new StartHeadCleaningRequest(this);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as StartHeadCleaningRequest);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(StartHeadCleaningRequest 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(StartHeadCleaningRequest 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/Printing/StartHeadCleaningResponse.cs b/Software/Visual_Studio/Tango.PMR/Printing/StartHeadCleaningResponse.cs
deleted file mode 100644
index 4d16341d0..000000000
--- a/Software/Visual_Studio/Tango.PMR/Printing/StartHeadCleaningResponse.cs
+++ /dev/null
@@ -1,216 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: StartHeadCleaningResponse.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.Printing {
-
- /// <summary>Holder for reflection information generated from StartHeadCleaningResponse.proto</summary>
- public static partial class StartHeadCleaningResponseReflection {
-
- #region Descriptor
- /// <summary>File descriptor for StartHeadCleaningResponse.proto</summary>
- public static pbr::FileDescriptor Descriptor {
- get { return descriptor; }
- }
- private static pbr::FileDescriptor descriptor;
-
- static StartHeadCleaningResponseReflection() {
- byte[] descriptorData = global::System.Convert.FromBase64String(
- string.Concat(
- "Ch9TdGFydEhlYWRDbGVhbmluZ1Jlc3BvbnNlLnByb3RvEhJUYW5nby5QTVIu",
- "UHJpbnRpbmciTAoZU3RhcnRIZWFkQ2xlYW5pbmdSZXNwb25zZRIQCghQcm9n",
- "cmVzcxgBIAEoARINCgVUb3RhbBgCIAEoARIOCgZTdGF0dXMYAyABKAlCHgoc",
- "Y29tLnR3aW5lLnRhbmdvLnBtci5wcmludGluZ2IGcHJvdG8z"));
- descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { },
- new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Printing.StartHeadCleaningResponse), global::Tango.PMR.Printing.StartHeadCleaningResponse.Parser, new[]{ "Progress", "Total", "Status" }, null, null, null)
- }));
- }
- #endregion
-
- }
- #region Messages
- public sealed partial class StartHeadCleaningResponse : pb::IMessage<StartHeadCleaningResponse> {
- private static readonly pb::MessageParser<StartHeadCleaningResponse> _parser = new pb::MessageParser<StartHeadCleaningResponse>(() => new StartHeadCleaningResponse());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser<StartHeadCleaningResponse> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Tango.PMR.Printing.StartHeadCleaningResponseReflection.Descriptor.MessageTypes[0]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public StartHeadCleaningResponse() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public StartHeadCleaningResponse(StartHeadCleaningResponse other) : this() {
- progress_ = other.progress_;
- total_ = other.total_;
- status_ = other.status_;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public StartHeadCleaningResponse Clone() {
- return new StartHeadCleaningResponse(this);
- }
-
- /// <summary>Field number for the "Progress" field.</summary>
- public const int ProgressFieldNumber = 1;
- private double progress_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double Progress {
- get { return progress_; }
- set {
- progress_ = value;
- }
- }
-
- /// <summary>Field number for the "Total" field.</summary>
- public const int TotalFieldNumber = 2;
- private double total_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public double Total {
- get { return total_; }
- set {
- total_ = value;
- }
- }
-
- /// <summary>Field number for the "Status" field.</summary>
- public const int StatusFieldNumber = 3;
- private string status_ = "";
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string Status {
- get { return status_; }
- set {
- status_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as StartHeadCleaningResponse);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(StartHeadCleaningResponse other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Progress != other.Progress) return false;
- if (Total != other.Total) return false;
- if (Status != other.Status) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (Progress != 0D) hash ^= Progress.GetHashCode();
- if (Total != 0D) hash ^= Total.GetHashCode();
- if (Status.Length != 0) hash ^= Status.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 (Progress != 0D) {
- output.WriteRawTag(9);
- output.WriteDouble(Progress);
- }
- if (Total != 0D) {
- output.WriteRawTag(17);
- output.WriteDouble(Total);
- }
- if (Status.Length != 0) {
- output.WriteRawTag(26);
- output.WriteString(Status);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (Progress != 0D) {
- size += 1 + 8;
- }
- if (Total != 0D) {
- size += 1 + 8;
- }
- if (Status.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Status);
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(StartHeadCleaningResponse other) {
- if (other == null) {
- return;
- }
- if (other.Progress != 0D) {
- Progress = other.Progress;
- }
- if (other.Total != 0D) {
- Total = other.Total;
- }
- if (other.Status.Length != 0) {
- Status = other.Status;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- input.SkipLastField();
- break;
- case 9: {
- Progress = input.ReadDouble();
- break;
- }
- case 17: {
- Total = input.ReadDouble();
- break;
- }
- case 26: {
- Status = input.ReadString();
- break;
- }
- }
- }
- }
-
- }
-
- #endregion
-
-}
-
-#endregion Designer generated code
diff --git a/Software/Visual_Studio/Tango.PMR/Printing/ThreadParameters.cs b/Software/Visual_Studio/Tango.PMR/Printing/ThreadParameters.cs
deleted file mode 100644
index edfd5c457..000000000
--- a/Software/Visual_Studio/Tango.PMR/Printing/ThreadParameters.cs
+++ /dev/null
@@ -1,415 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: ThreadParameters.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.Printing {
-
- /// <summary>Holder for reflection information generated from ThreadParameters.proto</summary>
- public static partial class ThreadParametersReflection {
-
- #region Descriptor
- /// <summary>File descriptor for ThreadParameters.proto</summary>
- public static pbr::FileDescriptor Descriptor {
- get { return descriptor; }
- }
- private static pbr::FileDescriptor descriptor;
-
- static ThreadParametersReflection() {
- byte[] descriptorData = global::System.Convert.FromBase64String(
- string.Concat(
- "ChZUaHJlYWRQYXJhbWV0ZXJzLnByb3RvEhJUYW5nby5QTVIuUHJpbnRpbmci",
- "wgEKEFRocmVhZFBhcmFtZXRlcnMSDwoHRmVlZGVyUBgBIAEoBRIPCgdGZWVk",
- "ZXJJGAIgASgFEg8KB0ZlZWRlckQYAyABKAUSDwoHUHVsbGVyUBgEIAEoBRIP",
- "CgdQdWxsZXJJGAUgASgFEg8KB1B1bGxlckQYBiABKAUSDwoHV2luZGVyUBgH",
- "IAEoBRIPCgdXaW5kZXJJGAggASgFEg8KB1dpbmRlckQYCSABKAUSFQoNQnlw",
- "YXNzUm9ja2VycxgKIAEoCEIeChxjb20udHdpbmUudGFuZ28ucG1yLnByaW50",
- "aW5nYgZwcm90bzM="));
- descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { },
- new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Printing.ThreadParameters), global::Tango.PMR.Printing.ThreadParameters.Parser, new[]{ "FeederP", "FeederI", "FeederD", "PullerP", "PullerI", "PullerD", "WinderP", "WinderI", "WinderD", "BypassRockers" }, null, null, null)
- }));
- }
- #endregion
-
- }
- #region Messages
- public sealed partial class ThreadParameters : pb::IMessage<ThreadParameters> {
- private static readonly pb::MessageParser<ThreadParameters> _parser = new pb::MessageParser<ThreadParameters>(() => new ThreadParameters());
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser<ThreadParameters> Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Tango.PMR.Printing.ThreadParametersReflection.Descriptor.MessageTypes[0]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ThreadParameters() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ThreadParameters(ThreadParameters other) : this() {
- feederP_ = other.feederP_;
- feederI_ = other.feederI_;
- feederD_ = other.feederD_;
- pullerP_ = other.pullerP_;
- pullerI_ = other.pullerI_;
- pullerD_ = other.pullerD_;
- winderP_ = other.winderP_;
- winderI_ = other.winderI_;
- winderD_ = other.winderD_;
- bypassRockers_ = other.bypassRockers_;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ThreadParameters Clone() {
- return new ThreadParameters(this);
- }
-
- /// <summary>Field number for the "FeederP" field.</summary>
- public const int FeederPFieldNumber = 1;
- private int feederP_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int FeederP {
- get { return feederP_; }
- set {
- feederP_ = value;
- }
- }
-
- /// <summary>Field number for the "FeederI" field.</summary>
- public const int FeederIFieldNumber = 2;
- private int feederI_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int FeederI {
- get { return feederI_; }
- set {
- feederI_ = value;
- }
- }
-
- /// <summary>Field number for the "FeederD" field.</summary>
- public const int FeederDFieldNumber = 3;
- private int feederD_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int FeederD {
- get { return feederD_; }
- set {
- feederD_ = value;
- }
- }
-
- /// <summary>Field number for the "PullerP" field.</summary>
- public const int PullerPFieldNumber = 4;
- private int pullerP_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int PullerP {
- get { return pullerP_; }
- set {
- pullerP_ = value;
- }
- }
-
- /// <summary>Field number for the "PullerI" field.</summary>
- public const int PullerIFieldNumber = 5;
- private int pullerI_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int PullerI {
- get { return pullerI_; }
- set {
- pullerI_ = value;
- }
- }
-
- /// <summary>Field number for the "PullerD" field.</summary>
- public const int PullerDFieldNumber = 6;
- private int pullerD_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int PullerD {
- get { return pullerD_; }
- set {
- pullerD_ = value;
- }
- }
-
- /// <summary>Field number for the "WinderP" field.</summary>
- public const int WinderPFieldNumber = 7;
- private int winderP_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int WinderP {
- get { return winderP_; }
- set {
- winderP_ = value;
- }
- }
-
- /// <summary>Field number for the "WinderI" field.</summary>
- public const int WinderIFieldNumber = 8;
- private int winderI_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int WinderI {
- get { return winderI_; }
- set {
- winderI_ = value;
- }
- }
-
- /// <summary>Field number for the "WinderD" field.</summary>
- public const int WinderDFieldNumber = 9;
- private int winderD_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int WinderD {
- get { return winderD_; }
- set {
- winderD_ = value;
- }
- }
-
- /// <summary>Field number for the "BypassRockers" field.</summary>
- public const int BypassRockersFieldNumber = 10;
- private bool bypassRockers_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool BypassRockers {
- get { return bypassRockers_; }
- set {
- bypassRockers_ = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as ThreadParameters);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(ThreadParameters other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (FeederP != other.FeederP) return false;
- if (FeederI != other.FeederI) return false;
- if (FeederD != other.FeederD) return false;
- if (PullerP != other.PullerP) return false;
- if (PullerI != other.PullerI) return false;
- if (PullerD != other.PullerD) return false;
- if (WinderP != other.WinderP) return false;
- if (WinderI != other.WinderI) return false;
- if (WinderD != other.WinderD) return false;
- if (BypassRockers != other.BypassRockers) return false;
- return true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (FeederP != 0) hash ^= FeederP.GetHashCode();
- if (FeederI != 0) hash ^= FeederI.GetHashCode();
- if (FeederD != 0) hash ^= FeederD.GetHashCode();
- if (PullerP != 0) hash ^= PullerP.GetHashCode();
- if (PullerI != 0) hash ^= PullerI.GetHashCode();
- if (PullerD != 0) hash ^= PullerD.GetHashCode();
- if (WinderP != 0) hash ^= WinderP.GetHashCode();
- if (WinderI != 0) hash ^= WinderI.GetHashCode();
- if (WinderD != 0) hash ^= WinderD.GetHashCode();
- if (BypassRockers != false) hash ^= BypassRockers.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 (FeederP != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(FeederP);
- }
- if (FeederI != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(FeederI);
- }
- if (FeederD != 0) {
- output.WriteRawTag(24);
- output.WriteInt32(FeederD);
- }
- if (PullerP != 0) {
- output.WriteRawTag(32);
- output.WriteInt32(PullerP);
- }
- if (PullerI != 0) {
- output.WriteRawTag(40);
- output.WriteInt32(PullerI);
- }
- if (PullerD != 0) {
- output.WriteRawTag(48);
- output.WriteInt32(PullerD);
- }
- if (WinderP != 0) {
- output.WriteRawTag(56);
- output.WriteInt32(WinderP);
- }
- if (WinderI != 0) {
- output.WriteRawTag(64);
- output.WriteInt32(WinderI);
- }
- if (WinderD != 0) {
- output.WriteRawTag(72);
- output.WriteInt32(WinderD);
- }
- if (BypassRockers != false) {
- output.WriteRawTag(80);
- output.WriteBool(BypassRockers);
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (FeederP != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(FeederP);
- }
- if (FeederI != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(FeederI);
- }
- if (FeederD != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(FeederD);
- }
- if (PullerP != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(PullerP);
- }
- if (PullerI != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(PullerI);
- }
- if (PullerD != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(PullerD);
- }
- if (WinderP != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(WinderP);
- }
- if (WinderI != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(WinderI);
- }
- if (WinderD != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(WinderD);
- }
- if (BypassRockers != false) {
- size += 1 + 1;
- }
- return size;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(ThreadParameters other) {
- if (other == null) {
- return;
- }
- if (other.FeederP != 0) {
- FeederP = other.FeederP;
- }
- if (other.FeederI != 0) {
- FeederI = other.FeederI;
- }
- if (other.FeederD != 0) {
- FeederD = other.FeederD;
- }
- if (other.PullerP != 0) {
- PullerP = other.PullerP;
- }
- if (other.PullerI != 0) {
- PullerI = other.PullerI;
- }
- if (other.PullerD != 0) {
- PullerD = other.PullerD;
- }
- if (other.WinderP != 0) {
- WinderP = other.WinderP;
- }
- if (other.WinderI != 0) {
- WinderI = other.WinderI;
- }
- if (other.WinderD != 0) {
- WinderD = other.WinderD;
- }
- if (other.BypassRockers != false) {
- BypassRockers = other.BypassRockers;
- }
- }
-
- [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: {
- FeederP = input.ReadInt32();
- break;
- }
- case 16: {
- FeederI = input.ReadInt32();
- break;
- }
- case 24: {
- FeederD = input.ReadInt32();
- break;
- }
- case 32: {
- PullerP = input.ReadInt32();
- break;
- }
- case 40: {
- PullerI = input.ReadInt32();
- break;
- }
- case 48: {
- PullerD = input.ReadInt32();
- break;
- }
- case 56: {
- WinderP = input.ReadInt32();
- break;
- }
- case 64: {
- WinderI = input.ReadInt32();
- break;
- }
- case 72: {
- WinderD = input.ReadInt32();
- break;
- }
- case 80: {
- BypassRockers = input.ReadBool();
- break;
- }
- }
- }
- }
-
- }
-
- #endregion
-
-}
-
-#endregion Designer generated code