def

func:toDevices

toDevices(recs)

Map a set of recs to to a grid of devices. The recs parameter may be any value accepted by toRecList(). Return empty grid if no mapping is found. The following mappings are supported:

  • recs with device tag are mapped as themselves
  • recs with deviceRef tag are mapped to their parent device
  • recs with site are mapped to devices with parent siteRef
  • recs with space are mapped to devices with parent spaceRef
  • recs with equip are mapped to devices with parent equipRef

Examples:

read(site).toDevices      // return children devices within site
read(space).toDevices     // return children devices within space
read(equip).toDevices     // return children devices within equip
read(point).toDevices     // return point's parent device

meta

supertypes

feature

Feature namespace of definitions formatted as feature:name

    func

Axon function