From 2bfa60ab677ec1da8f968614015ac0147694d31e Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Mon, 15 Feb 2021 17:19:40 +0200 Subject: BTSR DB, BL & PMR. --- .../Tango.DAL.Remote/DB/BTSR_APPLICATION_TYPES.cs | 33 ++++ .../Tango.DAL.Remote/DB/BTSR_YARN_TYPES.cs | 33 ++++ .../DB/PROCESS_PARAMETERS_TABLES.cs | 3 + Software/Visual_Studio/Tango.DAL.Remote/DB/RML.cs | 4 + .../Tango.DAL.Remote/DB/RMLS_SPOOLS.cs | 1 + .../Tango.DAL.Remote/DB/RemoteADO.Context.cs | 2 + .../Tango.DAL.Remote/DB/RemoteADO.edmx | 161 +++++++++++++++++++ .../Tango.DAL.Remote/DB/RemoteADO.edmx.diagram | 174 +++++++++++---------- .../Tango.DAL.Remote/DB/SPOOL_TYPES.cs | 1 + .../Tango.DAL.Remote/Tango.DAL.Remote.csproj | 8 +- 10 files changed, 334 insertions(+), 86 deletions(-) create mode 100644 Software/Visual_Studio/Tango.DAL.Remote/DB/BTSR_APPLICATION_TYPES.cs create mode 100644 Software/Visual_Studio/Tango.DAL.Remote/DB/BTSR_YARN_TYPES.cs (limited to 'Software/Visual_Studio/Tango.DAL.Remote') diff --git a/Software/Visual_Studio/Tango.DAL.Remote/DB/BTSR_APPLICATION_TYPES.cs b/Software/Visual_Studio/Tango.DAL.Remote/DB/BTSR_APPLICATION_TYPES.cs new file mode 100644 index 000000000..a4ebc4b0f --- /dev/null +++ b/Software/Visual_Studio/Tango.DAL.Remote/DB/BTSR_APPLICATION_TYPES.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// +// This code was generated from a template. +// +// Manual changes to this file may cause unexpected behavior in your application. +// Manual changes to this file will be overwritten if the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Tango.DAL.Remote.DB +{ + using System; + using System.Collections.Generic; + + public partial class BTSR_APPLICATION_TYPES + { + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + public BTSR_APPLICATION_TYPES() + { + this.RMLS = new HashSet(); + } + + public int ID { get; set; } + public string GUID { get; set; } + public System.DateTime LAST_UPDATED { get; set; } + public int CODE { get; set; } + public string NAME { get; set; } + public string DESCRIPTION { get; set; } + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection RMLS { get; set; } + } +} diff --git a/Software/Visual_Studio/Tango.DAL.Remote/DB/BTSR_YARN_TYPES.cs b/Software/Visual_Studio/Tango.DAL.Remote/DB/BTSR_YARN_TYPES.cs new file mode 100644 index 000000000..256af7baf --- /dev/null +++ b/Software/Visual_Studio/Tango.DAL.Remote/DB/BTSR_YARN_TYPES.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// +// This code was generated from a template. +// +// Manual changes to this file may cause unexpected behavior in your application. +// Manual changes to this file will be overwritten if the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Tango.DAL.Remote.DB +{ + using System; + using System.Collections.Generic; + + public partial class BTSR_YARN_TYPES + { + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + public BTSR_YARN_TYPES() + { + this.RMLS = new HashSet(); + } + + public int ID { get; set; } + public string GUID { get; set; } + public System.DateTime LAST_UPDATED { get; set; } + public int CODE { get; set; } + public string NAME { get; set; } + public string DESCRIPTION { get; set; } + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection RMLS { get; set; } + } +} diff --git a/Software/Visual_Studio/Tango.DAL.Remote/DB/PROCESS_PARAMETERS_TABLES.cs b/Software/Visual_Studio/Tango.DAL.Remote/DB/PROCESS_PARAMETERS_TABLES.cs index 5896f742e..b4719188c 100644 --- a/Software/Visual_Studio/Tango.DAL.Remote/DB/PROCESS_PARAMETERS_TABLES.cs +++ b/Software/Visual_Studio/Tango.DAL.Remote/DB/PROCESS_PARAMETERS_TABLES.cs @@ -50,6 +50,9 @@ namespace Tango.DAL.Remote.DB public double L_BLOWER_FLOW { get; set; } public double L_BLOWER_TEMP { get; set; } public double PRESSURE_BUILD_UP { get; set; } + public double BTSR_FEEDING_TENSION { get; set; } + public double BTSR_EXIT_TENSION { get; set; } + public double BTSR_THREAD_LENGTH_OFFSET { get; set; } public virtual PROCESS_PARAMETERS_TABLES_GROUPS PROCESS_PARAMETERS_TABLES_GROUPS { get; set; } } diff --git a/Software/Visual_Studio/Tango.DAL.Remote/DB/RML.cs b/Software/Visual_Studio/Tango.DAL.Remote/DB/RML.cs index f00189ce7..b5f9cacf3 100644 --- a/Software/Visual_Studio/Tango.DAL.Remote/DB/RML.cs +++ b/Software/Visual_Studio/Tango.DAL.Remote/DB/RML.cs @@ -75,7 +75,11 @@ namespace Tango.DAL.Remote.DB public int CLEANER_FLOW { get; set; } public double ARC_HEAD_CLEANING_MOTOR_SPEED { get; set; } public double V_MAX { get; set; } + public string BTSR_APPLICATION_TYPE_GUID { get; set; } + public string BTSR_YARN_TYPE_GUID { get; set; } + public virtual BTSR_APPLICATION_TYPES BTSR_APPLICATION_TYPES { get; set; } + public virtual BTSR_YARN_TYPES BTSR_YARN_TYPES { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection CATS { get; set; } public virtual CCT CCT { get; set; } diff --git a/Software/Visual_Studio/Tango.DAL.Remote/DB/RMLS_SPOOLS.cs b/Software/Visual_Studio/Tango.DAL.Remote/DB/RMLS_SPOOLS.cs index a314530ec..e6f7d52f7 100644 --- a/Software/Visual_Studio/Tango.DAL.Remote/DB/RMLS_SPOOLS.cs +++ b/Software/Visual_Studio/Tango.DAL.Remote/DB/RMLS_SPOOLS.cs @@ -23,6 +23,7 @@ namespace Tango.DAL.Remote.DB public Nullable LENGTH { get; set; } public Nullable BACKING_RATE { get; set; } public Nullable BOTTOM_BACKING_RATE { get; set; } + public Nullable BTSR_SPOOL_TENSION { get; set; } public virtual RML RML { get; set; } public virtual SPOOL_TYPES SPOOL_TYPES { get; set; } diff --git a/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.Context.cs b/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.Context.cs index 49b63ad5d..c92b72726 100644 --- a/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.Context.cs +++ b/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.Context.cs @@ -32,6 +32,8 @@ namespace Tango.DAL.Remote.DB public virtual DbSet APPLICATION_FIRMWARE_VERSIONS { get; set; } public virtual DbSet APPLICATION_OS_VERSIONS { get; set; } public virtual DbSet BRUSH_STOPS { get; set; } + public virtual DbSet BTSR_APPLICATION_TYPES { get; set; } + public virtual DbSet BTSR_YARN_TYPES { get; set; } public virtual DbSet CARTRIDGE_TYPES { get; set; } public virtual DbSet CATS { get; set; } public virtual DbSet CCTS { get; set; } diff --git a/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx b/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx index 26e142522..a40614cf0 100644 --- a/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx +++ b/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx @@ -110,6 +110,28 @@ + + + + + + + + + + + + + + + + + + + + + + @@ -956,6 +978,9 @@ + + + @@ -1048,6 +1073,8 @@ + + @@ -1062,6 +1089,7 @@ + @@ -1145,6 +1173,7 @@ + @@ -2233,6 +2262,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + @@ -2506,6 +2559,8 @@ + + @@ -2862,6 +2917,14 @@ + + + + + + + + @@ -2955,6 +3018,8 @@ + + @@ -3074,6 +3139,14 @@ + + + + + + + + @@ -3514,6 +3587,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + @@ -4474,6 +4571,9 @@ + + + @@ -4571,6 +4671,10 @@ + + + + @@ -4599,6 +4703,7 @@ + @@ -4697,6 +4802,7 @@ + @@ -5023,6 +5129,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + @@ -6189,6 +6319,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + @@ -7051,6 +7205,9 @@ + + + @@ -7134,6 +7291,8 @@ + + @@ -7189,6 +7348,7 @@ + @@ -7274,6 +7434,7 @@ + diff --git a/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx.diagram b/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx.diagram index ef97ba374..41e56d6d9 100644 --- a/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx.diagram +++ b/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx.diagram @@ -5,91 +5,93 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -100,6 +102,8 @@ + + diff --git a/Software/Visual_Studio/Tango.DAL.Remote/DB/SPOOL_TYPES.cs b/Software/Visual_Studio/Tango.DAL.Remote/DB/SPOOL_TYPES.cs index af2355553..836112ec7 100644 --- a/Software/Visual_Studio/Tango.DAL.Remote/DB/SPOOL_TYPES.cs +++ b/Software/Visual_Studio/Tango.DAL.Remote/DB/SPOOL_TYPES.cs @@ -36,6 +36,7 @@ namespace Tango.DAL.Remote.DB public int SEGMENT_OFFSET_PULSES { get; set; } public int BOTTOM_BACKING_RATE { get; set; } public int LIMIT_SWITCH_START_POINT_OFFSET { get; set; } + public int BTSR_SPOOL_TENSION { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection JOBS { get; set; } diff --git a/Software/Visual_Studio/Tango.DAL.Remote/Tango.DAL.Remote.csproj b/Software/Visual_Studio/Tango.DAL.Remote/Tango.DAL.Remote.csproj index bdb0b7715..6cf0f995c 100644 --- a/Software/Visual_Studio/Tango.DAL.Remote/Tango.DAL.Remote.csproj +++ b/Software/Visual_Studio/Tango.DAL.Remote/Tango.DAL.Remote.csproj @@ -84,6 +84,12 @@ RemoteADO.tt + + RemoteADO.tt + + + RemoteADO.tt + RemoteADO.tt @@ -389,7 +395,7 @@ - + \ No newline at end of file -- cgit v1.3.1