aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.BL
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
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')
-rw-r--r--Software/Visual_Studio/Tango.BL/Entities/HardwareBlower.cs168
-rw-r--r--Software/Visual_Studio/Tango.BL/Entities/HardwareBlowerType.cs123
-rw-r--r--Software/Visual_Studio/Tango.BL/Entities/HardwareBreakSensor.cs168
-rw-r--r--Software/Visual_Studio/Tango.BL/Entities/HardwareBreakSensorType.cs123
-rw-r--r--Software/Visual_Studio/Tango.BL/Entities/HardwareVersion.cs44
-rw-r--r--Software/Visual_Studio/Tango.BL/Enumerations/HardwareBlowerTypes.cs22
-rw-r--r--Software/Visual_Studio/Tango.BL/Enumerations/HardwareBreakSensorTypes.cs22
-rw-r--r--Software/Visual_Studio/Tango.BL/Enumerations/TechMonitors.cs12
-rw-r--r--Software/Visual_Studio/Tango.BL/ObservablesContext.cs32
-rw-r--r--Software/Visual_Studio/Tango.BL/ObservablesEntitiesAdapter.cs8
-rw-r--r--Software/Visual_Studio/Tango.BL/ObservablesEntitiesAdapterExtension.cs152
-rw-r--r--Software/Visual_Studio/Tango.BL/Tango.BL.csproj8
12 files changed, 875 insertions, 7 deletions
diff --git a/Software/Visual_Studio/Tango.BL/Entities/HardwareBlower.cs b/Software/Visual_Studio/Tango.BL/Entities/HardwareBlower.cs
new file mode 100644
index 000000000..afef2c3d7
--- /dev/null
+++ b/Software/Visual_Studio/Tango.BL/Entities/HardwareBlower.cs
@@ -0,0 +1,168 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+// This code was generated by a tool.
+// Tango Observables Generator
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated. Do not modify!
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.ComponentModel.DataAnnotations;
+using System.ComponentModel.DataAnnotations.Schema;
+using System.Xml.Serialization;
+using Newtonsoft.Json;
+using System.Linq;
+using Tango.DAL.Remote.DB;
+
+namespace Tango.BL.Entities
+{
+ [Table("HARDWARE_BLOWERS")]
+ public partial class HardwareBlower : ObservableEntity<HardwareBlower>
+ {
+
+ protected String _hardwareblowertypeguid;
+
+ /// <summary>
+ /// Gets or sets the hardwareblower hardware blower type guid.
+ /// </summary>
+
+ [Column("HARDWARE_BLOWER_TYPE_GUID")]
+ [ForeignKey("HardwareBlowerType")]
+
+ public String HardwareBlowerTypeGuid
+ {
+ get
+ {
+ return _hardwareblowertypeguid;
+ }
+
+ set
+ {
+ _hardwareblowertypeguid = value; RaisePropertyChanged(nameof(HardwareBlowerTypeGuid));
+ }
+
+ }
+
+ protected String _hardwareversionguid;
+
+ /// <summary>
+ /// Gets or sets the hardwareblower hardware version guid.
+ /// </summary>
+
+ [Column("HARDWARE_VERSION_GUID")]
+ [ForeignKey("HardwareVersion")]
+
+ public String HardwareVersionGuid
+ {
+ get
+ {
+ return _hardwareversionguid;
+ }
+
+ set
+ {
+ _hardwareversionguid = value; RaisePropertyChanged(nameof(HardwareVersionGuid));
+ }
+
+ }
+
+ protected Boolean _enabled;
+
+ /// <summary>
+ /// Gets or sets the hardwareblower enabled.
+ /// </summary>
+
+ [Column("ENABLED")]
+
+ public Boolean Enabled
+ {
+ get
+ {
+ return _enabled;
+ }
+
+ set
+ {
+ _enabled = value; RaisePropertyChanged(nameof(Enabled));
+ }
+
+ }
+
+ protected Double _voltage;
+
+ /// <summary>
+ /// Gets or sets the hardwareblower voltage.
+ /// </summary>
+
+ [Column("VOLTAGE")]
+
+ public Double Voltage
+ {
+ get
+ {
+ return _voltage;
+ }
+
+ set
+ {
+ _voltage = value; RaisePropertyChanged(nameof(Voltage));
+ }
+
+ }
+
+ protected HardwareBlowerType _hardwareblowertype;
+
+ /// <summary>
+ /// Gets or sets the hardwareblower hardware blower types.
+ /// </summary>
+
+ [XmlIgnore]
+ [JsonIgnore]
+ public virtual HardwareBlowerType HardwareBlowerType
+ {
+ get
+ {
+ return _hardwareblowertype;
+ }
+
+ set
+ {
+ _hardwareblowertype = value; RaisePropertyChanged(nameof(HardwareBlowerType));
+ }
+
+ }
+
+ protected HardwareVersion _hardwareversion;
+
+ /// <summary>
+ /// Gets or sets the hardwareblower hardware versions.
+ /// </summary>
+
+ [XmlIgnore]
+ [JsonIgnore]
+ public virtual HardwareVersion HardwareVersion
+ {
+ get
+ {
+ return _hardwareversion;
+ }
+
+ set
+ {
+ _hardwareversion = value; RaisePropertyChanged(nameof(HardwareVersion));
+ }
+
+ }
+
+ /// <summary>
+ /// Initializes a new instance of the <see cref="HardwareBlower" /> class.
+ /// </summary>
+ public HardwareBlower() : base()
+ {
+ }
+ }
+}
diff --git a/Software/Visual_Studio/Tango.BL/Entities/HardwareBlowerType.cs b/Software/Visual_Studio/Tango.BL/Entities/HardwareBlowerType.cs
new file mode 100644
index 000000000..5bfdf6515
--- /dev/null
+++ b/Software/Visual_Studio/Tango.BL/Entities/HardwareBlowerType.cs
@@ -0,0 +1,123 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+// This code was generated by a tool.
+// Tango Observables Generator
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated. Do not modify!
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.ComponentModel.DataAnnotations;
+using System.ComponentModel.DataAnnotations.Schema;
+using System.Xml.Serialization;
+using Newtonsoft.Json;
+using System.Linq;
+using Tango.DAL.Remote.DB;
+
+namespace Tango.BL.Entities
+{
+ [Table("HARDWARE_BLOWER_TYPES")]
+ public partial class HardwareBlowerType : ObservableEntity<HardwareBlowerType>
+ {
+
+ protected Int32 _code;
+
+ /// <summary>
+ /// Gets or sets the hardwareblowertype code.
+ /// </summary>
+
+ [Column("CODE")]
+
+ public Int32 Code
+ {
+ get
+ {
+ return _code;
+ }
+
+ set
+ {
+ _code = value; RaisePropertyChanged(nameof(Code));
+ }
+
+ }
+
+ protected String _name;
+
+ /// <summary>
+ /// Gets or sets the hardwareblowertype name.
+ /// </summary>
+
+ [Column("NAME")]
+
+ public String Name
+ {
+ get
+ {
+ return _name;
+ }
+
+ set
+ {
+ _name = value; RaisePropertyChanged(nameof(Name));
+ }
+
+ }
+
+ protected String _description;
+
+ /// <summary>
+ /// Gets or sets the hardwareblowertype description.
+ /// </summary>
+
+ [Column("DESCRIPTION")]
+
+ public String Description
+ {
+ get
+ {
+ return _description;
+ }
+
+ set
+ {
+ _description = value; RaisePropertyChanged(nameof(Description));
+ }
+
+ }
+
+ protected ObservableCollection<HardwareBlower> _hardwareblowers;
+
+ /// <summary>
+ /// Gets or sets the hardwareblowertype hardware blowers.
+ /// </summary>
+
+ public virtual ObservableCollection<HardwareBlower> HardwareBlowers
+ {
+ get
+ {
+ return _hardwareblowers;
+ }
+
+ set
+ {
+ _hardwareblowers = value; RaisePropertyChanged(nameof(HardwareBlowers));
+ }
+
+ }
+
+ /// <summary>
+ /// Initializes a new instance of the <see cref="HardwareBlowerType" /> class.
+ /// </summary>
+ public HardwareBlowerType() : base()
+ {
+
+ HardwareBlowers = new ObservableCollection<HardwareBlower>();
+
+ }
+ }
+}
diff --git a/Software/Visual_Studio/Tango.BL/Entities/HardwareBreakSensor.cs b/Software/Visual_Studio/Tango.BL/Entities/HardwareBreakSensor.cs
new file mode 100644
index 000000000..f2bdf4f89
--- /dev/null
+++ b/Software/Visual_Studio/Tango.BL/Entities/HardwareBreakSensor.cs
@@ -0,0 +1,168 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+// This code was generated by a tool.
+// Tango Observables Generator
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated. Do not modify!
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.ComponentModel.DataAnnotations;
+using System.ComponentModel.DataAnnotations.Schema;
+using System.Xml.Serialization;
+using Newtonsoft.Json;
+using System.Linq;
+using Tango.DAL.Remote.DB;
+
+namespace Tango.BL.Entities
+{
+ [Table("HARDWARE_BREAK_SENSORS")]
+ public partial class HardwareBreakSensor : ObservableEntity<HardwareBreakSensor>
+ {
+
+ protected String _hardwarebreaksensortypeguid;
+
+ /// <summary>
+ /// Gets or sets the hardwarebreaksensor hardware break sensor type guid.
+ /// </summary>
+
+ [Column("HARDWARE_BREAK_SENSOR_TYPE_GUID")]
+ [ForeignKey("HardwareBreakSensorType")]
+
+ public String HardwareBreakSensorTypeGuid
+ {
+ get
+ {
+ return _hardwarebreaksensortypeguid;
+ }
+
+ set
+ {
+ _hardwarebreaksensortypeguid = value; RaisePropertyChanged(nameof(HardwareBreakSensorTypeGuid));
+ }
+
+ }
+
+ protected String _hardwareversionguid;
+
+ /// <summary>
+ /// Gets or sets the hardwarebreaksensor hardware version guid.
+ /// </summary>
+
+ [Column("HARDWARE_VERSION_GUID")]
+ [ForeignKey("HardwareVersion")]
+
+ public String HardwareVersionGuid
+ {
+ get
+ {
+ return _hardwareversionguid;
+ }
+
+ set
+ {
+ _hardwareversionguid = value; RaisePropertyChanged(nameof(HardwareVersionGuid));
+ }
+
+ }
+
+ protected Boolean _enabled;
+
+ /// <summary>
+ /// Gets or sets the hardwarebreaksensor enabled.
+ /// </summary>
+
+ [Column("ENABLED")]
+
+ public Boolean Enabled
+ {
+ get
+ {
+ return _enabled;
+ }
+
+ set
+ {
+ _enabled = value; RaisePropertyChanged(nameof(Enabled));
+ }
+
+ }
+
+ protected Int32 _debouncetimemilli;
+
+ /// <summary>
+ /// Gets or sets the hardwarebreaksensor de bounce time milli.
+ /// </summary>
+
+ [Column("DE_BOUNCE_TIME_MILLI")]
+
+ public Int32 DeBounceTimeMilli
+ {
+ get
+ {
+ return _debouncetimemilli;
+ }
+
+ set
+ {
+ _debouncetimemilli = value; RaisePropertyChanged(nameof(DeBounceTimeMilli));
+ }
+
+ }
+
+ protected HardwareBreakSensorType _hardwarebreaksensortype;
+
+ /// <summary>
+ /// Gets or sets the hardwarebreaksensor hardware break sensor types.
+ /// </summary>
+
+ [XmlIgnore]
+ [JsonIgnore]
+ public virtual HardwareBreakSensorType HardwareBreakSensorType
+ {
+ get
+ {
+ return _hardwarebreaksensortype;
+ }
+
+ set
+ {
+ _hardwarebreaksensortype = value; RaisePropertyChanged(nameof(HardwareBreakSensorType));
+ }
+
+ }
+
+ protected HardwareVersion _hardwareversion;
+
+ /// <summary>
+ /// Gets or sets the hardwarebreaksensor hardware versions.
+ /// </summary>
+
+ [XmlIgnore]
+ [JsonIgnore]
+ public virtual HardwareVersion HardwareVersion
+ {
+ get
+ {
+ return _hardwareversion;
+ }
+
+ set
+ {
+ _hardwareversion = value; RaisePropertyChanged(nameof(HardwareVersion));
+ }
+
+ }
+
+ /// <summary>
+ /// Initializes a new instance of the <see cref="HardwareBreakSensor" /> class.
+ /// </summary>
+ public HardwareBreakSensor() : base()
+ {
+ }
+ }
+}
diff --git a/Software/Visual_Studio/Tango.BL/Entities/HardwareBreakSensorType.cs b/Software/Visual_Studio/Tango.BL/Entities/HardwareBreakSensorType.cs
new file mode 100644
index 000000000..c1d306e5b
--- /dev/null
+++ b/Software/Visual_Studio/Tango.BL/Entities/HardwareBreakSensorType.cs
@@ -0,0 +1,123 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+// This code was generated by a tool.
+// Tango Observables Generator
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated. Do not modify!
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.ComponentModel.DataAnnotations;
+using System.ComponentModel.DataAnnotations.Schema;
+using System.Xml.Serialization;
+using Newtonsoft.Json;
+using System.Linq;
+using Tango.DAL.Remote.DB;
+
+namespace Tango.BL.Entities
+{
+ [Table("HARDWARE_BREAK_SENSOR_TYPES")]
+ public partial class HardwareBreakSensorType : ObservableEntity<HardwareBreakSensorType>
+ {
+
+ protected Int32 _code;
+
+ /// <summary>
+ /// Gets or sets the hardwarebreaksensortype code.
+ /// </summary>
+
+ [Column("CODE")]
+
+ public Int32 Code
+ {
+ get
+ {
+ return _code;
+ }
+
+ set
+ {
+ _code = value; RaisePropertyChanged(nameof(Code));
+ }
+
+ }
+
+ protected String _name;
+
+ /// <summary>
+ /// Gets or sets the hardwarebreaksensortype name.
+ /// </summary>
+
+ [Column("NAME")]
+
+ public String Name
+ {
+ get
+ {
+ return _name;
+ }
+
+ set
+ {
+ _name = value; RaisePropertyChanged(nameof(Name));
+ }
+
+ }
+
+ protected String _description;
+
+ /// <summary>
+ /// Gets or sets the hardwarebreaksensortype description.
+ /// </summary>
+
+ [Column("DESCRIPTION")]
+
+ public String Description
+ {
+ get
+ {
+ return _description;
+ }
+
+ set
+ {
+ _description = value; RaisePropertyChanged(nameof(Description));
+ }
+
+ }
+
+ protected ObservableCollection<HardwareBreakSensor> _hardwarebreaksensors;
+
+ /// <summary>
+ /// Gets or sets the hardwarebreaksensortype hardware break sensors.
+ /// </summary>
+
+ public virtual ObservableCollection<HardwareBreakSensor> HardwareBreakSensors
+ {
+ get
+ {
+ return _hardwarebreaksensors;
+ }
+
+ set
+ {
+ _hardwarebreaksensors = value; RaisePropertyChanged(nameof(HardwareBreakSensors));
+ }
+
+ }
+
+ /// <summary>
+ /// Initializes a new instance of the <see cref="HardwareBreakSensorType" /> class.
+ /// </summary>
+ public HardwareBreakSensorType() : base()
+ {
+
+ HardwareBreakSensors = new ObservableCollection<HardwareBreakSensor>();
+
+ }
+ }
+}
diff --git a/Software/Visual_Studio/Tango.BL/Entities/HardwareVersion.cs b/Software/Visual_Studio/Tango.BL/Entities/HardwareVersion.cs
index 4d06de0e1..9641896d9 100644
--- a/Software/Visual_Studio/Tango.BL/Entities/HardwareVersion.cs
+++ b/Software/Visual_Studio/Tango.BL/Entities/HardwareVersion.cs
@@ -88,6 +88,46 @@ namespace Tango.BL.Entities
}
+ protected ObservableCollection<HardwareBlower> _hardwareblowers;
+
+ /// <summary>
+ /// Gets or sets the hardwareversion hardware blowers.
+ /// </summary>
+
+ public virtual ObservableCollection<HardwareBlower> HardwareBlowers
+ {
+ get
+ {
+ return _hardwareblowers;
+ }
+
+ set
+ {
+ _hardwareblowers = value; RaisePropertyChanged(nameof(HardwareBlowers));
+ }
+
+ }
+
+ protected ObservableCollection<HardwareBreakSensor> _hardwarebreaksensors;
+
+ /// <summary>
+ /// Gets or sets the hardwareversion hardware break sensors.
+ /// </summary>
+
+ public virtual ObservableCollection<HardwareBreakSensor> HardwareBreakSensors
+ {
+ get
+ {
+ return _hardwarebreaksensors;
+ }
+
+ set
+ {
+ _hardwarebreaksensors = value; RaisePropertyChanged(nameof(HardwareBreakSensors));
+ }
+
+ }
+
protected ObservableCollection<HardwareDancer> _hardwaredancers;
/// <summary>
@@ -196,6 +236,10 @@ namespace Tango.BL.Entities
Configurations = new ObservableCollection<Configuration>();
+ HardwareBlowers = new ObservableCollection<HardwareBlower>();
+
+ HardwareBreakSensors = new ObservableCollection<HardwareBreakSensor>();
+
HardwareDancers = new ObservableCollection<HardwareDancer>();
HardwareMotors = new ObservableCollection<HardwareMotor>();
diff --git a/Software/Visual_Studio/Tango.BL/Enumerations/HardwareBlowerTypes.cs b/Software/Visual_Studio/Tango.BL/Enumerations/HardwareBlowerTypes.cs
new file mode 100644
index 000000000..0f8b447fd
--- /dev/null
+++ b/Software/Visual_Studio/Tango.BL/Enumerations/HardwareBlowerTypes.cs
@@ -0,0 +1,22 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+// This code was generated by a tool.
+// Tango Observables Generator
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated. Do not modify!
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using System.ComponentModel;
+
+namespace Tango.BL.Enumerations
+{
+ public enum HardwareBlowerTypes
+ {
+ }
+}
diff --git a/Software/Visual_Studio/Tango.BL/Enumerations/HardwareBreakSensorTypes.cs b/Software/Visual_Studio/Tango.BL/Enumerations/HardwareBreakSensorTypes.cs
new file mode 100644
index 000000000..a43869bf5
--- /dev/null
+++ b/Software/Visual_Studio/Tango.BL/Enumerations/HardwareBreakSensorTypes.cs
@@ -0,0 +1,22 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+// This code was generated by a tool.
+// Tango Observables Generator
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated. Do not modify!
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using System.ComponentModel;
+
+namespace Tango.BL.Enumerations
+{
+ public enum HardwareBreakSensorTypes
+ {
+ }
+}
diff --git a/Software/Visual_Studio/Tango.BL/Enumerations/TechMonitors.cs b/Software/Visual_Studio/Tango.BL/Enumerations/TechMonitors.cs
index c73105b9f..79e578f43 100644
--- a/Software/Visual_Studio/Tango.BL/Enumerations/TechMonitors.cs
+++ b/Software/Visual_Studio/Tango.BL/Enumerations/TechMonitors.cs
@@ -26,21 +26,21 @@ namespace Tango.BL.Enumerations
ChillerTemperature = 27,
/// <summary>
- /// (Dancer 1)
+ /// (Left Dancer)
/// </summary>
- [Description("Dancer 1")]
+ [Description("Left Dancer")]
Dancer1Angle = 0,
/// <summary>
- /// (Dancer 2)
+ /// (Middle Dancer)
/// </summary>
- [Description("Dancer 2")]
+ [Description("Middle Dancer")]
Dancer2Angle = 1,
/// <summary>
- /// (Dancer 3)
+ /// (Right Dancer)
/// </summary>
- [Description("Dancer 3")]
+ [Description("Right Dancer")]
Dancer3Angle = 2,
/// <summary>
diff --git a/Software/Visual_Studio/Tango.BL/ObservablesContext.cs b/Software/Visual_Studio/Tango.BL/ObservablesContext.cs
index 48e0e0151..5c20899e9 100644
--- a/Software/Visual_Studio/Tango.BL/ObservablesContext.cs
+++ b/Software/Visual_Studio/Tango.BL/ObservablesContext.cs
@@ -223,6 +223,38 @@ namespace Tango.BL
}
/// <summary>
+ /// Gets or sets the HardwareBlowerTypes.
+ /// </summary>
+ public DbSet<HardwareBlowerType> HardwareBlowerTypes
+ {
+ get; set;
+ }
+
+ /// <summary>
+ /// Gets or sets the HardwareBlowers.
+ /// </summary>
+ public DbSet<HardwareBlower> HardwareBlowers
+ {
+ get; set;
+ }
+
+ /// <summary>
+ /// Gets or sets the HardwareBreakSensorTypes.
+ /// </summary>
+ public DbSet<HardwareBreakSensorType> HardwareBreakSensorTypes
+ {
+ get; set;
+ }
+
+ /// <summary>
+ /// Gets or sets the HardwareBreakSensors.
+ /// </summary>
+ public DbSet<HardwareBreakSensor> HardwareBreakSensors
+ {
+ get; set;
+ }
+
+ /// <summary>
/// Gets or sets the HardwareDancerTypes.
/// </summary>
public DbSet<HardwareDancerType> HardwareDancerTypes
diff --git a/Software/Visual_Studio/Tango.BL/ObservablesEntitiesAdapter.cs b/Software/Visual_Studio/Tango.BL/ObservablesEntitiesAdapter.cs
index b8736f856..bc939259d 100644
--- a/Software/Visual_Studio/Tango.BL/ObservablesEntitiesAdapter.cs
+++ b/Software/Visual_Studio/Tango.BL/ObservablesEntitiesAdapter.cs
@@ -304,6 +304,14 @@ namespace Tango.BL
HardwareSpeedSensors = Context.HardwareSpeedSensors.ToObservableCollection();
+ HardwareBlowerTypes = Context.HardwareBlowerTypes.ToObservableCollection();
+
+ HardwareBlowers = Context.HardwareBlowers.ToObservableCollection();
+
+ HardwareBreakSensorTypes = Context.HardwareBreakSensorTypes.ToObservableCollection();
+
+ HardwareBreakSensors = Context.HardwareBreakSensors.ToObservableCollection();
+
HtmlPages = Context.HtmlPages.ToObservableCollection();
Customers = Context.Customers.ToObservableCollection();
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);
diff --git a/Software/Visual_Studio/Tango.BL/Tango.BL.csproj b/Software/Visual_Studio/Tango.BL/Tango.BL.csproj
index 58767ea88..dccfd8bcd 100644
--- a/Software/Visual_Studio/Tango.BL/Tango.BL.csproj
+++ b/Software/Visual_Studio/Tango.BL/Tango.BL.csproj
@@ -102,6 +102,10 @@
<Compile Include="Entities\Customer.cs" />
<Compile Include="Entities\EventTypesCategory.cs" />
<Compile Include="Entities\EventTypesGroup.cs" />
+ <Compile Include="Entities\HardwareBlower.cs" />
+ <Compile Include="Entities\HardwareBlowerType.cs" />
+ <Compile Include="Entities\HardwareBreakSensor.cs" />
+ <Compile Include="Entities\HardwareBreakSensorType.cs" />
<Compile Include="Entities\HardwareSpeedSensor.cs" />
<Compile Include="Entities\HardwareSpeedSensorType.cs" />
<Compile Include="Entities\HtmlPage.cs" />
@@ -119,6 +123,8 @@
<Compile Include="Enumerations\FiberSynths.cs" />
<Compile Include="Enumerations\FineTuningStatuses.cs" />
<Compile Include="Enumerations\Graphs.cs" />
+ <Compile Include="Enumerations\HardwareBlowerTypes.cs" />
+ <Compile Include="Enumerations\HardwareBreakSensorTypes.cs" />
<Compile Include="Enumerations\HardwareDancerTypes.cs" />
<Compile Include="Enumerations\HardwareMotorTypes.cs" />
<Compile Include="Enumerations\HardwarePidControlTypes.cs" />
@@ -316,7 +322,7 @@
</Target>
<ProjectExtensions>
<VisualStudio>
- <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" />
+ <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" />
</VisualStudio>
</ProjectExtensions>
</Project> \ No newline at end of file