diff options
| author | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2021-01-24 14:15:05 +0200 |
|---|---|---|
| committer | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2021-01-24 14:15:05 +0200 |
| commit | 9dee3ed11c7e66317bbd49a3eae478869f7d6774 (patch) | |
| tree | 94e15b59991e77a8c2a02387972d732b0d9859f0 /Software/Visual_Studio/Tango.PMR | |
| parent | 120165cf7b7f164d7a4e83dfafb79cecbf2998cb (diff) | |
| download | Tango-9dee3ed11c7e66317bbd49a3eae478869f7d6774.tar.gz Tango-9dee3ed11c7e66317bbd49a3eae478869f7d6774.zip | |
Added bool value "UseLightInks" to "RecommendedProcessTableInput".
Related Work Items: #4376
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR')
| -rw-r--r-- | Software/Visual_Studio/Tango.PMR/ColorLab/RecommendedProcessTableInput.cs | 37 |
1 files changed, 33 insertions, 4 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/ColorLab/RecommendedProcessTableInput.cs b/Software/Visual_Studio/Tango.PMR/ColorLab/RecommendedProcessTableInput.cs index 5ad898dbf..7f51ea62c 100644 --- a/Software/Visual_Studio/Tango.PMR/ColorLab/RecommendedProcessTableInput.cs +++ b/Software/Visual_Studio/Tango.PMR/ColorLab/RecommendedProcessTableInput.cs @@ -24,18 +24,19 @@ namespace Tango.PMR.ColorLab { string.Concat( "CiJSZWNvbW1lbmRlZFByb2Nlc3NUYWJsZUlucHV0LnByb3RvEhJUYW5nby5Q", "TVIuQ29sb3JMYWIaElByb2Nlc3NSYW5nZS5wcm90bxoRSW5wdXRMaXF1aWQu", - "cHJvdG8aF0dyYWRpZW50SW5wdXRTdG9wLnByb3RvIowCChxSZWNvbW1lbmRl", + "cHJvdG8aF0dyYWRpZW50SW5wdXRTdG9wLnByb3RvIqICChxSZWNvbW1lbmRl", "ZFByb2Nlc3NUYWJsZUlucHV0Eg8KB1RocmVhZEwYASABKAESDwoHVGhyZWFk", "QRgCIAEoARIPCgdUaHJlYWRCGAMgASgBEhMKC0ZvcndhcmREYXRhGAQgASgM", "EjQKBVN0b3BzGAUgAygLMiUuVGFuZ28uUE1SLkNvbG9yTGFiLkdyYWRpZW50", "SW5wdXRTdG9wEjUKDElucHV0TGlxdWlkcxgGIAMoCzIfLlRhbmdvLlBNUi5D", "b2xvckxhYi5JbnB1dExpcXVpZBI3Cg1Qcm9jZXNzUmFuZ2VzGAcgAygLMiAu", - "VGFuZ28uUE1SLkNvbG9yTGFiLlByb2Nlc3NSYW5nZUIeChxjb20udHdpbmUu", - "dGFuZ28ucG1yLmNvbG9ybGFiYgZwcm90bzM=")); + "VGFuZ28uUE1SLkNvbG9yTGFiLlByb2Nlc3NSYW5nZRIUCgxVc2VMaWdodElu", + "a3MYCCABKAhCHgocY29tLnR3aW5lLnRhbmdvLnBtci5jb2xvcmxhYmIGcHJv", + "dG8z")); 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" }, 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" }, null, null, null) })); } #endregion @@ -73,6 +74,7 @@ namespace Tango.PMR.ColorLab { stops_ = other.stops_.Clone(); inputLiquids_ = other.inputLiquids_.Clone(); processRanges_ = other.processRanges_.Clone(); + useLightInks_ = other.useLightInks_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -154,6 +156,17 @@ namespace Tango.PMR.ColorLab { get { return processRanges_; } } + /// <summary>Field number for the "UseLightInks" field.</summary> + public const int UseLightInksFieldNumber = 8; + private bool useLightInks_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool UseLightInks { + get { return useLightInks_; } + set { + useLightInks_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as RecommendedProcessTableInput); @@ -174,6 +187,7 @@ namespace Tango.PMR.ColorLab { if(!stops_.Equals(other.stops_)) return false; if(!inputLiquids_.Equals(other.inputLiquids_)) return false; if(!processRanges_.Equals(other.processRanges_)) return false; + if (UseLightInks != other.UseLightInks) return false; return true; } @@ -187,6 +201,7 @@ namespace Tango.PMR.ColorLab { hash ^= stops_.GetHashCode(); hash ^= inputLiquids_.GetHashCode(); hash ^= processRanges_.GetHashCode(); + if (UseLightInks != false) hash ^= UseLightInks.GetHashCode(); return hash; } @@ -216,6 +231,10 @@ namespace Tango.PMR.ColorLab { stops_.WriteTo(output, _repeated_stops_codec); inputLiquids_.WriteTo(output, _repeated_inputLiquids_codec); processRanges_.WriteTo(output, _repeated_processRanges_codec); + if (UseLightInks != false) { + output.WriteRawTag(64); + output.WriteBool(UseLightInks); + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -236,6 +255,9 @@ namespace Tango.PMR.ColorLab { size += stops_.CalculateSize(_repeated_stops_codec); size += inputLiquids_.CalculateSize(_repeated_inputLiquids_codec); size += processRanges_.CalculateSize(_repeated_processRanges_codec); + if (UseLightInks != false) { + size += 1 + 1; + } return size; } @@ -259,6 +281,9 @@ namespace Tango.PMR.ColorLab { stops_.Add(other.stops_); inputLiquids_.Add(other.inputLiquids_); processRanges_.Add(other.processRanges_); + if (other.UseLightInks != false) { + UseLightInks = other.UseLightInks; + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -297,6 +322,10 @@ namespace Tango.PMR.ColorLab { processRanges_.AddEntriesFrom(input, _repeated_processRanges_codec); break; } + case 64: { + UseLightInks = input.ReadBool(); + break; + } } } } |
