Esempio n. 1
0
 /// <summary>
 /// Szamla felvitele 1. szint - konstruktorok csomagolasa + egyenleg beallitas - Account
 /// </summary>
 public void addAccount(string ownerName, string accountNumber, double balance)
 {
     // 0. szintet hiv
     Account account = new Account(ownerName, accountNumber);
     account.Balance = balance;
     this.addAccount(account);
 }
Esempio n. 2
0
 public Event( Account account, DateTime date )
 {
     this.account = account;
     this.date = date;
     this.order = Event.SEQ_ORDER;
     Event.SEQ_ORDER++;
 }
Esempio n. 3
0
 public TransferEvent(Account target, double value, Account account, DateTime date)
     : base(account,date)
 {
     this.target = target;
     this.value = value;
 }
Esempio n. 4
0
 public AdministrationEvent(string message, Account account, DateTime date)
     : base(account,date)
 {
     this.message = message;
 }
Esempio n. 5
0
 /// <summary>
 /// Esemeny felvitele 1. szint - leszarmazott konstruktorok csomagolasa - TransferEvent (mindenkeppen private)
 /// </summary>
 private void addEvent(Account target, double value, Account account, DateTime date)
 {
     // 0. szintet hiv
     this.addEvent(new TransferEvent(target, value, account, date));
 }
Esempio n. 6
0
 /// <summary>
 /// Esemeny felvitele 1. szint - leszarmazott konstruktorok csomagolasa - AdministrationEvent (mindenkeppen private)
 /// </summary>
 private void addEvent(string message, Account account, DateTime date)
 {
     // 0. szintet hiv
     this.addEvent(new AdministrationEvent(message,account,date));
 }
Esempio n. 7
0
 /// <summary>
 /// Szamla felvitele 0. szint (mindenkeppen private)
 /// </summary>
 private void addAccount(Account account)
 {
     if (this.actAccount < AccountTrunk.MAX_ACCOUNT)
     {
         this.accounts[this.actAccount++] = account;
     }
 }