aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-08-28 16:35:16 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-08-28 16:35:16 +0300
commitf3fc87dd10b3d55591a84ecbfb0612769f0c09b9 (patch)
tree640621ab876dd5368d91e44b07b4f2872752e5bb /Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs
parent37fe17f09478a486dcd51f0edd8028724dc85c16 (diff)
downloadTango-f3fc87dd10b3d55591a84ecbfb0612769f0c09b9.tar.gz
Tango-f3fc87dd10b3d55591a84ecbfb0612769f0c09b9.zip
Working on BL Builders !
Working on making PPC work with builders..
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());
- }
}
}