Пример #1
0
 public Fall(int fallId, GPSCoordinate fallLocation, string fallImage, DateTime fallTime, string fallAddress)
 {
     _fallId       = fallId;
     _fallLocation = fallLocation;
     _fallImage    = fallImage;
     _fallTime     = fallTime;
     _fallAddress  = fallAddress;
 }
Пример #2
0
 public FallReport(int reportCode, string personName, DateTime reportTime, int reportIntensity, GPSCoordinate reportLocation, int numOfExplosions, string reportAddress)
 {
     _reportId        = reportCode;
     _personName      = personName;
     _reportTime      = reportTime;
     _reportIntensity = reportIntensity;
     _reportLocation  = reportLocation;
     _numOfExplosions = numOfExplosions;
     _reportAddress   = reportAddress;
 }
Пример #3
0
 public FallReport(string personName, DateTime reportTime, int reportIntensity, int numOfExplosions, string reportAddress)
 {
     _reportId        = 0;
     _personName      = personName;
     _reportTime      = reportTime;
     _reportIntensity = reportIntensity;
     _numOfExplosions = numOfExplosions;
     _reportAddress   = reportAddress;
     // _reportPredictionKey = -1;
     _reportLocation = new GPSCoordinate();
 }
Пример #4
0
 public FallReport()
 {
     _reportId            = 0;
     _personName          = "";
     _reportTime          = DateTime.Now;
     _reportIntensity     = 0;
     _reportLocation      = null;
     _numOfExplosions     = 0;
     _reportAddress       = "";
     _reportPredictionKey = 0;
 }
Пример #5
0
 public Fall(string fallImage, DateTime fallTime)
 {
     _fallLocation = new GPSCoordinate();
     _fallImage    = fallImage;
     _fallTime     = fallTime;
 }