Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 public Report()
 {
     Time         = DateTime.Now;
     ReporterName = "";
     //   reporterAddress = "";
     Intensity      = 0;
     NumOfExplosion = 0;
     location       = new Location_();
 }
Ejemplo n.º 3
0
 public Report(Location_ report_location)
 {
     time         = DateTime.Now;
     reporterName = "";
     //   reporterAddress = "";
     intensity       = 0;
     numOfExplosions = 0;
     location        = new Location_(report_location);
 }
Ejemplo n.º 4
0
 public Location_(Location_ location)
 {
     Latitude  = location.Latitude;
     Longitude = location.Longitude;
     Address   = location.Address;
 }
Ejemplo n.º 5
0
 public Fall()
 {
     time     = new DateTime();
     image    = "";
     location = new Location_(26.548152, 4.416960);
 }
Ejemplo n.º 6
0
 //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;
 }