Пример #1
0
 public Treatment(TreatmentType treatmentType, OperationRoom operationRoom, Cage cage, Item item, DateTime startTime, DateTime endTime, bool payed, string headline, bool active, Animal animal, Employee employee, int status)
 {
     this.treatmentType = treatmentType;
     this.operationRoom = operationRoom;
     this.cage          = cage;
     this.item          = item;
     this.startTime     = startTime;
     this.endTime       = endTime;
     this.payed         = payed;
     this.headline      = headline;
     this.active        = active;
     this.animal        = animal;
     this.employee      = employee;
     this.status        = status;
 }
Пример #2
0
 //Laver et Obj af treatment
 public Treatment CreateTreatment(TreatmentType treatmentType, OperationRoom operationRoom, Cage cage, Item item, DateTime startTime, DateTime endTime, bool payed, string headline, bool active, Animal animal, Employee employee, int status)
 {
     return(new Treatment(treatmentType, operationRoom, cage, item, startTime, endTime, payed, headline, active, animal, employee, status));
 }