예제 #1
0
 public void EditIncident(IncidentCategory ACategory, string ADescription, DateTime?ADataHora)
 {
     this.Category    = ACategory;
     this.IdCategory  = ACategory.IdCategory;
     this.Description = ADescription;
     this.DataHora    = ADataHora;
 }
예제 #2
0
 public void CreateIncident(IncidentCategory ACategory, User AUserAuthor, string ADescription, DateTime?ADataHora, double APosX, double APosY)
 {
     //this.Category = ACategory;
     this.IdCategory = ACategory.IdCategory;
     //this.UserAuthor = AUserAuthor;
     this.IdUser      = AUserAuthor.IdUser;
     this.Country     = AUserAuthor.Country;
     this.State       = AUserAuthor.State;
     this.City        = AUserAuthor.City;
     this.Description = ADescription;
     this.DataHora    = ADataHora;
     this.PosX        = APosX;
     this.PosY        = APosY;
     this.Status      = true;
 }