public PlaceRecord(byte[] record) { entryTime = new TimeReal(ConvertionClass.arrayCopy(record, 0, 4)); entryTypeDailyWorkPeriod = new EntryTypeDailyWorkPeriod(record[4]); dailyWorkPeriodCountry = new NationNumeric(record[5]); dailyWorkPeriodRegion = new RegionNumeric(record[6]); vehicleOdometerValue = new OdometerShort(ConvertionClass.arrayCopy(record, 7, 3)); }
public PlaceRecord() { entryTime = new TimeReal(); entryTypeDailyWorkPeriod = new EntryTypeDailyWorkPeriod(); dailyWorkPeriodCountry = new NationNumeric(); dailyWorkPeriodRegion = new RegionNumeric(); vehicleOdometerValue = new OdometerShort(); }