Dev:_template
%%form_raw{DevImage}%%

Description: %%form_data{DevDescription}%%

Quantity: %%form_data{DevQuantity}%%
Manufacture: %%form_data{DevManufacture}%%
Document: %%form_data{DevDoc}%%
Website: %%form_data{DevWebsite}%%
Purchased from: %%form_data{DevSource}%%

Price per unit: £%%form_data{DevPrice}%%
Purchase date: [[date %%form_data{DevBuyDate}%% format="%e %b %Y"]]
Funded by the project: %%form_data{DevFund}%%

This equipment is current in: %%form_data{DevLocation}%%
It is management/used by: %%form_data{DevManage}%%
Device still in use/working order?: %%form_data{DevStatus}%%

====

[[form]]
fields:
  DevImage:
    label: Image
    type: file
  DevDescription:
    label: Description
    width: 250
    height: 5
  DevManufacture:
    label: Manufacture
  DevCategory:
    label: Category
    type: select
    values:
      0: Data acquisition device
      1: Controller board
      2: Communication
      3: Adapter/Connector
      4: Sensors
      6: Development kit
      7: Tools
      8: Measurement devices
      9: Cases & Enclosures
    default: 0
  DevDoc:
    label: Manual/DataSheet
    type: file
  DevWebsite:
    label: Equipment website
    type: url
  DevQuantity:
    label: Quantity
    width: 4
  DevPrice:
    label: Price per Unit
    before: £
    width: 4
  DevBuyDate:
    label: Purchase Date
    type: date
    width: 10
    options:
      changeYear: true
      yearRange: "1900:2020"
      dateFormat: "yy-mm-dd"
  DevSource:
    label: Purchased from
    type: select
    values:
      0: RS componnet
      1: Farnell/Element14
      2: CPC
      3: Amazon.co.uk
      4: National Instrument
      5: Other
    default: 0
  DevFund:
    label: Funded by
    type: select
    values:
      0: PoC333 - Integrating energy efficiency monitoring, control and optimization for plastics industry (R3495ELE)
      1: iGive - Intelligent Grid Interfaced Vehicle Eco-charging ()
      2: KTP - To embed in-house electronic software and hardware capability
      3: TMPP - Thermal management for polymer processing
      4: Science Bridge - UK-China Bridge in Sustainable Energy and Built Environment (UC-SEBE)
      5: Polymer control - An integrated system of inferential measurement and control of polymer extrusion ...
      7: Others
    default: 0
  DevLocation:
    label: equipment location
    type: select
    values:
      0: Room 8.005, EPIC
      1: Room 8.006, EPIC
      2: Room 9.021, Control Lab
      3: Room 7.013, Prof Kang Li
      4: Workshop
    default: 2
  DevManage:
    label: Managed by
    type: select
    values:
      0: Prof Kang Li
      1: Dr Jing Deng
      2: Juan Yan
      3: Long Zhang
      4: Zhile Yang
      5: Chen Zhang
    default: 1
  DevStatus:
    label: In use and working?
    type: select
    values:
      0: "Yes"
      1: "No"
    default: 0
  DevNote:
    label: Notes
    width: 230
    height: 10
[[/form]]