Example #1
0
        public SystemManager (SysConfigMgrAccess sysConfig, DataSourceAccess dataSourceAccess)
        {
            //create case handler with IDAL
            CaseHandler m_caseHandler = new CaseHandler(sysConfig, dataSourceAccess);

            //create system mode manager with ISysConfig and IDAL and case handler
            SysModeManager m_sysModeMgr = new SysModeManager(sysConfig, dataSourceAccess, m_caseHandler);

            //create system manager interface with System mode manager
            SysMgrAccess = new SystemManagerAccess(m_sysModeMgr);
        }
Example #2
0
        internal SysModeManager (SysConfigMgrAccess sysConfig, DataSourceAccess dataSourceAccess, CaseHandler handler)
        {
            m_SysConfig = sysConfig;
            m_DataSourceAccess = dataSourceAccess;
            m_caseHandler = handler;
            m_LinkedCaseID = string.Empty;
            m_LinkedCaseSource = string.Empty;
            //m_PreviousCaseId = string.Empty;

            //register an event handler with System Configuration Manager to get notified
            //when configuration is modified.
        }