diff options
| author | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2019-05-23 19:18:54 +0300 |
|---|---|---|
| committer | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2019-05-23 19:18:54 +0300 |
| commit | 9d4e765f260c6a3647a94dab12b2179501be6ed3 (patch) | |
| tree | 5231a836548086cc5bca5ecbf5b41fce435693f4 /Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels | |
| parent | f02ddd283ed9566f0064ceecaf79702303991e2b (diff) | |
| parent | 3941475bb5a93b271ece22aadd8936f66758173a (diff) | |
| download | Tango-9d4e765f260c6a3647a94dab12b2179501be6ed3.tar.gz Tango-9d4e765f260c6a3647a94dab12b2179501be6ed3.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels')
| -rw-r--r-- | Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobsViewVM.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobsViewVM.cs b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobsViewVM.cs index 08d135e21..c89db820d 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobsViewVM.cs +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobsViewVM.cs @@ -417,7 +417,10 @@ namespace Tango.PPC.Jobs.ViewModels { vm.SupportedColorSpaces = new List<ColorSpaces>() { ColorSpaces.RGB }; vm.SelectedColorSpace = vm.SupportedColorSpaces.First(); + } + if (twnFile != null) + { vm.SupportedJobTypes = new List<JobTypes>() { JobTypes.Embroidery }; vm.SelectedJobType = vm.SupportedJobTypes.First(); } @@ -468,6 +471,7 @@ namespace Tango.PPC.Jobs.ViewModels else { job.AddSolidSegment(colorProfile.Value, machine.DefaultSegmentLength > 0 ? machine.DefaultSegmentLength : 100); + job.Name = $"SnapMatch {colorProfile.Value.R}, {colorProfile.Value.G}, {colorProfile.Value.B}"; } if (twnFile != null) |
