diff options
Diffstat (limited to 'behaviors/RestrictLocation.py')
-rw-r--r-- | behaviors/RestrictLocation.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/behaviors/RestrictLocation.py b/behaviors/RestrictLocation.py new file mode 100644 index 0000000..649500f --- /dev/null +++ b/behaviors/RestrictLocation.py @@ -0,0 +1,12 @@ +from operationscore.Behavior import * +import util.ComponentRegistry as compReg +import util.Geo as Geo +import util.Strings as Strings +import random +class RestrictLocation(Behavior): + def behaviorInit(self): + action = self['Action'] + modifyParamArgs = {'ParamType': 'Sensor', + 'ParamName':self['ParamName'],'ParamOp':self['Action']} + + def processInput( |