diff options
| author | Roy <Roy.mail.net@gmail.com> | 2022-10-03 15:27:16 +0300 |
|---|---|---|
| committer | Roy <Roy.mail.net@gmail.com> | 2022-10-03 15:27:16 +0300 |
| commit | a476559758ceb3700d9bf80911a3b1e87ac5cbf8 (patch) | |
| tree | 5d5bc7f0ce7f796be2fad0ec954177bcceafd2b5 /Software/Visual_Studio/Tango.PMR | |
| parent | 2ebd882d708fe4d78d985fcd5d318d8f1794eca9 (diff) | |
| download | Tango-a476559758ceb3700d9bf80911a3b1e87ac5cbf8.tar.gz Tango-a476559758ceb3700d9bf80911a3b1e87ac5cbf8.zip | |
Use Lubricant Transform
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR')
4 files changed, 131 insertions, 15 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/ColorLab/ConversionInput.cs b/Software/Visual_Studio/Tango.PMR/ColorLab/ConversionInput.cs index 592297ca0..a1f1538d3 100644 --- a/Software/Visual_Studio/Tango.PMR/ColorLab/ConversionInput.cs +++ b/Software/Visual_Studio/Tango.PMR/ColorLab/ConversionInput.cs @@ -24,7 +24,7 @@ namespace Tango.PMR.ColorLab { string.Concat( "ChVDb252ZXJzaW9uSW5wdXQucHJvdG8SElRhbmdvLlBNUi5Db2xvckxhYhoW", "SW5wdXRDb29yZGluYXRlcy5wcm90bxoQQ29sb3JTcGFjZS5wcm90bxoSUHJv", - "Y2Vzc1JhbmdlLnByb3RvIrMDCg9Db252ZXJzaW9uSW5wdXQSDwoHVGhyZWFk", + "Y2Vzc1JhbmdlLnByb3RvItIDCg9Db252ZXJzaW9uSW5wdXQSDwoHVGhyZWFk", "TBgBIAEoARIPCgdUaHJlYWRBGAIgASgBEg8KB1RocmVhZEIYAyABKAESMgoK", "Q29sb3JTcGFjZRgEIAEoDjIeLlRhbmdvLlBNUi5Db2xvckxhYi5Db2xvclNw", "YWNlEj4KEElucHV0Q29vcmRpbmF0ZXMYBSABKAsyJC5UYW5nby5QTVIuQ29s", @@ -34,11 +34,12 @@ namespace Tango.PMR.ColorLab { "UmFuZ2VzGAsgAygLMiAuVGFuZ28uUE1SLkNvbG9yTGFiLlByb2Nlc3NSYW5n", "ZRIUCgxHZW5lcmF0ZUhpdmUYDCABKAgSFAoMVXNlTGlnaHRJbmtzGA0gASgI", "EgwKBFZNYXgYDiABKAESDwoHR2JkRGF0YRgPIAEoDBIPCgdMdWJEYXRhGBAg", - "ASgMQh4KHGNvbS50d2luZS50YW5nby5wbXIuY29sb3JsYWJiBnByb3RvMw==")); + "ASgMEh0KFVVzZUx1YnJpY2FudFRyYW5zZm9ybRgRIAEoCEIeChxjb20udHdp", + "bmUudGFuZ28ucG1yLmNvbG9ybGFiYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Tango.PMR.ColorLab.InputCoordinatesReflection.Descriptor, global::Tango.PMR.ColorLab.ColorSpaceReflection.Descriptor, global::Tango.PMR.ColorLab.ProcessRangeReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.ColorLab.ConversionInput), global::Tango.PMR.ColorLab.ConversionInput.Parser, new[]{ "ThreadL", "ThreadA", "ThreadB", "ColorSpace", "InputCoordinates", "ForwardData", "InverseData", "SegmentLength", "DeltaChroma", "DeltaL", "ProcessRanges", "GenerateHive", "UseLightInks", "VMax", "GbdData", "LubData" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.ColorLab.ConversionInput), global::Tango.PMR.ColorLab.ConversionInput.Parser, new[]{ "ThreadL", "ThreadA", "ThreadB", "ColorSpace", "InputCoordinates", "ForwardData", "InverseData", "SegmentLength", "DeltaChroma", "DeltaL", "ProcessRanges", "GenerateHive", "UseLightInks", "VMax", "GbdData", "LubData", "UseLubricantTransform" }, null, null, null) })); } #endregion @@ -85,6 +86,7 @@ namespace Tango.PMR.ColorLab { vMax_ = other.vMax_; gbdData_ = other.gbdData_; lubData_ = other.lubData_; + useLubricantTransform_ = other.useLubricantTransform_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -267,6 +269,17 @@ namespace Tango.PMR.ColorLab { } } + /// <summary>Field number for the "UseLubricantTransform" field.</summary> + public const int UseLubricantTransformFieldNumber = 17; + private bool useLubricantTransform_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool UseLubricantTransform { + get { return useLubricantTransform_; } + set { + useLubricantTransform_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as ConversionInput); @@ -296,6 +309,7 @@ namespace Tango.PMR.ColorLab { if (VMax != other.VMax) return false; if (GbdData != other.GbdData) return false; if (LubData != other.LubData) return false; + if (UseLubricantTransform != other.UseLubricantTransform) return false; return true; } @@ -318,6 +332,7 @@ namespace Tango.PMR.ColorLab { if (VMax != 0D) hash ^= VMax.GetHashCode(); if (GbdData.Length != 0) hash ^= GbdData.GetHashCode(); if (LubData.Length != 0) hash ^= LubData.GetHashCode(); + if (UseLubricantTransform != false) hash ^= UseLubricantTransform.GetHashCode(); return hash; } @@ -389,6 +404,10 @@ namespace Tango.PMR.ColorLab { output.WriteRawTag(130, 1); output.WriteBytes(LubData); } + if (UseLubricantTransform != false) { + output.WriteRawTag(136, 1); + output.WriteBool(UseLubricantTransform); + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -440,6 +459,9 @@ namespace Tango.PMR.ColorLab { if (LubData.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeBytesSize(LubData); } + if (UseLubricantTransform != false) { + size += 2 + 1; + } return size; } @@ -497,6 +519,9 @@ namespace Tango.PMR.ColorLab { if (other.LubData.Length != 0) { LubData = other.LubData; } + if (other.UseLubricantTransform != false) { + UseLubricantTransform = other.UseLubricantTransform; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -574,6 +599,10 @@ namespace Tango.PMR.ColorLab { LubData = input.ReadBytes(); break; } + case 136: { + UseLubricantTransform = input.ReadBool(); + break; + } } } } diff --git a/Software/Visual_Studio/Tango.PMR/ColorLab/GradientConversionInput.cs b/Software/Visual_Studio/Tango.PMR/ColorLab/GradientConversionInput.cs index abb24ddb0..37e3642fa 100644 --- a/Software/Visual_Studio/Tango.PMR/ColorLab/GradientConversionInput.cs +++ b/Software/Visual_Studio/Tango.PMR/ColorLab/GradientConversionInput.cs @@ -24,19 +24,20 @@ namespace Tango.PMR.ColorLab { string.Concat( "Ch1HcmFkaWVudENvbnZlcnNpb25JbnB1dC5wcm90bxISVGFuZ28uUE1SLkNv", "bG9yTGFiGhJQcm9jZXNzUmFuZ2UucHJvdG8aEUlucHV0TGlxdWlkLnByb3Rv", - "GhdHcmFkaWVudElucHV0U3RvcC5wcm90byLAAgoXR3JhZGllbnRDb252ZXJz", + "GhdHcmFkaWVudElucHV0U3RvcC5wcm90byLfAgoXR3JhZGllbnRDb252ZXJz", "aW9uSW5wdXQSDwoHVGhyZWFkTBgBIAEoARIPCgdUaHJlYWRBGAIgASgBEg8K", "B1RocmVhZEIYAyABKAESEwoLRm9yd2FyZERhdGEYBCABKAwSFQoNU2VnbWVu", "dExlbmd0aBgFIAEoARI0CgVTdG9wcxgGIAMoCzIlLlRhbmdvLlBNUi5Db2xv", "ckxhYi5HcmFkaWVudElucHV0U3RvcBI1CgxJbnB1dExpcXVpZHMYByADKAsy", "Hy5UYW5nby5QTVIuQ29sb3JMYWIuSW5wdXRMaXF1aWQSNwoNUHJvY2Vzc1Jh", "bmdlcxgIIAMoCzIgLlRhbmdvLlBNUi5Db2xvckxhYi5Qcm9jZXNzUmFuZ2US", - "DwoHR2JkRGF0YRgJIAEoDBIPCgdMdWJEYXRhGAogASgMQh4KHGNvbS50d2lu", - "ZS50YW5nby5wbXIuY29sb3JsYWJiBnByb3RvMw==")); + "DwoHR2JkRGF0YRgJIAEoDBIPCgdMdWJEYXRhGAogASgMEh0KFVVzZUx1YnJp", + "Y2FudFRyYW5zZm9ybRgLIAEoCEIeChxjb20udHdpbmUudGFuZ28ucG1yLmNv", + "bG9ybGFiYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Tango.PMR.ColorLab.ProcessRangeReflection.Descriptor, global::Tango.PMR.ColorLab.InputLiquidReflection.Descriptor, global::Tango.PMR.ColorLab.GradientInputStopReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.ColorLab.GradientConversionInput), global::Tango.PMR.ColorLab.GradientConversionInput.Parser, new[]{ "ThreadL", "ThreadA", "ThreadB", "ForwardData", "SegmentLength", "Stops", "InputLiquids", "ProcessRanges", "GbdData", "LubData" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.ColorLab.GradientConversionInput), global::Tango.PMR.ColorLab.GradientConversionInput.Parser, new[]{ "ThreadL", "ThreadA", "ThreadB", "ForwardData", "SegmentLength", "Stops", "InputLiquids", "ProcessRanges", "GbdData", "LubData", "UseLubricantTransform" }, null, null, null) })); } #endregion @@ -77,6 +78,7 @@ namespace Tango.PMR.ColorLab { processRanges_ = other.processRanges_.Clone(); gbdData_ = other.gbdData_; lubData_ = other.lubData_; + useLubricantTransform_ = other.useLubricantTransform_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -191,6 +193,17 @@ namespace Tango.PMR.ColorLab { } } + /// <summary>Field number for the "UseLubricantTransform" field.</summary> + public const int UseLubricantTransformFieldNumber = 11; + private bool useLubricantTransform_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool UseLubricantTransform { + get { return useLubricantTransform_; } + set { + useLubricantTransform_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as GradientConversionInput); @@ -214,6 +227,7 @@ namespace Tango.PMR.ColorLab { if(!processRanges_.Equals(other.processRanges_)) return false; if (GbdData != other.GbdData) return false; if (LubData != other.LubData) return false; + if (UseLubricantTransform != other.UseLubricantTransform) return false; return true; } @@ -230,6 +244,7 @@ namespace Tango.PMR.ColorLab { hash ^= processRanges_.GetHashCode(); if (GbdData.Length != 0) hash ^= GbdData.GetHashCode(); if (LubData.Length != 0) hash ^= LubData.GetHashCode(); + if (UseLubricantTransform != false) hash ^= UseLubricantTransform.GetHashCode(); return hash; } @@ -271,6 +286,10 @@ namespace Tango.PMR.ColorLab { output.WriteRawTag(82); output.WriteBytes(LubData); } + if (UseLubricantTransform != false) { + output.WriteRawTag(88); + output.WriteBool(UseLubricantTransform); + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -300,6 +319,9 @@ namespace Tango.PMR.ColorLab { if (LubData.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeBytesSize(LubData); } + if (UseLubricantTransform != false) { + size += 1 + 1; + } return size; } @@ -332,6 +354,9 @@ namespace Tango.PMR.ColorLab { if (other.LubData.Length != 0) { LubData = other.LubData; } + if (other.UseLubricantTransform != false) { + UseLubricantTransform = other.UseLubricantTransform; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -382,6 +407,10 @@ namespace Tango.PMR.ColorLab { LubData = input.ReadBytes(); break; } + case 88: { + UseLubricantTransform = input.ReadBool(); + break; + } } } } diff --git a/Software/Visual_Studio/Tango.PMR/ColorLab/OutOfGamutInput.cs b/Software/Visual_Studio/Tango.PMR/ColorLab/OutOfGamutInput.cs index e56cf37fe..ebde255c5 100644 --- a/Software/Visual_Studio/Tango.PMR/ColorLab/OutOfGamutInput.cs +++ b/Software/Visual_Studio/Tango.PMR/ColorLab/OutOfGamutInput.cs @@ -24,18 +24,19 @@ namespace Tango.PMR.ColorLab { string.Concat( "ChVPdXRPZkdhbXV0SW5wdXQucHJvdG8SElRhbmdvLlBNUi5Db2xvckxhYhoW", "SW5wdXRDb29yZGluYXRlcy5wcm90bxoQQ29sb3JTcGFjZS5wcm90bxoSUHJv", - "Y2Vzc1JhbmdlLnByb3RvIqgCCg9PdXRPZkdhbXV0SW5wdXQSDwoHVGhyZWFk", + "Y2Vzc1JhbmdlLnByb3RvIscCCg9PdXRPZkdhbXV0SW5wdXQSDwoHVGhyZWFk", "TBgBIAEoARIPCgdUaHJlYWRBGAIgASgBEg8KB1RocmVhZEIYAyABKAESMgoK", "Q29sb3JTcGFjZRgEIAEoDjIeLlRhbmdvLlBNUi5Db2xvckxhYi5Db2xvclNw", "YWNlEj4KEElucHV0Q29vcmRpbmF0ZXMYBSABKAsyJC5UYW5nby5QTVIuQ29s", "b3JMYWIuSW5wdXRDb29yZGluYXRlcxITCgtGb3J3YXJkRGF0YRgGIAEoDBI3", "Cg1Qcm9jZXNzUmFuZ2VzGAcgAygLMiAuVGFuZ28uUE1SLkNvbG9yTGFiLlBy", - "b2Nlc3NSYW5nZRIPCgdHYmREYXRhGAggASgMEg8KB0x1YkRhdGEYCSABKAxC", - "HgocY29tLnR3aW5lLnRhbmdvLnBtci5jb2xvcmxhYmIGcHJvdG8z")); + "b2Nlc3NSYW5nZRIPCgdHYmREYXRhGAggASgMEg8KB0x1YkRhdGEYCSABKAwS", + "HQoVVXNlTHVicmljYW50VHJhbnNmb3JtGAogASgIQh4KHGNvbS50d2luZS50", + "YW5nby5wbXIuY29sb3JsYWJiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Tango.PMR.ColorLab.InputCoordinatesReflection.Descriptor, global::Tango.PMR.ColorLab.ColorSpaceReflection.Descriptor, global::Tango.PMR.ColorLab.ProcessRangeReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.ColorLab.OutOfGamutInput), global::Tango.PMR.ColorLab.OutOfGamutInput.Parser, new[]{ "ThreadL", "ThreadA", "ThreadB", "ColorSpace", "InputCoordinates", "ForwardData", "ProcessRanges", "GbdData", "LubData" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.ColorLab.OutOfGamutInput), global::Tango.PMR.ColorLab.OutOfGamutInput.Parser, new[]{ "ThreadL", "ThreadA", "ThreadB", "ColorSpace", "InputCoordinates", "ForwardData", "ProcessRanges", "GbdData", "LubData", "UseLubricantTransform" }, null, null, null) })); } #endregion @@ -75,6 +76,7 @@ namespace Tango.PMR.ColorLab { processRanges_ = other.processRanges_.Clone(); gbdData_ = other.gbdData_; lubData_ = other.lubData_; + useLubricantTransform_ = other.useLubricantTransform_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -180,6 +182,17 @@ namespace Tango.PMR.ColorLab { } } + /// <summary>Field number for the "UseLubricantTransform" field.</summary> + public const int UseLubricantTransformFieldNumber = 10; + private bool useLubricantTransform_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool UseLubricantTransform { + get { return useLubricantTransform_; } + set { + useLubricantTransform_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as OutOfGamutInput); @@ -202,6 +215,7 @@ namespace Tango.PMR.ColorLab { if(!processRanges_.Equals(other.processRanges_)) return false; if (GbdData != other.GbdData) return false; if (LubData != other.LubData) return false; + if (UseLubricantTransform != other.UseLubricantTransform) return false; return true; } @@ -217,6 +231,7 @@ namespace Tango.PMR.ColorLab { hash ^= processRanges_.GetHashCode(); if (GbdData.Length != 0) hash ^= GbdData.GetHashCode(); if (LubData.Length != 0) hash ^= LubData.GetHashCode(); + if (UseLubricantTransform != false) hash ^= UseLubricantTransform.GetHashCode(); return hash; } @@ -260,6 +275,10 @@ namespace Tango.PMR.ColorLab { output.WriteRawTag(74); output.WriteBytes(LubData); } + if (UseLubricantTransform != false) { + output.WriteRawTag(80); + output.WriteBool(UseLubricantTransform); + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -290,6 +309,9 @@ namespace Tango.PMR.ColorLab { if (LubData.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeBytesSize(LubData); } + if (UseLubricantTransform != false) { + size += 1 + 1; + } return size; } @@ -326,6 +348,9 @@ namespace Tango.PMR.ColorLab { if (other.LubData.Length != 0) { LubData = other.LubData; } + if (other.UseLubricantTransform != false) { + UseLubricantTransform = other.UseLubricantTransform; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -375,6 +400,10 @@ namespace Tango.PMR.ColorLab { LubData = input.ReadBytes(); break; } + case 80: { + UseLubricantTransform = input.ReadBool(); + break; + } } } } diff --git a/Software/Visual_Studio/Tango.PMR/ColorLab/RecommendedProcessTableInput.cs b/Software/Visual_Studio/Tango.PMR/ColorLab/RecommendedProcessTableInput.cs index 8384769a6..4e5a52d8d 100644 --- a/Software/Visual_Studio/Tango.PMR/ColorLab/RecommendedProcessTableInput.cs +++ b/Software/Visual_Studio/Tango.PMR/ColorLab/RecommendedProcessTableInput.cs @@ -24,19 +24,20 @@ namespace Tango.PMR.ColorLab { string.Concat( "CiJSZWNvbW1lbmRlZFByb2Nlc3NUYWJsZUlucHV0LnByb3RvEhJUYW5nby5Q", "TVIuQ29sb3JMYWIaElByb2Nlc3NSYW5nZS5wcm90bxoRSW5wdXRMaXF1aWQu", - "cHJvdG8aF0dyYWRpZW50SW5wdXRTdG9wLnByb3RvIsQCChxSZWNvbW1lbmRl", + "cHJvdG8aF0dyYWRpZW50SW5wdXRTdG9wLnByb3RvIuMCChxSZWNvbW1lbmRl", "ZFByb2Nlc3NUYWJsZUlucHV0Eg8KB1RocmVhZEwYASABKAESDwoHVGhyZWFk", "QRgCIAEoARIPCgdUaHJlYWRCGAMgASgBEhMKC0ZvcndhcmREYXRhGAQgASgM", "EjQKBVN0b3BzGAUgAygLMiUuVGFuZ28uUE1SLkNvbG9yTGFiLkdyYWRpZW50", "SW5wdXRTdG9wEjUKDElucHV0TGlxdWlkcxgGIAMoCzIfLlRhbmdvLlBNUi5D", "b2xvckxhYi5JbnB1dExpcXVpZBI3Cg1Qcm9jZXNzUmFuZ2VzGAcgAygLMiAu", "VGFuZ28uUE1SLkNvbG9yTGFiLlByb2Nlc3NSYW5nZRIUCgxVc2VMaWdodElu", - "a3MYCCABKAgSDwoHR2JkRGF0YRgJIAEoDBIPCgdMdWJEYXRhGAogASgMQh4K", - "HGNvbS50d2luZS50YW5nby5wbXIuY29sb3JsYWJiBnByb3RvMw==")); + "a3MYCCABKAgSDwoHR2JkRGF0YRgJIAEoDBIPCgdMdWJEYXRhGAogASgMEh0K", + "FVVzZUx1YnJpY2FudFRyYW5zZm9ybRgLIAEoCEIeChxjb20udHdpbmUudGFu", + "Z28ucG1yLmNvbG9ybGFiYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Tango.PMR.ColorLab.ProcessRangeReflection.Descriptor, global::Tango.PMR.ColorLab.InputLiquidReflection.Descriptor, global::Tango.PMR.ColorLab.GradientInputStopReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.ColorLab.RecommendedProcessTableInput), global::Tango.PMR.ColorLab.RecommendedProcessTableInput.Parser, new[]{ "ThreadL", "ThreadA", "ThreadB", "ForwardData", "Stops", "InputLiquids", "ProcessRanges", "UseLightInks", "GbdData", "LubData" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.ColorLab.RecommendedProcessTableInput), global::Tango.PMR.ColorLab.RecommendedProcessTableInput.Parser, new[]{ "ThreadL", "ThreadA", "ThreadB", "ForwardData", "Stops", "InputLiquids", "ProcessRanges", "UseLightInks", "GbdData", "LubData", "UseLubricantTransform" }, null, null, null) })); } #endregion @@ -77,6 +78,7 @@ namespace Tango.PMR.ColorLab { useLightInks_ = other.useLightInks_; gbdData_ = other.gbdData_; lubData_ = other.lubData_; + useLubricantTransform_ = other.useLubricantTransform_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -191,6 +193,17 @@ namespace Tango.PMR.ColorLab { } } + /// <summary>Field number for the "UseLubricantTransform" field.</summary> + public const int UseLubricantTransformFieldNumber = 11; + private bool useLubricantTransform_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool UseLubricantTransform { + get { return useLubricantTransform_; } + set { + useLubricantTransform_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as RecommendedProcessTableInput); @@ -214,6 +227,7 @@ namespace Tango.PMR.ColorLab { if (UseLightInks != other.UseLightInks) return false; if (GbdData != other.GbdData) return false; if (LubData != other.LubData) return false; + if (UseLubricantTransform != other.UseLubricantTransform) return false; return true; } @@ -230,6 +244,7 @@ namespace Tango.PMR.ColorLab { if (UseLightInks != false) hash ^= UseLightInks.GetHashCode(); if (GbdData.Length != 0) hash ^= GbdData.GetHashCode(); if (LubData.Length != 0) hash ^= LubData.GetHashCode(); + if (UseLubricantTransform != false) hash ^= UseLubricantTransform.GetHashCode(); return hash; } @@ -271,6 +286,10 @@ namespace Tango.PMR.ColorLab { output.WriteRawTag(82); output.WriteBytes(LubData); } + if (UseLubricantTransform != false) { + output.WriteRawTag(88); + output.WriteBool(UseLubricantTransform); + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -300,6 +319,9 @@ namespace Tango.PMR.ColorLab { if (LubData.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeBytesSize(LubData); } + if (UseLubricantTransform != false) { + size += 1 + 1; + } return size; } @@ -332,6 +354,9 @@ namespace Tango.PMR.ColorLab { if (other.LubData.Length != 0) { LubData = other.LubData; } + if (other.UseLubricantTransform != false) { + UseLubricantTransform = other.UseLubricantTransform; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -382,6 +407,10 @@ namespace Tango.PMR.ColorLab { LubData = input.ReadBytes(); break; } + case 88: { + UseLubricantTransform = input.ReadBool(); + break; + } } } } |
