Difference between revisions of "Binding"

From AMTech WikiDocs
Jump to: navigation, search
(Created page with "The process of assigning a value to a resource type (thing, observation, notification) property during an action configuration is referenced as "Binding"; there ate 3 types of...")
 
Line 1: Line 1:
 
The process of assigning a value to a resource type (thing, observation, notification) property during an action configuration is referenced as "Binding"; there ate 3 types of binding:
 
The process of assigning a value to a resource type (thing, observation, notification) property during an action configuration is referenced as "Binding"; there ate 3 types of binding:
 
# Constants
 
# Constants
 +
[[File:Binding-constants.png|thumbnail|constant]]
 
# Value selected from a resource property, filter by the type of the property
 
# Value selected from a resource property, filter by the type of the property
 
# Javascript code
 
# Javascript code
 
;the context on wich the reasoner gets executed is injected into the javascript function, Ctlr+Space shows code completion options
 
;the context on wich the reasoner gets executed is injected into the javascript function, Ctlr+Space shows code completion options

Revision as of 11:13, 10 May 2016

The process of assigning a value to a resource type (thing, observation, notification) property during an action configuration is referenced as "Binding"; there ate 3 types of binding:

  1. Constants
constant
  1. Value selected from a resource property, filter by the type of the property
  2. Javascript code
the context on wich the reasoner gets executed is injected into the javascript function, Ctlr+Space shows code completion options