Difference between revisions of "Reasoners"

From AMTech WikiDocs
Jump to: navigation, search
Line 1: Line 1:
 
# [[Reasoner by property]]
 
# [[Reasoner by property]]
 
# [[Reasoner by Resource]]
 
# [[Reasoner by Resource]]
=Reasoner Increment, Decrement, Set =
+
# [[Reasoner Increment, Decrement, Set]]
 
+
First this only works for numeric fields like integer or double
+
when user set a supported property that is double or integer of a type of entity he has to check the check box for atomic updates
+
Then this only works for reasoner for each by property action updates
+
 
+
on the right side user will be able to select from set, increment or decrement
+
then there is an entry box to enter a numeric value on how much you want decrement or increment or set is just to set a fix value
+
 
+
for example Field to update is Temp max that initially was 2 then user select increment then enter 2 then user runs reasoner
+
on temp max the result will be 4
+
 
+
[[File:ScreenShotDecIncSet2016-03-11.png|1150px|thumbnail|center]]
+
 
+
 
=Reasoner proximity Area=
 
=Reasoner proximity Area=
  

Revision as of 19:29, 23 April 2016

  1. Reasoner by property
  2. Reasoner by Resource
  3. Reasoner Increment, Decrement, Set

Reasoner proximity Area

Proximity area option will allow the user to set an entity to the proximity area field to a new entity created by the reasoner

User can do this several ways

  • User just selects the entity from the list
  • User does a binding where user selects the proximity area that was selected on the observer
  • Using Javascript he can do the two previous options

example :

proximityarea = observation.proximityarea;

proximityarea = "/amtech/things/entities/TempEntity/TempNewPort";


ReasonerProximityArea.png

Note:In case Entity does not exist results windows wont alert user