public Person(string currZone) { ZoneID = currZone; Age = Age.EighteenToTwentyFive; Sex = Sex.Male; EducationLevel = EducationLevel.primary; household = new Household(); Occupation = Occupation.TradesProfessional; PublicTransitPass = PublicTransitPass.MetroPass; EmploymentStatus = EmploymentStatus.PartTime; DrivingLicense = DrivingLicense.No; Type = AgentType.Person; myID = idCounter++; }
private Person(Person original) { Type = AgentType.Person; //copy the values ZoneID = original.ZoneID; Age = original.Age; Sex = original.Sex; EducationLevel = original.EducationLevel; Occupation = original.Occupation; PublicTransitPass = original.PublicTransitPass; EmploymentStatus = original.EmploymentStatus; DrivingLicense = original.DrivingLicense; household = original.household; myID = idCounter++; }
public void SetPublicTransitPass(PublicTransitPass PublicTrans) { PublicTransitPass = PublicTrans; }