def create_lkas_ui(packer, main_on, enabled, steer_alert):
  """Creates a CAN message for the Ford Steer Ui."""

  if not main_on:
    lines = 0xf
  elif enabled:
    lines = 0x3
  else:
    lines = 0x6

  values = {
    "Set_Me_X80": 0x80,
    "Set_Me_X45": 0x45,
    "Set_Me_X30": 0x30,
    "Lines_Hud": lines,
    "Hands_Warning_W_Chime": steer_alert,
  }
  return packer.make_can_msg("Lane_Keep_Assist_Ui", 0, values)