public RatedDisabilityTO(RatedDisability mdo) { this.id = mdo.Id; this.name = mdo.Name; this.percent = mdo.Percent; this.serviceConnected = (mdo.ServiceConnected == true ? "Y" : "N"); this.extremityAffected = mdo.ExtremityAffected; this.originalEffectiveDate = mdo.OriginalEffectiveDate; this.currentEffectiveDate = mdo.CurrenEffectiveDate; }
public TaggedRatedDisabilityArray(string tag, RatedDisability mdo) { this.tag = tag; if (mdo == null) { this.count = 0; return; } this.disabilities = new RatedDisabilityTO[1]; this.disabilities[0] = new RatedDisabilityTO(mdo); this.count = 1; }
public TaggedRatedDisabilityArray(string tag, RatedDisability[] mdos) { this.tag = tag; if (mdos == null) { this.count = 0; return; } this.disabilities = new RatedDisabilityTO[mdos.Length]; for (int i = 0; i < mdos.Length; i++) { this.disabilities[i] = new RatedDisabilityTO(mdos[i]); } this.count = disabilities.Length; }