public DisplayObject(vsd.hh.data.Violation CopyViolation)
            {
                ViolationSeverity = CopyViolation.ViolationSeverity;
                ViolationSeverityAr = CopyViolation.ViolationSeverityAr;
                ViolationID = CopyViolation.ViolationTicketCode;
                IssueDate = CopyViolation.ViolationIssueDate.ToString("dd/MM/yyyy");
                ViolationStatus = CopyViolation.ViolationStatus;

                if (AppProperties.vehicle.PlateCategory == "Public Transportation")
                {
                    VehicleDetail = (AppProperties.vehicle.PlateNumber.ToString() + " " + AppProperties.vehicle.PlateCode + "," + ((IDBDataLoad)DBDataLoadManager.GetInstance()).GetPlateSourceCode((null != AppProperties.vehicle.Emirate) ? AppProperties.vehicle.Emirate : AppProperties.vehicle.Country)); ;
                }
                else
                {
                    VehicleDetail = (AppProperties.vehicle.PlateNumber.ToString() + " " + AppProperties.vehicle.PlateCategory + " " + AppProperties.vehicle.PlateCode + "," + ((IDBDataLoad)DBDataLoadManager.GetInstance()).GetPlateSourceCode((null != AppProperties.vehicle.Emirate) ? AppProperties.vehicle.Emirate : AppProperties.vehicle.Country)); ;
                }



                OperatorDetail = AppProperties.vehicle.Operator.OperatorName;
                ChassisNumber = AppProperties.vehicle.ChassisNumber;
                Inspection_location = CopyViolation.Inspection_location;
                Inspection_locationAr = CopyViolation.Inspection_locationAr;
                DefectDetails = CopyViolation.Defect;
                DriverLicNo = CopyViolation.DriverLicNo;
                RtaEmpID = CopyViolation.RtaEmpID;
                ViolationSeverityAr = CopyViolation.ViolationCommentsAr;
                if (CopyViolation.PlateNumber == null)
                {
                    PlateNumber = AppProperties.vehicle.PlateNumber;
                }
                else
                {
                    PlateNumber = CopyViolation.PlateNumber;
                }
                if (CopyViolation.PlateCategory == null)
                {
                    PlateCategory = AppProperties.vehicle.PlateCategory;
                }
                else
                {
                    PlateCategory = CopyViolation.PlateCategory;
                }
                if (CopyViolation.PlateCode == null)
                {
                    PlateCode = AppProperties.vehicle.PlateCode;
                }
                else
                {
                    PlateCode = CopyViolation.PlateCode;
                }



            }
            public DisplayObject(vsd.hh.data.Vehicle CopyVehicle)
            {
                PlateDetails = (CopyVehicle.PlateNumber.ToString() + " " + CopyVehicle.PlateCategory + " " + CopyVehicle.PlateCode + "," + ((IDBDataLoad)DBDataLoadManager.GetInstance()).GetPlateSourceCode((null != CopyVehicle.Emirate) ? CopyVehicle.Emirate : CopyVehicle.Country)).Trim();
                RiskRating = CopyVehicle.RiskRating;

                PlateNumber = CopyVehicle.PlateNumber.ToString();
                PlateCode = CopyVehicle.PlateCode.ToString();
                PlateCategory = CopyVehicle.PlateCategory.ToString();
                Country = CopyVehicle.Country.ToString();
                Emirate = CopyVehicle.Emirate;
                PlateSource = CopyVehicle.PlateSource;


            }