Exemplo n.º 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);
        }
Exemplo n.º 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.
        }
Exemplo n.º 3
0
 public CaseHandler (SysConfigMgrAccess sysConfigMgrAccess, DataSourceAccess dataAccessLayer)
 {
     m_SysConfigMgrAccess = sysConfigMgrAccess;
     m_dataSourceAccess = dataAccessLayer;
     m_caseCollection = new CaseCollection();
 }
Exemplo n.º 4
0
 public DataSource (SysConfigMgrAccess sysConfigMgrAccess)
 {
     m_CaseSourceManager = new CaseSourceManager(sysConfigMgrAccess);
     m_DataAccessInterface = new DataSourceAccess(m_CaseSourceManager);
 }
Exemplo n.º 5
0
 public DataSource(SysConfigMgrAccess sysConfigMgrAccess)
 {
     m_CaseSourceManager   = new CaseSourceManager(sysConfigMgrAccess);
     m_DataAccessInterface = new DataSourceAccess(m_CaseSourceManager);
 }