aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.BL/ObservablesStaticCollectionsExtension.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2021-02-15 17:19:40 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2021-02-15 17:19:40 +0200
commit2bfa60ab677ec1da8f968614015ac0147694d31e (patch)
tree3af8f956cc678961ae69cf4813a7d3f7c762c0df /Software/Visual_Studio/Tango.BL/ObservablesStaticCollectionsExtension.cs
parent8a4a7818428d7b203cb28082c720c74831b2165f (diff)
downloadTango-2bfa60ab677ec1da8f968614015ac0147694d31e.tar.gz
Tango-2bfa60ab677ec1da8f968614015ac0147694d31e.zip
BTSR DB, BL & PMR.
Diffstat (limited to 'Software/Visual_Studio/Tango.BL/ObservablesStaticCollectionsExtension.cs')
-rw-r--r--Software/Visual_Studio/Tango.BL/ObservablesStaticCollectionsExtension.cs76
1 files changed, 76 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.BL/ObservablesStaticCollectionsExtension.cs b/Software/Visual_Studio/Tango.BL/ObservablesStaticCollectionsExtension.cs
index de6e5f0a1..49679267e 100644
--- a/Software/Visual_Studio/Tango.BL/ObservablesStaticCollectionsExtension.cs
+++ b/Software/Visual_Studio/Tango.BL/ObservablesStaticCollectionsExtension.cs
@@ -269,6 +269,78 @@ namespace Tango.BL
}
+ private ObservableCollection<BtsrApplicationType> _btsrapplicationtypes;
+ /// <summary>
+ /// Gets or sets the BtsrApplicationTypes.
+ /// </summary>
+ public ObservableCollection<BtsrApplicationType> BtsrApplicationTypes
+ {
+ get
+ {
+ return _btsrapplicationtypes;
+ }
+
+ set
+ {
+ _btsrapplicationtypes = value; RaisePropertyChanged(nameof(BtsrApplicationTypes));
+ }
+
+ }
+
+ private ICollectionView _btsrapplicationtypesViewSource;
+ /// <summary>
+ /// Gets or sets the BtsrApplicationTypes View Source.
+ ///</summary>
+ public ICollectionView BtsrApplicationTypesViewSource
+ {
+ get
+ {
+ return _btsrapplicationtypesViewSource;
+ }
+
+ set
+ {
+ _btsrapplicationtypesViewSource = value; RaisePropertyChanged(nameof(BtsrApplicationTypesViewSource));
+ }
+
+ }
+
+ private ObservableCollection<BtsrYarnType> _btsryarntypes;
+ /// <summary>
+ /// Gets or sets the BtsrYarnTypes.
+ /// </summary>
+ public ObservableCollection<BtsrYarnType> BtsrYarnTypes
+ {
+ get
+ {
+ return _btsryarntypes;
+ }
+
+ set
+ {
+ _btsryarntypes = value; RaisePropertyChanged(nameof(BtsrYarnTypes));
+ }
+
+ }
+
+ private ICollectionView _btsryarntypesViewSource;
+ /// <summary>
+ /// Gets or sets the BtsrYarnTypes View Source.
+ ///</summary>
+ public ICollectionView BtsrYarnTypesViewSource
+ {
+ get
+ {
+ return _btsryarntypesViewSource;
+ }
+
+ set
+ {
+ _btsryarntypesViewSource = value; RaisePropertyChanged(nameof(BtsrYarnTypesViewSource));
+ }
+
+ }
+
private ObservableCollection<CartridgeType> _cartridgetypes;
/// <summary>
/// Gets or sets the CartridgeTypes.
@@ -3133,6 +3205,10 @@ namespace Tango.BL
BrushStopsViewSource = CreateCollectionView(BrushStops);
+ BtsrApplicationTypesViewSource = CreateCollectionView(BtsrApplicationTypes);
+
+ BtsrYarnTypesViewSource = CreateCollectionView(BtsrYarnTypes);
+
CartridgeTypesViewSource = CreateCollectionView(CartridgeTypes);
CatsViewSource = CreateCollectionView(Cats);