public MainWindow() { InitializeComponent(); _Logger = new EventLoggerAccess(); _DataAccess = new LinacDataAccess(_Logger); _BusinessManager = new BusinessManager(_DataAccess, _Logger); _DataAccess.Open(); }
public LinacStatusManager(LinacDataAccess dataAccess, EventLoggerAccess logger) : base(dataAccess, logger) { InitializeLinacTags(); _dataAccess = dataAccess; //dataAccess.DetectorConnectionStateUpdate += new ConnectionStateChangeHandler(DataAccessDetectors_ConnectionStateUpdate); //dataAccess.APCSConnectionStateUpdate += new ConnectionStateChangeHandler(DataAccessAPCS_ConnectionStateUpdate); dataAccess.LinacConnectionStateChangeEvent += new ConnectionStateChangeHandler(dataAccess_LinacConnectionStateChangeEvent); }
public BusinessManager(LinacDataAccess dataAccess, EventLoggerAccess logger) { _StatusManager = new LinacStatusManager(dataAccess, logger); _RequestManager = new RequestManager(dataAccess, _StatusManager, logger); }