-
Notifications
You must be signed in to change notification settings - Fork 86
Plugin dse
Chris Petersen edited this page Oct 16, 2014
·
4 revisions
Plugin: dse
The DSE plug-in enables the Decision Support Engine functionality. All functions in this file are private and should not be called by an end-user.
Note: This plugin, like all other plugins, will not run if (scheduler-init) and (scheduler-startcase) have not been called.
Requires dse to be listed in the application's PLUGINS file, and scheduler ln_store to be listed in the application's MODULES file.
Example 1: Create some DSE rules: "Temp Low" with (32C < t1 < 36C) and "Possible Leak" with (tv_insp < 100mL & (tv_insp-tv_exp) > 125mL), and initialize the DSE plugin for use.
(define rules '(
("Temp Low" ((> "t1" 32.0)
(< "t1" 36.0)) 1)
("Possible Leak" ((> "tv_insp" 100)
(diff> "tv_insp" "tv_exp" 125)) 1)
)
(make-instance mystore "DSE" "dse" (list "Rules" rules))
(scheduler-init)
(scheduler-startcase mystore "test")
-
- accelerometer
- alist
- audio
- audioaux
- base64
- btle-scan
- camera
- cdb
- cgi
- config
- csv
- curl
- digest
- dmtx
- download
- eventloop
- fcgi
- fft
- generalized-arrays
- gps
- graph
- gyro
- hidapi
- hpdf
- html
- httpsclient
- hybridapp
- json
- lmdb
- ln_core
- ln_glcore
- ln_glgui
- ln_store
- localization
- localization_gui
- localnotification
- magnetometer
- mdns
- mqtt
- mqtt-store
- multitouch
- oauth
- orientation
- p256ecdsa
- png
- portaudio
- pregexp
- pressure
- prime
- pushnotification
- redcap
- rsa
- rtaudio
- rupi
- rotation
- sanestring
- scheduler
- serial
- sets
- settings
- simplexnoise
- sqlite
- ssax
- syntax-case
- timestamp
- ttf
- uiform
- url
- uuid
- vibrate
- videoplayer
- watchdog
- website
- xml
- zip