aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.PMR/Printing/ProcessParameters.cs
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/ProcessParameters.cs
parent8a4a7818428d7b203cb28082c720c74831b2165f (diff)
downloadTango-2bfa60ab677ec1da8f968614015ac0147694d31e.tar.gz
Tango-2bfa60ab677ec1da8f968614015ac0147694d31e.zip
BTSR DB, BL & PMR.
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/Printing/ProcessParameters.cs')
-rw-r--r--Software/Visual_Studio/Tango.PMR/Printing/ProcessParameters.cs92
1 files changed, 89 insertions, 3 deletions
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;
+ }
}
}
}