public MissionProfile(int id, List<Material> materials, BoatType boatType, List<FunctionEmployee> employees) { this.ID = id; this.Materials = materials; this.BoatType = boatType; this.Employees = employees; }
public HOPE(int id, Boat boat, DateTime leaveDate, string discription, GeoCoordinate location, BoatType boatType, List<Material> materials, List<FunctionEmployee> employees, string report, int hopeID, DateTime returnDate, bool approved, List<Measurement> measurements) : base(id, boat, leaveDate, discription, location, boatType, materials, employees, report) { this.ID = hopeID; this.ReturnDate = returnDate; this.Approved = approved; this.Measurements = measurements; }
public Boat(int id, string name, BoatType type, List<Material> materials, List<Employee> crew, GeoCoordinate location) { this.ID = id; this.Name = name; this.Type = type; this.Materials = materials; this.Crew = crew; this.Location = location; }
public Mission(DateTime leaveDate, string discription, GeoCoordinate location, BoatType boatType, List<Material> materials, List<FunctionEmployee> employees) { this.LeaveDate = leaveDate; this.Discription = discription; this.Location = location; this.BoatType = boatType; this.Materials = materials; this.Employees = employees; }
public Mission(int id, Boat boat, DateTime leaveDate, string discription, GeoCoordinate location, BoatType boatType, List<Material> materials, List<FunctionEmployee> employees, string report) { this.ID = id; this.Boat = boat; this.LeaveDate = leaveDate; this.Discription = discription; this.Location = location; this.BoatType = boatType; this.Materials = materials; this.Employees = employees; this.Report = report; }
public SIN(DateTime leaveDate, string discription, GeoCoordinate location, BoatType boatType, List<Material> materials, List<FunctionEmployee> employees) : base(leaveDate, discription, location, boatType, materials, employees) { }
public SIN(int id, Boat boat, DateTime leaveDate, string discription, GeoCoordinate location, BoatType boatType, List<Material> materials, List<FunctionEmployee> employees, string report, int sinID, List<Incident> incidents) : base(id, boat, leaveDate, discription, location, boatType, materials, employees, report) { this.ID = sinID; this.Incidents = incidents; }
private BoatType GetBoatType(int ID) { BoatType boattype = null; string missionQuery = "SELECT * FROM BOOTTYPE WHERE ID = :searchID"; List<OracleParameter> parameters = new List<OracleParameter>(); parameters.Add(new OracleParameter(":searchID", ID)); OracleDataReader getBoatType = this.Read(missionQuery, parameters); if (getBoatType != null) { if (getBoatType.HasRows) { while (getBoatType.Read()) { int id = Convert.ToInt32(getBoatType["ID"]); string type = Convert.ToString(getBoatType["type"]); int velocity = Convert.ToInt32(getBoatType["snelheid"]); int maxPersons = Convert.ToInt32(getBoatType["maxPersonen"]); boattype = new BoatType(id, type, velocity, maxPersons); break; } } getBoatType.Close(); } this.CloseConnection(); return boattype; }
public HOPE(DateTime leaveDate, string discription, GeoCoordinate location, BoatType boatType, List<Material> materials, List<FunctionEmployee> employees, DateTime returnDate) : base(leaveDate, discription, location, boatType, materials, employees) { this.ReturnDate = returnDate; }