aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/ViewModels
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2021-02-17 23:44:54 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2021-02-17 23:44:54 +0200
commit8dbf9aea30b685b56b2eae2aa490440e3d46d725 (patch)
tree1819d07c6d0e7a66b36db66e8344549b4ebc7ad9 /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/ViewModels
parent6f4a841e55653dbcea859afe617d67f6f9432e9a (diff)
parent6013f5eb39578d46f78c6901058272e9ac31db40 (diff)
downloadTango-8dbf9aea30b685b56b2eae2aa490440e3d46d725.tar.gz
Tango-8dbf9aea30b685b56b2eae2aa490440e3d46d725.zip
Merged BTSR branch.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/ViewModels')
-rw-r--r--Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/ViewModels/MainViewVM.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/ViewModels/MainViewVM.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/ViewModels/MainViewVM.cs
index cadd1fb95..b3e020c85 100644
--- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/ViewModels/MainViewVM.cs
+++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/ViewModels/MainViewVM.cs
@@ -108,6 +108,20 @@ namespace Tango.MachineStudio.RML.ViewModels
set { _spoolTypes = value; RaisePropertyChangedAuto(); }
}
+ private ObservableCollection<BtsrApplicationType> _btsrApplicationTypes;
+ public ObservableCollection<BtsrApplicationType> BtsrApplicationTypes
+ {
+ get { return _btsrApplicationTypes; }
+ set { _btsrApplicationTypes = value; RaisePropertyChangedAuto(); }
+ }
+
+ private ObservableCollection<BtsrYarnType> _btsrYarnTypes;
+ public ObservableCollection<BtsrYarnType> BtsrYarnTypes
+ {
+ get { return _btsrYarnTypes; }
+ set { _btsrYarnTypes = value; RaisePropertyChangedAuto(); }
+ }
+
private Rml _selectedRML;
public Rml SelectedRML
{
@@ -486,6 +500,8 @@ namespace Tango.MachineStudio.RML.ViewModels
FiberShapes = _active_context.FiberShapes.ToObservableCollection();
FiberSynths = _active_context.FiberSynths.ToObservableCollection();
SpoolTypes = _active_context.SpoolTypes.ToObservableCollection();
+ BtsrApplicationTypes = _active_context.BtsrApplicationTypes.ToObservableCollection();
+ BtsrYarnTypes = _active_context.BtsrYarnTypes.ToObservableCollection();
}
private async void AddNewRml()