예제 #1
0
 public MedicalIdentification(AircrewEntity aircrewEntity, int year)
     : this()
 {
     this.aircrewEntity          = aircrewEntity;
     this.DataContext            = this;
     this.facade                 = new MedicalIdentificationFacade(this);
     this.aviationMedicineFacade = new AviationMedicineFacade(this);
     this.InitData(year);
 }
 public PhysicalExamMain(AircrewEntity aircrewEntity)
     : this()
 {
     currentAircrew                   = aircrewEntity;
     this.DataContext                 = this;
     this.Year                        = DateTime.Now.Year;
     this.physicalExamMaxFacade       = new PhysicalExamMaxFacade(this);
     this.medicalIdentificationFacade = new MedicalIdentificationFacade(this);
     this.PropertyChanged            += PhysicalExamMain_PropertyChanged;
 }