aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Web/Tango.MachineService/Models/Person.cs
blob: c54d44e8fd1f5f0c15103a7517a9332c27d35976 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Tango.MachineService.Models
{
    public class Person
    {
        public String FirstName { get; set; }

        public String LastName { get; set; }
    }
}
//------------------------------------------------------------------------------
// <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")]
    public abstract class RmlBase : ObservableEntity<Rml>
    {

        public event EventHandler<String> NameChanged;

        public event EventHandler<String> DisplayNameChanged;

        public event EventHandler<String> ManufacturerChanged;

        public event EventHandler<Int32> CodeChanged;

        public event EventHandler<Double> WhitePointLChanged;

        public event EventHandler<Double> WhitePointAChanged;

        public event EventHandler<Double> WhitePointBChanged;

        public event EventHandler<Double> FiberSizeChanged;

        public event EventHandler<Int32> NumberOfFibersChanged;

        public event EventHandler<Int32> PliesPerFiberChanged;

        public event EventHandler<Int32> PliesPerThreadChanged;

        public event EventHandler<Boolean> TwistedChanged;

        public event EventHandler<Boolean> AirEntanglementChanged;

        public event EventHandler<Boolean> LubricantChanged;

        public event EventHandler<Double> TensileStrengthChanged;

        public event EventHandler<Double> ElongationAtBreakPercentageChanged;

        public event EventHandler<Double> EstimatedThreadDiameterChanged;

        public event EventHandler<Int32> RankChanged;

        public event EventHandler<Byte[]> ThumbnailChanged;

        public event EventHandler<Int32> ColorConversionVersionChanged;

        public event EventHandler<Boolean> UseColorLibGradientsChanged;

        public event EventHandler<Boolean> UseLightInksChanged;

        public event EventHandler<Boolean> UseLubricantTransformChanged;

        public event EventHandler<Int32> HeadTypeChanged;

        public event EventHandler<Int32> QualificationLevelChanged;

        public event EventHandler<Nullable<DateTime>> QualificationDateChanged;

        public event EventHandler<String> SpoolsCalibrationsStringChanged;

        public event EventHandler<Int32> FeederPChanged;

        public event EventHandler<Int32> FeederIChanged;

        public event EventHandler<Int32> FeederDChanged;

        public event EventHandler<Int32> PullerPChanged;

        public event EventHandler<Int32> PullerIChanged;

        public event EventHandler<Int32> PullerDChanged;

        public event EventHandler<Int32> WinderPChanged;

        public event EventHandler<Int32> WinderIChanged;

        public event EventHandler<Int32> WinderDChanged;

        public event EventHandler<Boolean> BypassRockersChanged;

        public event EventHandler<Int32> CleanerFlowChanged;

        public event EventHandler<Double> ArcHeadCleaningMotorSpeedChanged;

        public event EventHandler<Double> VMaxChanged;

        public event EventHandler<Double> BtsrTensionErrorChanged;

        public event EventHandler<BtsrApplicationType> BtsrApplicationTypeChanged;

        public event EventHandler<BtsrYarnType> BtsrYarnTypeChanged;

        public event EventHandler<SynchronizedObservableCollection<Cat>> CatsChanged;

        public event EventHandler<Cct> CctChanged;

        public event EventHandler<SynchronizedObservableCollection<ColorCatalogsItemsRecipe>> ColorCatalogsItemsRecipesChanged;

        public event EventHandler<FiberShape> FiberShapeChanged;

        public event EventHandler<FiberSynth> FiberSynthChanged;

        public event EventHandler<Gbd> GbdChanged;

        public event EventHandler<SynchronizedObservableCollection<Job>> JobsChanged;

        public event EventHandler<LinearMassDensityUnit> LinearMassDensityUnitChanged;

        public event EventHandler<SynchronizedObservableCollection<LiquidTypesRml>> LiquidTypesRmlsChanged;

        public event EventHandler<Lub> LubChanged;

        public event EventHandler<MediaCondition> MediaConditionChanged;

        public event EventHandler<MediaMaterial> MediaMaterialChanged;

        public event EventHandler<MediaPurpos> MediaPurposeChanged;

        public event EventHandler<SynchronizedObservableCollection<ProcessParametersTablesGroup>> ProcessParametersTablesGroupsChanged;

        public event EventHandler<SynchronizedObservableCollection<RmlsExtension>> RmlsExtensionsChanged;

        public event EventHandler<SynchronizedObservableCollection<RmlsSpool>> RmlsSpoolsChanged;

        public event EventHandler<SynchronizedObservableCollection<SitesRml>> SitesRmlsChanged;

        protected String _name;

        /// <summary>
        /// Gets or sets the rmlbase name.
        /// </summary>

        [Column("NAME")]

        public  String Name
        {
            get 
            {
                return _name; 
            }

            set 
            {
                if (_name != value)
                {
                    _name = value;

                    OnNameChanged(value);

                }
            }
        }

        protected String _displayname;

        /// <summary>
        /// Gets or sets the rmlbase display name.
        /// </summary>

        [Column("DISPLAY_NAME")]

        public  String DisplayName
        {
            get 
            {
                return _displayname; 
            }

            set 
            {
                if (_displayname != value)
                {
                    _displayname = value;

                    OnDisplayNameChanged(value);

                }
            }
        }

        protected String _manufacturer;

        /// <summary>
        /// Gets or sets the rmlbase manufacturer.
        /// </summary>

        [Column("MANUFACTURER")]

        public  String Manufacturer
        {
            get 
            {
                return _manufacturer; 
            }

            set 
            {
                if (_manufacturer != value)
                {
                    _manufacturer = value;

                    OnManufacturerChanged(value);

                }
            }
        }

        protected Int32 _code;

        /// <summary>
        /// Gets or sets the rmlbase code.
        /// </summary>

        [Column("CODE")]

        public  Int32 Code
        {
            get 
            {
                return _code; 
            }

            set 
            {
                if (_code != value)
                {
                    _code = value;

                    OnCodeChanged(value);

                }
            }
        }

        protected Double _whitepointl;

        /// <summary>
        /// Gets or sets the rmlbase white point l.
        /// </summary>

        [Column("WHITE_POINT_L")]

        public  Double WhitePointL
        {
            get 
            {
                return _whitepointl; 
            }

            set 
            {
                if (_whitepointl != value)
                {
                    _whitepointl = value;

                    OnWhitePointLChanged(value);

                }
            }
        }

        protected Double _whitepointa;

        /// <summary>
        /// Gets or sets the rmlbase white point a.
        /// </summary>

        [Column("WHITE_POINT_A")]

        public  Double WhitePointA
        {
            get 
            {
                return _whitepointa; 
            }

            set 
            {
                if (_whitepointa != value)
                {
                    _whitepointa = value;

                    OnWhitePointAChanged(value);

                }
            }
        }

        protected Double _whitepointb;

        /// <summary>
        /// Gets or sets the rmlbase white point b.
        /// </summary>

        [Column("WHITE_POINT_B")]

        public  Double WhitePointB
        {
            get 
            {
                return _whitepointb; 
            }

            set 
            {
                if (_whitepointb != value)
                {
                    _whitepointb = value;

                    OnWhitePointBChanged(value);

                }
            }
        }

        protected String _mediamaterialguid;

        /// <summary>
        /// Gets or sets the rmlbase media material guid.
        /// </summary>

        [Column("MEDIA_MATERIAL_GUID")]
        [ForeignKey("MediaMaterial")]

        public  String MediaMaterialGuid
        {
            get 
            {
                return _mediamaterialguid; 
            }

            set 
            {
                if (_mediamaterialguid != value)
                {
                    _mediamaterialguid = value;

                }
            }
        }

        protected String _mediapurposeguid;

        /// <summary>
        /// Gets or sets the rmlbase media purpose guid.
        /// </summary>

        [Column("MEDIA_PURPOSE_GUID")]
        [ForeignKey("MediaPurpose")]

        public  String MediaPurposeGuid
        {
            get 
            {
                return _mediapurposeguid; 
            }

            set 
            {
                if (_mediapurposeguid != value)
                {
                    _mediapurposeguid = value;

                }
            }
        }

        protected String _mediaconditionguid;

        /// <summary>
        /// Gets or sets the rmlbase media condition guid.
        /// </summary>

        [Column("MEDIA_CONDITION_GUID")]
        [ForeignKey("MediaCondition")]

        public  String MediaConditionGuid
        {
            get 
            {
                return _mediaconditionguid; 
            }

            set 
            {
                if (_mediaconditionguid != value)
                {
                    _mediaconditionguid = value;

                }
            }
        }

        protected String _linearmassdensityunitguid;

        /// <summary>
        /// Gets or sets the rmlbase linear mass density unit guid.
        /// </summary>

        [Column("LINEAR_MASS_DENSITY_UNIT_GUID")]
        [ForeignKey("LinearMassDensityUnit")]

        public  String LinearMassDensityUnitGuid
        {
            get 
            {
                return _linearmassdensityunitguid; 
            }

            set 
            {
                if (_linearmassdensityunitguid != value)
                {
                    _linearmassdensityunitguid = value;

                }
            }
        }

        protected String _fibershapeguid;

        /// <summary>
        /// Gets or sets the rmlbase fiber shape guid.
        /// </summary>

        [Column("FIBER_SHAPE_GUID")]
        [ForeignKey("FiberShape")]

        public  String FiberShapeGuid
        {
            get 
            {
                return _fibershapeguid; 
            }

            set 
            {
                if (_fibershapeguid != value)
                {
                    _fibershapeguid = value;

                }
            }
        }

        protected String _fibersynthguid;

        /// <summary>
        /// Gets or sets the rmlbase fiber synth guid.
        /// </summary>

        [Column("FIBER_SYNTH_GUID")]
        [ForeignKey("FiberSynth")]

        public  String FiberSynthGuid
        {
            get 
            {
                return _fibersynthguid; 
            }

            set 
            {
                if (_fibersynthguid != value)
                {
                    _fibersynthguid = value;

                }
            }
        }

        protected Double _fibersize;

        /// <summary>
        /// Gets or sets the rmlbase fiber size.
        /// </summary>

        [Column("FIBER_SIZE")]

        public  Double FiberSize
        {
            get 
            {
                return _fibersize; 
            }

            set 
            {
                if (_fibersize != value)
                {
                    _fibersize = value;

                    OnFiberSizeChanged(value);

                }
            }
        }

        protected Int32 _numberoffibers;

        /// <summary>
        /// Gets or sets the rmlbase number of fibers.
        /// </summary>

        [Column("NUMBER_OF_FIBERS")]

        public  Int32 NumberOfFibers
        {
            get 
            {
                return _numberoffibers; 
            }

            set 
            {
                if (_numberoffibers != value)
                {
                    _numberoffibers = value;

                    OnNumberOfFibersChanged(value);

                }
            }
        }

        protected Int32 _pliesperfiber;

        /// <summary>
        /// Gets or sets the rmlbase plies per fiber.
        /// </summary>

        [Column("PLIES_PER_FIBER")]

        public  Int32 PliesPerFiber
        {
            get 
            {
                return _pliesperfiber; 
            }

            set 
            {
                if (_pliesperfiber != value)
                {
                    _pliesperfiber = value;

                    OnPliesPerFiberChanged(value);

                }
            }
        }

        protected Int32 _pliesperthread;

        /// <summary>
        /// Gets or sets the rmlbase plies per thread.
        /// </summary>

        [Column("PLIES_PER_THREAD")]

        public  Int32 PliesPerThread
        {
            get 
            {
                return _pliesperthread; 
            }

            set 
            {
                if (_pliesperthread != value)
                {
                    _pliesperthread = value;

                    OnPliesPerThreadChanged(value);

                }
            }
        }

        protected Boolean _twisted;

        /// <summary>
        /// Gets or sets the rmlbase twisted.
        /// </summary>

        [Column("TWISTED")]

        public  Boolean Twisted
        {
            get 
            {
                return _twisted; 
            }

            set 
            {
                if (_twisted != value)
                {
                    _twisted = value;

                    OnTwistedChanged(value);

                }
            }
        }

        protected Boolean _airentanglement;

        /// <summary>
        /// Gets or sets the rmlbase air entanglement.
        /// </summary>

        [Column("AIR_ENTANGLEMENT")]

        public  Boolean AirEntanglement
        {
            get 
            {
                return _airentanglement; 
            }

            set 
            {
                if (_airentanglement != value)
                {
                    _airentanglement = value;

                    OnAirEntanglementChanged(value);

                }
            }
        }

        protected Boolean _lubricant;

        /// <summary>
        /// Gets or sets the rmlbase lubricant.
        /// </summary>

        [Column("LUBRICANT")]

        public  Boolean Lubricant
        {
            get 
            {
                return _lubricant; 
            }

            set 
            {
                if (_lubricant != value)
                {
                    _lubricant = value;

                    OnLubricantChanged(value);

                }
            }
        }

        protected Double _tensilestrength;

        /// <summary>
        /// Gets or sets the rmlbase tensile strength.
        /// </summary>

        [Column("TENSILE_STRENGTH")]

        public  Double TensileStrength
        {
            get 
            {
                return _tensilestrength; 
            }

            set 
            {
                if (_tensilestrength != value)
                {
                    _tensilestrength = value;

                    OnTensileStrengthChanged(value);

                }
            }
        }

        protected Double _elongationatbreakpercentage;

        /// <summary>
        /// Gets or sets the rmlbase elongation at break percentage.
        /// </summary>

        [Column("ELONGATION_AT_BREAK_PERCENTAGE")]

        public  Double ElongationAtBreakPercentage
        {
            get 
            {
                return _elongationatbreakpercentage; 
            }

            set 
            {
                if (_elongationatbreakpercentage != value)
                {
                    _elongationatbreakpercentage = value;

                    OnElongationAtBreakPercentageChanged(value);

                }
            }
        }

        protected Double _estimatedthreaddiameter;

        /// <summary>
        /// Gets or sets the rmlbase estimated thread diameter.
        /// </summary>

        [Column("ESTIMATED_THREAD_DIAMETER")]

        public  Double EstimatedThreadDiameter
        {
            get 
            {
                return _estimatedthreaddiameter; 
            }

            set 
            {
                if (_estimatedthreaddiameter != value)
                {
                    _estimatedthreaddiameter = value;

                    OnEstimatedThreadDiameterChanged(value);

                }
            }
        }

        protected Int32 _rank;

        /// <summary>
        /// Gets or sets the rmlbase rank.
        /// </summary>

        [Column("RANK")]

        public  Int32 Rank
        {
            get 
            {
                return _rank; 
            }

            set 
            {
                if (_rank != value)
                {
                    _rank = value;

                    OnRankChanged(value);

                }
            }
        }

        protected Byte[] _thumbnail;

        /// <summary>
        /// Gets or sets the rmlbase thumbnail.
        /// </summary>

        [Column("THUMBNAIL")]

        public  Byte[] Thumbnail
        {
            get 
            {
                return _thumbnail; 
            }

            set 
            {
                if (_thumbnail != value)
                {
                    _thumbnail = value;

                    OnThumbnailChanged(value);

                }
            }
        }

        protected String _cctguid;

        /// <summary>
        /// Gets or sets the rmlbase cct guid.
        /// </summary>

        [Column("CCT_GUID")]
        [ForeignKey("Cct")]

        public  String CctGuid
        {
            get 
            {
                return _cctguid; 
            }

            set 
            {
                if (_cctguid != value)
                {
                    _cctguid = value;

                }
            }
        }

        protected String _gbdguid;

        /// <summary>
        /// Gets or sets the rmlbase gbd guid.
        /// </summary>

        [Column("GBD_GUID")]
        [ForeignKey("Gbd")]

        public  String GbdGuid
        {
            get 
            {
                return _gbdguid; 
            }

            set 
            {
                if (_gbdguid != value)
                {
                    _gbdguid = value;

                }
            }
        }

        protected String _lubguid;

        /// <summary>
        /// Gets or sets the rmlbase lub guid.
        /// </summary>

        [Column("LUB_GUID")]
        [ForeignKey("Lub")]

        public  String LubGuid
        {
            get 
            {
                return _lubguid; 
            }

            set 
            {
                if (_lubguid != value)
                {
                    _lubguid = value;

                }
            }
        }

        protected Int32 _colorconversionversion;

        /// <summary>
        /// Gets or sets the rmlbase color conversion version.
        /// </summary>

        [Column("COLOR_CONVERSION_VERSION")]

        public  Int32 ColorConversionVersion
        {
            get 
            {
                return _colorconversionversion; 
            }

            set 
            {
                if (_colorconversionversion != value)
                {
                    _colorconversionversion = value;

                    OnColorConversionVersionChanged(value);

                }
            }
        }

        protected Boolean _usecolorlibgradients;

        /// <summary>
        /// Gets or sets the rmlbase use color lib gradients.
        /// </summary>

        [Column("USE_COLOR_LIB_GRADIENTS")]

        public  Boolean UseColorLibGradients
        {
            get 
            {
                return _usecolorlibgradients; 
            }

            set 
            {
                if (_usecolorlibgradients != value)
                {
                    _usecolorlibgradients = value;

                    OnUseColorLibGradientsChanged(value);

                }
            }
        }

        protected Boolean _uselightinks;

        /// <summary>
        /// Gets or sets the rmlbase use light inks.
        /// </summary>

        [Column("USE_LIGHT_INKS")]

        public  Boolean UseLightInks
        {
            get 
            {
                return _uselightinks; 
            }

            set 
            {
                if (_uselightinks != value)
                {
                    _uselightinks = value;

                    OnUseLightInksChanged(value);

                }
            }
        }

        protected Boolean _uselubricanttransform;

        /// <summary>
        /// Gets or sets the rmlbase use lubricant transform.
        /// </summary>

        [Column("USE_LUBRICANT_TRANSFORM")]

        public  Boolean UseLubricantTransform
        {
            get 
            {
                return _uselubricanttransform; 
            }

            set 
            {
                if (_uselubricanttransform != value)
                {
                    _uselubricanttransform = value;

                    OnUseLubricantTransformChanged(value);

                }
            }
        }

        protected Int32 _headtype;

        /// <summary>
        /// Gets or sets the rmlbase head type.
        /// </summary>

        [Column("HEAD_TYPE")]

        public  Int32 HeadType
        {
            get 
            {
                return _headtype; 
            }

            set 
            {
                if (_headtype != value)
                {
                    _headtype = value;

                    OnHeadTypeChanged(value);

                }
            }
        }

        protected Int32 _qualificationlevel;

        /// <summary>
        /// Gets or sets the rmlbase qualification level.
        /// </summary>

        [Column("QUALIFICATION_LEVEL")]

        public  Int32 QualificationLevel
        {
            get 
            {
                return _qualificationlevel; 
            }

            set 
            {
                if (_qualificationlevel != value)
                {
                    _qualificationlevel = value;

                    OnQualificationLevelChanged(value);

                }
            }
        }

        protected Nullable<DateTime> _qualificationdate;

        /// <summary>
        /// Gets or sets the rmlbase qualification date.
        /// </summary>

        [Column("QUALIFICATION_DATE")]

        public  Nullable<DateTime> QualificationDate
        {
            get 
            {
                return _qualificationdate; 
            }

            set 
            {
                if (_qualificationdate != value)
                {
                    _qualificationdate = value;

                    OnQualificationDateChanged(value);

                }
            }
        }

        protected String _spoolscalibrationsstring;

        /// <summary>
        /// Gets or sets the rmlbase spools calibrations string.
        /// </summary>

        [Column("SPOOLS_CALIBRATIONS_STRING")]

        public  String SpoolsCalibrationsString
        {
            get 
            {
                return _spoolscalibrationsstring; 
            }

            set 
            {
                if (_spoolscalibrationsstring != value)
                {
                    _spoolscalibrationsstring = value;

                    OnSpoolsCalibrationsStringChanged(value);

                }
            }
        }

        protected Int32 _feederp;

        /// <summary>
        /// Gets or sets the rmlbase feeder p.
        /// </summary>

        [Column("FEEDER_P")]

        public  Int32 FeederP
        {
            get 
            {
                return _feederp; 
            }

            set 
            {
                if (_feederp != value)
                {
                    _feederp = value;

                    OnFeederPChanged(value);

                }
            }
        }

        protected Int32 _feederi;

        /// <summary>
        /// Gets or sets the rmlbase feeder i.
        /// </summary>

        [Column("FEEDER_I")]

        public  Int32 FeederI
        {
            get 
            {
                return _feederi; 
            }

            set 
            {
                if (_feederi != value)
                {
                    _feederi = value;

                    OnFeederIChanged(value);

                }
            }
        }

        protected Int32 _feederd;

        /// <summary>
        /// Gets or sets the rmlbase feeder d.
        /// </summary>

        [Column("FEEDER_D")]

        public  Int32 FeederD
        {
            get 
            {
                return _feederd; 
            }

            set 
            {
                if (_feederd != value)
                {
                    _feederd = value;

                    OnFeederDChanged(value);

                }
            }
        }

        protected Int32 _pullerp;

        /// <summary>
        /// Gets or sets the rmlbase puller p.
        /// </summary>

        [Column("PULLER_P")]

        public  Int32 PullerP
        {
            get 
            {
                return _pullerp; 
            }

            set 
            {
                if (_pullerp != value)
                {
                    _pullerp = value;

                    OnPullerPChanged(value);

                }
            }
        }

        protected Int32 _pulleri;

        /// <summary>
        /// Gets or sets the rmlbase puller i.
        /// </summary>

        [Column("PULLER_I")]

        public  Int32 PullerI
        {
            get 
            {
                return _pulleri; 
            }

            set 
            {
                if (_pulleri != value)
                {
                    _pulleri = value;

                    OnPullerIChanged(value);

                }
            }
        }

        protected Int32 _pullerd;

        /// <summary>
        /// Gets or sets the rmlbase puller d.
        /// </summary>

        [Column("PULLER_D")]

        public  Int32 PullerD
        {
            get 
            {
                return _pullerd; 
            }

            set 
            {
                if (_pullerd != value)
                {
                    _pullerd = value;

                    OnPullerDChanged(value);

                }
            }
        }

        protected Int32 _winderp;

        /// <summary>
        /// Gets or sets the rmlbase winder p.
        /// </summary>

        [Column("WINDER_P")]

        public  Int32 WinderP
        {
            get 
            {
                return _winderp; 
            }

            set 
            {
                if (_winderp != value)
                {
                    _winderp = value;

                    OnWinderPChanged(value);

                }
            }
        }

        protected Int32 _winderi;

        /// <summary>
        /// Gets or sets the rmlbase winder i.
        /// </summary>

        [Column("WINDER_I")]

        public  Int32 WinderI
        {
            get 
            {
                return _winderi; 
            }

            set 
            {
                if (_winderi != value)
                {
                    _winderi = value;

                    OnWinderIChanged(value);

                }
            }
        }

        protected Int32 _winderd;

        /// <summary>
        /// Gets or sets the rmlbase winder d.
        /// </summary>

        [Column("WINDER_D")]

        public  Int32 WinderD
        {
            get 
            {
                return _winderd; 
            }

            set 
            {
                if (_winderd != value)
                {
                    _winderd = value;

                    OnWinderDChanged(value);

                }
            }
        }

        protected Boolean _bypassrockers;

        /// <summary>
        /// Gets or sets the rmlbase bypass rockers.
        /// </summary>

        [Column("BYPASS_ROCKERS")]

        public  Boolean BypassRockers
        {
            get 
            {
                return _bypassrockers; 
            }

            set 
            {
                if (_bypassrockers != value)
                {
                    _bypassrockers = value;

                    OnBypassRockersChanged(value);

                }
            }
        }

        protected Int32 _cleanerflow;

        /// <summary>
        /// Gets or sets the rmlbase cleaner flow.
        /// </summary>

        [Column("CLEANER_FLOW")]

        public  Int32 CleanerFlow
        {
            get 
            {
                return _cleanerflow; 
            }

            set 
            {
                if (_cleanerflow != value)
                {
                    _cleanerflow = value;

                    OnCleanerFlowChanged(value);

                }
            }
        }

        protected Double _archeadcleaningmotorspeed;

        /// <summary>
        /// Gets or sets the rmlbase arc head cleaning motor speed.
        /// </summary>

        [Column("ARC_HEAD_CLEANING_MOTOR_SPEED")]

        public  Double ArcHeadCleaningMotorSpeed
        {
            get 
            {
                return _archeadcleaningmotorspeed; 
            }

            set 
            {
                if (_archeadcleaningmotorspeed != value)
                {
                    _archeadcleaningmotorspeed = value;

                    OnArcHeadCleaningMotorSpeedChanged(value);

                }
            }
        }

        protected Double _vmax;

        /// <summary>
        /// Gets or sets the rmlbase v max.
        /// </summary>

        [Column("V_MAX")]

        public  Double VMax
        {
            get 
            {
                return _vmax; 
            }

            set 
            {
                if (_vmax != value)
                {
                    _vmax = value;

                    OnVMaxChanged(value);

                }
            }
        }

        protected String _btsrapplicationtypeguid;

        /// <summary>
        /// Gets or sets the rmlbase btsr application type guid.
        /// </summary>

        [Column("BTSR_APPLICATION_TYPE_GUID")]
        [ForeignKey("BtsrApplicationType")]

        public  String BtsrApplicationTypeGuid
        {
            get 
            {
                return _btsrapplicationtypeguid; 
            }

            set 
            {
                if (_btsrapplicationtypeguid != value)
                {
                    _btsrapplicationtypeguid = value;

                }
            }
        }

        protected String _btsryarntypeguid;

        /// <summary>
        /// Gets or sets the rmlbase btsr yarn type guid.
        /// </summary>

        [Column("BTSR_YARN_TYPE_GUID")]
        [ForeignKey("BtsrYarnType")]

        public  String BtsrYarnTypeGuid
        {
            get 
            {
                return _btsryarntypeguid; 
            }

            set 
            {
                if (_btsryarntypeguid != value)
                {
                    _btsryarntypeguid = value;

                }
            }
        }

        protected Double _btsrtensionerror;

        /// <summary>
        /// Gets or sets the rmlbase btsr tension error.
        /// </summary>

        [Column("BTSR_TENSION_ERROR")]

        public  Double BtsrTensionError
        {
            get 
            {
                return _btsrtensionerror; 
            }

            set 
            {
                if (_btsrtensionerror != value)
                {
                    _btsrtensionerror = value;

                    OnBtsrTensionErrorChanged(value);

                }
            }
        }

        protected BtsrApplicationType _btsrapplicationtype;

        /// <summary>
        /// Gets or sets the rmlbase btsr application types.
        /// </summary>

        [XmlIgnore]
        [JsonIgnore]
        public virtual BtsrApplicationType BtsrApplicationType
        {
            get 
            {
                return _btsrapplicationtype; 
            }

            set 
            {
                if (_btsrapplicationtype != value)
                {
                    _btsrapplicationtype = value;

                    if (BtsrApplicationType != null)
                    {
                        BtsrApplicationTypeGuid = BtsrApplicationType.Guid;
                    }

                    OnBtsrApplicationTypeChanged(value);

                }
            }
        }

        protected BtsrYarnType _btsryarntype;

        /// <summary>
        /// Gets or sets the rmlbase btsr yarn types.
        /// </summary>

        [XmlIgnore]
        [JsonIgnore]
        public virtual BtsrYarnType BtsrYarnType
        {
            get 
            {
                return _btsryarntype; 
            }

            set 
            {
                if (_btsryarntype != value)
                {
                    _btsryarntype = value;

                    if (BtsrYarnType != null)
                    {
                        BtsrYarnTypeGuid = BtsrYarnType.Guid;
                    }

                    OnBtsrYarnTypeChanged(value);

                }
            }
        }

        protected SynchronizedObservableCollection<Cat> _cats;

        /// <summary>
        /// Gets or sets the rmlbase cats.
        /// </summary>

        public virtual SynchronizedObservableCollection<Cat> Cats
        {
            get 
            {
                return _cats; 
            }

            set 
            {
                if (_cats != value)
                {
                    _cats = value;

                    OnCatsChanged(value);

                }
            }
        }

        protected Cct _cct;

        /// <summary>
        /// Gets or sets the rmlbase cct.
        /// </summary>

        [XmlIgnore]
        [JsonIgnore]
        public virtual Cct Cct
        {
            get 
            {
                return _cct; 
            }

            set 
            {
                if (_cct != value)
                {
                    _cct = value;

                    if (Cct != null)
                    {
                        CctGuid = Cct.Guid;
                    }

                    OnCctChanged(value);

                }
            }
        }

        protected SynchronizedObservableCollection<ColorCatalogsItemsRecipe> _colorcatalogsitemsrecipes;

        /// <summary>
        /// Gets or sets the rmlbase color catalogs items recipes.
        /// </summary>

        public virtual SynchronizedObservableCollection<ColorCatalogsItemsRecipe> ColorCatalogsItemsRecipes
        {
            get 
            {
                return _colorcatalogsitemsrecipes; 
            }

            set 
            {
                if (_colorcatalogsitemsrecipes != value)
                {
                    _colorcatalogsitemsrecipes = value;

                    OnColorCatalogsItemsRecipesChanged(value);

                }
            }
        }

        protected FiberShape _fibershape;

        /// <summary>
        /// Gets or sets the rmlbase fiber shapes.
        /// </summary>

        [XmlIgnore]
        [JsonIgnore]
        public virtual FiberShape FiberShape
        {
            get 
            {
                return _fibershape; 
            }

            set 
            {
                if (_fibershape != value)
                {
                    _fibershape = value;

                    if (FiberShape != null)
                    {
                        FiberShapeGuid = FiberShape.Guid;
                    }

                    OnFiberShapeChanged(value);

                }
            }
        }

        protected FiberSynth _fibersynth;

        /// <summary>
        /// Gets or sets the rmlbase fiber synths.
        /// </summary>

        [XmlIgnore]
        [JsonIgnore]
        public virtual FiberSynth FiberSynth
        {
            get 
            {
                return _fibersynth; 
            }

            set 
            {
                if (_fibersynth != value)
                {
                    _fibersynth = value;

                    if (FiberSynth != null)
                    {
                        FiberSynthGuid = FiberSynth.Guid;
                    }

                    OnFiberSynthChanged(value);

                }
            }
        }

        protected Gbd _gbd;

        /// <summary>
        /// Gets or sets the rmlbase gbd.
        /// </summary>

        [XmlIgnore]
        [JsonIgnore]
        public virtual Gbd Gbd
        {
            get 
            {
                return _gbd; 
            }

            set 
            {
                if (_gbd != value)
                {
                    _gbd = value;

                    if (Gbd != null)
                    {
                        GbdGuid = Gbd.Guid;
                    }

                    OnGbdChanged(value);

                }
            }
        }

        protected SynchronizedObservableCollection<Job> _jobs;

        /// <summary>
        /// Gets or sets the rmlbase jobs.
        /// </summary>

        public virtual SynchronizedObservableCollection<Job> Jobs
        {
            get 
            {
                return _jobs; 
            }

            set 
            {
                if (_jobs != value)
                {
                    _jobs = value;

                    OnJobsChanged(value);

                }
            }
        }

        protected LinearMassDensityUnit _linearmassdensityunit;

        /// <summary>
        /// Gets or sets the rmlbase linear mass density units.
        /// </summary>

        [XmlIgnore]
        [JsonIgnore]
        public virtual LinearMassDensityUnit LinearMassDensityUnit
        {
            get 
            {
                return _linearmassdensityunit; 
            }

            set 
            {
                if (_linearmassdensityunit != value)
                {
                    _linearmassdensityunit = value;

                    if (LinearMassDensityUnit != null)
                    {
                        LinearMassDensityUnitGuid = LinearMassDensityUnit.Guid;
                    }

                    OnLinearMassDensityUnitChanged(value);

                }
            }
        }

        protected SynchronizedObservableCollection<LiquidTypesRml> _liquidtypesrmls;

        /// <summary>
        /// Gets or sets the rmlbase liquid types rmls.
        /// </summary>

        public virtual SynchronizedObservableCollection<LiquidTypesRml> LiquidTypesRmls
        {
            get 
            {
                return _liquidtypesrmls; 
            }

            set 
            {
                if (_liquidtypesrmls != value)
                {
                    _liquidtypesrmls = value;

                    OnLiquidTypesRmlsChanged(value);

                }
            }
        }

        protected Lub _lub;

        /// <summary>
        /// Gets or sets the rmlbase lub.
        /// </summary>

        [XmlIgnore]
        [JsonIgnore]
        public virtual Lub Lub
        {
            get 
            {
                return _lub; 
            }

            set 
            {
                if (_lub != value)
                {
                    _lub = value;

                    if (Lub != null)
                    {
                        LubGuid = Lub.Guid;
                    }

                    OnLubChanged(value);

                }
            }
        }

        protected MediaCondition _mediacondition;

        /// <summary>
        /// Gets or sets the rmlbase media conditions.
        /// </summary>

        [XmlIgnore]
        [JsonIgnore]
        public virtual MediaCondition MediaCondition
        {
            get 
            {
                return _mediacondition; 
            }

            set 
            {
                if (_mediacondition != value)
                {
                    _mediacondition = value;

                    if (MediaCondition != null)
                    {
                        MediaConditionGuid = MediaCondition.Guid;
                    }

                    OnMediaConditionChanged(value);

                }
            }
        }

        protected MediaMaterial _mediamaterial;

        /// <summary>
        /// Gets or sets the rmlbase media materials.
        /// </summary>

        [XmlIgnore]
        [JsonIgnore]
        public virtual MediaMaterial MediaMaterial
        {
            get 
            {
                return _mediamaterial; 
            }

            set 
            {
                if (_mediamaterial != value)
                {
                    _mediamaterial = value;

                    if (MediaMaterial != null)
                    {
                        MediaMaterialGuid = MediaMaterial.Guid;
                    }

                    OnMediaMaterialChanged(value);

                }
            }
        }

        protected MediaPurpos _mediapurpose;

        /// <summary>
        /// Gets or sets the rmlbase media purposes.
        /// </summary>

        [XmlIgnore]
        [JsonIgnore]
        public virtual MediaPurpos MediaPurpose
        {
            get 
            {
                return _mediapurpose; 
            }

            set 
            {
                if (_mediapurpose != value)
                {
                    _mediapurpose = value;

                    if (MediaPurpose != null)
                    {
                        MediaPurposeGuid = MediaPurpose.Guid;
                    }

                    OnMediaPurposeChanged(value);

                }
            }
        }

        protected SynchronizedObservableCollection<ProcessParametersTablesGroup> _processparameterstablesgroups;

        /// <summary>
        /// Gets or sets the rmlbase process parameters tables groups.
        /// </summary>

        public virtual SynchronizedObservableCollection<ProcessParametersTablesGroup> ProcessParametersTablesGroups
        {
            get 
            {
                return _processparameterstablesgroups; 
            }

            set 
            {
                if (_processparameterstablesgroups != value)
                {
                    _processparameterstablesgroups = value;

                    OnProcessParametersTablesGroupsChanged(value);

                }
            }
        }

        protected SynchronizedObservableCollection<RmlsExtension> _rmlsextensions;

        /// <summary>
        /// Gets or sets the rmlbase rmls extensions.
        /// </summary>

        public virtual SynchronizedObservableCollection<RmlsExtension> RmlsExtensions
        {
            get 
            {
                return _rmlsextensions; 
            }

            set 
            {
                if (_rmlsextensions != value)
                {
                    _rmlsextensions = value;

                    OnRmlsExtensionsChanged(value);

                }
            }
        }

        protected SynchronizedObservableCollection<RmlsSpool> _rmlsspools;

        /// <summary>
        /// Gets or sets the rmlbase rmls spools.
        /// </summary>

        public virtual SynchronizedObservableCollection<RmlsSpool> RmlsSpools
        {
            get 
            {
                return _rmlsspools; 
            }

            set 
            {
                if (_rmlsspools != value)
                {
                    _rmlsspools = value;

                    OnRmlsSpoolsChanged(value);

                }
            }
        }

        protected SynchronizedObservableCollection<SitesRml> _sitesrmls;

        /// <summary>
        /// Gets or sets the rmlbase sites rmls.
        /// </summary>

        public virtual SynchronizedObservableCollection<SitesRml> SitesRmls
        {
            get 
            {
                return _sitesrmls; 
            }

            set 
            {
                if (_sitesrmls != value)
                {
                    _sitesrmls = value;

                    OnSitesRmlsChanged(value);

                }
            }
        }

        /// <summary>
        /// Called when the Name has changed.
        /// </summary>
        protected virtual void OnNameChanged(String name)
        {
            NameChanged?.Invoke(this, name);
            RaisePropertyChanged(nameof(Name));
        }

        /// <summary>
        /// Called when the DisplayName has changed.
        /// </summary>
        protected virtual void OnDisplayNameChanged(String displayname)
        {
            DisplayNameChanged?.Invoke(this, displayname);
            RaisePropertyChanged(nameof(DisplayName));
        }

        /// <summary>
        /// Called when the Manufacturer has changed.
        /// </summary>
        protected virtual void OnManufacturerChanged(String manufacturer)
        {
            ManufacturerChanged?.Invoke(this, manufacturer);
            RaisePropertyChanged(nameof(Manufacturer));
        }

        /// <summary>
        /// Called when the Code has changed.
        /// </summary>
        protected virtual void OnCodeChanged(Int32 code)
        {
            CodeChanged?.Invoke(this, code);
            RaisePropertyChanged(nameof(Code));
        }

        /// <summary>
        /// Called when the WhitePointL has changed.
        /// </summary>
        protected virtual void OnWhitePointLChanged(Double whitepointl)
        {
            WhitePointLChanged?.Invoke(this, whitepointl);
            RaisePropertyChanged(nameof(WhitePointL));
        }

        /// <summary>
        /// Called when the WhitePointA has changed.
        /// </summary>
        protected virtual void OnWhitePointAChanged(Double whitepointa)
        {
            WhitePointAChanged?.Invoke(this, whitepointa);
            RaisePropertyChanged(nameof(WhitePointA));
        }

        /// <summary>
        /// Called when the WhitePointB has changed.
        /// </summary>
        protected virtual void OnWhitePointBChanged(Double whitepointb)
        {
            WhitePointBChanged?.Invoke(this, whitepointb);
            RaisePropertyChanged(nameof(WhitePointB));
        }

        /// <summary>
        /// Called when the FiberSize has changed.
        /// </summary>
        protected virtual void OnFiberSizeChanged(Double fibersize)
        {
            FiberSizeChanged?.Invoke(this, fibersize);
            RaisePropertyChanged(nameof(FiberSize));
        }

        /// <summary>
        /// Called when the NumberOfFibers has changed.
        /// </summary>
        protected virtual void OnNumberOfFibersChanged(Int32 numberoffibers)
        {
            NumberOfFibersChanged?.Invoke(this, numberoffibers);
            RaisePropertyChanged(nameof(NumberOfFibers));
        }

        /// <summary>
        /// Called when the PliesPerFiber has changed.
        /// </summary>
        protected virtual void OnPliesPerFiberChanged(Int32 pliesperfiber)
        {
            PliesPerFiberChanged?.Invoke(this, pliesperfiber);
            RaisePropertyChanged(nameof(PliesPerFiber));
        }

        /// <summary>
        /// Called when the PliesPerThread has changed.
        /// </summary>
        protected virtual void OnPliesPerThreadChanged(Int32 pliesperthread)
        {
            PliesPerThreadChanged?.Invoke(this, pliesperthread);
            RaisePropertyChanged(nameof(PliesPerThread));
        }

        /// <summary>
        /// Called when the Twisted has changed.
        /// </summary>
        protected virtual void OnTwistedChanged(Boolean twisted)
        {
            TwistedChanged?.Invoke(this, twisted);
            RaisePropertyChanged(nameof(Twisted));
        }

        /// <summary>
        /// Called when the AirEntanglement has changed.
        /// </summary>
        protected virtual void OnAirEntanglementChanged(Boolean airentanglement)
        {
            AirEntanglementChanged?.Invoke(this, airentanglement);
            RaisePropertyChanged(nameof(AirEntanglement));
        }

        /// <summary>
        /// Called when the Lubricant has changed.
        /// </summary>
        protected virtual void OnLubricantChanged(Boolean lubricant)
        {
            LubricantChanged?.Invoke(this, lubricant);
            RaisePropertyChanged(nameof(Lubricant));
        }

        /// <summary>
        /// Called when the TensileStrength has changed.
        /// </summary>
        protected virtual void OnTensileStrengthChanged(Double tensilestrength)
        {
            TensileStrengthChanged?.Invoke(this, tensilestrength);
            RaisePropertyChanged(nameof(TensileStrength));
        }

        /// <summary>
        /// Called when the ElongationAtBreakPercentage has changed.
        /// </summary>
        protected virtual void OnElongationAtBreakPercentageChanged(Double elongationatbreakpercentage)
        {
            ElongationAtBreakPercentageChanged?.Invoke(this, elongationatbreakpercentage);
            RaisePropertyChanged(nameof(ElongationAtBreakPercentage));
        }

        /// <summary>
        /// Called when the EstimatedThreadDiameter has changed.
        /// </summary>
        protected virtual void OnEstimatedThreadDiameterChanged(Double estimatedthreaddiameter)
        {
            EstimatedThreadDiameterChanged?.Invoke(this, estimatedthreaddiameter);
            RaisePropertyChanged(nameof(EstimatedThreadDiameter));
        }

        /// <summary>
        /// Called when the Rank has changed.
        /// </summary>
        protected virtual void OnRankChanged(Int32 rank)
        {
            RankChanged?.Invoke(this, rank);
            RaisePropertyChanged(nameof(Rank));
        }

        /// <summary>
        /// Called when the Thumbnail has changed.
        /// </summary>
        protected virtual void OnThumbnailChanged(Byte[] thumbnail)
        {
            ThumbnailChanged?.Invoke(this, thumbnail);
            RaisePropertyChanged(nameof(Thumbnail));
        }

        /// <summary>
        /// Called when the ColorConversionVersion has changed.
        /// </summary>
        protected virtual void OnColorConversionVersionChanged(Int32 colorconversionversion)
        {
            ColorConversionVersionChanged?.Invoke(this, colorconversionversion);
            RaisePropertyChanged(nameof(ColorConversionVersion));
        }

        /// <summary>
        /// Called when the UseColorLibGradients has changed.
        /// </summary>
        protected virtual void OnUseColorLibGradientsChanged(Boolean usecolorlibgradients)
        {
            UseColorLibGradientsChanged?.Invoke(this, usecolorlibgradients);
            RaisePropertyChanged(nameof(UseColorLibGradients));
        }

        /// <summary>
        /// Called when the UseLightInks has changed.
        /// </summary>
        protected virtual void OnUseLightInksChanged(Boolean uselightinks)
        {
            UseLightInksChanged?.Invoke(this, uselightinks);
            RaisePropertyChanged(nameof(UseLightInks));
        }

        /// <summary>
        /// Called when the UseLubricantTransform has changed.
        /// </summary>
        protected virtual void OnUseLubricantTransformChanged(Boolean uselubricanttransform)
        {
            UseLubricantTransformChanged?.Invoke(this, uselubricanttransform);
            RaisePropertyChanged(nameof(UseLubricantTransform));
        }

        /// <summary>
        /// Called when the HeadType has changed.
        /// </summary>
        protected virtual void OnHeadTypeChanged(Int32 headtype)
        {
            HeadTypeChanged?.Invoke(this, headtype);
            RaisePropertyChanged(nameof(HeadType));
        }

        /// <summary>
        /// Called when the QualificationLevel has changed.
        /// </summary>
        protected virtual void OnQualificationLevelChanged(Int32 qualificationlevel)
        {
            QualificationLevelChanged?.Invoke(this, qualificationlevel);
            RaisePropertyChanged(nameof(QualificationLevel));
        }

        /// <summary>
        /// Called when the QualificationDate has changed.
        /// </summary>
        protected virtual void OnQualificationDateChanged(Nullable<DateTime> qualificationdate)
        {
            QualificationDateChanged?.Invoke(this, qualificationdate);
            RaisePropertyChanged(nameof(QualificationDate));
        }

        /// <summary>
        /// Called when the SpoolsCalibrationsString has changed.
        /// </summary>
        protected virtual void OnSpoolsCalibrationsStringChanged(String spoolscalibrationsstring)
        {
            SpoolsCalibrationsStringChanged?.Invoke(this, spoolscalibrationsstring);
            RaisePropertyChanged(nameof(SpoolsCalibrationsString));
        }

        /// <summary>
        /// Called when the FeederP has changed.
        /// </summary>
        protected virtual void OnFeederPChanged(Int32 feederp)
        {
            FeederPChanged?.Invoke(this, feederp);
            RaisePropertyChanged(nameof(FeederP));
        }

        /// <summary>
        /// Called when the FeederI has changed.
        /// </summary>
        protected virtual void OnFeederIChanged(Int32 feederi)
        {
            FeederIChanged?.Invoke(this, feederi);
            RaisePropertyChanged(nameof(FeederI));
        }

        /// <summary>
        /// Called when the FeederD has changed.
        /// </summary>
        protected virtual void OnFeederDChanged(Int32 feederd)
        {
            FeederDChanged?.Invoke(this, feederd);
            RaisePropertyChanged(nameof(FeederD));
        }

        /// <summary>
        /// Called when the PullerP has changed.
        /// </summary>
        protected virtual void OnPullerPChanged(Int32 pullerp)
        {
            PullerPChanged?.Invoke(this, pullerp);
            RaisePropertyChanged(nameof(PullerP));
        }

        /// <summary>
        /// Called when the PullerI has changed.
        /// </summary>
        protected virtual void OnPullerIChanged(Int32 pulleri)
        {
            PullerIChanged?.Invoke(this, pulleri);
            RaisePropertyChanged(nameof(PullerI));
        }

        /// <summary>
        /// Called when the PullerD has changed.
        /// </summary>
        protected virtual void OnPullerDChanged(Int32 pullerd)
        {
            PullerDChanged?.Invoke(this, pullerd);
            RaisePropertyChanged(nameof(PullerD));
        }

        /// <summary>
        /// Called when the WinderP has changed.
        /// </summary>
        protected virtual void OnWinderPChanged(Int32 winderp)
        {
            WinderPChanged?.Invoke(this, winderp);
            RaisePropertyChanged(nameof(WinderP));
        }

        /// <summary>
        /// Called when the WinderI has changed.
        /// </summary>
        protected virtual void OnWinderIChanged(Int32 winderi)
        {
            WinderIChanged?.Invoke(this, winderi);
            RaisePropertyChanged(nameof(WinderI));
        }

        /// <summary>
        /// Called when the WinderD has changed.
        /// </summary>
        protected virtual void OnWinderDChanged(Int32 winderd)
        {
            WinderDChanged?.Invoke(this, winderd);
            RaisePropertyChanged(nameof(WinderD));
        }

        /// <summary>
        /// Called when the BypassRockers has changed.
        /// </summary>
        protected virtual void OnBypassRockersChanged(Boolean bypassrockers)
        {
            BypassRockersChanged?.Invoke(this, bypassrockers);
            RaisePropertyChanged(nameof(BypassRockers));
        }

        /// <summary>
        /// Called when the CleanerFlow has changed.
        /// </summary>
        protected virtual void OnCleanerFlowChanged(Int32 cleanerflow)
        {
            CleanerFlowChanged?.Invoke(this, cleanerflow);
            RaisePropertyChanged(nameof(CleanerFlow));
        }

        /// <summary>
        /// Called when the ArcHeadCleaningMotorSpeed has changed.
        /// </summary>
        protected virtual void OnArcHeadCleaningMotorSpeedChanged(Double archeadcleaningmotorspeed)
        {
            ArcHeadCleaningMotorSpeedChanged?.Invoke(this, archeadcleaningmotorspeed);
            RaisePropertyChanged(nameof(ArcHeadCleaningMotorSpeed));
        }

        /// <summary>
        /// Called when the VMax has changed.
        /// </summary>
        protected virtual void OnVMaxChanged(Double vmax)
        {
            VMaxChanged?.Invoke(this, vmax);
            RaisePropertyChanged(nameof(VMax));
        }

        /// <summary>
        /// Called when the BtsrTensionError has changed.
        /// </summary>
        protected virtual void OnBtsrTensionErrorChanged(Double btsrtensionerror)
        {
            BtsrTensionErrorChanged?.Invoke(this, btsrtensionerror);
            RaisePropertyChanged(nameof(BtsrTensionError));
        }

        /// <summary>
        /// Called when the BtsrApplicationType has changed.
        /// </summary>
        protected virtual void OnBtsrApplicationTypeChanged(BtsrApplicationType btsrapplicationtype)
        {
            BtsrApplicationTypeChanged?.Invoke(this, btsrapplicationtype);
            RaisePropertyChanged(nameof(BtsrApplicationType));
        }

        /// <summary>
        /// Called when the BtsrYarnType has changed.
        /// </summary>
        protected virtual void OnBtsrYarnTypeChanged(BtsrYarnType btsryarntype)
        {
            BtsrYarnTypeChanged?.Invoke(this, btsryarntype);
            RaisePropertyChanged(nameof(BtsrYarnType));
        }

        /// <summary>
        /// Called when the Cats has changed.
        /// </summary>
        protected virtual void OnCatsChanged(SynchronizedObservableCollection<Cat> cats)
        {
            CatsChanged?.Invoke(this, cats);
            RaisePropertyChanged(nameof(Cats));
        }

        /// <summary>
        /// Called when the Cct has changed.
        /// </summary>
        protected virtual void OnCctChanged(Cct cct)
        {
            CctChanged?.Invoke(this, cct);
            RaisePropertyChanged(nameof(Cct));
        }

        /// <summary>
        /// Called when the ColorCatalogsItemsRecipes has changed.
        /// </summary>
        protected virtual void OnColorCatalogsItemsRecipesChanged(SynchronizedObservableCollection<ColorCatalogsItemsRecipe> colorcatalogsitemsrecipes)
        {
            ColorCatalogsItemsRecipesChanged?.Invoke(this, colorcatalogsitemsrecipes);
            RaisePropertyChanged(nameof(ColorCatalogsItemsRecipes));
        }

        /// <summary>
        /// Called when the FiberShape has changed.
        /// </summary>
        protected virtual void OnFiberShapeChanged(FiberShape fibershape)
        {
            FiberShapeChanged?.Invoke(this, fibershape);
            RaisePropertyChanged(nameof(FiberShape));
        }

        /// <summary>
        /// Called when the FiberSynth has changed.
        /// </summary>
        protected virtual void OnFiberSynthChanged(FiberSynth fibersynth)
        {
            FiberSynthChanged?.Invoke(this, fibersynth);
            RaisePropertyChanged(nameof(FiberSynth));
        }

        /// <summary>
        /// Called when the Gbd has changed.
        /// </summary>
        protected virtual void OnGbdChanged(Gbd gbd)
        {
            GbdChanged?.Invoke(this, gbd);
            RaisePropertyChanged(nameof(Gbd));
        }

        /// <summary>
        /// Called when the Jobs has changed.
        /// </summary>
        protected virtual void OnJobsChanged(SynchronizedObservableCollection<Job> jobs)
        {
            JobsChanged?.Invoke(this, jobs);
            RaisePropertyChanged(nameof(Jobs));
        }

        /// <summary>
        /// Called when the LinearMassDensityUnit has changed.
        /// </summary>
        protected virtual void OnLinearMassDensityUnitChanged(LinearMassDensityUnit linearmassdensityunit)
        {
            LinearMassDensityUnitChanged?.Invoke(this, linearmassdensityunit);
            RaisePropertyChanged(nameof(LinearMassDensityUnit));
        }

        /// <summary>
        /// Called when the LiquidTypesRmls has changed.
        /// </summary>
        protected virtual void OnLiquidTypesRmlsChanged(SynchronizedObservableCollection<LiquidTypesRml> liquidtypesrmls)
        {
            LiquidTypesRmlsChanged?.Invoke(this, liquidtypesrmls);
            RaisePropertyChanged(nameof(LiquidTypesRmls));
        }

        /// <summary>
        /// Called when the Lub has changed.
        /// </summary>
        protected virtual void OnLubChanged(Lub lub)
        {
            LubChanged?.Invoke(this, lub);
            RaisePropertyChanged(nameof(Lub));
        }

        /// <summary>
        /// Called when the MediaCondition has changed.
        /// </summary>
        protected virtual void OnMediaConditionChanged(MediaCondition mediacondition)
        {
            MediaConditionChanged?.Invoke(this, mediacondition);
            RaisePropertyChanged(nameof(MediaCondition));
        }

        /// <summary>
        /// Called when the MediaMaterial has changed.
        /// </summary>
        protected virtual void OnMediaMaterialChanged(MediaMaterial mediamaterial)
        {
            MediaMaterialChanged?.Invoke(this, mediamaterial);
            RaisePropertyChanged(nameof(MediaMaterial));
        }

        /// <summary>
        /// Called when the MediaPurpose has changed.
        /// </summary>
        protected virtual void OnMediaPurposeChanged(MediaPurpos mediapurpose)
        {
            MediaPurposeChanged?.Invoke(this, mediapurpose);
            RaisePropertyChanged(nameof(MediaPurpose));
        }

        /// <summary>
        /// Called when the ProcessParametersTablesGroups has changed.
        /// </summary>
        protected virtual void OnProcessParametersTablesGroupsChanged(SynchronizedObservableCollection<ProcessParametersTablesGroup> processparameterstablesgroups)
        {
            ProcessParametersTablesGroupsChanged?.Invoke(this, processparameterstablesgroups);
            RaisePropertyChanged(nameof(ProcessParametersTablesGroups));
        }

        /// <summary>
        /// Called when the RmlsExtensions has changed.
        /// </summary>
        protected virtual void OnRmlsExtensionsChanged(SynchronizedObservableCollection<RmlsExtension> rmlsextensions)
        {
            RmlsExtensionsChanged?.Invoke(this, rmlsextensions);
            RaisePropertyChanged(nameof(RmlsExtensions));
        }

        /// <summary>
        /// Called when the RmlsSpools has changed.
        /// </summary>
        protected virtual void OnRmlsSpoolsChanged(SynchronizedObservableCollection<RmlsSpool> rmlsspools)
        {
            RmlsSpoolsChanged?.Invoke(this, rmlsspools);
            RaisePropertyChanged(nameof(RmlsSpools));
        }

        /// <summary>
        /// Called when the SitesRmls has changed.
        /// </summary>
        protected virtual void OnSitesRmlsChanged(SynchronizedObservableCollection<SitesRml> sitesrmls)
        {
            SitesRmlsChanged?.Invoke(this, sitesrmls);
            RaisePropertyChanged(nameof(SitesRmls));
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="RmlBase" /> class.
        /// </summary>
        public RmlBase() : base()
        {

            Cats = new SynchronizedObservableCollection<Cat>();

            ColorCatalogsItemsRecipes = new SynchronizedObservableCollection<ColorCatalogsItemsRecipe>();

            Jobs = new SynchronizedObservableCollection<Job>();

            LiquidTypesRmls = new SynchronizedObservableCollection<LiquidTypesRml>();

            ProcessParametersTablesGroups = new SynchronizedObservableCollection<ProcessParametersTablesGroup>();

            RmlsExtensions = new SynchronizedObservableCollection<RmlsExtension>();

            RmlsSpools = new SynchronizedObservableCollection<RmlsSpool>();

            SitesRmls = new SynchronizedObservableCollection<SitesRml>();

        }
    }
}