aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.BL/Entities
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Tango.BL/Entities')
-rw-r--r--Software/Visual_Studio/Tango.BL/Entities/JobBase.cs38
1 files changed, 38 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.BL/Entities/JobBase.cs b/Software/Visual_Studio/Tango.BL/Entities/JobBase.cs
index f37848b5e..83912de98 100644
--- a/Software/Visual_Studio/Tango.BL/Entities/JobBase.cs
+++ b/Software/Visual_Studio/Tango.BL/Entities/JobBase.cs
@@ -83,6 +83,8 @@ namespace Tango.BL.Entities
public event EventHandler<Int32> VersionChanged;
+ public event EventHandler<Int32> NumberOfSpoolsChanged;
+
public event EventHandler<ColorCatalog> ColorCatalogChanged;
public event EventHandler<ColorSpace> ColorSpaceChanged;
@@ -1079,6 +1081,33 @@ namespace Tango.BL.Entities
}
}
+ protected Int32 _numberofspools;
+
+ /// <summary>
+ /// Gets or sets the jobbase number of spools.
+ /// </summary>
+
+ [Column("NUMBER_OF_SPOOLS")]
+
+ public Int32 NumberOfSpools
+ {
+ get
+ {
+ return _numberofspools;
+ }
+
+ set
+ {
+ if (_numberofspools != value)
+ {
+ _numberofspools = value;
+
+ OnNumberOfSpoolsChanged(value);
+
+ }
+ }
+ }
+
protected ColorCatalog _colorcatalog;
/// <summary>
@@ -1638,6 +1667,15 @@ namespace Tango.BL.Entities
}
/// <summary>
+ /// Called when the NumberOfSpools has changed.
+ /// </summary>
+ protected virtual void OnNumberOfSpoolsChanged(Int32 numberofspools)
+ {
+ NumberOfSpoolsChanged?.Invoke(this, numberofspools);
+ RaisePropertyChanged(nameof(NumberOfSpools));
+ }
+
+ /// <summary>
/// Called when the ColorCatalog has changed.
/// </summary>
protected virtual void OnColorCatalogChanged(ColorCatalog colorcatalog)