public void fromDTO(GsmVehicleDataDTO gsmVehicleDataDTO) { this.set_id(gsmVehicleDataDTO.getId()); this.setUuid(gsmVehicleDataDTO.getUuid()); this.setImei(gsmVehicleDataDTO.getImei()); this.setAppUserNo(gsmVehicleDataDTO.getAppUserNo()); this.setUserType(gsmVehicleDataDTO.getUserType()); this.setDoor(gsmVehicleDataDTO.getDoor()); this.setCurMil(gsmVehicleDataDTO.getCurMil()); this.setMile(gsmVehicleDataDTO.getMile()); this.setUploadTime(new XNumberLong(gsmVehicleDataDTO.getUploadTime())); this.setUploadServerTime(new XNumberLong(gsmVehicleDataDTO.getUploadServerTime())); this.setDttpe(gsmVehicleDataDTO.getDttpe()); this.setSpwr(gsmVehicleDataDTO.getSpwr()); this.setRpf(gsmVehicleDataDTO.getRpf()); this.setRpm(gsmVehicleDataDTO.getRpm()); this.setVss(gsmVehicleDataDTO.getVss()); this.setLon(gsmVehicleDataDTO.getLon()); this.setLonDir(gsmVehicleDataDTO.getLonDir()); this.setLat(gsmVehicleDataDTO.getLat()); this.setLatDir(gsmVehicleDataDTO.getLatDir()); this.setGpsSpeed(gsmVehicleDataDTO.getGpsSpeed()); this.setGpsHeading(gsmVehicleDataDTO.getGpsHeading()); this.setGpsDataValidity(gsmVehicleDataDTO.getGpsDataValidity()); this.setaOilWear(gsmVehicleDataDTO.getaOilWear()); this.setbOilWear(gsmVehicleDataDTO.getbOilWear()); this.setmOilWear(gsmVehicleDataDTO.getmOilWear()); this.setrOilMass(gsmVehicleDataDTO.getrOilMass()); this.setVehicleStatus(gsmVehicleDataDTO.getVehicleStatus()); this.setRdtc(gsmVehicleDataDTO.getRdtc()); this.setGsmVehicleStatus(gsmVehicleDataDTO.getGsmVehicleStatus()); this.setVoltageForOxygenSensor(gsmVehicleDataDTO.getVoltageForOxygenSensor()); this.setThrottlePosition(gsmVehicleDataDTO.getThrottlePosition()); this.setGx(gsmVehicleDataDTO.getGx()); this.setGy(gsmVehicleDataDTO.getGy()); this.setGz(gsmVehicleDataDTO.getGz()); this.setWbtm(gsmVehicleDataDTO.getWbtm()); this.setGpsCityStatus(GsmVehicleStatus.UN_HANDLE); this.setrOilMassType(gsmVehicleDataDTO.getrOilMassType()); this.setCountry(gsmVehicleDataDTO.getCountry()); this.setSupplier(gsmVehicleDataDTO.getSupplier()); this.setBase_station(gsmVehicleDataDTO.getBase_station()); this.setDist_id(gsmVehicleDataDTO.getDist_id()); }