aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.BL/Entities/WashingTestMaterialBase.cs
diff options
context:
space:
mode:
authorVictoria Plitt <Victoria.Plitt@twine-s.com>2022-07-24 16:45:32 +0300
committerVictoria Plitt <Victoria.Plitt@twine-s.com>2022-07-24 16:45:32 +0300
commitc4e8c98689dcedf035484cd079eac8d9678286db (patch)
treef7c21491c5528b7d83a730c078dfd896524904b4 /Software/Visual_Studio/Tango.BL/Entities/WashingTestMaterialBase.cs
parentd208f2029740f203ce79c6452432fa083a4c5c07 (diff)
downloadTango-c4e8c98689dcedf035484cd079eac8d9678286db.tar.gz
Tango-c4e8c98689dcedf035484cd079eac8d9678286db.zip
Added Washing test results tables
Related Work Items: #6660
Diffstat (limited to 'Software/Visual_Studio/Tango.BL/Entities/WashingTestMaterialBase.cs')
-rw-r--r--Software/Visual_Studio/Tango.BL/Entities/WashingTestMaterialBase.cs114
1 files changed, 114 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.BL/Entities/WashingTestMaterialBase.cs b/Software/Visual_Studio/Tango.BL/Entities/WashingTestMaterialBase.cs
new file mode 100644
index 000000000..84271403c
--- /dev/null
+++ b/Software/Visual_Studio/Tango.BL/Entities/WashingTestMaterialBase.cs
@@ -0,0 +1,114 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+// This code was generated by a tool.
+// Tango Observables Generator
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated. Do not modify!
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.ComponentModel.DataAnnotations;
+using System.ComponentModel.DataAnnotations.Schema;
+using System.Xml.Serialization;
+using Newtonsoft.Json;
+using System.Linq;
+using Tango.DAL.Remote.DB;
+using Tango.Core;
+using System.ComponentModel;
+using Tango.Core.CustomAttributes;
+
+namespace Tango.BL.Entities
+{
+ [Table("WASHING_TEST_MATERIALS")]
+ public abstract class WashingTestMaterialBase : ObservableEntity<WashingTestMaterial>
+ {
+
+ public event EventHandler<String> NameChanged;
+
+ public event EventHandler<SynchronizedObservableCollection<RmlExtensionTestWashingResult>> RmlExtensionTestWashingResultsChanged;
+
+ protected String _name;
+
+ /// <summary>
+ /// Gets or sets the washingtestmaterialbase name.
+ /// </summary>
+
+ [Column("NAME")]
+
+ public String Name
+ {
+ get
+ {
+ return _name;
+ }
+
+ set
+ {
+ if (_name != value)
+ {
+ _name = value;
+
+ OnNameChanged(value);
+
+ }
+ }
+ }
+
+ protected SynchronizedObservableCollection<RmlExtensionTestWashingResult> _rmlextensiontestwashingresults;
+
+ /// <summary>
+ /// Gets or sets the washingtestmaterialbase rml extension test washing results.
+ /// </summary>
+
+ public virtual SynchronizedObservableCollection<RmlExtensionTestWashingResult> RmlExtensionTestWashingResults
+ {
+ get
+ {
+ return _rmlextensiontestwashingresults;
+ }
+
+ set
+ {
+ if (_rmlextensiontestwashingresults != value)
+ {
+ _rmlextensiontestwashingresults = value;
+
+ OnRmlExtensionTestWashingResultsChanged(value);
+
+ }
+ }
+ }
+
+ /// <summary>
+ /// Called when the Name has changed.
+ /// </summary>
+ protected virtual void OnNameChanged(String name)
+ {
+ NameChanged?.Invoke(this, name);
+ RaisePropertyChanged(nameof(Name));
+ }
+
+ /// <summary>
+ /// Called when the RmlExtensionTestWashingResults has changed.
+ /// </summary>
+ protected virtual void OnRmlExtensionTestWashingResultsChanged(SynchronizedObservableCollection<RmlExtensionTestWashingResult> rmlextensiontestwashingresults)
+ {
+ RmlExtensionTestWashingResultsChanged?.Invoke(this, rmlextensiontestwashingresults);
+ RaisePropertyChanged(nameof(RmlExtensionTestWashingResults));
+ }
+
+ /// <summary>
+ /// Initializes a new instance of the <see cref="WashingTestMaterialBase" /> class.
+ /// </summary>
+ public WashingTestMaterialBase() : base()
+ {
+
+ RmlExtensionTestWashingResults = new SynchronizedObservableCollection<RmlExtensionTestWashingResult>();
+
+ }
+ }
+}