From f3fc87dd10b3d55591a84ecbfb0612769f0c09b9 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Tue, 28 Aug 2018 16:35:16 +0300 Subject: Working on BL Builders ! Working on making PPC work with builders.. --- .../PPC/Tango.PPC.Common/PPCModuleBase.cs | 42 ---------------------- 1 file changed, 42 deletions(-) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs') 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 /// public abstract class PPCModuleBase : ExtendedObject, IPPCModule { - private bool _isInitialized; - - /// - /// Occurs when the module has been initialized. - /// - public event EventHandler Initialized; - /// /// Gets the module name. /// @@ -49,44 +42,9 @@ namespace Tango.PPC.Common /// public abstract Permissions Permission { get; } - /// - /// Gets a value indicating whether this module has been initialized. - /// - public bool IsInitialized - { - get - { - return _isInitialized; - } - private set - { - _isInitialized = value; - } - } - /// /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. /// public abstract void Dispose(); - - /// - /// Perform any operations required to initialize this module. - /// - public void Initialize() - { - if (!IsInitialized) - { - OnInitialized(); - IsInitialized = true; - } - } - - /// - /// Called when machine studio initializes this module. - /// - protected virtual void OnInitialized() - { - Initialized?.Invoke(this, new EventArgs()); - } } } -- cgit v1.3.1