public Report(DateTime report_time, string reporter_name, Location_ report_location, int report_intensity, int report_numOfExplosions) { Time = report_time; ReporterName = reporter_name; location = report_location; Intensity = report_intensity; NumOfExplosion = report_numOfExplosions; }
public Report() { Time = DateTime.Now; ReporterName = ""; // reporterAddress = ""; Intensity = 0; NumOfExplosion = 0; location = new Location_(); }
public Report(Location_ report_location) { time = DateTime.Now; reporterName = ""; // reporterAddress = ""; intensity = 0; numOfExplosions = 0; location = new Location_(report_location); }
public Location_(Location_ location) { Latitude = location.Latitude; Longitude = location.Longitude; Address = location.Address; }
public Fall() { time = new DateTime(); image = ""; location = new Location_(26.548152, 4.416960); }
//string or location class?? public Fall(DateTime fall_Time, string fall_Location, string fall_Image) { time = new DateTime(fall_Time.Ticks); location = new Location_(fall_Location); image = fall_Image; }