export default function CreateCar (
  { id, direction, plate, roadNo }
) {
  return {
    "carBrand": null,
    "carBrandKind": null,
    "carFaceColor": null,
    "carId": id,
    "carImageHeight": 50,
    "carImageScore": 0,
    "carImageUrl": null,
    "carImageWidth": 140,
    "carLength": 2800,
    "carModels": null,
    "carPlate": plate,
    "carPlateColor": null,
    "carType": null,
    "collectionTime": "2024-08-28 09:49:28.323",
    "cover": null,
    "deduceFraction": null,
    "deviceSn": null,
    "direction": direction ? '下行' : '上行',
    "flash": false,
    "headingAngle": -102.57663,
    "inTunnelTime": null,
    "isDangerous": 0,
    "isFocusMark": false,
    "latitude": 24.546366,
    "longitude": 118.11913,
    "loseFlag": false,
    "originDistance": 1200,
    "pointFraction": 0.14008924,
    "retainedMinutesTime": 5,
    "roadNo": roadNo,
    "speed": 76.67,
    "vehicleType": 4
  }
}