aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.BL/Entities/HardwareMotorBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Tango.BL/Entities/HardwareMotorBase.cs')
-rw-r--r--Software/Visual_Studio/Tango.BL/Entities/HardwareMotorBase.cs44
1 files changed, 5 insertions, 39 deletions
diff --git a/Software/Visual_Studio/Tango.BL/Entities/HardwareMotorBase.cs b/Software/Visual_Studio/Tango.BL/Entities/HardwareMotorBase.cs
index 58118869c..e08a2b5b0 100644
--- a/Software/Visual_Studio/Tango.BL/Entities/HardwareMotorBase.cs
+++ b/Software/Visual_Studio/Tango.BL/Entities/HardwareMotorBase.cs
@@ -19,10 +19,14 @@ using System.Linq;
using Tango.DAL.Remote.DB;
using Tango.Core;
using System.ComponentModel;
-using Tango.Core.CustomAttributes;
namespace Tango.BL.Entities
{
+
+ /// <summary>
+ ///
+ /// </summary>
+
[Table("HARDWARE_MOTORS")]
public abstract class HardwareMotorBase : ObservableEntity<HardwareMotor>
{
@@ -95,8 +99,6 @@ namespace Tango.BL.Entities
public event EventHandler<Boolean> ActiveChanged;
- public event EventHandler<Int32> P01ConfigWordChanged;
-
public event EventHandler<HardwareMotorType> HardwareMotorTypeChanged;
public event EventHandler<HardwareVersion> HardwareVersionChanged;
@@ -1071,33 +1073,6 @@ namespace Tango.BL.Entities
}
}
- protected Int32 _p01configword;
-
- /// <summary>
- /// Gets or sets the hardwaremotorbase p01 config word.
- /// </summary>
-
- [Column("P01_CONFIG_WORD")]
-
- public Int32 P01ConfigWord
- {
- get
- {
- return _p01configword;
- }
-
- set
- {
- if (_p01configword != value)
- {
- _p01configword = value;
-
- OnP01ConfigWordChanged(value);
-
- }
- }
- }
-
protected HardwareMotorType _hardwaremotortype;
/// <summary>
@@ -1469,15 +1444,6 @@ namespace Tango.BL.Entities
}
/// <summary>
- /// Called when the P01ConfigWord has changed.
- /// </summary>
- protected virtual void OnP01ConfigWordChanged(Int32 p01configword)
- {
- P01ConfigWordChanged?.Invoke(this, p01configword);
- RaisePropertyChanged(nameof(P01ConfigWord));
- }
-
- /// <summary>
/// Called when the HardwareMotorType has changed.
/// </summary>
protected virtual void OnHardwareMotorTypeChanged(HardwareMotorType hardwaremotortype)