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