public override bool Initialization() { bool isSucceed = false; try { m_ProfileDataBLL = new ProfileDataBLL(); m_ScheduleProjectBLL = new ScheduleProjectBLL(); m_MachineTimer = new System.Timers.Timer(); m_MachineTimer.Elapsed += new System.Timers.ElapsedEventHandler(m_MachineTimer_Elapsed); m_MachineTimer.Interval = 1000*60*1; m_ProjectTimer = new System.Timers.Timer(); m_ProjectTimer.Interval = 1000; m_ProjectTimer.Elapsed += new System.Timers.ElapsedEventHandler(m_ProjectTimer_Elapsed); isSucceed = true; } catch (Exception ex) { throw ex; } return isSucceed; }
public TimeSynchronizationController() { this._profileDataBLL = new ProfileDataBLL(); }