Пример #1
0
        //Constructors---------------------------------------------------------------------------------------------------------//
        public AppBackgroundTask(AppSettings appSettings, AppUtilities appUtilities, IAppPort appPort)
        {
            this.appSettings  = appSettings;
            this.appUtilities = appUtilities;
            this.appPort      = appPort;

            jobRow            = 0;
            nextCommandDT     = DateTime.Now;
            pendingCommandsNo = 0;
            commandResponses  = new List <string>();
        }
Пример #2
0
        //Constructors---------------------------------------------------------------------------------------------------------//
        public AppBackgroundTask(AppSettings appSettings, AppUtilities appUtilities, IAppPort appPort)
        {
            this.appSettings = appSettings;
            this.appUtilities = appUtilities;
            this.appPort = appPort;

            jobRow = 0;
            nextCommandDT = DateTime.Now;
            pendingCommandsNo = 0;
            commandResponses = new List<string>();
        }