mnscript
MotionDetectorDevice Device.FindMotionDetector(string)
Description ​
Finds a connected Motion Detector Device
Arguments ​
string
- The device name to search for
Returns ​
MotionDetectorDevice
- The found device
Example ​
msc
using Device;
// Finds a motion detector device with the name "My Motion Detector" and set its range
MotionDetectorDevice detector = Device.FindMotionDetector("My Motion Detector");
detector.SetRange(300);