aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.PMR/Printing
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2021-02-15 17:19:40 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2021-02-15 17:19:40 +0200
commit2bfa60ab677ec1da8f968614015ac0147694d31e (patch)
tree3af8f956cc678961ae69cf4813a7d3f7c762c0df /Software/Visual_Studio/Tango.PMR/Printing
parent8a4a7818428d7b203cb28082c720c74831b2165f (diff)
downloadTango-2bfa60ab677ec1da8f968614015ac0147694d31e.tar.gz
Tango-2bfa60ab677ec1da8f968614015ac0147694d31e.zip
BTSR DB, BL & PMR.
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/Printing')
-rw-r--r--Software/Visual_Studio/Tango.PMR/Printing/JobSpool.cs37
-rw-r--r--Software/Visual_Studio/Tango.PMR/Printing/JobTicket.cs72
-rw-r--r--Software/Visual_Studio/Tango.PMR/Printing/ProcessParameters.cs92
3 files changed, 176 insertions, 25 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/Printing/JobSpool.cs b/Software/Visual_Studio/Tango.PMR/Printing/JobSpool.cs
index c716906e6..def81f838 100644
--- a/Software/Visual_Studio/Tango.PMR/Printing/JobSpool.cs
+++ b/Software/Visual_Studio/Tango.PMR/Printing/JobSpool.cs
@@ -23,18 +23,19 @@ namespace Tango.PMR.Printing {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Cg5Kb2JTcG9vbC5wcm90bxISVGFuZ28uUE1SLlByaW50aW5nGhJKb2JTcG9v",
- "bFR5cGUucHJvdG8ingIKCEpvYlNwb29sEjYKDEpvYlNwb29sVHlwZRgBIAEo",
+ "bFR5cGUucHJvdG8iuAIKCEpvYlNwb29sEjYKDEpvYlNwb29sVHlwZRgBIAEo",
"DjIgLlRhbmdvLlBNUi5QcmludGluZy5Kb2JTcG9vbFR5cGUSDgoGTGVuZ3Ro",
"GAIgASgBEg4KBldlaWdodBgDIAEoARIQCghEaWFtZXRlchgEIAEoARIbChNS",
"b3RhdGlvbnNQZXJQYXNzYWdlGAUgASgBEhkKEVN0YXJ0T2Zmc2V0UHVsc2Vz",
"GAYgASgFEhMKC0JhY2tpbmdSYXRlGAcgASgFEhsKE1NlZ21lbnRPZmZzZXRQ",
"dWxzZXMYCCABKAUSGQoRQm90dG9tQmFja2luZ1JhdGUYCSABKAUSIwobTGlt",
- "aXRTd2l0Y2hTdGFydFBvaW50T2Zmc2V0GAogASgFQh4KHGNvbS50d2luZS50",
- "YW5nby5wbXIucHJpbnRpbmdiBnByb3RvMw=="));
+ "aXRTd2l0Y2hTdGFydFBvaW50T2Zmc2V0GAogASgFEhgKEEJ0c3JTcG9vbFRl",
+ "bnNpb24YCyABKAVCHgocY29tLnR3aW5lLnRhbmdvLnBtci5wcmludGluZ2IG",
+ "cHJvdG8z"));
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", "LimitSwitchStartPointOffset", "BtsrSpoolTension" }, null, null, null)
}));
}
#endregion
@@ -75,6 +76,7 @@ namespace Tango.PMR.Printing {
segmentOffsetPulses_ = other.segmentOffsetPulses_;
bottomBackingRate_ = other.bottomBackingRate_;
limitSwitchStartPointOffset_ = other.limitSwitchStartPointOffset_;
+ btsrSpoolTension_ = other.btsrSpoolTension_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -192,6 +194,17 @@ namespace Tango.PMR.Printing {
}
}
+ /// <summary>Field number for the "BtsrSpoolTension" field.</summary>
+ public const int BtsrSpoolTensionFieldNumber = 11;
+ private int btsrSpoolTension_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int BtsrSpoolTension {
+ get { return btsrSpoolTension_; }
+ set {
+ btsrSpoolTension_ = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as JobSpool);
@@ -215,6 +228,7 @@ namespace Tango.PMR.Printing {
if (SegmentOffsetPulses != other.SegmentOffsetPulses) return false;
if (BottomBackingRate != other.BottomBackingRate) return false;
if (LimitSwitchStartPointOffset != other.LimitSwitchStartPointOffset) return false;
+ if (BtsrSpoolTension != other.BtsrSpoolTension) return false;
return true;
}
@@ -231,6 +245,7 @@ namespace Tango.PMR.Printing {
if (SegmentOffsetPulses != 0) hash ^= SegmentOffsetPulses.GetHashCode();
if (BottomBackingRate != 0) hash ^= BottomBackingRate.GetHashCode();
if (LimitSwitchStartPointOffset != 0) hash ^= LimitSwitchStartPointOffset.GetHashCode();
+ if (BtsrSpoolTension != 0) hash ^= BtsrSpoolTension.GetHashCode();
return hash;
}
@@ -281,6 +296,10 @@ namespace Tango.PMR.Printing {
output.WriteRawTag(80);
output.WriteInt32(LimitSwitchStartPointOffset);
}
+ if (BtsrSpoolTension != 0) {
+ output.WriteRawTag(88);
+ output.WriteInt32(BtsrSpoolTension);
+ }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -316,6 +335,9 @@ namespace Tango.PMR.Printing {
if (LimitSwitchStartPointOffset != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(LimitSwitchStartPointOffset);
}
+ if (BtsrSpoolTension != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(BtsrSpoolTension);
+ }
return size;
}
@@ -354,6 +376,9 @@ namespace Tango.PMR.Printing {
if (other.LimitSwitchStartPointOffset != 0) {
LimitSwitchStartPointOffset = other.LimitSwitchStartPointOffset;
}
+ if (other.BtsrSpoolTension != 0) {
+ BtsrSpoolTension = other.BtsrSpoolTension;
+ }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -404,6 +429,10 @@ namespace Tango.PMR.Printing {
LimitSwitchStartPointOffset = input.ReadInt32();
break;
}
+ case 88: {
+ BtsrSpoolTension = 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..40460508f 100644
--- a/Software/Visual_Studio/Tango.PMR/Printing/JobTicket.cs
+++ b/Software/Visual_Studio/Tango.PMR/Printing/JobTicket.cs
@@ -26,26 +26,28 @@ namespace Tango.PMR.Printing {
"bWVudC5wcm90bxoXUHJvY2Vzc1BhcmFtZXRlcnMucHJvdG8aFkpvYldpbmRp",
"bmdNZXRob2QucHJvdG8aDkpvYlNwb29sLnByb3RvGhdKb2JVcGxvYWRTdHJh",
"dGVneS5wcm90bxoWVGhyZWFkUGFyYW1ldGVycy5wcm90bxocSGVhZENsZWFu",
- "aW5nUGFyYW1ldGVycy5wcm90byL9BAoJSm9iVGlja2V0EgwKBEd1aWQYASAB",
- "KAkSDAoETmFtZRgCIAEoCRIaChJFbmFibGVJbnRlclNlZ21lbnQYAyABKAgS",
- "GgoSSW50ZXJTZWdtZW50TGVuZ3RoGAQgASgBEg4KBkxlbmd0aBgFIAEoARJA",
- "ChFQcm9jZXNzUGFyYW1ldGVycxgGIAEoCzIlLlRhbmdvLlBNUi5QcmludGlu",
- "Zy5Qcm9jZXNzUGFyYW1ldGVycxI7Cg1XaW5kaW5nTWV0aG9kGAcgASgOMiQu",
- "VGFuZ28uUE1SLlByaW50aW5nLkpvYldpbmRpbmdNZXRob2QSKwoFU3Bvb2wY",
- "CCABKAsyHC5UYW5nby5QTVIuUHJpbnRpbmcuSm9iU3Bvb2wSMAoIU2VnbWVu",
- "dHMYCSADKAsyHi5UYW5nby5QTVIuUHJpbnRpbmcuSm9iU2VnbWVudBI9Cg5V",
- "cGxvYWRTdHJhdGVneRgKIAEoDjIlLlRhbmdvLlBNUi5QcmludGluZy5Kb2JV",
- "cGxvYWRTdHJhdGVneRIaChJKb2JEZXNjcmlwdGlvbkZpbGUYCyABKAkSGQoR",
- "RW5hYmxlTHVicmljYXRpb24YDCABKAgSFQoNTnVtYmVyT2ZVbml0cxgNIAEo",
- "DRIVCg1TYW1wbGVXaW5kaW5nGA4gASgIEj4KEFRocmVhZFBhcmFtZXRlcnMY",
- "DyABKAsyJC5UYW5nby5QTVIuUHJpbnRpbmcuVGhyZWFkUGFyYW1ldGVycxJK",
- "ChZIZWFkQ2xlYW5pbmdQYXJhbWV0ZXJzGBAgASgLMiouVGFuZ28uUE1SLlBy",
- "aW50aW5nLkhlYWRDbGVhbmluZ1BhcmFtZXRlcnNCHgocY29tLnR3aW5lLnRh",
- "bmdvLnBtci5wcmludGluZ2IGcHJvdG8z"));
+ "aW5nUGFyYW1ldGVycy5wcm90bxoUQnRzclBhcmFtZXRlcnMucHJvdG8itQUK",
+ "CUpvYlRpY2tldBIMCgRHdWlkGAEgASgJEgwKBE5hbWUYAiABKAkSGgoSRW5h",
+ "YmxlSW50ZXJTZWdtZW50GAMgASgIEhoKEkludGVyU2VnbWVudExlbmd0aBgE",
+ "IAEoARIOCgZMZW5ndGgYBSABKAESQAoRUHJvY2Vzc1BhcmFtZXRlcnMYBiAB",
+ "KAsyJS5UYW5nby5QTVIuUHJpbnRpbmcuUHJvY2Vzc1BhcmFtZXRlcnMSOwoN",
+ "V2luZGluZ01ldGhvZBgHIAEoDjIkLlRhbmdvLlBNUi5QcmludGluZy5Kb2JX",
+ "aW5kaW5nTWV0aG9kEisKBVNwb29sGAggASgLMhwuVGFuZ28uUE1SLlByaW50",
+ "aW5nLkpvYlNwb29sEjAKCFNlZ21lbnRzGAkgAygLMh4uVGFuZ28uUE1SLlBy",
+ "aW50aW5nLkpvYlNlZ21lbnQSPQoOVXBsb2FkU3RyYXRlZ3kYCiABKA4yJS5U",
+ "YW5nby5QTVIuUHJpbnRpbmcuSm9iVXBsb2FkU3RyYXRlZ3kSGgoSSm9iRGVz",
+ "Y3JpcHRpb25GaWxlGAsgASgJEhkKEUVuYWJsZUx1YnJpY2F0aW9uGAwgASgI",
+ "EhUKDU51bWJlck9mVW5pdHMYDSABKA0SFQoNU2FtcGxlV2luZGluZxgOIAEo",
+ "CBI+ChBUaHJlYWRQYXJhbWV0ZXJzGA8gASgLMiQuVGFuZ28uUE1SLlByaW50",
+ "aW5nLlRocmVhZFBhcmFtZXRlcnMSSgoWSGVhZENsZWFuaW5nUGFyYW1ldGVy",
+ "cxgQIAEoCzIqLlRhbmdvLlBNUi5QcmludGluZy5IZWFkQ2xlYW5pbmdQYXJh",
+ "bWV0ZXJzEjYKDkJ0c3JQYXJhbWV0ZXJzGBEgASgLMh4uVGFuZ28uUE1SLkJU",
+ "U1IuQnRzclBhcmFtZXRlcnNCHgocY29tLnR3aW5lLnRhbmdvLnBtci5wcmlu",
+ "dGluZ2IGcHJvdG8z"));
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, global::Tango.PMR.Printing.ThreadParametersReflection.Descriptor, global::Tango.PMR.Printing.HeadCleaningParametersReflection.Descriptor, global::Tango.PMR.BTSR.BtsrParametersReflection.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", "ThreadParameters", "HeadCleaningParameters", "BtsrParameters" }, null, null, null)
}));
}
#endregion
@@ -92,6 +94,7 @@ namespace Tango.PMR.Printing {
sampleWinding_ = other.sampleWinding_;
ThreadParameters = other.threadParameters_ != null ? other.ThreadParameters.Clone() : null;
HeadCleaningParameters = other.headCleaningParameters_ != null ? other.HeadCleaningParameters.Clone() : null;
+ BtsrParameters = other.btsrParameters_ != null ? other.BtsrParameters.Clone() : null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -277,6 +280,17 @@ namespace Tango.PMR.Printing {
}
}
+ /// <summary>Field number for the "BtsrParameters" field.</summary>
+ public const int BtsrParametersFieldNumber = 17;
+ private global::Tango.PMR.BTSR.BtsrParameters btsrParameters_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::Tango.PMR.BTSR.BtsrParameters BtsrParameters {
+ get { return btsrParameters_; }
+ set {
+ btsrParameters_ = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as JobTicket);
@@ -306,6 +320,7 @@ namespace Tango.PMR.Printing {
if (SampleWinding != other.SampleWinding) return false;
if (!object.Equals(ThreadParameters, other.ThreadParameters)) return false;
if (!object.Equals(HeadCleaningParameters, other.HeadCleaningParameters)) return false;
+ if (!object.Equals(BtsrParameters, other.BtsrParameters)) return false;
return true;
}
@@ -328,6 +343,7 @@ namespace Tango.PMR.Printing {
if (SampleWinding != false) hash ^= SampleWinding.GetHashCode();
if (threadParameters_ != null) hash ^= ThreadParameters.GetHashCode();
if (headCleaningParameters_ != null) hash ^= HeadCleaningParameters.GetHashCode();
+ if (btsrParameters_ != null) hash ^= BtsrParameters.GetHashCode();
return hash;
}
@@ -399,6 +415,10 @@ namespace Tango.PMR.Printing {
output.WriteRawTag(130, 1);
output.WriteMessage(HeadCleaningParameters);
}
+ if (btsrParameters_ != null) {
+ output.WriteRawTag(138, 1);
+ output.WriteMessage(BtsrParameters);
+ }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -450,6 +470,9 @@ namespace Tango.PMR.Printing {
if (headCleaningParameters_ != null) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(HeadCleaningParameters);
}
+ if (btsrParameters_ != null) {
+ size += 2 + pb::CodedOutputStream.ComputeMessageSize(BtsrParameters);
+ }
return size;
}
@@ -516,6 +539,12 @@ namespace Tango.PMR.Printing {
}
HeadCleaningParameters.MergeFrom(other.HeadCleaningParameters);
}
+ if (other.btsrParameters_ != null) {
+ if (btsrParameters_ == null) {
+ btsrParameters_ = new global::Tango.PMR.BTSR.BtsrParameters();
+ }
+ BtsrParameters.MergeFrom(other.BtsrParameters);
+ }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -602,6 +631,13 @@ namespace Tango.PMR.Printing {
input.ReadMessage(headCleaningParameters_);
break;
}
+ case 138: {
+ if (btsrParameters_ == null) {
+ btsrParameters_ = new global::Tango.PMR.BTSR.BtsrParameters();
+ }
+ input.ReadMessage(btsrParameters_);
+ break;
+ }
}
}
}
diff --git a/Software/Visual_Studio/Tango.PMR/Printing/ProcessParameters.cs b/Software/Visual_Studio/Tango.PMR/Printing/ProcessParameters.cs
index b0c29288f..0a92c27e3 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",
+ "IqcGChFQcm9jZXNzUGFyYW1ldGVycxITCgtEeWVpbmdTcGVlZBgBIAEoARIU",
"CgxNaW5JbmtVcHRha2UYAiABKAESFAoMTWF4SW5rVXB0YWtlGAMgASgBEhUK",
"DUZlZWRlclRlbnNpb24YBCABKAESFQoNUHVsbGVyVGVuc2lvbhgFIAEoARIV",
"Cg1XaW5kZXJUZW5zaW9uGAYgASgBEhEKCU1peGVyVGVtcBgHIAEoARIVCg1I",
@@ -39,11 +39,13 @@ namespace Tango.PMR.Printing {
"cBgZIAEoARIWCg5IZWFkWm9uZTEyVGVtcBgaIAEoARITCgtSQmxvd2VyRmxv",
"dxgbIAEoARITCgtSQmxvd2VyVGVtcBgcIAEoARITCgtMQmxvd2VyRmxvdxgd",
"IAEoARITCgtMQmxvd2VyVGVtcBgeIAEoARIXCg9QcmVzc3VyZUJ1aWxkVXAY",
- "HyABKAFCHgocY29tLnR3aW5lLnRhbmdvLnBtci5wcmludGluZ2IGcHJvdG8z"));
+ "HyABKAESGgoSQnRzckZlZWRpbmdUZW5zaW9uGCAgASgBEhcKD0J0c3JFeGl0",
+ "VGVuc2lvbhghIAEoARIeChZCdHNyVGhyZWFkTGVuZ3RoT2Zmc2V0GCIgASgB",
+ "Qh4KHGNvbS50d2luZS50YW5nby5wbXIucHJpbnRpbmdiBnByb3RvMw=="));
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", "HeadZone7Temp", "HeadZone8Temp", "HeadZone9Temp", "HeadZone10Temp", "HeadZone11Temp", "HeadZone12Temp", "RBlowerFlow", "RBlowerTemp", "LBlowerFlow", "LBlowerTemp", "PressureBuildUp", "BtsrFeedingTension", "BtsrExitTension", "BtsrThreadLengthOffset" }, null, null, null)
}));
}
#endregion
@@ -105,6 +107,9 @@ namespace Tango.PMR.Printing {
lBlowerFlow_ = other.lBlowerFlow_;
lBlowerTemp_ = other.lBlowerTemp_;
pressureBuildUp_ = other.pressureBuildUp_;
+ btsrFeedingTension_ = other.btsrFeedingTension_;
+ btsrExitTension_ = other.btsrExitTension_;
+ btsrThreadLengthOffset_ = other.btsrThreadLengthOffset_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -453,6 +458,39 @@ namespace Tango.PMR.Printing {
}
}
+ /// <summary>Field number for the "BtsrFeedingTension" field.</summary>
+ public const int BtsrFeedingTensionFieldNumber = 32;
+ private double btsrFeedingTension_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double BtsrFeedingTension {
+ get { return btsrFeedingTension_; }
+ set {
+ btsrFeedingTension_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "BtsrExitTension" field.</summary>
+ public const int BtsrExitTensionFieldNumber = 33;
+ private double btsrExitTension_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double BtsrExitTension {
+ get { return btsrExitTension_; }
+ set {
+ btsrExitTension_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "BtsrThreadLengthOffset" field.</summary>
+ public const int BtsrThreadLengthOffsetFieldNumber = 34;
+ private double btsrThreadLengthOffset_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public double BtsrThreadLengthOffset {
+ get { return btsrThreadLengthOffset_; }
+ set {
+ btsrThreadLengthOffset_ = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as ProcessParameters);
@@ -497,6 +535,9 @@ namespace Tango.PMR.Printing {
if (LBlowerFlow != other.LBlowerFlow) return false;
if (LBlowerTemp != other.LBlowerTemp) return false;
if (PressureBuildUp != other.PressureBuildUp) return false;
+ if (BtsrFeedingTension != other.BtsrFeedingTension) return false;
+ if (BtsrExitTension != other.BtsrExitTension) return false;
+ if (BtsrThreadLengthOffset != other.BtsrThreadLengthOffset) return false;
return true;
}
@@ -534,6 +575,9 @@ namespace Tango.PMR.Printing {
if (LBlowerFlow != 0D) hash ^= LBlowerFlow.GetHashCode();
if (LBlowerTemp != 0D) hash ^= LBlowerTemp.GetHashCode();
if (PressureBuildUp != 0D) hash ^= PressureBuildUp.GetHashCode();
+ if (BtsrFeedingTension != 0D) hash ^= BtsrFeedingTension.GetHashCode();
+ if (BtsrExitTension != 0D) hash ^= BtsrExitTension.GetHashCode();
+ if (BtsrThreadLengthOffset != 0D) hash ^= BtsrThreadLengthOffset.GetHashCode();
return hash;
}
@@ -668,6 +712,18 @@ namespace Tango.PMR.Printing {
output.WriteRawTag(249, 1);
output.WriteDouble(PressureBuildUp);
}
+ if (BtsrFeedingTension != 0D) {
+ output.WriteRawTag(129, 2);
+ output.WriteDouble(BtsrFeedingTension);
+ }
+ if (BtsrExitTension != 0D) {
+ output.WriteRawTag(137, 2);
+ output.WriteDouble(BtsrExitTension);
+ }
+ if (BtsrThreadLengthOffset != 0D) {
+ output.WriteRawTag(145, 2);
+ output.WriteDouble(BtsrThreadLengthOffset);
+ }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -766,6 +822,15 @@ namespace Tango.PMR.Printing {
if (PressureBuildUp != 0D) {
size += 2 + 8;
}
+ if (BtsrFeedingTension != 0D) {
+ size += 2 + 8;
+ }
+ if (BtsrExitTension != 0D) {
+ size += 2 + 8;
+ }
+ if (BtsrThreadLengthOffset != 0D) {
+ size += 2 + 8;
+ }
return size;
}
@@ -867,6 +932,15 @@ namespace Tango.PMR.Printing {
if (other.PressureBuildUp != 0D) {
PressureBuildUp = other.PressureBuildUp;
}
+ if (other.BtsrFeedingTension != 0D) {
+ BtsrFeedingTension = other.BtsrFeedingTension;
+ }
+ if (other.BtsrExitTension != 0D) {
+ BtsrExitTension = other.BtsrExitTension;
+ }
+ if (other.BtsrThreadLengthOffset != 0D) {
+ BtsrThreadLengthOffset = other.BtsrThreadLengthOffset;
+ }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@@ -1001,6 +1075,18 @@ namespace Tango.PMR.Printing {
PressureBuildUp = input.ReadDouble();
break;
}
+ case 257: {
+ BtsrFeedingTension = input.ReadDouble();
+ break;
+ }
+ case 265: {
+ BtsrExitTension = input.ReadDouble();
+ break;
+ }
+ case 273: {
+ BtsrThreadLengthOffset = input.ReadDouble();
+ break;
+ }
}
}
}