diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.BL/Entities/RmlsSpoolBase.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.BL/Entities/RmlsSpoolBase.cs | 327 |
1 files changed, 0 insertions, 327 deletions
diff --git a/Software/Visual_Studio/Tango.BL/Entities/RmlsSpoolBase.cs b/Software/Visual_Studio/Tango.BL/Entities/RmlsSpoolBase.cs deleted file mode 100644 index fee4ef6b4..000000000 --- a/Software/Visual_Studio/Tango.BL/Entities/RmlsSpoolBase.cs +++ /dev/null @@ -1,327 +0,0 @@ -//------------------------------------------------------------------------------ -// <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; -using Tango.Core; -using System.ComponentModel; -using Tango.Core.CustomAttributes; - -namespace Tango.BL.Entities -{ - [Table("RMLS_SPOOLS")] - public abstract class RmlsSpoolBase : ObservableEntity<RmlsSpool> - { - - public event EventHandler<Nullable<Double>> RotationsPerPassageChanged; - - public event EventHandler<Nullable<Double>> LengthChanged; - - public event EventHandler<Nullable<Int32>> BackingRateChanged; - - public event EventHandler<Nullable<Int32>> BottomBackingRateChanged; - - public event EventHandler<Rml> RmlChanged; - - public event EventHandler<SpoolType> SpoolTypeChanged; - - protected String _spooltypeguid; - - /// <summary> - /// Gets or sets the rmlsspoolbase spool type guid. - /// </summary> - - [Column("SPOOL_TYPE_GUID")] - [ForeignKey("SpoolType")] - - public String SpoolTypeGuid - { - get - { - return _spooltypeguid; - } - - set - { - if (_spooltypeguid != value) - { - _spooltypeguid = value; - - } - } - } - - protected String _rmlguid; - - /// <summary> - /// Gets or sets the rmlsspoolbase rml guid. - /// </summary> - - [Column("RML_GUID")] - [ForeignKey("Rml")] - - public String RmlGuid - { - get - { - return _rmlguid; - } - - set - { - if (_rmlguid != value) - { - _rmlguid = value; - - } - } - } - - protected Nullable<Double> _rotationsperpassage; - - /// <summary> - /// Gets or sets the rmlsspoolbase rotations per passage. - /// </summary> - - [Column("ROTATIONS_PER_PASSAGE")] - - public Nullable<Double> RotationsPerPassage - { - get - { - return _rotationsperpassage; - } - - set - { - if (_rotationsperpassage != value) - { - _rotationsperpassage = value; - - OnRotationsPerPassageChanged(value); - - } - } - } - - protected Nullable<Double> _length; - - /// <summary> - /// Gets or sets the rmlsspoolbase length. - /// </summary> - - [Column("LENGTH")] - - public Nullable<Double> Length - { - get - { - return _length; - } - - set - { - if (_length != value) - { - _length = value; - - OnLengthChanged(value); - - } - } - } - - protected Nullable<Int32> _backingrate; - - /// <summary> - /// Gets or sets the rmlsspoolbase backing rate. - /// </summary> - - [Column("BACKING_RATE")] - - public Nullable<Int32> BackingRate - { - get - { - return _backingrate; - } - - set - { - if (_backingrate != value) - { - _backingrate = value; - - OnBackingRateChanged(value); - - } - } - } - - protected Nullable<Int32> _bottombackingrate; - - /// <summary> - /// Gets or sets the rmlsspoolbase bottom backing rate. - /// </summary> - - [Column("BOTTOM_BACKING_RATE")] - - public Nullable<Int32> BottomBackingRate - { - get - { - return _bottombackingrate; - } - - set - { - if (_bottombackingrate != value) - { - _bottombackingrate = value; - - OnBottomBackingRateChanged(value); - - } - } - } - - protected Rml _rml; - - /// <summary> - /// Gets or sets the rmlsspoolbase rml. - /// </summary> - - [XmlIgnore] - [JsonIgnore] - public virtual Rml Rml - { - get - { - return _rml; - } - - set - { - if (_rml != value) - { - _rml = value; - - if (Rml != null) - { - RmlGuid = Rml.Guid; - } - - OnRmlChanged(value); - - } - } - } - - protected SpoolType _spooltype; - - /// <summary> - /// Gets or sets the rmlsspoolbase spool types. - /// </summary> - - [XmlIgnore] - [JsonIgnore] - public virtual SpoolType SpoolType - { - get - { - return _spooltype; - } - - set - { - if (_spooltype != value) - { - _spooltype = value; - - if (SpoolType != null) - { - SpoolTypeGuid = SpoolType.Guid; - } - - OnSpoolTypeChanged(value); - - } - } - } - - /// <summary> - /// Called when the RotationsPerPassage has changed. - /// </summary> - protected virtual void OnRotationsPerPassageChanged(Nullable<Double> rotationsperpassage) - { - RotationsPerPassageChanged?.Invoke(this, rotationsperpassage); - RaisePropertyChanged(nameof(RotationsPerPassage)); - } - - /// <summary> - /// Called when the Length has changed. - /// </summary> - protected virtual void OnLengthChanged(Nullable<Double> length) - { - LengthChanged?.Invoke(this, length); - RaisePropertyChanged(nameof(Length)); - } - - /// <summary> - /// Called when the BackingRate has changed. - /// </summary> - protected virtual void OnBackingRateChanged(Nullable<Int32> backingrate) - { - BackingRateChanged?.Invoke(this, backingrate); - RaisePropertyChanged(nameof(BackingRate)); - } - - /// <summary> - /// Called when the BottomBackingRate has changed. - /// </summary> - protected virtual void OnBottomBackingRateChanged(Nullable<Int32> bottombackingrate) - { - BottomBackingRateChanged?.Invoke(this, bottombackingrate); - RaisePropertyChanged(nameof(BottomBackingRate)); - } - - /// <summary> - /// Called when the Rml has changed. - /// </summary> - protected virtual void OnRmlChanged(Rml rml) - { - RmlChanged?.Invoke(this, rml); - RaisePropertyChanged(nameof(Rml)); - } - - /// <summary> - /// Called when the SpoolType has changed. - /// </summary> - protected virtual void OnSpoolTypeChanged(SpoolType spooltype) - { - SpoolTypeChanged?.Invoke(this, spooltype); - RaisePropertyChanged(nameof(SpoolType)); - } - - /// <summary> - /// Initializes a new instance of the <see cref="RmlsSpoolBase" /> class. - /// </summary> - public RmlsSpoolBase() : base() - { - } - } -} |
