diff options
| author | Roy <Roy.mail.net@gmail.com> | 2023-09-03 16:18:55 +0300 |
|---|---|---|
| committer | Roy <Roy.mail.net@gmail.com> | 2023-09-03 16:18:55 +0300 |
| commit | c66acc359b311ecc940f3c4e74bd9e21dc0bfd51 (patch) | |
| tree | 8869b9d48fbad776c94df401680afc43fc350e69 /Software/Visual_Studio/Tango.BL | |
| parent | 6cdea71fa07d092139697d9c67651dade37aed96 (diff) | |
| parent | b271fe1c21172ed22a34b987a2cb9457b39ce8a3 (diff) | |
| download | Tango-c66acc359b311ecc940f3c4e74bd9e21dc0bfd51.tar.gz Tango-c66acc359b311ecc940f3c4e74bd9e21dc0bfd51.zip | |
Merged Eureka Branch !!!
Diffstat (limited to 'Software/Visual_Studio/Tango.BL')
28 files changed, 4297 insertions, 24 deletions
diff --git a/Software/Visual_Studio/Tango.BL/Builders/JobsCollectionBuilder.cs b/Software/Visual_Studio/Tango.BL/Builders/JobsCollectionBuilder.cs index c155e7020..a2c9c3678 100644 --- a/Software/Visual_Studio/Tango.BL/Builders/JobsCollectionBuilder.cs +++ b/Software/Visual_Studio/Tango.BL/Builders/JobsCollectionBuilder.cs @@ -63,5 +63,16 @@ namespace Tango.BL.Builders } }); } + + public virtual JobsCollectionBuilder WithRmls() + { + return AddStep(4, () => + { + foreach (var job in Entities.ToList()) + { + Context.Rmls.Where(x => x.Guid == job.RmlGuid).ToList(); + } + }); + } } } diff --git a/Software/Visual_Studio/Tango.BL/DTO/HardwareVersionDTOBase.cs b/Software/Visual_Studio/Tango.BL/DTO/HardwareVersionDTOBase.cs index 84f75210e..6ef629488 100644 --- a/Software/Visual_Studio/Tango.BL/DTO/HardwareVersionDTOBase.cs +++ b/Software/Visual_Studio/Tango.BL/DTO/HardwareVersionDTOBase.cs @@ -37,5 +37,21 @@ namespace Tango.BL.DTO get; set; } + /// <summary> + /// machine type + /// </summary> + public Int32 MachineType + { + get; set; + } + + /// <summary> + /// user name + /// </summary> + public String UserName + { + get; set; + } + } } diff --git a/Software/Visual_Studio/Tango.BL/DTO/JobRunDTOBase.cs b/Software/Visual_Studio/Tango.BL/DTO/JobRunDTOBase.cs index 3f3efb015..45aa02514 100644 --- a/Software/Visual_Studio/Tango.BL/DTO/JobRunDTOBase.cs +++ b/Software/Visual_Studio/Tango.BL/DTO/JobRunDTOBase.cs @@ -333,5 +333,13 @@ namespace Tango.BL.DTO get; set; } + /// <summary> + /// machine type + /// </summary> + public Int32 MachineType + { + get; set; + } + } } diff --git a/Software/Visual_Studio/Tango.BL/DTO/MachineDTOBase.cs b/Software/Visual_Studio/Tango.BL/DTO/MachineDTOBase.cs index f6a97c88e..48974eb96 100644 --- a/Software/Visual_Studio/Tango.BL/DTO/MachineDTOBase.cs +++ b/Software/Visual_Studio/Tango.BL/DTO/MachineDTOBase.cs @@ -301,5 +301,13 @@ namespace Tango.BL.DTO get; set; } + /// <summary> + /// machine type + /// </summary> + public Int32 MachineType + { + get; set; + } + } } diff --git a/Software/Visual_Studio/Tango.BL/DTO/MachinePrototypeDTOBase.cs b/Software/Visual_Studio/Tango.BL/DTO/MachinePrototypeDTOBase.cs index 1629bbbd0..ac97ccc50 100644 --- a/Software/Visual_Studio/Tango.BL/DTO/MachinePrototypeDTOBase.cs +++ b/Software/Visual_Studio/Tango.BL/DTO/MachinePrototypeDTOBase.cs @@ -22,6 +22,14 @@ namespace Tango.BL.DTO { /// <summary> + /// machine type + /// </summary> + public Int32 MachineType + { + get; set; + } + + /// <summary> /// name /// </summary> public String Name diff --git a/Software/Visual_Studio/Tango.BL/DTO/ProcessParametersTableDTOBase.cs b/Software/Visual_Studio/Tango.BL/DTO/ProcessParametersTableDTOBase.cs index c9a8ef967..9ee86e42a 100644 --- a/Software/Visual_Studio/Tango.BL/DTO/ProcessParametersTableDTOBase.cs +++ b/Software/Visual_Studio/Tango.BL/DTO/ProcessParametersTableDTOBase.cs @@ -309,5 +309,245 @@ namespace Tango.BL.DTO get; set; } + /// <summary> + /// e winder1 tension + /// </summary> + public Double EWinder1Tension + { + get; set; + } + + /// <summary> + /// e winder2 tension + /// </summary> + public Double EWinder2Tension + { + get; set; + } + + /// <summary> + /// e winder3 tension + /// </summary> + public Double EWinder3Tension + { + get; set; + } + + /// <summary> + /// e winder4 tension + /// </summary> + public Double EWinder4Tension + { + get; set; + } + + /// <summary> + /// e btsr1 feeding tension + /// </summary> + public Double EBtsr1FeedingTension + { + get; set; + } + + /// <summary> + /// e btsr2 feeding tension + /// </summary> + public Double EBtsr2FeedingTension + { + get; set; + } + + /// <summary> + /// e btsr3 feeding tension + /// </summary> + public Double EBtsr3FeedingTension + { + get; set; + } + + /// <summary> + /// e btsr4 feeding tension + /// </summary> + public Double EBtsr4FeedingTension + { + get; set; + } + + /// <summary> + /// e mixer temp + /// </summary> + public Double EMixerTemp + { + get; set; + } + + /// <summary> + /// e head zone1 temp + /// </summary> + public Double EHeadZone1Temp + { + get; set; + } + + /// <summary> + /// e head zone2 temp + /// </summary> + public Double EHeadZone2Temp + { + get; set; + } + + /// <summary> + /// e head zone3 temp + /// </summary> + public Double EHeadZone3Temp + { + get; set; + } + + /// <summary> + /// e dryer zone1 temp + /// </summary> + public Double EDryerZone1Temp + { + get; set; + } + + /// <summary> + /// e dryer zone2 temp + /// </summary> + public Double EDryerZone2Temp + { + get; set; + } + + /// <summary> + /// e dryer zone3 temp + /// </summary> + public Double EDryerZone3Temp + { + get; set; + } + + /// <summary> + /// e lubricant temp + /// </summary> + public Double ELubricantTemp + { + get; set; + } + + /// <summary> + /// e dryer incoming air flow + /// </summary> + public Double EDryerIncomingAirFlow + { + get; set; + } + + /// <summary> + /// e dryer outgoing air flow + /// </summary> + public Double EDryerOutgoingAirFlow + { + get; set; + } + + /// <summary> + /// e tunnel incoming air flow + /// </summary> + public Double ETunnelIncomingAirFlow + { + get; set; + } + + /// <summary> + /// e tunnel outgoing air flow + /// </summary> + public Double ETunnelOutgoingAirFlow + { + get; set; + } + + /// <summary> + /// e waste air flow + /// </summary> + public Double EWasteAirFlow + { + get; set; + } + + /// <summary> + /// e waste prepare time + /// </summary> + public Double EWastePrepareTime + { + get; set; + } + + /// <summary> + /// e pump temp + /// </summary> + public Double EPumpTemp + { + get; set; + } + + /// <summary> + /// e pressure build up + /// </summary> + public Double EPressureBuildUp + { + get; set; + } + + /// <summary> + /// e spare1 + /// </summary> + public Double ESpare1 + { + get; set; + } + + /// <summary> + /// e spare2 + /// </summary> + public Double ESpare2 + { + get; set; + } + + /// <summary> + /// e spare3 + /// </summary> + public Double ESpare3 + { + get; set; + } + + /// <summary> + /// e spare4 + /// </summary> + public Double ESpare4 + { + get; set; + } + + /// <summary> + /// e spare5 + /// </summary> + public Double ESpare5 + { + get; set; + } + + /// <summary> + /// e tunnel temp + /// </summary> + public Double ETunnelTemp + { + get; set; + } + } } diff --git a/Software/Visual_Studio/Tango.BL/Entities/HardwareVersion.cs b/Software/Visual_Studio/Tango.BL/Entities/HardwareVersion.cs index bc65c33ce..1688e87fc 100644 --- a/Software/Visual_Studio/Tango.BL/Entities/HardwareVersion.cs +++ b/Software/Visual_Studio/Tango.BL/Entities/HardwareVersion.cs @@ -5,12 +5,27 @@ using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; +using Tango.BL.Enumerations; using Tango.BL.Serialization; namespace Tango.BL.Entities { public partial class HardwareVersion : HardwareVersionBase { + [NotMapped] + [JsonIgnore] + public MachineTypes ForMachineType + { + get + { + return (MachineTypes)MachineType; + } + set + { + MachineType = value.ToInt32(); + } + } + public override HardwareVersion Clone() { var cloned = base.Clone(); @@ -99,7 +114,7 @@ namespace Tango.BL.Entities [JsonIgnore] public String FullName { - get { return $"{Name} v{Version}"; } + get { return $"{Name} v{Version} {ForMachineType}"; } } /// <summary> diff --git a/Software/Visual_Studio/Tango.BL/Entities/HardwareVersionBase.cs b/Software/Visual_Studio/Tango.BL/Entities/HardwareVersionBase.cs index 3d7d555dc..e30903baa 100644 --- a/Software/Visual_Studio/Tango.BL/Entities/HardwareVersionBase.cs +++ b/Software/Visual_Studio/Tango.BL/Entities/HardwareVersionBase.cs @@ -31,6 +31,10 @@ namespace Tango.BL.Entities public event EventHandler<String> NameChanged; + public event EventHandler<Int32> MachineTypeChanged; + + public event EventHandler<String> UserNameChanged; + public event EventHandler<SynchronizedObservableCollection<Configuration>> ConfigurationsChanged; public event EventHandler<SynchronizedObservableCollection<HardwareBlower>> HardwareBlowersChanged; @@ -101,6 +105,60 @@ namespace Tango.BL.Entities } } + protected Int32 _machinetype; + + /// <summary> + /// Gets or sets the hardwareversionbase machine type. + /// </summary> + + [Column("MACHINE_TYPE")] + + public Int32 MachineType + { + get + { + return _machinetype; + } + + set + { + if (_machinetype != value) + { + _machinetype = value; + + OnMachineTypeChanged(value); + + } + } + } + + protected String _username; + + /// <summary> + /// Gets or sets the hardwareversionbase user name. + /// </summary> + + [Column("USER_NAME")] + + public String UserName + { + get + { + return _username; + } + + set + { + if (_username != value) + { + _username = value; + + OnUserNameChanged(value); + + } + } + } + protected SynchronizedObservableCollection<Configuration> _configurations; /// <summary> @@ -320,6 +378,24 @@ namespace Tango.BL.Entities } /// <summary> + /// Called when the MachineType has changed. + /// </summary> + protected virtual void OnMachineTypeChanged(Int32 machinetype) + { + MachineTypeChanged?.Invoke(this, machinetype); + RaisePropertyChanged(nameof(MachineType)); + } + + /// <summary> + /// Called when the UserName has changed. + /// </summary> + protected virtual void OnUserNameChanged(String username) + { + UserNameChanged?.Invoke(this, username); + RaisePropertyChanged(nameof(UserName)); + } + + /// <summary> /// Called when the Configurations has changed. /// </summary> protected virtual void OnConfigurationsChanged(SynchronizedObservableCollection<Configuration> configurations) diff --git a/Software/Visual_Studio/Tango.BL/Entities/Job.cs b/Software/Visual_Studio/Tango.BL/Entities/Job.cs index c6a6ea226..29f7e1054 100644 --- a/Software/Visual_Studio/Tango.BL/Entities/Job.cs +++ b/Software/Visual_Studio/Tango.BL/Entities/Job.cs @@ -93,6 +93,84 @@ namespace Tango.BL.Entities } } + [NotMapped] + [JsonIgnore] + public double LengthIncludingNumberOfUnitsAndSpools + { + get + { + if (Spools >= 4) + { + return LengthIncludingNumberOfUnits * Spools; + } + + return LengthIncludingNumberOfUnits; + } + } + + [NotMapped] + [JsonIgnore] + public double WeightIncludingNumberOfUnits + { + get + { + if (Rml == null) + return 0; + + var gramPerlength = Rml.GetGramPer1000mLength; + var weight = (LengthIncludingNumberOfUnits * gramPerlength) / (1000 );//(g) + return weight; + } + } + + [NotMapped] + [JsonIgnore] + public double WeightIncludingNumberOfUnitsAndSpools + { + get + { + if (Spools >= 4) + { + return WeightIncludingNumberOfUnits * Spools; + } + + return WeightIncludingNumberOfUnits; + } + } + + [NotMapped] + [JsonIgnore] + public Int32 NumberOfUnitsMultipliedBySpools + { + get + { + if (Spools >= 4) + { + return NumberOfUnits * Spools; + } + return NumberOfUnits; + } + } + + [NotMapped] + [JsonIgnore] + public double WeightNumberOfUnits + { + get + { + _lastLength = GetLength(); + var l = _lastLength * Math.Max(NumberOfUnits, 1); + + if (EnableInterSegment && NumberOfUnits > 1) + { + l += ((NumberOfUnits - 1) * InterSegmentLength); + } + + return l; + } + } + + /// <summary> /// Gets or sets the job <see cref="Status"/> property as <see cref="JobStatus"/> enum instead of int. /// </summary> @@ -141,6 +219,13 @@ namespace Tango.BL.Entities } } + [NotMapped] + [JsonIgnore] + public int Spools + { + get { return 4; }//headunits? + } + /// <summary> /// Gets or sets the effective segments. /// </summary> @@ -318,6 +403,17 @@ namespace Tango.BL.Entities set { EditingState = value.ToInt32(); RaisePropertyChangedAuto(); } } + [NotMapped] + [JsonIgnore] + public double GramPerLength { get; set;} + + [NotMapped] + [JsonIgnore] + public String ThreadName + { + get { return Rml == null ? "" : Rml.DisplayName;} + } + #endregion #region Unmapped Fine Tuning @@ -381,6 +477,18 @@ namespace Tango.BL.Entities } } + protected override void OnRmlChanged(Rml rml) + { + base.OnRmlChanged(rml); + if(rml != null) + { + GramPerLength = Rml.GetGramPer1000mLength; + } + else + GramPerLength = 0; + RaisePropertyChanged(nameof(ThreadName)); + } + #endregion #region Override Methods @@ -527,14 +635,17 @@ namespace Tango.BL.Entities } return length; - //if (Segments != null) - //{ - // return Segments.Sum(x => x.LengthWithFactor) + ((EnableInterSegment && IsAllSegmentsPerSpool) ? (InterSegmentLength * (Segments.Count > 0 ? Segments.Count - 1 : Segments.Count)) : 0); - //} - //else - //{ - // return 0; - //} + } + + private double GetWeigth() + { + if(Rml == null) + return 0; + + double length = GetLength(); + + var weight = (length * GramPerLength) / (1000 );//length in m, return value in g + return weight; } #endregion diff --git a/Software/Visual_Studio/Tango.BL/Entities/JobRunBase.cs b/Software/Visual_Studio/Tango.BL/Entities/JobRunBase.cs index da3ff6f5b..ddb33e7d2 100644 --- a/Software/Visual_Studio/Tango.BL/Entities/JobRunBase.cs +++ b/Software/Visual_Studio/Tango.BL/Entities/JobRunBase.cs @@ -95,6 +95,8 @@ namespace Tango.BL.Entities public event EventHandler<String> FineTuningStringChanged; + public event EventHandler<Int32> MachineTypeChanged; + protected String _machineguid; /// <summary> @@ -1140,6 +1142,33 @@ namespace Tango.BL.Entities } } + protected Int32 _machinetype; + + /// <summary> + /// Gets or sets the jobrunbase machine type. + /// </summary> + + [Column("MACHINE_TYPE")] + + public Int32 MachineType + { + get + { + return _machinetype; + } + + set + { + if (_machinetype != value) + { + _machinetype = value; + + OnMachineTypeChanged(value); + + } + } + } + /// <summary> /// Called when the JobName has changed. /// </summary> @@ -1447,6 +1476,15 @@ namespace Tango.BL.Entities } /// <summary> + /// Called when the MachineType has changed. + /// </summary> + protected virtual void OnMachineTypeChanged(Int32 machinetype) + { + MachineTypeChanged?.Invoke(this, machinetype); + RaisePropertyChanged(nameof(MachineType)); + } + + /// <summary> /// Initializes a new instance of the <see cref="JobRunBase" /> class. /// </summary> public JobRunBase() : base() diff --git a/Software/Visual_Studio/Tango.BL/Entities/Machine.cs b/Software/Visual_Studio/Tango.BL/Entities/Machine.cs index b82738db8..01e17cfde 100644 --- a/Software/Visual_Studio/Tango.BL/Entities/Machine.cs +++ b/Software/Visual_Studio/Tango.BL/Entities/Machine.cs @@ -3,6 +3,7 @@ using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel.DataAnnotations.Schema; +using System.Data.Entity; using System.Linq; using System.Reflection; using System.Text; @@ -90,6 +91,20 @@ namespace Tango.BL.Entities } } + [NotMapped] + [JsonIgnore] + public MachineTypes Type + { + get + { + return (MachineTypes)MachineType; + } + set + { + MachineType = value.ToInt32(); + } + } + #endregion protected override void RaisePropertyChanged(string propName) @@ -162,5 +177,24 @@ namespace Tango.BL.Entities { } + + public async Task<ObservableCollection<SpoolType>> GetSiteSpoolTypes(ObservablesContext db) + { + ObservableCollection<SpoolType> spoolTypes = new ObservableCollection<SpoolType>(); + + spoolTypes = (await db.SitesSpoolTypes.Where(x => x.SiteGuid == SiteGuid).Include(x => x.SpoolType).Select(x => x.SpoolType).ToListAsync()).OrderBy(x => x.LastUpdated).ToObservableCollection(); + + if (spoolTypes.Count == 0) + { + spoolTypes = new ObservableCollection<SpoolType>(); + var standardSpool = await db.SpoolTypes.FirstOrDefaultAsync(x => x.Code == (int)BL.Enumerations.SpoolTypes.StandardSpool); + if (standardSpool != null) + { + spoolTypes.Add(standardSpool); + } + } + + return spoolTypes; + } } } diff --git a/Software/Visual_Studio/Tango.BL/Entities/MachineBase.cs b/Software/Visual_Studio/Tango.BL/Entities/MachineBase.cs index b56e59174..dcd84d9eb 100644 --- a/Software/Visual_Studio/Tango.BL/Entities/MachineBase.cs +++ b/Software/Visual_Studio/Tango.BL/Entities/MachineBase.cs @@ -81,6 +81,8 @@ namespace Tango.BL.Entities public event EventHandler<String> VersionTagChanged; + public event EventHandler<Int32> MachineTypeChanged; + public event EventHandler<SynchronizedObservableCollection<Cat>> CatsChanged; public event EventHandler<SynchronizedObservableCollection<ColorProcessParameter>> ColorProcessParametersChanged; @@ -1037,6 +1039,33 @@ namespace Tango.BL.Entities } } + protected Int32 _machinetype; + + /// <summary> + /// Gets or sets the machinebase machine type. + /// </summary> + + [Column("MACHINE_TYPE")] + + public Int32 MachineType + { + get + { + return _machinetype; + } + + set + { + if (_machinetype != value) + { + _machinetype = value; + + OnMachineTypeChanged(value); + + } + } + } + protected SynchronizedObservableCollection<Cat> _cats; /// <summary> @@ -1602,6 +1631,15 @@ namespace Tango.BL.Entities } /// <summary> + /// Called when the MachineType has changed. + /// </summary> + protected virtual void OnMachineTypeChanged(Int32 machinetype) + { + MachineTypeChanged?.Invoke(this, machinetype); + RaisePropertyChanged(nameof(MachineType)); + } + + /// <summary> /// Called when the Cats has changed. /// </summary> protected virtual void OnCatsChanged(SynchronizedObservableCollection<Cat> cats) diff --git a/Software/Visual_Studio/Tango.BL/Entities/MachinePrototype.cs b/Software/Visual_Studio/Tango.BL/Entities/MachinePrototype.cs index a1dee5a5d..d93c80f8c 100644 --- a/Software/Visual_Studio/Tango.BL/Entities/MachinePrototype.cs +++ b/Software/Visual_Studio/Tango.BL/Entities/MachinePrototype.cs @@ -129,6 +129,7 @@ namespace Tango.BL.Entities prototype.Name = name; prototype.Description = description; prototype.LastUpdated = DateTime.UtcNow; + prototype.MachineType = machine.MachineType; prototype.SetPrototypeMachine(machine); return prototype; diff --git a/Software/Visual_Studio/Tango.BL/Entities/MachinePrototypeBase.cs b/Software/Visual_Studio/Tango.BL/Entities/MachinePrototypeBase.cs index 2ecaad7e4..863496860 100644 --- a/Software/Visual_Studio/Tango.BL/Entities/MachinePrototypeBase.cs +++ b/Software/Visual_Studio/Tango.BL/Entities/MachinePrototypeBase.cs @@ -27,12 +27,41 @@ namespace Tango.BL.Entities public abstract class MachinePrototypeBase : ObservableEntity<MachinePrototype> { + public event EventHandler<Int32> MachineTypeChanged; + public event EventHandler<String> NameChanged; public event EventHandler<String> DescriptionChanged; public event EventHandler<String> PrototypeJsonChanged; + protected Int32 _machinetype; + + /// <summary> + /// Gets or sets the machineprototypebase machine type. + /// </summary> + + [Column("MACHINE_TYPE")] + + public Int32 MachineType + { + get + { + return _machinetype; + } + + set + { + if (_machinetype != value) + { + _machinetype = value; + + OnMachineTypeChanged(value); + + } + } + } + protected String _name; /// <summary> @@ -115,6 +144,15 @@ namespace Tango.BL.Entities } /// <summary> + /// Called when the MachineType has changed. + /// </summary> + protected virtual void OnMachineTypeChanged(Int32 machinetype) + { + MachineTypeChanged?.Invoke(this, machinetype); + RaisePropertyChanged(nameof(MachineType)); + } + + /// <summary> /// Called when the Name has changed. /// </summary> protected virtual void OnNameChanged(String name) diff --git a/Software/Visual_Studio/Tango.BL/Entities/MachineVersion.cs b/Software/Visual_Studio/Tango.BL/Entities/MachineVersion.cs index 5832e8a74..694ee1f37 100644 --- a/Software/Visual_Studio/Tango.BL/Entities/MachineVersion.cs +++ b/Software/Visual_Studio/Tango.BL/Entities/MachineVersion.cs @@ -1,10 +1,13 @@ +using Newtonsoft.Json; using System; using System.Collections.Generic; +using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity; using System.Linq; using System.Text; using System.Threading.Tasks; using Tango.BL.Builders; +using Tango.BL.Enumerations; using Tango.BL.Serialization; namespace Tango.BL.Entities @@ -18,5 +21,12 @@ namespace Tango.BL.Entities { } + + [NotMapped] + [JsonIgnore] + public MachineTypes MachineType + { + get { return Version == 1 ? MachineTypes.TS1800 : MachineTypes.Eureka; } + } } } diff --git a/Software/Visual_Studio/Tango.BL/Entities/ProcessParametersTable.cs b/Software/Visual_Studio/Tango.BL/Entities/ProcessParametersTable.cs index 0a78dbc93..1dadd61c8 100644 --- a/Software/Visual_Studio/Tango.BL/Entities/ProcessParametersTable.cs +++ b/Software/Visual_Studio/Tango.BL/Entities/ProcessParametersTable.cs @@ -5,6 +5,7 @@ using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; +using Tango.BL.Enumerations; using Tango.Core.ExtensionMethods; namespace Tango.BL.Entities @@ -13,6 +14,10 @@ namespace Tango.BL.Entities { public event EventHandler DyeingSpeedMinInkUptakeChanged; + [NotMapped] + [JsonIgnore] + public static MachineTypes DryerBufferMode { get; set; } + public const double DRYER_METERS_PER_CYCLE = 0.76; public const double DRYER_TO_SPOOL_LENGTH_METERS = 0.9; @@ -35,7 +40,17 @@ namespace Tango.BL.Entities [JsonIgnore] public double DryerBufferLengthMeters { - get { return (DryerBufferLength * DRYER_METERS_PER_CYCLE) + DRYER_TO_SPOOL_LENGTH_METERS; } + get + { + if (DryerBufferMode == MachineTypes.TS1800) + { + return (DryerBufferLength * DRYER_METERS_PER_CYCLE) + DRYER_TO_SPOOL_LENGTH_METERS; + } + else + { + return DryerBufferLength; + } + } } /// <summary> diff --git a/Software/Visual_Studio/Tango.BL/Entities/ProcessParametersTableBase.cs b/Software/Visual_Studio/Tango.BL/Entities/ProcessParametersTableBase.cs index 702674850..3fe1cacee 100644 --- a/Software/Visual_Studio/Tango.BL/Entities/ProcessParametersTableBase.cs +++ b/Software/Visual_Studio/Tango.BL/Entities/ProcessParametersTableBase.cs @@ -97,6 +97,66 @@ namespace Tango.BL.Entities public event EventHandler<Double> BtsrThreadLengthOffsetChanged; + public event EventHandler<Double> EWinder1TensionChanged; + + public event EventHandler<Double> EWinder2TensionChanged; + + public event EventHandler<Double> EWinder3TensionChanged; + + public event EventHandler<Double> EWinder4TensionChanged; + + public event EventHandler<Double> EBtsr1FeedingTensionChanged; + + public event EventHandler<Double> EBtsr2FeedingTensionChanged; + + public event EventHandler<Double> EBtsr3FeedingTensionChanged; + + public event EventHandler<Double> EBtsr4FeedingTensionChanged; + + public event EventHandler<Double> EMixerTempChanged; + + public event EventHandler<Double> EHeadZone1TempChanged; + + public event EventHandler<Double> EHeadZone2TempChanged; + + public event EventHandler<Double> EHeadZone3TempChanged; + + public event EventHandler<Double> EDryerZone1TempChanged; + + public event EventHandler<Double> EDryerZone2TempChanged; + + public event EventHandler<Double> EDryerZone3TempChanged; + + public event EventHandler<Double> ELubricantTempChanged; + + public event EventHandler<Double> EDryerIncomingAirFlowChanged; + + public event EventHandler<Double> EDryerOutgoingAirFlowChanged; + + public event EventHandler<Double> ETunnelIncomingAirFlowChanged; + + public event EventHandler<Double> ETunnelOutgoingAirFlowChanged; + + public event EventHandler<Double> EWasteAirFlowChanged; + + public event EventHandler<Double> EWastePrepareTimeChanged; + + public event EventHandler<Double> EPumpTempChanged; + + public event EventHandler<Double> EPressureBuildUpChanged; + + public event EventHandler<Double> ESpare1Changed; + + public event EventHandler<Double> ESpare2Changed; + + public event EventHandler<Double> ESpare3Changed; + + public event EventHandler<Double> ESpare4Changed; + + public event EventHandler<Double> ESpare5Changed; + + public event EventHandler<Double> ETunnelTempChanged; + public event EventHandler<ProcessParametersTablesGroup> ProcessParametersTablesGroupChanged; protected String _name; @@ -1206,6 +1266,936 @@ namespace Tango.BL.Entities } } + protected Double _ewinder1tension; + + /// <summary> + /// Gets or sets the processparameterstablebase e winder1 tension. + /// </summary> + + [Column("E_WINDER1_TENSION")] + + [StringFormat("0.0")] + + [PropertyIndex(40)] + + public Double EWinder1Tension + { + get + { + return _ewinder1tension; + } + + set + { + if (_ewinder1tension != value) + { + _ewinder1tension = value; + + OnEWinder1TensionChanged(value); + + } + } + } + + protected Double _ewinder2tension; + + /// <summary> + /// Gets or sets the processparameterstablebase e winder2 tension. + /// </summary> + + [Column("E_WINDER2_TENSION")] + + [StringFormat("0.0")] + + [PropertyIndex(41)] + + public Double EWinder2Tension + { + get + { + return _ewinder2tension; + } + + set + { + if (_ewinder2tension != value) + { + _ewinder2tension = value; + + OnEWinder2TensionChanged(value); + + } + } + } + + protected Double _ewinder3tension; + + /// <summary> + /// Gets or sets the processparameterstablebase e winder3 tension. + /// </summary> + + [Column("E_WINDER3_TENSION")] + + [StringFormat("0.0")] + + [PropertyIndex(42)] + + public Double EWinder3Tension + { + get + { + return _ewinder3tension; + } + + set + { + if (_ewinder3tension != value) + { + _ewinder3tension = value; + + OnEWinder3TensionChanged(value); + + } + } + } + + protected Double _ewinder4tension; + + /// <summary> + /// Gets or sets the processparameterstablebase e winder4 tension. + /// </summary> + + [Column("E_WINDER4_TENSION")] + + [StringFormat("0.0")] + + [PropertyIndex(43)] + + public Double EWinder4Tension + { + get + { + return _ewinder4tension; + } + + set + { + if (_ewinder4tension != value) + { + _ewinder4tension = value; + + OnEWinder4TensionChanged(value); + + } + } + } + + protected Double _ebtsr1feedingtension; + + /// <summary> + /// Gets or sets the processparameterstablebase e btsr1 feeding tension. + /// </summary> + + [Column("E_BTSR1_FEEDING_TENSION")] + + [StringFormat("0.0")] + + [PropertyIndex(44)] + + public Double EBtsr1FeedingTension + { + get + { + return _ebtsr1feedingtension; + } + + set + { + if (_ebtsr1feedingtension != value) + { + _ebtsr1feedingtension = value; + + OnEBtsr1FeedingTensionChanged(value); + + } + } + } + + protected Double _ebtsr2feedingtension; + + /// <summary> + /// Gets or sets the processparameterstablebase e btsr2 feeding tension. + /// </summary> + + [Column("E_BTSR2_FEEDING_TENSION")] + + [StringFormat("0.0")] + + [PropertyIndex(45)] + + public Double EBtsr2FeedingTension + { + get + { + return _ebtsr2feedingtension; + } + + set + { + if (_ebtsr2feedingtension != value) + { + _ebtsr2feedingtension = value; + + OnEBtsr2FeedingTensionChanged(value); + + } + } + } + + protected Double _ebtsr3feedingtension; + + /// <summary> + /// Gets or sets the processparameterstablebase e btsr3 feeding tension. + /// </summary> + + [Column("E_BTSR3_FEEDING_TENSION")] + + [StringFormat("0.0")] + + [PropertyIndex(46)] + + public Double EBtsr3FeedingTension + { + get + { + return _ebtsr3feedingtension; + } + + set + { + if (_ebtsr3feedingtension != value) + { + _ebtsr3feedingtension = value; + + OnEBtsr3FeedingTensionChanged(value); + + } + } + } + + protected Double _ebtsr4feedingtension; + + /// <summary> + /// Gets or sets the processparameterstablebase e btsr4 feeding tension. + /// </summary> + + [Column("E_BTSR4_FEEDING_TENSION")] + + [StringFormat("0.0")] + + [PropertyIndex(47)] + + public Double EBtsr4FeedingTension + { + get + { + return _ebtsr4feedingtension; + } + + set + { + if (_ebtsr4feedingtension != value) + { + _ebtsr4feedingtension = value; + + OnEBtsr4FeedingTensionChanged(value); + + } + } + } + + protected Double _emixertemp; + + /// <summary> + /// Gets or sets the processparameterstablebase e mixer temp. + /// </summary> + + [Column("E_MIXER_TEMP")] + + [StringFormat("0.0")] + + [PropertyIndex(48)] + + public Double EMixerTemp + { + get + { + return _emixertemp; + } + + set + { + if (_emixertemp != value) + { + _emixertemp = value; + + OnEMixerTempChanged(value); + + } + } + } + + protected Double _eheadzone1temp; + + /// <summary> + /// Gets or sets the processparameterstablebase e head zone1 temp. + /// </summary> + + [Column("E_HEAD_ZONE1_TEMP")] + + [StringFormat("0.0")] + + [PropertyIndex(49)] + + public Double EHeadZone1Temp + { + get + { + return _eheadzone1temp; + } + + set + { + if (_eheadzone1temp != value) + { + _eheadzone1temp = value; + + OnEHeadZone1TempChanged(value); + + } + } + } + + protected Double _eheadzone2temp; + + /// <summary> + /// Gets or sets the processparameterstablebase e head zone2 temp. + /// </summary> + + [Column("E_HEAD_ZONE2_TEMP")] + + [StringFormat("0.0")] + + [PropertyIndex(50)] + + public Double EHeadZone2Temp + { + get + { + return _eheadzone2temp; + } + + set + { + if (_eheadzone2temp != value) + { + _eheadzone2temp = value; + + OnEHeadZone2TempChanged(value); + + } + } + } + + protected Double _eheadzone3temp; + + /// <summary> + /// Gets or sets the processparameterstablebase e head zone3 temp. + /// </summary> + + [Column("E_HEAD_ZONE3_TEMP")] + + [StringFormat("0.0")] + + [PropertyIndex(51)] + + public Double EHeadZone3Temp + { + get + { + return _eheadzone3temp; + } + + set + { + if (_eheadzone3temp != value) + { + _eheadzone3temp = value; + + OnEHeadZone3TempChanged(value); + + } + } + } + + protected Double _edryerzone1temp; + + /// <summary> + /// Gets or sets the processparameterstablebase e dryer zone1 temp. + /// </summary> + + [Column("E_DRYER_ZONE1_TEMP")] + + [StringFormat("0.0")] + + [PropertyIndex(52)] + + public Double EDryerZone1Temp + { + get + { + return _edryerzone1temp; + } + + set + { + if (_edryerzone1temp != value) + { + _edryerzone1temp = value; + + OnEDryerZone1TempChanged(value); + + } + } + } + + protected Double _edryerzone2temp; + + /// <summary> + /// Gets or sets the processparameterstablebase e dryer zone2 temp. + /// </summary> + + [Column("E_DRYER_ZONE2_TEMP")] + + [StringFormat("0.0")] + + [PropertyIndex(53)] + + public Double EDryerZone2Temp + { + get + { + return _edryerzone2temp; + } + + set + { + if (_edryerzone2temp != value) + { + _edryerzone2temp = value; + + OnEDryerZone2TempChanged(value); + + } + } + } + + protected Double _edryerzone3temp; + + /// <summary> + /// Gets or sets the processparameterstablebase e dryer zone3 temp. + /// </summary> + + [Column("E_DRYER_ZONE3_TEMP")] + + [StringFormat("0.0")] + + [PropertyIndex(54)] + + public Double EDryerZone3Temp + { + get + { + return _edryerzone3temp; + } + + set + { + if (_edryerzone3temp != value) + { + _edryerzone3temp = value; + + OnEDryerZone3TempChanged(value); + + } + } + } + + protected Double _elubricanttemp; + + /// <summary> + /// Gets or sets the processparameterstablebase e lubricant temp. + /// </summary> + + [Column("E_LUBRICANT_TEMP")] + + [StringFormat("0.0")] + + [PropertyIndex(55)] + + public Double ELubricantTemp + { + get + { + return _elubricanttemp; + } + + set + { + if (_elubricanttemp != value) + { + _elubricanttemp = value; + + OnELubricantTempChanged(value); + + } + } + } + + protected Double _edryerincomingairflow; + + /// <summary> + /// Gets or sets the processparameterstablebase e dryer incoming air flow. + /// </summary> + + [Column("E_DRYER_INCOMING_AIR_FLOW")] + + [StringFormat("0.0")] + + [PropertyIndex(56)] + + public Double EDryerIncomingAirFlow + { + get + { + return _edryerincomingairflow; + } + + set + { + if (_edryerincomingairflow != value) + { + _edryerincomingairflow = value; + + OnEDryerIncomingAirFlowChanged(value); + + } + } + } + + protected Double _edryeroutgoingairflow; + + /// <summary> + /// Gets or sets the processparameterstablebase e dryer outgoing air flow. + /// </summary> + + [Column("E_DRYER_OUTGOING_AIR_FLOW")] + + [StringFormat("0.0")] + + [PropertyIndex(57)] + + public Double EDryerOutgoingAirFlow + { + get + { + return _edryeroutgoingairflow; + } + + set + { + if (_edryeroutgoingairflow != value) + { + _edryeroutgoingairflow = value; + + OnEDryerOutgoingAirFlowChanged(value); + + } + } + } + + protected Double _etunnelincomingairflow; + + /// <summary> + /// Gets or sets the processparameterstablebase e tunnel incoming air flow. + /// </summary> + + [Column("E_TUNNEL_INCOMING_AIR_FLOW")] + + [StringFormat("0.0")] + + [PropertyIndex(58)] + + public Double ETunnelIncomingAirFlow + { + get + { + return _etunnelincomingairflow; + } + + set + { + if (_etunnelincomingairflow != value) + { + _etunnelincomingairflow = value; + + OnETunnelIncomingAirFlowChanged(value); + + } + } + } + + protected Double _etunneloutgoingairflow; + + /// <summary> + /// Gets or sets the processparameterstablebase e tunnel outgoing air flow. + /// </summary> + + [Column("E_TUNNEL_OUTGOING_AIR_FLOW")] + + [StringFormat("0.0")] + + [PropertyIndex(59)] + + public Double ETunnelOutgoingAirFlow + { + get + { + return _etunneloutgoingairflow; + } + + set + { + if (_etunneloutgoingairflow != value) + { + _etunneloutgoingairflow = value; + + OnETunnelOutgoingAirFlowChanged(value); + + } + } + } + + protected Double _ewasteairflow; + + /// <summary> + /// Gets or sets the processparameterstablebase e waste air flow. + /// </summary> + + [Column("E_WASTE_AIR_FLOW")] + + [StringFormat("0.0")] + + [PropertyIndex(60)] + + public Double EWasteAirFlow + { + get + { + return _ewasteairflow; + } + + set + { + if (_ewasteairflow != value) + { + _ewasteairflow = value; + + OnEWasteAirFlowChanged(value); + + } + } + } + + protected Double _ewastepreparetime; + + /// <summary> + /// Gets or sets the processparameterstablebase e waste prepare time. + /// </summary> + + [Column("E_WASTE_PREPARE_TIME")] + + [StringFormat("0.0")] + + [PropertyIndex(61)] + + public Double EWastePrepareTime + { + get + { + return _ewastepreparetime; + } + + set + { + if (_ewastepreparetime != value) + { + _ewastepreparetime = value; + + OnEWastePrepareTimeChanged(value); + + } + } + } + + protected Double _epumptemp; + + /// <summary> + /// Gets or sets the processparameterstablebase e pump temp. + /// </summary> + + [Column("E_PUMP_TEMP")] + + [StringFormat("0.0")] + + [PropertyIndex(62)] + + public Double EPumpTemp + { + get + { + return _epumptemp; + } + + set + { + if (_epumptemp != value) + { + _epumptemp = value; + + OnEPumpTempChanged(value); + + } + } + } + + protected Double _epressurebuildup; + + /// <summary> + /// Gets or sets the processparameterstablebase e pressure build up. + /// </summary> + + [Column("E_PRESSURE_BUILD_UP")] + + [StringFormat("0.0")] + + [PropertyIndex(63)] + + public Double EPressureBuildUp + { + get + { + return _epressurebuildup; + } + + set + { + if (_epressurebuildup != value) + { + _epressurebuildup = value; + + OnEPressureBuildUpChanged(value); + + } + } + } + + protected Double _espare1; + + /// <summary> + /// Gets or sets the processparameterstablebase e spare1. + /// </summary> + + [Column("E_SPARE1")] + + [StringFormat("0.0")] + + [PropertyIndex(65)] + + public Double ESpare1 + { + get + { + return _espare1; + } + + set + { + if (_espare1 != value) + { + _espare1 = value; + + OnESpare1Changed(value); + + } + } + } + + protected Double _espare2; + + /// <summary> + /// Gets or sets the processparameterstablebase e spare2. + /// </summary> + + [Column("E_SPARE2")] + + [StringFormat("0.0")] + + [PropertyIndex(66)] + + public Double ESpare2 + { + get + { + return _espare2; + } + + set + { + if (_espare2 != value) + { + _espare2 = value; + + OnESpare2Changed(value); + + } + } + } + + protected Double _espare3; + + /// <summary> + /// Gets or sets the processparameterstablebase e spare3. + /// </summary> + + [Column("E_SPARE3")] + + [StringFormat("0.0")] + + [PropertyIndex(67)] + + public Double ESpare3 + { + get + { + return _espare3; + } + + set + { + if (_espare3 != value) + { + _espare3 = value; + + OnESpare3Changed(value); + + } + } + } + + protected Double _espare4; + + /// <summary> + /// Gets or sets the processparameterstablebase e spare4. + /// </summary> + + [Column("E_SPARE4")] + + [StringFormat("0.0")] + + [PropertyIndex(68)] + + public Double ESpare4 + { + get + { + return _espare4; + } + + set + { + if (_espare4 != value) + { + _espare4 = value; + + OnESpare4Changed(value); + + } + } + } + + protected Double _espare5; + + /// <summary> + /// Gets or sets the processparameterstablebase e spare5. + /// </summary> + + [Column("E_SPARE5")] + + [StringFormat("0.0")] + + [PropertyIndex(69)] + + public Double ESpare5 + { + get + { + return _espare5; + } + + set + { + if (_espare5 != value) + { + _espare5 = value; + + OnESpare5Changed(value); + + } + } + } + + protected Double _etunneltemp; + + /// <summary> + /// Gets or sets the processparameterstablebase e tunnel temp. + /// </summary> + + [Column("E_TUNNEL_TEMP")] + + [StringFormat("0.0")] + + [PropertyIndex(64)] + + public Double ETunnelTemp + { + get + { + return _etunneltemp; + } + + set + { + if (_etunneltemp != value) + { + _etunneltemp = value; + + OnETunnelTempChanged(value); + + } + } + } + protected ProcessParametersTablesGroup _processparameterstablesgroup; /// <summary> @@ -1554,6 +2544,276 @@ namespace Tango.BL.Entities } /// <summary> + /// Called when the EWinder1Tension has changed. + /// </summary> + protected virtual void OnEWinder1TensionChanged(Double ewinder1tension) + { + EWinder1TensionChanged?.Invoke(this, ewinder1tension); + RaisePropertyChanged(nameof(EWinder1Tension)); + } + + /// <summary> + /// Called when the EWinder2Tension has changed. + /// </summary> + protected virtual void OnEWinder2TensionChanged(Double ewinder2tension) + { + EWinder2TensionChanged?.Invoke(this, ewinder2tension); + RaisePropertyChanged(nameof(EWinder2Tension)); + } + + /// <summary> + /// Called when the EWinder3Tension has changed. + /// </summary> + protected virtual void OnEWinder3TensionChanged(Double ewinder3tension) + { + EWinder3TensionChanged?.Invoke(this, ewinder3tension); + RaisePropertyChanged(nameof(EWinder3Tension)); + } + + /// <summary> + /// Called when the EWinder4Tension has changed. + /// </summary> + protected virtual void OnEWinder4TensionChanged(Double ewinder4tension) + { + EWinder4TensionChanged?.Invoke(this, ewinder4tension); + RaisePropertyChanged(nameof(EWinder4Tension)); + } + + /// <summary> + /// Called when the EBtsr1FeedingTension has changed. + /// </summary> + protected virtual void OnEBtsr1FeedingTensionChanged(Double ebtsr1feedingtension) + { + EBtsr1FeedingTensionChanged?.Invoke(this, ebtsr1feedingtension); + RaisePropertyChanged(nameof(EBtsr1FeedingTension)); + } + + /// <summary> + /// Called when the EBtsr2FeedingTension has changed. + /// </summary> + protected virtual void OnEBtsr2FeedingTensionChanged(Double ebtsr2feedingtension) + { + EBtsr2FeedingTensionChanged?.Invoke(this, ebtsr2feedingtension); + RaisePropertyChanged(nameof(EBtsr2FeedingTension)); + } + + /// <summary> + /// Called when the EBtsr3FeedingTension has changed. + /// </summary> + protected virtual void OnEBtsr3FeedingTensionChanged(Double ebtsr3feedingtension) + { + EBtsr3FeedingTensionChanged?.Invoke(this, ebtsr3feedingtension); + RaisePropertyChanged(nameof(EBtsr3FeedingTension)); + } + + /// <summary> + /// Called when the EBtsr4FeedingTension has changed. + /// </summary> + protected virtual void OnEBtsr4FeedingTensionChanged(Double ebtsr4feedingtension) + { + EBtsr4FeedingTensionChanged?.Invoke(this, ebtsr4feedingtension); + RaisePropertyChanged(nameof(EBtsr4FeedingTension)); + } + + /// <summary> + /// Called when the EMixerTemp has changed. + /// </summary> + protected virtual void OnEMixerTempChanged(Double emixertemp) + { + EMixerTempChanged?.Invoke(this, emixertemp); + RaisePropertyChanged(nameof(EMixerTemp)); + } + + /// <summary> + /// Called when the EHeadZone1Temp has changed. + /// </summary> + protected virtual void OnEHeadZone1TempChanged(Double eheadzone1temp) + { + EHeadZone1TempChanged?.Invoke(this, eheadzone1temp); + RaisePropertyChanged(nameof(EHeadZone1Temp)); + } + + /// <summary> + /// Called when the EHeadZone2Temp has changed. + /// </summary> + protected virtual void OnEHeadZone2TempChanged(Double eheadzone2temp) + { + EHeadZone2TempChanged?.Invoke(this, eheadzone2temp); + RaisePropertyChanged(nameof(EHeadZone2Temp)); + } + + /// <summary> + /// Called when the EHeadZone3Temp has changed. + /// </summary> + protected virtual void OnEHeadZone3TempChanged(Double eheadzone3temp) + { + EHeadZone3TempChanged?.Invoke(this, eheadzone3temp); + RaisePropertyChanged(nameof(EHeadZone3Temp)); + } + + /// <summary> + /// Called when the EDryerZone1Temp has changed. + /// </summary> + protected virtual void OnEDryerZone1TempChanged(Double edryerzone1temp) + { + EDryerZone1TempChanged?.Invoke(this, edryerzone1temp); + RaisePropertyChanged(nameof(EDryerZone1Temp)); + } + + /// <summary> + /// Called when the EDryerZone2Temp has changed. + /// </summary> + protected virtual void OnEDryerZone2TempChanged(Double edryerzone2temp) + { + EDryerZone2TempChanged?.Invoke(this, edryerzone2temp); + RaisePropertyChanged(nameof(EDryerZone2Temp)); + } + + /// <summary> + /// Called when the EDryerZone3Temp has changed. + /// </summary> + protected virtual void OnEDryerZone3TempChanged(Double edryerzone3temp) + { + EDryerZone3TempChanged?.Invoke(this, edryerzone3temp); + RaisePropertyChanged(nameof(EDryerZone3Temp)); + } + + /// <summary> + /// Called when the ELubricantTemp has changed. + /// </summary> + protected virtual void OnELubricantTempChanged(Double elubricanttemp) + { + ELubricantTempChanged?.Invoke(this, elubricanttemp); + RaisePropertyChanged(nameof(ELubricantTemp)); + } + + /// <summary> + /// Called when the EDryerIncomingAirFlow has changed. + /// </summary> + protected virtual void OnEDryerIncomingAirFlowChanged(Double edryerincomingairflow) + { + EDryerIncomingAirFlowChanged?.Invoke(this, edryerincomingairflow); + RaisePropertyChanged(nameof(EDryerIncomingAirFlow)); + } + + /// <summary> + /// Called when the EDryerOutgoingAirFlow has changed. + /// </summary> + protected virtual void OnEDryerOutgoingAirFlowChanged(Double edryeroutgoingairflow) + { + EDryerOutgoingAirFlowChanged?.Invoke(this, edryeroutgoingairflow); + RaisePropertyChanged(nameof(EDryerOutgoingAirFlow)); + } + + /// <summary> + /// Called when the ETunnelIncomingAirFlow has changed. + /// </summary> + protected virtual void OnETunnelIncomingAirFlowChanged(Double etunnelincomingairflow) + { + ETunnelIncomingAirFlowChanged?.Invoke(this, etunnelincomingairflow); + RaisePropertyChanged(nameof(ETunnelIncomingAirFlow)); + } + + /// <summary> + /// Called when the ETunnelOutgoingAirFlow has changed. + /// </summary> + protected virtual void OnETunnelOutgoingAirFlowChanged(Double etunneloutgoingairflow) + { + ETunnelOutgoingAirFlowChanged?.Invoke(this, etunneloutgoingairflow); + RaisePropertyChanged(nameof(ETunnelOutgoingAirFlow)); + } + + /// <summary> + /// Called when the EWasteAirFlow has changed. + /// </summary> + protected virtual void OnEWasteAirFlowChanged(Double ewasteairflow) + { + EWasteAirFlowChanged?.Invoke(this, ewasteairflow); + RaisePropertyChanged(nameof(EWasteAirFlow)); + } + + /// <summary> + /// Called when the EWastePrepareTime has changed. + /// </summary> + protected virtual void OnEWastePrepareTimeChanged(Double ewastepreparetime) + { + EWastePrepareTimeChanged?.Invoke(this, ewastepreparetime); + RaisePropertyChanged(nameof(EWastePrepareTime)); + } + + /// <summary> + /// Called when the EPumpTemp has changed. + /// </summary> + protected virtual void OnEPumpTempChanged(Double epumptemp) + { + EPumpTempChanged?.Invoke(this, epumptemp); + RaisePropertyChanged(nameof(EPumpTemp)); + } + + /// <summary> + /// Called when the EPressureBuildUp has changed. + /// </summary> + protected virtual void OnEPressureBuildUpChanged(Double epressurebuildup) + { + EPressureBuildUpChanged?.Invoke(this, epressurebuildup); + RaisePropertyChanged(nameof(EPressureBuildUp)); + } + + /// <summary> + /// Called when the ESpare1 has changed. + /// </summary> + protected virtual void OnESpare1Changed(Double espare1) + { + ESpare1Changed?.Invoke(this, espare1); + RaisePropertyChanged(nameof(ESpare1)); + } + + /// <summary> + /// Called when the ESpare2 has changed. + /// </summary> + protected virtual void OnESpare2Changed(Double espare2) + { + ESpare2Changed?.Invoke(this, espare2); + RaisePropertyChanged(nameof(ESpare2)); + } + + /// <summary> + /// Called when the ESpare3 has changed. + /// </summary> + protected virtual void OnESpare3Changed(Double espare3) + { + ESpare3Changed?.Invoke(this, espare3); + RaisePropertyChanged(nameof(ESpare3)); + } + + /// <summary> + /// Called when the ESpare4 has changed. + /// </summary> + protected virtual void OnESpare4Changed(Double espare4) + { + ESpare4Changed?.Invoke(this, espare4); + RaisePropertyChanged(nameof(ESpare4)); + } + + /// <summary> + /// Called when the ESpare5 has changed. + /// </summary> + protected virtual void OnESpare5Changed(Double espare5) + { + ESpare5Changed?.Invoke(this, espare5); + RaisePropertyChanged(nameof(ESpare5)); + } + + /// <summary> + /// Called when the ETunnelTemp has changed. + /// </summary> + protected virtual void OnETunnelTempChanged(Double etunneltemp) + { + ETunnelTempChanged?.Invoke(this, etunneltemp); + RaisePropertyChanged(nameof(ETunnelTemp)); + } + + /// <summary> /// Called when the ProcessParametersTablesGroup has changed. /// </summary> protected virtual void OnProcessParametersTablesGroupChanged(ProcessParametersTablesGroup processparameterstablesgroup) diff --git a/Software/Visual_Studio/Tango.BL/Entities/Rml.cs b/Software/Visual_Studio/Tango.BL/Entities/Rml.cs index a49b3cf84..fdeb8f05e 100644 --- a/Software/Visual_Studio/Tango.BL/Entities/Rml.cs +++ b/Software/Visual_Studio/Tango.BL/Entities/Rml.cs @@ -24,6 +24,7 @@ namespace Tango.BL.Entities WhitePointL = 92.1815; WhitePointA = 2.2555; WhitePointB = -10.9325; + PliesPerThread = 1; } protected override void OnWhitePointLChanged(double whitepointl) @@ -234,6 +235,15 @@ namespace Tango.BL.Entities { base.OnPliesPerFiberChanged(pliesperfiber); UpdateFiberCount(); + + } + + protected override void OnPliesPerThreadChanged(Int32 pliesperthread) + { + base.OnPliesPerThreadChanged(pliesperthread); + UpdateDencityCount(); + UpdateFiberCount(); + RaisePropertyChanged(nameof(RMLPlies)); } private void UpdateDencityCount() @@ -252,20 +262,21 @@ namespace Tango.BL.Entities { get { + var count = 0; if (LinearMassDensityUnit == null || FiberSize==0) - return 0; + return count; if (LinearMassDensityUnit.Name== "Tex") - return Convert.ToInt32(FiberSize) * 9; + count = Convert.ToInt32(FiberSize) * 9; if (LinearMassDensityUnit.Name == "DTEX") - return (int)(Convert.ToInt32(FiberSize) * 0.9); + count = (int)(Convert.ToInt32(FiberSize) * 0.9); if (LinearMassDensityUnit.Name == "Ne") - return (int)(5315 / Convert.ToInt32(FiberSize)); + count = (int)(5315 / Convert.ToInt32(FiberSize)); if (LinearMassDensityUnit.Name == "Nm") - return (int)(9000 / Convert.ToInt32(FiberSize)); + count = (int)(9000 / Convert.ToInt32(FiberSize)); if (LinearMassDensityUnit.Name == "Denier") - return (int)FiberSize; + count = (int)FiberSize; - return 0; + return PliesPerThread == 0 ? count : count * PliesPerThread; } } @@ -292,6 +303,29 @@ namespace Tango.BL.Entities } } + [NotMapped] + [JsonIgnore] + public double GetGramPer1000mLength + { + + get + { + + //if (LinearMassDensityUnit.Name == "Tex") + // return FiberSize; + //if (LinearMassDensityUnit.Name == "DTEX") + // return (FiberSize /10); + //if (LinearMassDensityUnit.Name == "Ne") + // return (590.5 / FiberSize); + //if (LinearMassDensityUnit.Name == "Nm") + // return (1000 / FiberSize); + //if (LinearMassDensityUnit.Name == "Denier") + // return FiberSize/9; + + return DencityCount == 0? (1/9 ): (DencityCount / 9); + } + } + [NotMapped] [JsonIgnore] @@ -302,6 +336,8 @@ namespace Tango.BL.Entities { base.PliesPerThread = value.ToInt32(); RaisePropertyChangedAuto(); + UpdateDencityCount(); + UpdateFiberCount(); } } diff --git a/Software/Visual_Studio/Tango.BL/Entities/Segment.cs b/Software/Visual_Studio/Tango.BL/Entities/Segment.cs index be72100a5..5a99442e4 100644 --- a/Software/Visual_Studio/Tango.BL/Entities/Segment.cs +++ b/Software/Visual_Studio/Tango.BL/Entities/Segment.cs @@ -271,6 +271,16 @@ namespace Tango.BL.Entities } } + public BrushStop FirstBrushStop + { + get { if (BrushStops.Count == 1)//Intersegment?? - null + return BrushStops[0]; + else if(BrushStops.Count >= 5) + return BrushStops[1]; + else + return null; } + } + public static Color GetRelativeRGB(Color first, Color second, double firstOffset, double secondOffset, double offset) { var color = new Color(); diff --git a/Software/Visual_Studio/Tango.BL/Enumerations/EventTypeGroups.cs b/Software/Visual_Studio/Tango.BL/Enumerations/EventTypeGroups.cs index 5ff1766d9..b8c9e677e 100644 --- a/Software/Visual_Studio/Tango.BL/Enumerations/EventTypeGroups.cs +++ b/Software/Visual_Studio/Tango.BL/Enumerations/EventTypeGroups.cs @@ -43,6 +43,8 @@ namespace Tango.BL.Enumerations [Description("Transport")] Transport = 11, [Description("Jobs")] - Jobs = 12 + Jobs = 12, + [Description("Safety")] + Safety = 13 } } diff --git a/Software/Visual_Studio/Tango.BL/Enumerations/EventTypes.cs b/Software/Visual_Studio/Tango.BL/Enumerations/EventTypes.cs index 6c57f46c4..93732c9f3 100644 --- a/Software/Visual_Studio/Tango.BL/Enumerations/EventTypes.cs +++ b/Software/Visual_Studio/Tango.BL/Enumerations/EventTypes.cs @@ -254,6 +254,24 @@ namespace Tango.BL.Enumerations RFID_READER_MALFUNCTION_WASTE_SLOT_2 = 2024, /// <summary> + /// (Communication failure. Cannot execute job) + /// </summary> + [Description("Communication failure. Cannot execute job")] + I2C3_COMMUNICATION_FAILURE = 2025, + + /// <summary> + /// (Communication failure. Cannot execute job) + /// </summary> + [Description("Communication failure. Cannot execute job")] + I2C4_COMMUNICATION_FAILURE = 2026, + + /// <summary> + /// (Communication failure. Cannot execute job) + /// </summary> + [Description("Communication failure. Cannot execute job")] + I2C_COMMUNICATION_FAILURE = 2027, + + /// <summary> /// (Thread break. Cannot execute job) /// </summary> [Description("Thread break. Cannot execute job")] @@ -1322,6 +1340,42 @@ namespace Tango.BL.Enumerations DYEING_HEAD_COVER_IS_OPEN = 5099, /// <summary> + /// (Dyeing head voltage is too low. Cannot execute job) + /// </summary> + [Description("Dyeing head voltage is too low. Cannot execute job")] + DYEING_HEAD_VOLTAGE_1_TOO_LOW = 5100, + + /// <summary> + /// (Dyeing head voltage is too low. Cannot execute job) + /// </summary> + [Description("Dyeing head voltage is too low. Cannot execute job")] + DYEING_HEAD_VOLTAGE_2_TOO_LOW = 5101, + + /// <summary> + /// (Dyeing head voltage is too low. Cannot execute job) + /// </summary> + [Description("Dyeing head voltage is too low. Cannot execute job")] + DYEING_HEAD_VOLTAGE_3_TOO_LOW = 5102, + + /// <summary> + /// (Dyeing head voltage break. Cannot execute job) + /// </summary> + [Description("Dyeing head voltage break. Cannot execute job")] + DYEING_HEAD_VOLTAGE_1_BREAK = 5103, + + /// <summary> + /// (Dyeing head voltage break. Cannot execute job) + /// </summary> + [Description("Dyeing head voltage break. Cannot execute job")] + DYEING_HEAD_VOLTAGE_2_BREAK = 5104, + + /// <summary> + /// (Dyeing head voltage break. Cannot execute job) + /// </summary> + [Description("Dyeing head voltage break. Cannot execute job")] + DYEING_HEAD_VOLTAGE_3_BREAK = 5105, + + /// <summary> /// (The temperature in the mixer is too high. Cannot execute job) /// </summary> [Description("The temperature in the mixer is too high. Cannot execute job")] @@ -2174,6 +2228,66 @@ namespace Tango.BL.Enumerations MID_TANK_10_FILL_TIMEOUT = 8039, /// <summary> + /// (Malfunction in @ tank. Cannot fill @ ink) + /// </summary> + [Description("Malfunction in @ tank. Cannot fill @ ink")] + MID_TANK_1_MALFUNCTION = 8040, + + /// <summary> + /// (Malfunction in @ tank. Cannot fill @ ink) + /// </summary> + [Description("Malfunction in @ tank. Cannot fill @ ink")] + MID_TANK_2_MALFUNCTION = 8041, + + /// <summary> + /// (Malfunction in @ tank. Cannot fill @ ink) + /// </summary> + [Description("Malfunction in @ tank. Cannot fill @ ink")] + MID_TANK_3_MALFUNCTION = 8042, + + /// <summary> + /// (Malfunction in @ tank. Cannot fill @ ink) + /// </summary> + [Description("Malfunction in @ tank. Cannot fill @ ink")] + MID_TANK_4_MALFUNCTION = 8043, + + /// <summary> + /// (Malfunction in @ tank. Cannot fill @ ink) + /// </summary> + [Description("Malfunction in @ tank. Cannot fill @ ink")] + MID_TANK_5_MALFUNCTION = 8044, + + /// <summary> + /// (Malfunction in @ tank. Cannot fill @ ink) + /// </summary> + [Description("Malfunction in @ tank. Cannot fill @ ink")] + MID_TANK_6_MALFUNCTION = 8045, + + /// <summary> + /// (Malfunction in @ tank. Cannot fill @ ink) + /// </summary> + [Description("Malfunction in @ tank. Cannot fill @ ink")] + MID_TANK_7_MALFUNCTION = 8046, + + /// <summary> + /// (Malfunction in @ tank. Cannot fill @ ink) + /// </summary> + [Description("Malfunction in @ tank. Cannot fill @ ink")] + MID_TANK_8_MALFUNCTION = 8047, + + /// <summary> + /// (Malfunction in @ tank. Cannot fill @ ink) + /// </summary> + [Description("Malfunction in @ tank. Cannot fill @ ink")] + MID_TANK_9_MALFUNCTION = 8048, + + /// <summary> + /// (Malfunction in @ tank. Cannot fill @ ink) + /// </summary> + [Description("Malfunction in @ tank. Cannot fill @ ink")] + MID_TANK_10_MALFUNCTION = 8049, + + /// <summary> /// (Cannot detect air filter. Cannot execute job ) /// </summary> [Description("Cannot detect air filter. Cannot execute job ")] @@ -2330,16 +2444,16 @@ namespace Tango.BL.Enumerations NO_WASTE_CARTRIDGE_AVAILABLE = 10002, /// <summary> - /// (Both waste cartridges are full. Cannot execute job. Please replace waste cartridges) + /// (Waste tank is full. Please perform waste emptying) /// </summary> - [Description("Both waste cartridges are full. Cannot execute job. Please replace waste cartridges")] - ALL_WASTE_CARTRIDGES_FULL = 10003, + [Description("Waste tank is full. Please perform waste emptying")] + WASTE_TANK_FULL = 10003, /// <summary> - /// (Cannot detect waste cartridge. Cannot execute job ) + /// (Cartridges not inserted properly. Cannot execute job ) /// </summary> - [Description("Cannot detect waste cartridge. Cannot execute job ")] - WASTE_CARTRIDGE_PRESENCE_SENSOR_TIMEOUT = 10004, + [Description("Cartridges not inserted properly. Cannot execute job ")] + CARTRIDGES_NOT_INSERTED_PROPERLY = 10004, /// <summary> /// (Cannot identify waste cartridge. Cannot execute job ) @@ -2413,5 +2527,1253 @@ namespace Tango.BL.Enumerations [Description("Ink in cartridge is expired. Cannot perform ink filling")] INK_IN_CARTRIDGE_IS_EXPIRED = 10016, + /// <summary> + /// (Request sent to machine or external bridge service) + /// </summary> + [Description("Request sent to machine or external bridge service")] + E_REQUEST_SENT = 101000, + + /// <summary> + /// (Response has been received.) + /// </summary> + [Description("Response has been received.")] + E_RESPONSE_RECEIVED = 101001, + + /// <summary> + /// (Request to machine has failed.) + /// </summary> + [Description("Request to machine has failed.")] + E_REQUEST_FAILED = 101002, + + /// <summary> + /// (Application has encountered an error) + /// </summary> + [Description("Application has encountered an error")] + E_APPLICATION_EXCEPTION = 101003, + + /// <summary> + /// (General application event logs) + /// </summary> + [Description("General application event logs")] + E_APPLICATION_INFORMATION = 101004, + + /// <summary> + /// (Application started.) + /// </summary> + [Description("Application started.")] + E_APPLICATION_STARTED = 101005, + + /// <summary> + /// (Application terminated.) + /// </summary> + [Description("Application terminated.")] + E_APPLICATION_TERMINATED = 101006, + + /// <summary> + /// (Diagnostics recording started.) + /// </summary> + [Description("Diagnostics recording started.")] + E_RECORDING_STARTED = 101007, + + /// <summary> + /// (Diagnostics recording stopped.) + /// </summary> + [Description("Diagnostics recording stopped.")] + E_RECORDING_STOPPED = 101008, + + /// <summary> + /// (Job status message has been received from embedded device.) + /// </summary> + [Description("Job status message has been received from embedded device.")] + E_JOB_STATUS = 101009, + + /// <summary> + /// (A job has been started.) + /// </summary> + [Description("A job has been started.")] + E_JOB_STARTED = 101010, + + /// <summary> + /// (A job has been aborted.) + /// </summary> + [Description("A job has been aborted.")] + E_JOB_ABORTED = 101011, + + /// <summary> + /// (A job has failed.) + /// </summary> + [Description("A job has failed.")] + E_JOB_FAILED = 101012, + + /// <summary> + /// (Job completed successfully.) + /// </summary> + [Description("Job completed successfully.")] + E_JOB_COMPLETED = 101013, + + /// <summary> + /// (Machine power up cannot be completed) + /// </summary> + [Description("Machine power up cannot be completed")] + E_POWER_UP_BIT_FAILURE = 102000, + + /// <summary> + /// (Machine power up cannot be completed) + /// </summary> + [Description("Machine power up cannot be completed")] + E_MACHINE_STATE_NO_CFG_FILE = 102001, + + /// <summary> + /// (Machine power up cannot be completed) + /// </summary> + [Description("Machine power up cannot be completed")] + E_MACHINE_STATE_HW_CONFIG_FAILED = 102002, + + /// <summary> + /// (Machine power up cannot be completed) + /// </summary> + [Description("Machine power up cannot be completed")] + E_MACHINE_STATE_NO_FLASH_FILE = 102003, + + /// <summary> + /// (Machine power up cannot be completed) + /// </summary> + [Description("Machine power up cannot be completed")] + E_MACHINE_STATE_NO_ALARMS_FILE = 102004, + + /// <summary> + /// (The emergency button is pressed) + /// </summary> + [Description("The emergency button is pressed")] + E_EMERGENCY_PUSH_BUTTON_PRESSED = 103001, + + /// <summary> + /// (The dryer door is open. Cannot execute job) + /// </summary> + [Description("The dryer door is open. Cannot execute job")] + E_DRYER_DOOR_OPEN = 103002, + + /// <summary> + /// (Dryer thermal cutoff activated. Cannot execute job) + /// </summary> + [Description("Dryer thermal cutoff activated. Cannot execute job")] + E_DRYER_THERMAL_CUTOFF = 103003, + + /// <summary> + /// (Tunnel thermal cutoff activated. Cannot execute job) + /// </summary> + [Description("Tunnel thermal cutoff activated. Cannot execute job")] + E_TUNNEL_THERMAL_CUTOFF = 103004, + + /// <summary> + /// (Dyeing head thermal cutoff activated. Cannot execute job) + /// </summary> + [Description("Dyeing head thermal cutoff activated. Cannot execute job")] + E_DYEING_HEAD_THERMAL_CUTOFF = 103005, + + /// <summary> + /// (Mixer thermal cutoff activated. Cannot execute job) + /// </summary> + [Description("Mixer thermal cutoff activated. Cannot execute job")] + E_MIXER_THERMAL_CUTOFF = 103006, + + /// <summary> + /// (Lubrication thermal cutoff activated. Cannot execute job) + /// </summary> + [Description("Lubrication thermal cutoff activated. Cannot execute job")] + E_LUBRICATION_THERMAL_CUTOFF = 103007, + + /// <summary> + /// (No air flow in tunnel. Cannot execute job) + /// </summary> + [Description("No air flow in tunnel. Cannot execute job")] + E_TUNNEL_AIR_FLOW_SWITCH = 103008, + + /// <summary> + /// (No Suction from recycled ink handling system. Cannot execute job) + /// </summary> + [Description("No Suction from recycled ink handling system. Cannot execute job")] + E_WHS_AIR_FLOW_SWITCH = 103009, + + /// <summary> + /// (Air filter not present. Cannot execute job) + /// </summary> + [Description("Air filter not present. Cannot execute job")] + E_AIR_FILTER_NOT_PRESENT = 103010, + + /// <summary> + /// (Software error has occurred. Cannot execute job ) + /// </summary> + [Description("Software error has occurred. Cannot execute job ")] + E_UNINTENDED_RESET = 104000, + + /// <summary> + /// (Software error has occurred. Cannot execute job ) + /// </summary> + [Description("Software error has occurred. Cannot execute job ")] + E_SD_CARD_NOT_RESPONDING = 104001, + + /// <summary> + /// (Communication error. Cannot execute job) + /// </summary> + [Description("Communication error. Cannot execute job")] + E_NO_COMMUNICATION_WITH_BTSR_1 = 105000, + + /// <summary> + /// (Communication error. Cannot execute job) + /// </summary> + [Description("Communication error. Cannot execute job")] + E_NO_COMMUNICATION_WITH_BTSR_2 = 105001, + + /// <summary> + /// (Communication error. Cannot execute job) + /// </summary> + [Description("Communication error. Cannot execute job")] + E_NO_COMMUNICATION_WITH_BTSR_3 = 105002, + + /// <summary> + /// (Communication error. Cannot execute job) + /// </summary> + [Description("Communication error. Cannot execute job")] + E_NO_COMMUNICATION_WITH_BTSR_4 = 105003, + + /// <summary> + /// (Communication error. Cannot execute job) + /// </summary> + [Description("Communication error. Cannot execute job")] + E_NO_COMMUNICATION_WITH_DRYER_BOARD = 105004, + + /// <summary> + /// (Communication error. Cannot execute job) + /// </summary> + [Description("Communication error. Cannot execute job")] + E_NO_COMMUNICATION_WITH_DYEING_HEAD_BOARD = 105005, + + /// <summary> + /// (Communication error. Cannot execute job) + /// </summary> + [Description("Communication error. Cannot execute job")] + E_NO_COMMUNICATION_WITH_WINDER_1_BOARD = 105006, + + /// <summary> + /// (Communication error. Cannot execute job) + /// </summary> + [Description("Communication error. Cannot execute job")] + E_NO_COMMUNICATION_WITH_WINDER_2_BOARD = 105007, + + /// <summary> + /// (Communication error. Cannot execute job) + /// </summary> + [Description("Communication error. Cannot execute job")] + E_NO_COMMUNICATION_WITH_WINDER_3_BOARD = 105008, + + /// <summary> + /// (Communication error. Cannot execute job) + /// </summary> + [Description("Communication error. Cannot execute job")] + E_NO_COMMUNICATION_WITH_WINDER_4_BOARD = 105009, + + /// <summary> + /// (Communication error. Cannot execute job) + /// </summary> + [Description("Communication error. Cannot execute job")] + E_NO_COMMUNICATION_WITH_IDS_1_BOARD = 105010, + + /// <summary> + /// (Communication error. Cannot execute job) + /// </summary> + [Description("Communication error. Cannot execute job")] + E_NO_COMMUNICATION_WITH_IDS_2_BOARD = 105011, + + /// <summary> + /// (Communication error. Cannot execute job) + /// </summary> + [Description("Communication error. Cannot execute job")] + E_NO_COMMUNICATION_WITH_IDS_3_BOARD = 105012, + + /// <summary> + /// (Communication error. Cannot execute job) + /// </summary> + [Description("Communication error. Cannot execute job")] + E_NO_COMMUNICATION_WITH_IDS_4_BOARD = 105013, + + /// <summary> + /// (Communication error. Cannot execute job) + /// </summary> + [Description("Communication error. Cannot execute job")] + E_NO_COMMUNICATION_WITH_MID_TANK_BOARD = 105014, + + /// <summary> + /// (Communication error. Cannot execute job) + /// </summary> + [Description("Communication error. Cannot execute job")] + E_NO_COMMUNICATION_WITH_WHS_BOARD = 105015, + + /// <summary> + /// (Communication error. Cannot execute job) + /// </summary> + [Description("Communication error. Cannot execute job")] + E_NO_COMMUNICATION_WITH_LUBRICANT_BOARD = 105016, + + /// <summary> + /// (Communication error. Cannot execute job) + /// </summary> + [Description("Communication error. Cannot execute job")] + E_NO_COMMUNICATION_WITH_MAIN_BOARD = 105017, + + /// <summary> + /// (Door is open. Cannot execute job) + /// </summary> + [Description("Door is open. Cannot execute job")] + E_LEFT_DOOR_OPEN = 106000, + + /// <summary> + /// (Door is open. Cannot execute job) + /// </summary> + [Description("Door is open. Cannot execute job")] + E_RIGHT_DOOR_OPEN = 106001, + + /// <summary> + /// (Door is open. Cannot execute job) + /// </summary> + [Description("Door is open. Cannot execute job")] + E_TOP_DOOR_OPEN = 106002, + + /// <summary> + /// (Tunnel lid is open. Cannot execute job) + /// </summary> + [Description("Tunnel lid is open. Cannot execute job")] + E_TUNNEL_LID_IS_OPEN = 106003, + + /// <summary> + /// (Arc lid is open. Cannot execute job) + /// </summary> + [Description("Arc lid is open. Cannot execute job")] + E_ARC_LID_IS_OPEN = 106004, + + /// <summary> + /// (BTSR malfunction. Cannot execute job) + /// </summary> + [Description("BTSR malfunction. Cannot execute job")] + E_BTSR_1_MALFUNCTION = 107000, + + /// <summary> + /// (BTSR malfunction. Cannot execute job) + /// </summary> + [Description("BTSR malfunction. Cannot execute job")] + E_BTSR_2_MALFUNCTION = 107001, + + /// <summary> + /// (BTSR malfunction. Cannot execute job) + /// </summary> + [Description("BTSR malfunction. Cannot execute job")] + E_BTSR_3_MALFUNCTION = 107002, + + /// <summary> + /// (BTSR malfunction. Cannot execute job) + /// </summary> + [Description("BTSR malfunction. Cannot execute job")] + E_BTSR_4_MALFUNCTION = 107003, + + /// <summary> + /// (Tension is out of range. Cannot execute job) + /// </summary> + [Description("Tension is out of range. Cannot execute job")] + E_TENSION_IN_BTSR_1_IS_OUT_OF_RANGE = 107004, + + /// <summary> + /// (Tension is out of range. Cannot execute job) + /// </summary> + [Description("Tension is out of range. Cannot execute job")] + E_TENSION_IN_BTSR_2_IS_OUT_OF_RANGE = 107005, + + /// <summary> + /// (Tension is out of range. Cannot execute job) + /// </summary> + [Description("Tension is out of range. Cannot execute job")] + E_TENSION_IN_BTSR_3_IS_OUT_OF_RANGE = 107006, + + /// <summary> + /// (Tension is out of range. Cannot execute job) + /// </summary> + [Description("Tension is out of range. Cannot execute job")] + E_TENSION_IN_BTSR_4_IS_OUT_OF_RANGE = 107007, + + /// <summary> + /// (Thread break. Cannot execute job) + /// </summary> + [Description("Thread break. Cannot execute job")] + E_THREAD_BREAK = 107008, + + /// <summary> + /// (Thread tension control failure. Cannot execute job) + /// </summary> + [Description("Thread tension control failure. Cannot execute job")] + E_DANCER_1_TENSION_CONTROL_FAILURE = 107009, + + /// <summary> + /// (Thread tension control failure. Cannot execute job) + /// </summary> + [Description("Thread tension control failure. Cannot execute job")] + E_DANCER_2_TENSION_CONTROL_FAILURE = 107010, + + /// <summary> + /// (Thread tension control failure. Cannot execute job) + /// </summary> + [Description("Thread tension control failure. Cannot execute job")] + E_DANCER_3_TENSION_CONTROL_FAILURE = 107011, + + /// <summary> + /// (Thread tension control failure. Cannot execute job) + /// </summary> + [Description("Thread tension control failure. Cannot execute job")] + E_DANCER_4_TENSION_CONTROL_FAILURE = 107012, + + /// <summary> + /// (Thread loading error. Cannot execute job) + /// </summary> + [Description("Thread loading error. Cannot execute job")] + E_THREAD_LOADING_ERROR = 107013, + + /// <summary> + /// (Gripper malfunction. Cannot execute job) + /// </summary> + [Description("Gripper malfunction. Cannot execute job")] + E_GRIPPER_MALFUNCTION = 107014, + + /// <summary> + /// (Thread missing. Cannot execute job) + /// </summary> + [Description("Thread missing. Cannot execute job")] + E_THREAD_MISSING = 107015, + + /// <summary> + /// (Temperature in dyeing head is too high. Cannot execute job) + /// </summary> + [Description("Temperature in dyeing head is too high. Cannot execute job")] + E_DYEING_HEAD_ZONE_1_OVERTEMPERATURE = 108000, + + /// <summary> + /// (Temperature in dyeing head is too high. Cannot execute job) + /// </summary> + [Description("Temperature in dyeing head is too high. Cannot execute job")] + E_DYEING_HEAD_ZONE_2_OVERTEMPERATURE = 108001, + + /// <summary> + /// (Temperature in dyeing head is too high. Cannot execute job) + /// </summary> + [Description("Temperature in dyeing head is too high. Cannot execute job")] + E_DYEING_HEAD_ZONE_3_OVERTEMPERATURE = 108002, + + /// <summary> + /// (Temperature in mixer is too high. Cannot execute job) + /// </summary> + [Description("Temperature in mixer is too high. Cannot execute job")] + E_MIXER_1_OVERTEMPERATURE = 108003, + + /// <summary> + /// (Temperature in mixer is too high. Cannot execute job) + /// </summary> + [Description("Temperature in mixer is too high. Cannot execute job")] + E_MIXER_2_OVERTEMPERATURE = 108004, + + /// <summary> + /// (Temperature in tunnel is too high. Cannot execute job) + /// </summary> + [Description("Temperature in tunnel is too high. Cannot execute job")] + E_TUNNEL_OVERTEMPERATURE = 108005, + + /// <summary> + /// (Temperature in dryer is too high. Cannot execute job) + /// </summary> + [Description("Temperature in dryer is too high. Cannot execute job")] + E_DRYER_HEATER_1_OVERTEMPERATURE = 108007, + + /// <summary> + /// (Temperature in dryer is too high. Cannot execute job) + /// </summary> + [Description("Temperature in dryer is too high. Cannot execute job")] + E_DRYER_HEATER_2_OVERTEMPERATURE = 108008, + + /// <summary> + /// (Temperature in dryer is too high. Cannot execute job) + /// </summary> + [Description("Temperature in dryer is too high. Cannot execute job")] + E_DRYER_HEATER_3_OVERTEMPERATURE = 108009, + + /// <summary> + /// (Temperature in lubricant is too high. Cannot execute job) + /// </summary> + [Description("Temperature in lubricant is too high. Cannot execute job")] + E_LUBRICANT_OVERTEMPERATURE = 108010, + + /// <summary> + /// (Dyeing head is heating up. Cannot execute job) + /// </summary> + [Description("Dyeing head is heating up. Cannot execute job")] + E_DYEING_HEAD_ZONE_1_UNDERTEMPERATURE_A = 108011, + + /// <summary> + /// (Dyeing head is heating up. Cannot execute job) + /// </summary> + [Description("Dyeing head is heating up. Cannot execute job")] + E_DYEING_HEAD_ZONE_2_UNDERTEMPERATURE_A = 108012, + + /// <summary> + /// (Dyeing head is heating up. Cannot execute job) + /// </summary> + [Description("Dyeing head is heating up. Cannot execute job")] + E_DYEING_HEAD_ZONE_3_UNDERTEMPERATURE_A = 108013, + + /// <summary> + /// (Mixer is heating up. Cannot execute job) + /// </summary> + [Description("Mixer is heating up. Cannot execute job")] + E_MIXER_1_UNDERTEMPERATURE_A = 108014, + + /// <summary> + /// (Mixer is heating up. Cannot execute job) + /// </summary> + [Description("Mixer is heating up. Cannot execute job")] + E_MIXER_2_UNDERTEMPERATURE_A = 108015, + + /// <summary> + /// (Tunnel is heating up. Cannot execute job) + /// </summary> + [Description("Tunnel is heating up. Cannot execute job")] + E_TUNNEL_UNDERTEMPERATURE_A = 108016, + + /// <summary> + /// (Dryer is heating up. Cannot execute job) + /// </summary> + [Description("Dryer is heating up. Cannot execute job")] + E_DRYER_HEATER_1_UNDERTEMPERATURE_A = 108017, + + /// <summary> + /// (Dryer is heating up. Cannot execute job) + /// </summary> + [Description("Dryer is heating up. Cannot execute job")] + E_DRYER_HEATER_2_UNDERTEMPERATURE_A = 108018, + + /// <summary> + /// (Dryer is heating up. Cannot execute job) + /// </summary> + [Description("Dryer is heating up. Cannot execute job")] + E_DRYER_HEATER_3_UNDERTEMPERATURE_A = 108019, + + /// <summary> + /// (Lubricant is heating up. Cannot execute job) + /// </summary> + [Description("Lubricant is heating up. Cannot execute job")] + E_LUBRICANT_UNDERTEMPERATURE_A = 108020, + + /// <summary> + /// (Temperature in dyeing head is too low. Cannot execute job) + /// </summary> + [Description("Temperature in dyeing head is too low. Cannot execute job")] + E_DYEING_HEAD_ZONE_1_UNDRTEMPERATURE_B = 108021, + + /// <summary> + /// (Temperature in dyeing head is too low. Cannot execute job) + /// </summary> + [Description("Temperature in dyeing head is too low. Cannot execute job")] + E_DYEING_HEAD_ZONE_2_UNDERTEMPERATURE_B = 108022, + + /// <summary> + /// (Temperature in dyeing head is too low. Cannot execute job) + /// </summary> + [Description("Temperature in dyeing head is too low. Cannot execute job")] + E_DYEING_HEAD_ZONE_3_UNDERTEMPERATURE_B = 108023, + + /// <summary> + /// (Temperature in mixer is too low. Cannot execute job) + /// </summary> + [Description("Temperature in mixer is too low. Cannot execute job")] + E_MIXER_1_UNDERTEMPERATURE_B = 108024, + + /// <summary> + /// (Temperature in mixer is too low. Cannot execute job) + /// </summary> + [Description("Temperature in mixer is too low. Cannot execute job")] + E_MIXER_2_UNDERTEMPERATURE_B = 108025, + + /// <summary> + /// (Temperature in tunnel is too low. Cannot execute job) + /// </summary> + [Description("Temperature in tunnel is too low. Cannot execute job")] + E_TUNNEL_UNDERTEMPERATURE_B = 108026, + + /// <summary> + /// (Temperature in dryer is too low. Cannot execute job) + /// </summary> + [Description("Temperature in dryer is too low. Cannot execute job")] + E_DRYER_HEATER_1_UNDERTEMPERATURE_B = 108027, + + /// <summary> + /// (Temperature in dryer is too low. Cannot execute job) + /// </summary> + [Description("Temperature in dryer is too low. Cannot execute job")] + E_DRYER_HEATER_2_UNDERTEMPERATURE_B = 108028, + + /// <summary> + /// (Temperature in dryer is too low. Cannot execute job) + /// </summary> + [Description("Temperature in dryer is too low. Cannot execute job")] + E_DRYER_HEATER_3_UNDERTEMPERATURE_B = 108029, + + /// <summary> + /// (Temperature in lubricant is too low. Cannot execute job) + /// </summary> + [Description("Temperature in lubricant is too low. Cannot execute job")] + E_LUBRICANT_UNDERTEMPERATURE_B = 108030, + + /// <summary> + /// (Cooler temperature is too high. Cannot execute job) + /// </summary> + [Description("Cooler temperature is too high. Cannot execute job")] + E_WHS_1_COOLER_TEMPERATURE_IS_TOO_HIGH = 108031, + + /// <summary> + /// (Cooler temperature is too low. Cannot execute job) + /// </summary> + [Description("Cooler temperature is too low. Cannot execute job")] + E_WHS_1_COOLER_TEMPERATURE_IS_TOO_LOW = 108032, + + /// <summary> + /// (Cooler temperature is too high. Cannot execute job) + /// </summary> + [Description("Cooler temperature is too high. Cannot execute job")] + E_WHS_2_COOLER_TEMPERATURE_IS_TOO_HIGH = 108033, + + /// <summary> + /// (Cooler temperature is too low. Cannot execute job) + /// </summary> + [Description("Cooler temperature is too low. Cannot execute job")] + E_WHS_2_COOLER_TEMPERATURE_IS_TOO_LOW = 108034, + + /// <summary> + /// (Temperature measurement error has occurred. Cannot execute job) + /// </summary> + [Description("Temperature measurement error has occurred. Cannot execute job")] + E_TEMPERATURE_MEASUREMENT_ERROR = 108035, + + /// <summary> + /// (Dryer internal temperature is too low. Cannot execute job) + /// </summary> + [Description("Dryer internal temperature is too low. Cannot execute job")] + E_DRYER_INTERNAL_TEMPERATURE_TOO_LOW = 108036, + + /// <summary> + /// (Dyeing head zone current is out of range. Cannot execute job) + /// </summary> + [Description("Dyeing head zone current is out of range. Cannot execute job")] + E_DYEING_HEAD_ZONE_1_CURRENT_OUT_OF_RANGE = 109000, + + /// <summary> + /// (Dyeing head zone current is out of range. Cannot execute job) + /// </summary> + [Description("Dyeing head zone current is out of range. Cannot execute job")] + E_DYEING_HEAD_ZONE_2_CURRENT_OUT_OF_RANGE = 109001, + + /// <summary> + /// (Dyeing head zone current is out of range. Cannot execute job) + /// </summary> + [Description("Dyeing head zone current is out of range. Cannot execute job")] + E_DYEING_HEAD_ZONE_3_CURRENT_OUT_OF_RANGE = 109002, + + /// <summary> + /// (Mixer heater current is out of range. Cannot execute job) + /// </summary> + [Description("Mixer heater current is out of range. Cannot execute job")] + E_MIXER_1_HEATER_CURRENT_OUT_OF_RANGE = 109003, + + /// <summary> + /// (Mixer heater current is out of range. Cannot execute job) + /// </summary> + [Description("Mixer heater current is out of range. Cannot execute job")] + E_MIXER_2_HEATER_CURRENT_OUT_OF_RANGE = 109004, + + /// <summary> + /// (Tunnel heater current is out of range. Cannot execute job) + /// </summary> + [Description("Tunnel heater current is out of range. Cannot execute job")] + E_TUNNEL_HEATER_CURRENT_OUT_OF_RANGE = 109005, + + /// <summary> + /// (Dryer heater current is out of range. Cannot execute job) + /// </summary> + [Description("Dryer heater current is out of range. Cannot execute job")] + E_DRYER_HEATER_1_CURRENT_OUT_OF_RANGE = 109006, + + /// <summary> + /// (Dryer heater current is out of range. Cannot execute job) + /// </summary> + [Description("Dryer heater current is out of range. Cannot execute job")] + E_DRYER_HEATER_2_CURRENT_OUT_OF_RANGE = 109007, + + /// <summary> + /// (Dryer heater current is out of range. Cannot execute job) + /// </summary> + [Description("Dryer heater current is out of range. Cannot execute job")] + E_DRYER_HEATER_3_CURRENT_OUT_OF_RANGE = 109008, + + /// <summary> + /// (Lubricant heater current is out of range. Cannot execute job) + /// </summary> + [Description("Lubricant heater current is out of range. Cannot execute job")] + E_LUBRICANT_HEATER_CURRENT_OUT_OF_RANGE = 109009, + + /// <summary> + /// (Dyeing head zone current loop break. Cannot execute job) + /// </summary> + [Description("Dyeing head zone current loop break. Cannot execute job")] + E_DYEING_HEAD_ZONE_1_CURRENT_LOOP_BREAK = 109010, + + /// <summary> + /// (Dyeing head zone current loop break. Cannot execute job) + /// </summary> + [Description("Dyeing head zone current loop break. Cannot execute job")] + E_DYEING_HEAD_ZONE_2_CURRENT_LOOP_BREAK = 109011, + + /// <summary> + /// (Dyeing head zone current loop break. Cannot execute job) + /// </summary> + [Description("Dyeing head zone current loop break. Cannot execute job")] + E_DYEING_HEAD_ZONE_3_CURRENT_LOOP_BREAK = 109012, + + /// <summary> + /// (Mixer heater current loop break. Cannot execute job) + /// </summary> + [Description("Mixer heater current loop break. Cannot execute job")] + E_MIXER_1_HEATER_CURRENT_LOOP_BREAK = 109013, + + /// <summary> + /// (Mixer heater current loop break. Cannot execute job) + /// </summary> + [Description("Mixer heater current loop break. Cannot execute job")] + E_MIXER_2_HEATER_CURRENT_LOOP_BREAK = 109014, + + /// <summary> + /// (Tunnel heater current loop break. Cannot execute job) + /// </summary> + [Description("Tunnel heater current loop break. Cannot execute job")] + E_TUNNEL_HEATER_CURRENT_LOOP_BREAK = 109015, + + /// <summary> + /// (Dryer heater current loop break. Cannot execute job) + /// </summary> + [Description("Dryer heater current loop break. Cannot execute job")] + E_DRYER_HEATER_1_CURRENT_LOOP_BREAK = 109016, + + /// <summary> + /// (Dryer heater current loop break. Cannot execute job) + /// </summary> + [Description("Dryer heater current loop break. Cannot execute job")] + E_DRYER_HEATER_2_CURRENT_LOOP_BREAK = 109017, + + /// <summary> + /// (Dryer heater current loop break. Cannot execute job) + /// </summary> + [Description("Dryer heater current loop break. Cannot execute job")] + E_DRYER_HEATER_3_CURRENT_LOOP_BREAK = 109018, + + /// <summary> + /// (Lubricant heater current loop break. Cannot execute job) + /// </summary> + [Description("Lubricant heater current loop break. Cannot execute job")] + E_LUBRICANT_HEATER_CURRENT_LOOP_BREAK = 109019, + + /// <summary> + /// (Dryer main motor malfuncion. Cannot execute job) + /// </summary> + [Description("Dryer main motor malfuncion. Cannot execute job")] + E_DRYER_MAIN_MOTOR_MALFUNCTION = 110000, + + /// <summary> + /// (Dryer thread loading motor malfuncion. Cannot execute job) + /// </summary> + [Description("Dryer thread loading motor malfuncion. Cannot execute job")] + E_DRYER_THREAD_LOADING_MOTOR_MALFUNCTION = 110001, + + /// <summary> + /// (Winder 1 motor malfuncion. Cannot execute job) + /// </summary> + [Description("Winder 1 motor malfuncion. Cannot execute job")] + E_WINDER_1_MOTOR_MALFUNCTION = 110002, + + /// <summary> + /// (Winder 2 motor malfuncion. Cannot execute job) + /// </summary> + [Description("Winder 2 motor malfuncion. Cannot execute job")] + E_WINDER_2_MOTOR_MALFUNCTION = 110003, + + /// <summary> + /// (Winder 3 motor malfuncion. Cannot execute job) + /// </summary> + [Description("Winder 3 motor malfuncion. Cannot execute job")] + E_WINDER_3_MOTOR_MALFUNCTION = 110004, + + /// <summary> + /// (Winder 4 motor malfuncion. Cannot execute job) + /// </summary> + [Description("Winder 4 motor malfuncion. Cannot execute job")] + E_WINDER_4_MOTOR_MALFUNCTION = 110005, + + /// <summary> + /// (Dancer 1 motor malfuncion. Cannot execute job) + /// </summary> + [Description("Dancer 1 motor malfuncion. Cannot execute job")] + E_DANCER_1_MOTOR_MALFUNCTION = 110006, + + /// <summary> + /// (Dancer 2 motor malfuncion. Cannot execute job) + /// </summary> + [Description("Dancer 2 motor malfuncion. Cannot execute job")] + E_DANCER_2_MOTOR_MALFUNCTION = 110007, + + /// <summary> + /// (Dancer 3 motor malfuncion. Cannot execute job) + /// </summary> + [Description("Dancer 3 motor malfuncion. Cannot execute job")] + E_DANCER_3_MOTOR_MALFUNCTION = 110008, + + /// <summary> + /// (Dancer 4 motor malfuncion. Cannot execute job) + /// </summary> + [Description("Dancer 4 motor malfuncion. Cannot execute job")] + E_DANCER_4_MOTOR_MALFUNCTION = 110009, + + /// <summary> + /// (Dyeing head cleaner motor malfuncion. Cannot execute job) + /// </summary> + [Description("Dyeing head cleaner motor malfuncion. Cannot execute job")] + E_DYEING_HEAD_CLEANER_MOTOR_MALFUNCTION = 110010, + + /// <summary> + /// (No suction. Cannot execute job.) + /// </summary> + [Description("No suction. Cannot execute job.")] + E_NO_SUCTION = 111000, + + /// <summary> + /// (Dryer blower flow is too low. Cannot execute job) + /// </summary> + [Description("Dryer blower flow is too low. Cannot execute job")] + E_DRYER_BLOWER_FLOW_TOO_LOW = 111001, + + /// <summary> + /// (Tunnel blower flow is too low. Cannot execute job) + /// </summary> + [Description("Tunnel blower flow is too low. Cannot execute job")] + E_TUNNEL_BLOWER_FLOW_TOO_LOW = 111002, + + /// <summary> + /// (Insufficient suction fron WHS. Cannot execute job) + /// </summary> + [Description("Insufficient suction fron WHS. Cannot execute job")] + E_INSUFFICIENT_WHS_SUCTION = 111003, + + /// <summary> + /// (Air filter is clogged. Cannot execute job) + /// </summary> + [Description("Air filter is clogged. Cannot execute job")] + E_AIR_FILTER_CLOGGED = 111004, + + /// <summary> + /// (No circulation flow in blower. Cannot execute job) + /// </summary> + [Description("No circulation flow in blower. Cannot execute job")] + E_NO_CIRCULATION_FLOW_IN_DRYER = 111005, + + /// <summary> + /// (Pressure in @ ink line too high. Cannot execute job) + /// </summary> + [Description("Pressure in @ ink line too high. Cannot execute job")] + E_INK_LINE_1_PRESSURE_TOO_HIGH = 112000, + + /// <summary> + /// (Pressure in @ ink line too high. Cannot execute job) + /// </summary> + [Description("Pressure in @ ink line too high. Cannot execute job")] + E_INK_LINE_2_PRESSURE_TOO_HIGH = 112001, + + /// <summary> + /// (Pressure in @ ink line too high. Cannot execute job) + /// </summary> + [Description("Pressure in @ ink line too high. Cannot execute job")] + E_INK_LINE_3_PRESSURE_TOO_HIGH = 112002, + + /// <summary> + /// (Pressure in @ ink line too high. Cannot execute job) + /// </summary> + [Description("Pressure in @ ink line too high. Cannot execute job")] + E_INK_LINE_4_PRESSURE_TOO_HIGH = 112003, + + /// <summary> + /// (Pressure in @ ink line too high. Cannot execute job) + /// </summary> + [Description("Pressure in @ ink line too high. Cannot execute job")] + E_INK_LINE_5_PRESSURE_TOO_HIGH = 112004, + + /// <summary> + /// (Pressure in @ ink line too high. Cannot execute job) + /// </summary> + [Description("Pressure in @ ink line too high. Cannot execute job")] + E_INK_LINE_6_PRESSURE_TOO_HIGH = 112005, + + /// <summary> + /// (Pressure in @ ink line too high. Cannot execute job) + /// </summary> + [Description("Pressure in @ ink line too high. Cannot execute job")] + E_INK_LINE_7_PRESSURE_TOO_HIGH = 112006, + + /// <summary> + /// (Pressure in @ ink line too high. Cannot execute job) + /// </summary> + [Description("Pressure in @ ink line too high. Cannot execute job")] + E_INK_LINE_8_PRESSURE_TOO_HIGH = 112007, + + /// <summary> + /// (Pressure in @ ink line too high. Cannot execute job) + /// </summary> + [Description("Pressure in @ ink line too high. Cannot execute job")] + E_INK_LINE_9_PRESSURE_TOO_HIGH = 112008, + + /// <summary> + /// (Pressure in @ ink line too high. Cannot execute job) + /// </summary> + [Description("Pressure in @ ink line too high. Cannot execute job")] + E_INK_LINE_10_PRESSURE_TOO_HIGH = 112009, + + /// <summary> + /// (Pressure in @ ink line too low. Cannot execute job) + /// </summary> + [Description("Pressure in @ ink line too low. Cannot execute job")] + E_INK_LINE_1_PRESSURE_TOO_LOW = 112010, + + /// <summary> + /// (Pressure in @ ink line too low. Cannot execute job) + /// </summary> + [Description("Pressure in @ ink line too low. Cannot execute job")] + E_INK_LINE_2_PRESSURE_TOO_LOW = 112011, + + /// <summary> + /// (Pressure in @ ink line too low. Cannot execute job) + /// </summary> + [Description("Pressure in @ ink line too low. Cannot execute job")] + E_INK_LINE_3_PRESSURE_TOO_LOW = 112012, + + /// <summary> + /// (Pressure in @ ink line too low. Cannot execute job) + /// </summary> + [Description("Pressure in @ ink line too low. Cannot execute job")] + E_INK_LINE_4_PRESSURE_TOO_LOW = 112013, + + /// <summary> + /// (Pressure in @ ink line too low. Cannot execute job) + /// </summary> + [Description("Pressure in @ ink line too low. Cannot execute job")] + E_INK_LINE_5_PRESSURE_TOO_LOW = 112014, + + /// <summary> + /// (Pressure in @ ink line too low. Cannot execute job) + /// </summary> + [Description("Pressure in @ ink line too low. Cannot execute job")] + E_INK_LINE_6_PRESSURE_TOO_LOW = 112015, + + /// <summary> + /// (Pressure in @ ink line too low. Cannot execute job) + /// </summary> + [Description("Pressure in @ ink line too low. Cannot execute job")] + E_INK_LINE_7_PRESSURE_TOO_LOW = 112016, + + /// <summary> + /// (Pressure in @ ink line too low. Cannot execute job) + /// </summary> + [Description("Pressure in @ ink line too low. Cannot execute job")] + E_INK_LINE_8_PRESSURE_TOO_LOW = 112017, + + /// <summary> + /// (Pressure in @ ink line too low. Cannot execute job) + /// </summary> + [Description("Pressure in @ ink line too low. Cannot execute job")] + E_INK_LINE_9_PRESSURE_TOO_LOW = 112018, + + /// <summary> + /// (Pressure in @ ink line too low. Cannot execute job) + /// </summary> + [Description("Pressure in @ ink line too low. Cannot execute job")] + E_INK_LINE_10_PRESSURE_TOO_LOW = 112019, + + /// <summary> + /// (Malfunction in @ ink pump. Cannot execute job) + /// </summary> + [Description("Malfunction in @ ink pump. Cannot execute job")] + E_INK_PUMP_1_MALFUNCTION = 112020, + + /// <summary> + /// (Malfunction in @ ink pump. Cannot execute job) + /// </summary> + [Description("Malfunction in @ ink pump. Cannot execute job")] + E_INK_PUMP_2_MALFUNCTION = 112021, + + /// <summary> + /// (Malfunction in @ ink pump. Cannot execute job) + /// </summary> + [Description("Malfunction in @ ink pump. Cannot execute job")] + E_INK_PUMP_3_MALFUNCTION = 112022, + + /// <summary> + /// (Malfunction in @ ink pump. Cannot execute job) + /// </summary> + [Description("Malfunction in @ ink pump. Cannot execute job")] + E_INK_PUMP_4_MALFUNCTION = 112023, + + /// <summary> + /// (Malfunction in @ ink pump. Cannot execute job) + /// </summary> + [Description("Malfunction in @ ink pump. Cannot execute job")] + E_INK_PUMP_5_MALFUNCTION = 112024, + + /// <summary> + /// (Malfunction in @ ink pump. Cannot execute job) + /// </summary> + [Description("Malfunction in @ ink pump. Cannot execute job")] + E_INK_PUMP_6_MALFUNCTION = 112025, + + /// <summary> + /// (Malfunction in @ ink pump. Cannot execute job) + /// </summary> + [Description("Malfunction in @ ink pump. Cannot execute job")] + E_INK_PUMP_7_MALFUNCTION = 112026, + + /// <summary> + /// (Malfunction in @ ink pump. Cannot execute job) + /// </summary> + [Description("Malfunction in @ ink pump. Cannot execute job")] + E_INK_PUMP_8_MALFUNCTION = 112027, + + /// <summary> + /// (Malfunction in @ ink pump. Cannot execute job) + /// </summary> + [Description("Malfunction in @ ink pump. Cannot execute job")] + E_INK_PUMP_9_MALFUNCTION = 112028, + + /// <summary> + /// (Malfunction in @ ink pump. Cannot execute job) + /// </summary> + [Description("Malfunction in @ ink pump. Cannot execute job")] + E_INK_PUMP_10_MALFUNCTION = 112029, + + /// <summary> + /// (Malfunction in @ ink pump. Cannot execute job) + /// </summary> + [Description("Malfunction in @ ink pump. Cannot execute job")] + E_INK_PUMP_11_MALFUNCTION = 112030, + + /// <summary> + /// (Malfunction in @ ink pump. Cannot execute job) + /// </summary> + [Description("Malfunction in @ ink pump. Cannot execute job")] + E_INK_PUMP_12_MALFUNCTION = 112031, + + /// <summary> + /// (Malfunction in @ ink pump. Cannot execute job) + /// </summary> + [Description("Malfunction in @ ink pump. Cannot execute job")] + E_INK_PUMP_13_MALFUNCTION = 112032, + + /// <summary> + /// (Malfunction in @ ink pump. Cannot execute job) + /// </summary> + [Description("Malfunction in @ ink pump. Cannot execute job")] + E_INK_PUMP_14_MALFUNCTION = 112033, + + /// <summary> + /// (Malfunction in @ ink pump. Cannot execute job) + /// </summary> + [Description("Malfunction in @ ink pump. Cannot execute job")] + E_INK_PUMP_15_MALFUNCTION = 112034, + + /// <summary> + /// (The @ tank level is low) + /// </summary> + [Description("The @ tank level is low")] + E_INK_LINE_1_MID_TANK_LOW_LEVEL = 112035, + + /// <summary> + /// (The @ tank level is low) + /// </summary> + [Description("The @ tank level is low")] + E_INK_LINE_2_MID_TANK_LOW_LEVEL = 112036, + + /// <summary> + /// (The @ tank level is low) + /// </summary> + [Description("The @ tank level is low")] + E_INK_LINE_3_MID_TANK_LOW_LEVEL = 112037, + + /// <summary> + /// (The @ tank level is low) + /// </summary> + [Description("The @ tank level is low")] + E_INK_LINE_4_MID_TANK_LOW_LEVEL = 112038, + + /// <summary> + /// (The @ tank level is low) + /// </summary> + [Description("The @ tank level is low")] + E_INK_LINE_5_MID_TANK_LOW_LEVEL = 112039, + + /// <summary> + /// (The @ tank level is low) + /// </summary> + [Description("The @ tank level is low")] + E_INK_LINE_6_MID_TANK_LOW_LEVEL = 112040, + + /// <summary> + /// (The @ tank level is low) + /// </summary> + [Description("The @ tank level is low")] + E_INK_LINE_7_MID_TANK_LOW_LEVEL = 112041, + + /// <summary> + /// (The @ tank level is low) + /// </summary> + [Description("The @ tank level is low")] + E_INK_LINE_8_MID_TANK_LOW_LEVEL = 112042, + + /// <summary> + /// (The @ tank level is low) + /// </summary> + [Description("The @ tank level is low")] + E_INK_LINE_9_MID_TANK_LOW_LEVEL = 112043, + + /// <summary> + /// (The @ tank level is low) + /// </summary> + [Description("The @ tank level is low")] + E_INK_LINE_10_MID_TANK_LOW_LEVEL = 112044, + + /// <summary> + /// (Failed to fill @ tank. Cannot execute job) + /// </summary> + [Description("Failed to fill @ tank. Cannot execute job")] + E_INK_LINE_1_MID_TANK_FILL_TIMEOUT = 112045, + + /// <summary> + /// (Failed to fill @ tank. Cannot execute job) + /// </summary> + [Description("Failed to fill @ tank. Cannot execute job")] + E_INK_LINE_2_MID_TANK_FILL_TIMEOUT = 112046, + + /// <summary> + /// (Failed to fill @ tank. Cannot execute job) + /// </summary> + [Description("Failed to fill @ tank. Cannot execute job")] + E_INK_LINE_3_MID_TANK_FILL_TIMEOUT = 112047, + + /// <summary> + /// (Failed to fill @ tank. Cannot execute job) + /// </summary> + [Description("Failed to fill @ tank. Cannot execute job")] + E_INK_LINE_4_MID_TANK_FILL_TIMEOUT = 112048, + + /// <summary> + /// (Failed to fill @ tank. Cannot execute job) + /// </summary> + [Description("Failed to fill @ tank. Cannot execute job")] + E_INK_LINE_5_MID_TANK_FILL_TIMEOUT = 112049, + + /// <summary> + /// (Failed to fill @ tank. Cannot execute job) + /// </summary> + [Description("Failed to fill @ tank. Cannot execute job")] + E_INK_LINE_6_MID_TANK_FILL_TIMEOUT = 112050, + + /// <summary> + /// (Failed to fill @ tank. Cannot execute job) + /// </summary> + [Description("Failed to fill @ tank. Cannot execute job")] + E_INK_LINE_7_MID_TANK_FILL_TIMEOUT = 112051, + + /// <summary> + /// (Failed to fill @ tank. Cannot execute job) + /// </summary> + [Description("Failed to fill @ tank. Cannot execute job")] + E_INK_LINE_8_MID_TANK_FILL_TIMEOUT = 112052, + + /// <summary> + /// (Failed to fill @ tank. Cannot execute job) + /// </summary> + [Description("Failed to fill @ tank. Cannot execute job")] + E_INK_LINE_9_MID_TANK_FILL_TIMEOUT = 112053, + + /// <summary> + /// (Failed to fill @ tank. Cannot execute job) + /// </summary> + [Description("Failed to fill @ tank. Cannot execute job")] + E_INK_LINE_10_MID_TANK_FILL_TIMEOUT = 112054, + + /// <summary> + /// (Malfunction in @ tank. Cannot execute job) + /// </summary> + [Description("Malfunction in @ tank. Cannot execute job")] + E_INK_LINE_1_MID_TANK_MALFUNCTION = 112055, + + /// <summary> + /// (Malfunction in @ tank. Cannot execute job) + /// </summary> + [Description("Malfunction in @ tank. Cannot execute job")] + E_INK_LINE_2_MID_TANK_MALFUNCTION = 112056, + + /// <summary> + /// (Malfunction in @ tank. Cannot execute job) + /// </summary> + [Description("Malfunction in @ tank. Cannot execute job")] + E_INK_LINE_3_MID_TANK_MALFUNCTION = 112057, + + /// <summary> + /// (Malfunction in @ tank. Cannot execute job) + /// </summary> + [Description("Malfunction in @ tank. Cannot execute job")] + E_INK_LINE_4_MID_TANK_MALFUNCTION = 112058, + + /// <summary> + /// (Malfunction in @ tank. Cannot execute job) + /// </summary> + [Description("Malfunction in @ tank. Cannot execute job")] + E_INK_LINE_5_MID_TANK_MALFUNCTION = 112059, + + /// <summary> + /// (Malfunction in @ tank. Cannot execute job) + /// </summary> + [Description("Malfunction in @ tank. Cannot execute job")] + E_INK_LINE_6_MID_TANK_MALFUNCTION = 112060, + + /// <summary> + /// (Malfunction in @ tank. Cannot execute job) + /// </summary> + [Description("Malfunction in @ tank. Cannot execute job")] + E_INK_LINE_7_MID_TANK_MALFUNCTION = 112061, + + /// <summary> + /// (Malfunction in @ tank. Cannot execute job) + /// </summary> + [Description("Malfunction in @ tank. Cannot execute job")] + E_INK_LINE_8_MID_TANK_MALFUNCTION = 112062, + + /// <summary> + /// (Malfunction in @ tank. Cannot execute job) + /// </summary> + [Description("Malfunction in @ tank. Cannot execute job")] + E_INK_LINE_9_MID_TANK_MALFUNCTION = 112063, + + /// <summary> + /// (Malfunction in @ tank. Cannot execute job) + /// </summary> + [Description("Malfunction in @ tank. Cannot execute job")] + E_INK_LINE_10_MID_TANK_MALFUNCTION = 112064, + } } diff --git a/Software/Visual_Studio/Tango.BL/Enumerations/HardwareMotorTypes.cs b/Software/Visual_Studio/Tango.BL/Enumerations/HardwareMotorTypes.cs index 3e860036c..c463054e8 100644 --- a/Software/Visual_Studio/Tango.BL/Enumerations/HardwareMotorTypes.cs +++ b/Software/Visual_Studio/Tango.BL/Enumerations/HardwareMotorTypes.cs @@ -199,5 +199,107 @@ namespace Tango.BL.Enumerations [Description("Spare 5 Motor")] MOTO_SPARE3_1 = 29, + /// <summary> + /// (Eureka Dryer Main) + /// </summary> + [Description("Eureka Dryer Main")] + E_MOTO_DRYER_DRIVING = 1000, + + /// <summary> + /// (Eureka Dryer Loading) + /// </summary> + [Description("Eureka Dryer Loading")] + E_MOTO_DRYER_LOADING = 1001, + + /// <summary> + /// (Eureka Winder 1) + /// </summary> + [Description("Eureka Winder 1")] + E_MOTO_WINDER_1 = 1002, + + /// <summary> + /// (Eureka Winder 2) + /// </summary> + [Description("Eureka Winder 2")] + E_MOTO_WINDER_2 = 1003, + + /// <summary> + /// (Eureka Winder 3) + /// </summary> + [Description("Eureka Winder 3")] + E_MOTO_WINDER_3 = 1004, + + /// <summary> + /// (Eureka Winder 4) + /// </summary> + [Description("Eureka Winder 4")] + E_MOTO_WINDER_4 = 1005, + + /// <summary> + /// (Eureka Winder Dancer 1) + /// </summary> + [Description("Eureka Winder Dancer 1")] + E_MOTO_DANCER_1 = 1006, + + /// <summary> + /// (Eureka Winder Dancer 2) + /// </summary> + [Description("Eureka Winder Dancer 2")] + E_MOTO_DANCER_2 = 1007, + + /// <summary> + /// (Eureka Winder Dancer 3) + /// </summary> + [Description("Eureka Winder Dancer 3")] + E_MOTO_DANCER_3 = 1008, + + /// <summary> + /// (Eureka Winder Dancer 4) + /// </summary> + [Description("Eureka Winder Dancer 4")] + E_MOTO_DANCER_4 = 1009, + + /// <summary> + /// (Eureka Puller) + /// </summary> + [Description("Eureka Puller")] + E_MOTO_PULLER = 1010, + + /// <summary> + /// (Eureka Puller Dancer) + /// </summary> + [Description("Eureka Puller Dancer")] + E_MOTO_PULLER_DANCER = 1011, + + /// <summary> + /// (Eureka Spare 1) + /// </summary> + [Description("Eureka Spare 1")] + E_MOTO_SPARE_1 = 1012, + + /// <summary> + /// (Eureka Spare 2) + /// </summary> + [Description("Eureka Spare 2")] + E_MOTO_SPARE_2 = 1013, + + /// <summary> + /// (Eureka Spare 3) + /// </summary> + [Description("Eureka Spare 3")] + E_MOTO_SPARE_3 = 1014, + + /// <summary> + /// (Eureka Spare 4) + /// </summary> + [Description("Eureka Spare 4")] + E_MOTO_SPARE_4 = 1015, + + /// <summary> + /// (Eureka Spare 5) + /// </summary> + [Description("Eureka Spare 5")] + E_MOTO_SPARE_5 = 1016, + } } diff --git a/Software/Visual_Studio/Tango.BL/Enumerations/HardwarePidControlTypes.cs b/Software/Visual_Studio/Tango.BL/Enumerations/HardwarePidControlTypes.cs index 85e302598..17082a4f6 100644 --- a/Software/Visual_Studio/Tango.BL/Enumerations/HardwarePidControlTypes.cs +++ b/Software/Visual_Studio/Tango.BL/Enumerations/HardwarePidControlTypes.cs @@ -217,5 +217,131 @@ namespace Tango.BL.Enumerations [Description("Head Blower 2")] HeadBlower_2 = 32, + /// <summary> + /// (Eureka Dyer Heater 1) + /// </summary> + [Description("Eureka Dyer Heater 1")] + E_PID_DRYER_HEATER_1 = 1000, + + /// <summary> + /// (Eureka Dyer Heater 2) + /// </summary> + [Description("Eureka Dyer Heater 2")] + E_PID_DRYER_HEATER_2 = 1001, + + /// <summary> + /// (Eureka Dyer Heater 3) + /// </summary> + [Description("Eureka Dyer Heater 3")] + E_PID_DRYER_HEATER_3 = 1002, + + /// <summary> + /// (Eureka Head Heater 1) + /// </summary> + [Description("Eureka Head Heater 1")] + E_PID_HEAD_HEATER_1 = 1003, + + /// <summary> + /// (Eureka Head Heater 2) + /// </summary> + [Description("Eureka Head Heater 2")] + E_PID_HEAD_HEATER_2 = 1004, + + /// <summary> + /// (Eureka Head Heater 3) + /// </summary> + [Description("Eureka Head Heater 3")] + E_PID_HEAD_HEATER_3 = 1005, + + /// <summary> + /// (Eureka Mixer Heater) + /// </summary> + [Description("Eureka Mixer Heater")] + E_PID_MIXER_HEATER = 1006, + + /// <summary> + /// (Eureka Tunnel Heater) + /// </summary> + [Description("Eureka Tunnel Heater")] + E_PID_TUNNEL_HEATER = 1007, + + /// <summary> + /// (Eureka Lubricant Heater) + /// </summary> + [Description("Eureka Lubricant Heater")] + E_PID_LUBRICANT_HEATER = 1008, + + /// <summary> + /// (Eureka Winder 1) + /// </summary> + [Description("Eureka Winder 1")] + E_WINDER_1 = 1009, + + /// <summary> + /// (Eureka Winder 2) + /// </summary> + [Description("Eureka Winder 2")] + E_WINDER_2 = 1010, + + /// <summary> + /// (Eureka Winder 3) + /// </summary> + [Description("Eureka Winder 3")] + E_WINDER_3 = 1011, + + /// <summary> + /// (Eureka Winder 4) + /// </summary> + [Description("Eureka Winder 4")] + E_WINDER_4 = 1012, + + /// <summary> + /// (Eureka Dryer Air Flow) + /// </summary> + [Description("Eureka Dryer Air Flow")] + E_DRYER_AIR_FLOW = 1013, + + /// <summary> + /// (Eureka Puller) + /// </summary> + [Description("Eureka Puller")] + E_PULLER = 1014, + + /// <summary> + /// (Eureka Tunnel Air Flow Left) + /// </summary> + [Description("Eureka Tunnel Air Flow Left")] + E_TUNNEL_AIR_FLOW_LEFT = 1015, + + /// <summary> + /// (Eureka Tunnel Air Flow Right) + /// </summary> + [Description("Eureka Tunnel Air Flow Right")] + E_TUNNEL_AIR_FLOW_RIGHT = 1016, + + /// <summary> + /// (Eureka Spare 1) + /// </summary> + [Description("Eureka Spare 1")] + E_PID_SPARE_1 = 1017, + + /// <summary> + /// (Eureka Spare 2) + /// </summary> + [Description("Eureka Spare 2")] + E_PID_SPARE_2 = 1018, + + /// <summary> + /// (Eureka Spare 3) + /// </summary> + [Description("Eureka Spare 3")] + E_PID_SPARE_3 = 1019, + + /// <summary> + /// (Eureka Spare 4) + /// </summary> + [Description("Eureka Spare 4")] + E_PID_SPARE_4 = 1020, + } } diff --git a/Software/Visual_Studio/Tango.BL/Enumerations/MachineTypes.cs b/Software/Visual_Studio/Tango.BL/Enumerations/MachineTypes.cs new file mode 100644 index 000000000..381b87cbc --- /dev/null +++ b/Software/Visual_Studio/Tango.BL/Enumerations/MachineTypes.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.BL.Enumerations +{ + public enum MachineTypes + { + [Description("TS-1800")] + TS1800 = 0, + [Description("Twine X4")] + Eureka = 1, + } +} diff --git a/Software/Visual_Studio/Tango.BL/Enumerations/MidTankTypes.cs b/Software/Visual_Studio/Tango.BL/Enumerations/MidTankTypes.cs index b1255d8ff..b6a497dee 100644 --- a/Software/Visual_Studio/Tango.BL/Enumerations/MidTankTypes.cs +++ b/Software/Visual_Studio/Tango.BL/Enumerations/MidTankTypes.cs @@ -37,5 +37,11 @@ namespace Tango.BL.Enumerations [Description("No Mid Tank")] NoMidTank = 3, + /// <summary> + /// (Eureka 5L Jerrican) + /// </summary> + [Description("Eureka 5L Jerrican")] + Eureka5LJerrican = 4, + } } diff --git a/Software/Visual_Studio/Tango.BL/Enumerations/TechHeaters.cs b/Software/Visual_Studio/Tango.BL/Enumerations/TechHeaters.cs index 9731e5b61..b5236577d 100644 --- a/Software/Visual_Studio/Tango.BL/Enumerations/TechHeaters.cs +++ b/Software/Visual_Studio/Tango.BL/Enumerations/TechHeaters.cs @@ -127,5 +127,71 @@ namespace Tango.BL.Enumerations [Description("Head Cover Heater 2")] HeadCoverHeater2 = 17, + /// <summary> + /// (Eureka Dryer 1) + /// </summary> + [Description("Eureka Dryer 1")] + E_DRYER_HEATER_1 = 1000, + + /// <summary> + /// (Eureka Dryer 2) + /// </summary> + [Description("Eureka Dryer 2")] + E_DRYER_HEATER_2 = 1001, + + /// <summary> + /// (Eureka Dryer 3) + /// </summary> + [Description("Eureka Dryer 3")] + E_DRYER_HEATER_3 = 1002, + + /// <summary> + /// (Eureka Head 1) + /// </summary> + [Description("Eureka Head 1")] + E_HEAD_HEATER_1 = 1003, + + /// <summary> + /// (Eureka Head 2) + /// </summary> + [Description("Eureka Head 2")] + E_HEAD_HEATER_2 = 1004, + + /// <summary> + /// (Eureka Head 3) + /// </summary> + [Description("Eureka Head 3")] + E_HEAD_HEATER_3 = 1005, + + /// <summary> + /// (Eureka Mixer) + /// </summary> + [Description("Eureka Mixer")] + E_MIXER_HEATER = 1006, + + /// <summary> + /// (Eureka Tunnel) + /// </summary> + [Description("Eureka Tunnel")] + E_TUNNEL_HEATER = 1007, + + /// <summary> + /// (Eureka Lubricant) + /// </summary> + [Description("Eureka Lubricant")] + E_LUBRICANT_HEATER = 1008, + + /// <summary> + /// (Eureka Spare 1) + /// </summary> + [Description("Eureka Spare 1")] + E_SPARE_1 = 1009, + + /// <summary> + /// (Eureka Spare 2) + /// </summary> + [Description("Eureka Spare 2")] + E_SPARE_2 = 1010, + } } diff --git a/Software/Visual_Studio/Tango.BL/Enumerations/TechMonitors.cs b/Software/Visual_Studio/Tango.BL/Enumerations/TechMonitors.cs index 165fe2bd3..c3c88f409 100644 --- a/Software/Visual_Studio/Tango.BL/Enumerations/TechMonitors.cs +++ b/Software/Visual_Studio/Tango.BL/Enumerations/TechMonitors.cs @@ -218,6 +218,624 @@ namespace Tango.BL.Enumerations DryerZone3Temperature = 18, /// <summary> + /// (Eureka Ambient Temperature) + /// </summary> + [Description("Eureka Ambient Temperature")] + EuAmbientTemperature = 1022, + + /// <summary> + /// (Eureka Blower Voltage) + /// </summary> + [Description("Eureka Blower Voltage")] + EuBlowerVoltage = 1097, + + /// <summary> + /// (Eureka BTSR 1 Tension) + /// </summary> + [Description("Eureka BTSR 1 Tension")] + EuBtsr1DispAv = 1035, + + /// <summary> + /// (Eureka BTSR 1 Peak Max) + /// </summary> + [Description("Eureka BTSR 1 Peak Max")] + EuBtsr1PeakMax = 1037, + + /// <summary> + /// (Eureka BTSR 1 Peak Min) + /// </summary> + [Description("Eureka BTSR 1 Peak Min")] + EuBtsr1PeakMin = 1036, + + /// <summary> + /// (Eureka BTSR 1 Speed) + /// </summary> + [Description("Eureka BTSR 1 Speed")] + EuBtsr1Speed = 1033, + + /// <summary> + /// (Eureka BTSR 1 Speed Average) + /// </summary> + [Description("Eureka BTSR 1 Speed Average")] + EuBtsr1SpeedAv = 1034, + + /// <summary> + /// (Eureka BTSR 2 Tension) + /// </summary> + [Description("Eureka BTSR 2 Tension")] + EuBtsr2DispAv = 1040, + + /// <summary> + /// (Eureka BTSR 2 Peak Max) + /// </summary> + [Description("Eureka BTSR 2 Peak Max")] + EuBtsr2PeakMax = 1042, + + /// <summary> + /// (Eureka BTSR 2 Peak Min) + /// </summary> + [Description("Eureka BTSR 2 Peak Min")] + EuBtsr2PeakMin = 1041, + + /// <summary> + /// (Eureka BTSR 2 Speed) + /// </summary> + [Description("Eureka BTSR 2 Speed")] + EuBtsr2Speed = 1038, + + /// <summary> + /// (Eureka BTSR 2 Speed Average) + /// </summary> + [Description("Eureka BTSR 2 Speed Average")] + EuBtsr2SpeedAv = 1039, + + /// <summary> + /// (Eureka BTSR 3 Tension) + /// </summary> + [Description("Eureka BTSR 3 Tension")] + EuBtsr3DispAv = 1045, + + /// <summary> + /// (Eureka BTSR 3 Peak Max) + /// </summary> + [Description("Eureka BTSR 3 Peak Max")] + EuBtsr3PeakMax = 1047, + + /// <summary> + /// (Eureka BTSR 3 Peak Min) + /// </summary> + [Description("Eureka BTSR 3 Peak Min")] + EuBtsr3PeakMin = 1046, + + /// <summary> + /// (Eureka BTSR 3 Speed) + /// </summary> + [Description("Eureka BTSR 3 Speed")] + EuBtsr3Speed = 1043, + + /// <summary> + /// (Eureka BTSR 3 Speed Average) + /// </summary> + [Description("Eureka BTSR 3 Speed Average")] + EuBtsr3SpeedAv = 1044, + + /// <summary> + /// (Eureka BTSR 4 Tension) + /// </summary> + [Description("Eureka BTSR 4 Tension")] + EuBtsr4DispAv = 1052, + + /// <summary> + /// (Eureka BTSR 4 Peak Max) + /// </summary> + [Description("Eureka BTSR 4 Peak Max")] + EuBtsr4PeakMax = 1051, + + /// <summary> + /// (Eureka BTSR 4 Peak Min) + /// </summary> + [Description("Eureka BTSR 4 Peak Min")] + EuBtsr4PeakMin = 1050, + + /// <summary> + /// (Eureka BTSR 4 Speed) + /// </summary> + [Description("Eureka BTSR 4 Speed")] + EuBtsr4Speed = 1048, + + /// <summary> + /// (Eureka BTSR 4 Speed Average) + /// </summary> + [Description("Eureka BTSR 4 Speed Average")] + EuBtsr4SpeedAv = 1049, + + /// <summary> + /// (Eureka Chiller Temperature) + /// </summary> + [Description("Eureka Chiller Temperature")] + EuChillerTemperature = 1091, + + /// <summary> + /// (Eureka Dispenser 10 Voltage) + /// </summary> + [Description("Eureka Dispenser 10 Voltage")] + EuDispenser10Voltage = 1066, + + /// <summary> + /// (Eureka Dispenser 11 Voltage) + /// </summary> + [Description("Eureka Dispenser 11 Voltage")] + EuDispenser11Voltage = 1067, + + /// <summary> + /// (Eureka Dispenser 12 Voltage) + /// </summary> + [Description("Eureka Dispenser 12 Voltage")] + EuDispenser12Voltage = 1068, + + /// <summary> + /// (Eureka Dispenser 13 Voltage) + /// </summary> + [Description("Eureka Dispenser 13 Voltage")] + EuDispenser13Voltage = 1069, + + /// <summary> + /// (Eureka Dispenser 14 Voltage) + /// </summary> + [Description("Eureka Dispenser 14 Voltage")] + EuDispenser14Voltage = 1070, + + /// <summary> + /// (Eureka Dispenser 15 Voltage) + /// </summary> + [Description("Eureka Dispenser 15 Voltage")] + EuDispenser15Voltage = 1071, + + /// <summary> + /// (Eureka Dispenser 16 Voltage) + /// </summary> + [Description("Eureka Dispenser 16 Voltage")] + EuDispenser16Voltage = 1072, + + /// <summary> + /// (Eureka Dispenser 1 Pressure) + /// </summary> + [Description("Eureka Dispenser 1 Pressure")] + EuDispenser1Pressure = 1074, + + /// <summary> + /// (Eureka Dispenser 1 Voltage) + /// </summary> + [Description("Eureka Dispenser 1 Voltage")] + EuDispenser1Voltage = 1057, + + /// <summary> + /// (Eureka Dispenser 2 Pressure) + /// </summary> + [Description("Eureka Dispenser 2 Pressure")] + EuDispenser2Pressure = 1075, + + /// <summary> + /// (Eureka Dispenser 2 Voltage) + /// </summary> + [Description("Eureka Dispenser 2 Voltage")] + EuDispenser2Voltage = 1058, + + /// <summary> + /// (Eureka Dispenser 3 Pressure) + /// </summary> + [Description("Eureka Dispenser 3 Pressure")] + EuDispenser3Pressure = 1076, + + /// <summary> + /// (Eureka Dispenser 3 Voltage) + /// </summary> + [Description("Eureka Dispenser 3 Voltage")] + EuDispenser3Voltage = 1059, + + /// <summary> + /// (Eureka Dispenser 4 Pressure) + /// </summary> + [Description("Eureka Dispenser 4 Pressure")] + EuDispenser4Pressure = 1077, + + /// <summary> + /// (Eureka Dispenser 4 Voltage) + /// </summary> + [Description("Eureka Dispenser 4 Voltage")] + EuDispenser4Voltage = 1060, + + /// <summary> + /// (Eureka Dispenser 5 Pressure) + /// </summary> + [Description("Eureka Dispenser 5 Pressure")] + EuDispenser5Pressure = 1078, + + /// <summary> + /// (Eureka Dispenser 5 Voltage) + /// </summary> + [Description("Eureka Dispenser 5 Voltage")] + EuDispenser5Voltage = 1061, + + /// <summary> + /// (Eureka Dispenser 6 Pressure) + /// </summary> + [Description("Eureka Dispenser 6 Pressure")] + EuDispenser6Pressure = 1079, + + /// <summary> + /// (Eureka Dispenser 6 Voltage) + /// </summary> + [Description("Eureka Dispenser 6 Voltage")] + EuDispenser6Voltage = 1062, + + /// <summary> + /// (Eureka Dispenser 7 Pressure) + /// </summary> + [Description("Eureka Dispenser 7 Pressure")] + EuDispenser7Pressure = 1080, + + /// <summary> + /// (Eureka Dispenser 7 Voltage) + /// </summary> + [Description("Eureka Dispenser 7 Voltage")] + EuDispenser7Voltage = 1063, + + /// <summary> + /// (Eureka Dispenser 8 Pressure) + /// </summary> + [Description("Eureka Dispenser 8 Pressure")] + EuDispenser8Pressure = 1081, + + /// <summary> + /// (Eureka Dispenser 8 Voltage) + /// </summary> + [Description("Eureka Dispenser 8 Voltage")] + EuDispenser8Voltage = 1064, + + /// <summary> + /// (Eureka Dispenser 9 Voltage) + /// </summary> + [Description("Eureka Dispenser 9 Voltage")] + EuDispenser9Voltage = 1065, + + /// <summary> + /// (Eureka Dryer Air Flow) + /// </summary> + [Description("Eureka Dryer Air Flow")] + EuDryerAirFlow = 1096, + + /// <summary> + /// (Eureka Dryer Motor Current) + /// </summary> + [Description("Eureka Dryer Motor Current")] + EuDryerMotorCurrent = 1010, + + /// <summary> + /// (Eureka Dryer Motor Target Velocity) + /// </summary> + [Description("Eureka Dryer Motor Target Velocity")] + EuDryerMotorTargetVelocity = 1009, + + /// <summary> + /// (Eureka Dryer Motor Velocity) + /// </summary> + [Description("Eureka Dryer Motor Velocity")] + EuDryerMotorVelocity = 1008, + + /// <summary> + /// (Eureka Dryer Zone 1 Current) + /// </summary> + [Description("Eureka Dryer Zone 1 Current")] + EuDryerZone1Current = 1024, + + /// <summary> + /// (Eureka Dryer Zone 1 Temperature) + /// </summary> + [Description("Eureka Dryer Zone 1 Temperature")] + EuDryerZone1Temperature = 1013, + + /// <summary> + /// (Eureka Dryer Zone 2 Current) + /// </summary> + [Description("Eureka Dryer Zone 2 Current")] + EuDryerZone2Current = 1025, + + /// <summary> + /// (Eureka Dryer Zone 2 Temperature) + /// </summary> + [Description("Eureka Dryer Zone 2 Temperature")] + EuDryerZone2Temperature = 1014, + + /// <summary> + /// (Eureka Dryer Zone 3 Current) + /// </summary> + [Description("Eureka Dryer Zone 3 Current")] + EuDryerZone3Current = 1026, + + /// <summary> + /// (Eureka Dryer Zone 3 Temperature) + /// </summary> + [Description("Eureka Dryer Zone 3 Temperature")] + EuDryerZone3Temperature = 1015, + + /// <summary> + /// (Eureka Electrical Cabinet Temperature) + /// </summary> + [Description("Eureka Electrical Cabinet Temperature")] + EuElectricalCabinetTemperature = 1023, + + /// <summary> + /// (Eureka Head Left Air Flow) + /// </summary> + [Description("Eureka Head Left Air Flow")] + EuHeadLeftAirFlow = 1093, + + /// <summary> + /// (Eureka Head Left Voltage) + /// </summary> + [Description("Eureka Head Left Voltage")] + EuHeadLeftVoltage = 1095, + + /// <summary> + /// (Eureka Head Right Air Flow) + /// </summary> + [Description("Eureka Head Right Air Flow")] + EuHeadRightAirFlow = 1092, + + /// <summary> + /// (Eureka Head Right Voltage) + /// </summary> + [Description("Eureka Head Right Voltage")] + EuHeadRightVoltage = 1094, + + /// <summary> + /// (Eureka Head Zone 1 Current) + /// </summary> + [Description("Eureka Head Zone 1 Current")] + EuHeadZone1Current = 1027, + + /// <summary> + /// (Eureka Head Zone 1 Temperature) + /// </summary> + [Description("Eureka Head Zone 1 Temperature")] + EuHeadZone1Temperature = 1016, + + /// <summary> + /// (Eureka Head Zone 2 Current) + /// </summary> + [Description("Eureka Head Zone 2 Current")] + EuHeadZone2Current = 1028, + + /// <summary> + /// (Eureka Head Zone 2 Temperature) + /// </summary> + [Description("Eureka Head Zone 2 Temperature")] + EuHeadZone2Temperature = 1017, + + /// <summary> + /// (Eureka Head Zone 3 Current) + /// </summary> + [Description("Eureka Head Zone 3 Current")] + EuHeadZone3Current = 1029, + + /// <summary> + /// (Eureka Head Zone 3 Temperature) + /// </summary> + [Description("Eureka Head Zone 3 Temperature")] + EuHeadZone3Temperature = 1018, + + /// <summary> + /// (Eureka Ink Lines Pressure) + /// </summary> + [Description("Eureka Ink Lines Pressure")] + EuInkLinesPressure = 1055, + + /// <summary> + /// (Eureka Lubricant Current) + /// </summary> + [Description("Eureka Lubricant Current")] + EuLubricantCurrent = 1032, + + /// <summary> + /// (Eureka Lubricant Pressure) + /// </summary> + [Description("Eureka Lubricant Pressure")] + EuLubricantPressure = 1082, + + /// <summary> + /// (Eureka Lubricant Pump Voltage) + /// </summary> + [Description("Eureka Lubricant Pump Voltage")] + EuLubricantPumpVoltage = 1073, + + /// <summary> + /// (Eureka Lubricant Temperature) + /// </summary> + [Description("Eureka Lubricant Temperature")] + EuLubricantTemperature = 1021, + + /// <summary> + /// (Eureka Mid Tank 1 Level) + /// </summary> + [Description("Eureka Mid Tank 1 Level")] + EuMidTank1Level = 1083, + + /// <summary> + /// (Eureka Mid Tank 2 Level) + /// </summary> + [Description("Eureka Mid Tank 2 Level")] + EuMidTank2Level = 1084, + + /// <summary> + /// (Eureka Mid Tank 3 Level) + /// </summary> + [Description("Eureka Mid Tank 3 Level")] + EuMidTank3Level = 1085, + + /// <summary> + /// (Eureka Mid Tank 4 Level) + /// </summary> + [Description("Eureka Mid Tank 4 Level")] + EuMidTank4Level = 1086, + + /// <summary> + /// (Eureka Mid Tank 5 Level) + /// </summary> + [Description("Eureka Mid Tank 5 Level")] + EuMidTank5Level = 1087, + + /// <summary> + /// (Eureka Mid Tank 6 Level) + /// </summary> + [Description("Eureka Mid Tank 6 Level")] + EuMidTank6Level = 1088, + + /// <summary> + /// (Eureka Mid Tank 7 Level) + /// </summary> + [Description("Eureka Mid Tank 7 Level")] + EuMidTank7Level = 1089, + + /// <summary> + /// (Eureka Mid Tank 8 Level) + /// </summary> + [Description("Eureka Mid Tank 8 Level")] + EuMidTank8Level = 1090, + + /// <summary> + /// (Eureka Mixer Current) + /// </summary> + [Description("Eureka Mixer Current")] + EuMixerCurrent = 1030, + + /// <summary> + /// (Eureka Mixer Temperature) + /// </summary> + [Description("Eureka Mixer Temperature")] + EuMixerTemperature = 1019, + + /// <summary> + /// (Eureka Puller Dancer) + /// </summary> + [Description("Eureka Puller Dancer")] + EuPullerDancer = 1011, + + /// <summary> + /// (Eureka Puller Motor) + /// </summary> + [Description("Eureka Puller Motor")] + EuPullerMotor = 1012, + + /// <summary> + /// (Eureka Pump Flows) + /// </summary> + [Description("Eureka Pump Flows")] + EuPumpFlows = 1054, + + /// <summary> + /// (Eureka Spare 1) + /// </summary> + [Description("Eureka Spare 1")] + EuSpare1 = 1099, + + /// <summary> + /// (Eureka Spare 2) + /// </summary> + [Description("Eureka Spare 2")] + EuSpare2 = 1100, + + /// <summary> + /// (Eureka Spare 3) + /// </summary> + [Description("Eureka Spare 3")] + EuSpare3 = 1101, + + /// <summary> + /// (Eureka Spare 4) + /// </summary> + [Description("Eureka Spare 4")] + EuSpare4 = 1102, + + /// <summary> + /// (Eureka Spare Data Array) + /// </summary> + [Description("Eureka Spare Data Array")] + EuSpareDataArray = 1056, + + /// <summary> + /// (Eureka Temperature Loggers) + /// </summary> + [Description("Eureka Temperature Loggers")] + EuTemperatureLoggers = 1053, + + /// <summary> + /// (Eureka Tunnel Current) + /// </summary> + [Description("Eureka Tunnel Current")] + EuTunnelCurrent = 1031, + + /// <summary> + /// (Eureka Tunnel Temperature) + /// </summary> + [Description("Eureka Tunnel Temperature")] + EuTunnelTemperature = 1020, + + /// <summary> + /// (Eureka Waste Level) + /// </summary> + [Description("Eureka Waste Level")] + EuWasteLevel = 1098, + + /// <summary> + /// (Eureka Winder Dancer 1) + /// </summary> + [Description("Eureka Winder Dancer 1")] + EuWinder1Dancer = 1000, + + /// <summary> + /// (Eureka Winder Motor 1) + /// </summary> + [Description("Eureka Winder Motor 1")] + EuWinder1Motor = 1004, + + /// <summary> + /// (Eureka Winder Dancer 2) + /// </summary> + [Description("Eureka Winder Dancer 2")] + EuWinder2Dancer = 1001, + + /// <summary> + /// (Eureka Winder Motor 2) + /// </summary> + [Description("Eureka Winder Motor 2")] + EuWinder2Motor = 1005, + + /// <summary> + /// (Eureka Winder Dancer 3) + /// </summary> + [Description("Eureka Winder Dancer 3")] + EuWinder3Dancer = 1002, + + /// <summary> + /// (Eureka Winder Motor 3) + /// </summary> + [Description("Eureka Winder Motor 3")] + EuWinder3Motor = 1006, + + /// <summary> + /// (Eureka Winder Dancer 4) + /// </summary> + [Description("Eureka Winder Dancer 4")] + EuWinder4Dancer = 1003, + + /// <summary> + /// (Eureka Winder Motor 4) + /// </summary> + [Description("Eureka Winder Motor 4")] + EuWinder4Motor = 1007, + + /// <summary> /// (Feeder Motor) /// </summary> [Description("Feeder Motor")] diff --git a/Software/Visual_Studio/Tango.BL/Tango.BL.csproj b/Software/Visual_Studio/Tango.BL/Tango.BL.csproj index d00304e0e..83e4bf3ea 100644 --- a/Software/Visual_Studio/Tango.BL/Tango.BL.csproj +++ b/Software/Visual_Studio/Tango.BL/Tango.BL.csproj @@ -596,6 +596,7 @@ <Compile Include="Enumerations\RmlQualifications.cs" /> <Compile Include="Enumerations\TestResultColors.cs" /> <Compile Include="Enumerations\TwistDirections.cs" /> + <Compile Include="Enumerations\MachineTypes.cs" /> <Compile Include="Enumerations\YarnUnits.cs" /> <Compile Include="ExtensionMethods\ColorCatalogItemsExtensions.cs" /> <Compile Include="ExtensionMethods\ColorMineExtensions.cs" /> |
