コード例 #1
0
ファイル: Disease.cs プロジェクト: GEOFAIRY/Team-300-ODMS
 /*
  * Constructs a Disease objects and sets its name, date,
  * and whether it is chronic or cured
  */
 public Disease(string name, CustomDate date, bool Chronic, bool Cured)
 {
     this.name          = name;
     this.diagnosisDate = date;
     this.isChronic     = Chronic;
     this.isCured       = Cured;
 }
コード例 #2
0
        /*
         * Constructs the procedure and defines the summary, description, and date
         */
        public Procedure(string summary, string description, CustomDate date,
                         List <Organ> organsAffected)
        {
            this.summary     = summary;
            this.description = description;
            this.date        = date;

            this.organsAffected = organsAffected;
        }