templates: # defining templates to be used later on
  - &VPX_j8
    pinlabels: [Device (5A), Device (10A), Device (5A), Device (5A), Device (5A), Device (5A), Device (5A), Device (5A)]
    pins: [1,2,3,4,5,6,7,8]
    type: Connector Molex 194180023
    image:
      src: images\J8.png
  - &wire
    category: bundle
    gauge: 22 AWG
  - &logic_wire
    category: bundle
    gauge: 20 AWG
  - &Nav
    type: DTM04-4P
    pinlabels: [NAV/POS, ACS, GND, SYNC]
    pins: [1,2,3,4]  
    notes: Mates with DTM06-4S
    image:
      src: images\NavL.png
  - &Fuel_Inj
    type: 90980-11875
    pins: [1,2]
    pinlabels: [12V, ECU INJ]
    image:
      src: images\90980-11875.png
  # - &relay
  #   type: TBD
  #   pins: [1,2,3,4]
  #   pinlabels: [switch+, switch-, coil+, coil-]




connectors:
  S: &splice  # generic autogenerated splice
    style: simple
    autogenerate: true
    type: splice
  Nav Light 1:
    notes: ECU side
    <<: *Nav
  Nav Light 2:
    <<: *Nav
  VP-X J8:
    <<: *VPX_j8
  Tail Strobe:
    type: DT04-3P
    pins: [A,B,C]
    pinlabels: [POS, NEG, Sync]
    image:
      src: images\DT04-3P.png
    notes: mates with DT06-3S
  Batt:
    type: 1/4" Ring Terminals
    pinlabels: [V+,GND]
    notes: 5732 Terminal Cover
  Negative Bus Bar:
    pins: [1,2,3,4]
    type: Pike Industries Busbar
  # Fuel Injector 1:
  #   <<: *Fuel_Inj
  # Fuel Injector 2:
  #   <<: *Fuel_Inj
  # LSU:
  #   type: D261.205.356-01
  #   pinlabels: [12V]
  #   pins: [3]  
  #   image:
  #     src: images\LSU.png
  # Nav relay:
  #   <<: *relay
  # ACS relay:
  #   <<: *relay


cables:
  W1:
    <<: *logic_wire
    length: 92 "
    colors: [RD,YE]
    shield: true
  W2:
    <<: *logic_wire
    length: 18"
    colors: [GN]
  W3:
    <<: *logic_wire
    length: 138 "
    colors: [GN]
  W4:
    <<: *logic_wire
    length: 72 "
    colors: [RD,YE]
    shield: true
  W5:
    <<: *logic_wire
    length: 170 "
    colors: [RD]
    shield: true
  W6:
    <<: *logic_wire
    length: 18 "
    colors: [BK]
  W7:
    <<: *logic_wire
    length: 18 "
    colors: [BK]
  W8:
    <<: *logic_wire
    length: 78"
    colors: [BK]

  # W3:
  #   <<: *logic_wire
  #   length: 0.2
  #   colors: [RD,RD]
  # W4:
  #   <<: *logic_wire
  #   length: 0.2
  #   colors: [RD]
  # W5:
  #   <<: *logic_wire
  #   length: 0.2
  #   colors: [WHBU, WH, WHOG]


connections:
  -
    - VP-X J8: [1,3]
    - W1: [1-2]
    - Nav Light 1: [1-2]
  -
    - VP-X J8: [1,3]
    - W4: [1-2]
    - Nav Light 2: [1-2]
  -
    - VP-X J8: [1]
    - W5: [1]
    - Tail Strobe: [A]
  -
    - Nav Light 1: [4]
    - W2: [1]
    - Nav Light 2: [4]
  -
    - W2: [1]
    - [S]
    - W3: [1]
    - Tail Strobe: [C]

  # -
  #   - W1: s
  #   - Batt: [GND]
  -
    - Nav Light 1: [3]
    - W6: [1]
    - Negative Bus Bar: [3]
  -
    - Nav Light 2: [3]
    - W7: [1]
    - Negative Bus Bar: [3]
  -
    - Tail Strobe: [B]
    - W8: [1]
    - Negative Bus Bar: [3]
  # -
  #   - VP-X J8: [4]
  #   - W3: [1]
  #   - Fuel Injector 1: [1]
  # -
  #   - VP-X J8: [5]
  #   - W3: [2]
  #   - Fuel Injector 2: [1]
  # -
  #   - VP-X J8: [6]
  #   - W4: [1]
  #   - LSU: [3]
  # -
  #   - Nav relay: [1]
  #   - W14: [1]
  #   - Nav Light 1: [1]