aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.BL/ObservablesEntitiesAdapterExtension.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2018-08-04 14:35:57 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2018-08-04 14:35:57 +0300
commitdb9119d86fa9e2efd2c3dfab8ac2c49c2ee4da70 (patch)
tree6edfb51c6fde983291a415b8b19a972b2aa78548 /Software/Visual_Studio/Tango.BL/ObservablesEntitiesAdapterExtension.cs
parent76d311ad4690b9f88ae71ff097c6592190b65012 (diff)
downloadTango-db9119d86fa9e2efd2c3dfab8ac2c49c2ee4da70.tar.gz
Tango-db9119d86fa9e2efd2c3dfab8ac2c49c2ee4da70.zip
Added DB, Observables, PMR Hardware Break Sensors & Break Sensors.
Diffstat (limited to 'Software/Visual_Studio/Tango.BL/ObservablesEntitiesAdapterExtension.cs')
-rw-r--r--Software/Visual_Studio/Tango.BL/ObservablesEntitiesAdapterExtension.cs152
1 files changed, 152 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.BL/ObservablesEntitiesAdapterExtension.cs b/Software/Visual_Studio/Tango.BL/ObservablesEntitiesAdapterExtension.cs
index ceaa4c77c..df7b44539 100644
--- a/Software/Visual_Studio/Tango.BL/ObservablesEntitiesAdapterExtension.cs
+++ b/Software/Visual_Studio/Tango.BL/ObservablesEntitiesAdapterExtension.cs
@@ -917,6 +917,150 @@ namespace Tango.BL
}
+ private ObservableCollection<HardwareBlowerType> _hardwareblowertypes;
+ /// <summary>
+ /// Gets or sets the HardwareBlowerTypes.
+ /// </summary>
+ public ObservableCollection<HardwareBlowerType> HardwareBlowerTypes
+ {
+ get
+ {
+ return _hardwareblowertypes;
+ }
+
+ set
+ {
+ _hardwareblowertypes = value; RaisePropertyChanged(nameof(HardwareBlowerTypes));
+ }
+
+ }
+
+ private ICollectionView _hardwareblowertypesViewSource;
+ /// <summary>
+ /// Gets or sets the HardwareBlowerTypes View Source.
+ ///</summary>
+ public ICollectionView HardwareBlowerTypesViewSource
+ {
+ get
+ {
+ return _hardwareblowertypesViewSource;
+ }
+
+ set
+ {
+ _hardwareblowertypesViewSource = value; RaisePropertyChanged(nameof(HardwareBlowerTypesViewSource));
+ }
+
+ }
+
+ private ObservableCollection<HardwareBlower> _hardwareblowers;
+ /// <summary>
+ /// Gets or sets the HardwareBlowers.
+ /// </summary>
+ public ObservableCollection<HardwareBlower> HardwareBlowers
+ {
+ get
+ {
+ return _hardwareblowers;
+ }
+
+ set
+ {
+ _hardwareblowers = value; RaisePropertyChanged(nameof(HardwareBlowers));
+ }
+
+ }
+
+ private ICollectionView _hardwareblowersViewSource;
+ /// <summary>
+ /// Gets or sets the HardwareBlowers View Source.
+ ///</summary>
+ public ICollectionView HardwareBlowersViewSource
+ {
+ get
+ {
+ return _hardwareblowersViewSource;
+ }
+
+ set
+ {
+ _hardwareblowersViewSource = value; RaisePropertyChanged(nameof(HardwareBlowersViewSource));
+ }
+
+ }
+
+ private ObservableCollection<HardwareBreakSensorType> _hardwarebreaksensortypes;
+ /// <summary>
+ /// Gets or sets the HardwareBreakSensorTypes.
+ /// </summary>
+ public ObservableCollection<HardwareBreakSensorType> HardwareBreakSensorTypes
+ {
+ get
+ {
+ return _hardwarebreaksensortypes;
+ }
+
+ set
+ {
+ _hardwarebreaksensortypes = value; RaisePropertyChanged(nameof(HardwareBreakSensorTypes));
+ }
+
+ }
+
+ private ICollectionView _hardwarebreaksensortypesViewSource;
+ /// <summary>
+ /// Gets or sets the HardwareBreakSensorTypes View Source.
+ ///</summary>
+ public ICollectionView HardwareBreakSensorTypesViewSource
+ {
+ get
+ {
+ return _hardwarebreaksensortypesViewSource;
+ }
+
+ set
+ {
+ _hardwarebreaksensortypesViewSource = value; RaisePropertyChanged(nameof(HardwareBreakSensorTypesViewSource));
+ }
+
+ }
+
+ private ObservableCollection<HardwareBreakSensor> _hardwarebreaksensors;
+ /// <summary>
+ /// Gets or sets the HardwareBreakSensors.
+ /// </summary>
+ public ObservableCollection<HardwareBreakSensor> HardwareBreakSensors
+ {
+ get
+ {
+ return _hardwarebreaksensors;
+ }
+
+ set
+ {
+ _hardwarebreaksensors = value; RaisePropertyChanged(nameof(HardwareBreakSensors));
+ }
+
+ }
+
+ private ICollectionView _hardwarebreaksensorsViewSource;
+ /// <summary>
+ /// Gets or sets the HardwareBreakSensors View Source.
+ ///</summary>
+ public ICollectionView HardwareBreakSensorsViewSource
+ {
+ get
+ {
+ return _hardwarebreaksensorsViewSource;
+ }
+
+ set
+ {
+ _hardwarebreaksensorsViewSource = value; RaisePropertyChanged(nameof(HardwareBreakSensorsViewSource));
+ }
+
+ }
+
private ObservableCollection<HardwareDancerType> _hardwaredancertypes;
/// <summary>
/// Gets or sets the HardwareDancerTypes.
@@ -2665,6 +2809,14 @@ namespace Tango.BL
FiberSynthsViewSource = CreateCollectionView(FiberSynths);
+ HardwareBlowerTypesViewSource = CreateCollectionView(HardwareBlowerTypes);
+
+ HardwareBlowersViewSource = CreateCollectionView(HardwareBlowers);
+
+ HardwareBreakSensorTypesViewSource = CreateCollectionView(HardwareBreakSensorTypes);
+
+ HardwareBreakSensorsViewSource = CreateCollectionView(HardwareBreakSensors);
+
HardwareDancerTypesViewSource = CreateCollectionView(HardwareDancerTypes);
HardwareDancersViewSource = CreateCollectionView(HardwareDancers);