Exemple #1
0
 public AccidentUtil()
 {
     ID = 0;
     FullNameOfPerson = "";
     Description      = "";
     AccidentDate     = DateTime.Now;
     this.DamageLevel = "";
     RegNumber        = "";
     StatusId         = 0;
     LastModified     = "";
     _statusUtils     = new ObservableCollection <StatusUtil>();
     _statusUtils[0]  = new StatusUtil(0, "Необработено");
     _statusUtils[1]  = new StatusUtil(1, "Готово за обработка");
     _statusUtils[2]  = new StatusUtil(2, "С нисък приоритет");
     _statusUtils[3]  = new StatusUtil(3, "Отказано събитие");
 }
 public StatusUtil(StatusUtil status) : this(status.Id, status.Name)
 {
 }