diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/Printing/ProcessParameters.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.PMR/Printing/ProcessParameters.cs | 321 |
1 files changed, 4 insertions, 317 deletions
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; - } } } } |
