|
|
(19 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| + | # [[Reasoner workflow]] |
| # [[Reasoner by property]] | | # [[Reasoner by property]] |
| # [[Reasoner by Resource]] | | # [[Reasoner by Resource]] |
− | =Reasoner Increment, Decrement, Set =
| + | # [[Reasoner Increment, Decrement, Set]] |
− | | + | # [[Reasoner proximity Area]] |
− | First this only works for numeric fields like integer or double
| + | # [[Observation transformation]] |
− | 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
| + | # [[Debug & check a reasoner]] |
− | Then this only works for reasoner for each by property action updates
| + | # [[Actions]] |
− | | + | # [[Binding|Binding properties]] |
− | on the right side user will be able to select from set, increment or decrement
| + | # [[Execution_engine#Extension_module|Available extensions for bindings]] |
− | 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=
| + | |
− | | + | |
− | 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";
| + | |
− | | + | |
− | | + | |
− | [[File:ReasonerProximityArea.png|1150px|thumbnail|center]] | + | |
− | | + | |
− | Note:In case Entity does not exist results windows wont alert user
| + | |