Esempio n. 1
0
        static void Main(string[] args)
        {
            DataBackend backend = new DataBackend();
            backend.initialize();

            MailService mailer = new MailService("smtp.googlemail.com");
            ServerLogic logic = new ServerLogic(backend, mailer);

            AutoAccountingThread accounter = new AutoAccountingThread(backend, mailer);
            Thread accounterThread = new Thread(new ThreadStart(accounter.run));
            accounterThread.Start();

            SampleLockerThread locker = new SampleLockerThread(backend);
            Thread lockerThread = new Thread(new ThreadStart(locker.run));
            lockerThread.Start();

            new Listener().run(logic);
        }
Esempio n. 2
0
 public Patient(DataRow row, DataBackend backend)
     : base(row, backend)
 {
 }
Esempio n. 3
0
 public Analysis(DataRow row, DataBackend backend)
     : base(row, backend)
 {
 }
Esempio n. 4
0
 public AutoAccountingThread(DataBackend backend, MailService mailer)
 {
     this.Backend = backend;
     this.Mailer = mailer;
 }
Esempio n. 5
0
 public Hospital(DataRow row, DataBackend backend)
     : base(row, backend)
 {
 }
Esempio n. 6
0
 public ServerLogic(DataBackend backend, MailService mailer)
 {
     this.Backend = backend;
     this.Mailer = mailer;
 }
Esempio n. 7
0
File: User.cs Progetto: zervnet/pest
 public User(DataRow row, DataBackend backend)
     : base(row, backend)
 {
 }
Esempio n. 8
0
 public SampleData(DataRow row, DataBackend backend)
     : base(row, backend)
 {
 }
Esempio n. 9
0
 /// <summary>
 /// Konstruktor
 /// </summary>
 /// <param name="row">Datensatz</param>
 /// <param name="backend">DataBackend Referenz</param>
 public DataBaseMapper(DataRow row, DataBackend backend)
 {
     this.row = row;
     this.backend = backend;
 }
Esempio n. 10
0
        private TimeSpan cooldown = new TimeSpan(0, 1, 0); //Creates a timespan of 1 minute

        #endregion Fields

        #region Constructors

        public SampleLockerThread(DataBackend backend)
        {
            this.Backend = backend;
        }