aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs42
1 files changed, 0 insertions, 42 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs
index 45428f542..316236626 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs
@@ -17,13 +17,6 @@ namespace Tango.PPC.Common
/// <seealso cref="Tango.MachineStudio.Common.IStudioModule" />
public abstract class PPCModuleBase : ExtendedObject, IPPCModule
{
- private bool _isInitialized;
-
- /// <summary>
- /// Occurs when the module has been initialized.
- /// </summary>
- public event EventHandler Initialized;
-
/// <summary>
/// Gets the module name.
/// </summary>
@@ -50,43 +43,8 @@ namespace Tango.PPC.Common
public abstract Permissions Permission { get; }
/// <summary>
- /// Gets a value indicating whether this module has been initialized.
- /// </summary>
- public bool IsInitialized
- {
- get
- {
- return _isInitialized;
- }
- private set
- {
- _isInitialized = value;
- }
- }
-
- /// <summary>
/// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
/// </summary>
public abstract void Dispose();
-
- /// <summary>
- /// Perform any operations required to initialize this module.
- /// </summary>
- public void Initialize()
- {
- if (!IsInitialized)
- {
- OnInitialized();
- IsInitialized = true;
- }
- }
-
- /// <summary>
- /// Called when machine studio initializes this module.
- /// </summary>
- protected virtual void OnInitialized()
- {
- Initialized?.Invoke(this, new EventArgs());
- }
}
}