The Detector (com.prosyst.mbs.services.da.items.Detector) device item represents a detractor that can:
Parameter |
Access |
Property Class |
Description |
|---|---|---|---|
detected |
RE |
|
Property for the detection result. If it is true, something is detected. Otherwise, it is false. |
To specify what the Detector detects it is necessary to add a specific attribute. The key of this attribute must be DetectorAttributes.ATTRIBUTE_DETECTS and the value can be one of the following constants:
DetectorAttributes.DETECTS_MOTION – used when the detector detects motion.DetectorAttributes.DETECTS_BREAKAGE – used when the detector detects breakage as in broken glass for example.DetectorAttributes.DETECTS_SMOKE – used when the detector detects smoke.DetectorAttributes.DETECTS_CO – used when the detector detects carbon monoxide.DetectorAttributes.DETECTS_CO2 – used when the detector detects carbon dioxide.DetectorAttributes.DETECTS_WATER – used when the detector detects water as in flood.DetectorAttributes.DETECTS_TAMPER – used when the detector detects tamper with the equipment.DetectorAttributes.DETECTS_REMOTE_OPERATION_ALLOWED – indicates whether the Device can be controlled remotely i.e. using the Device Items registered for that device.DetectorAttributes.DETECTS_REMOTE_START_ALLOWED – indicates whether the Device can be started remotely.DetectorAttributes.DETECTS_LOCAL_CONTROL – indicates whether the Device is currently operated locally and most or all remote operations are not possible.DetectorAttributes.DETECTS_OPEN – used when the detector detects open and close state.DetectorAttributes.DETECTS_LOCKED – used when the detector detects locked and unlocked state.DetectorAttributes.DETECTS_BATTERY_LOW – used when the detector detects battery low.DetectorAttributes.DETECTS_BATTERY_DEFECT – used when the detector detects battery defect.DetectorAttributes.DETECTS_PANIC – used when the detector detects panic.DetectorAttributes.DETECTS_TROUBLE – used when the detector detects trouble.DetectorAttributes.DETECTS_ALARM – used when the detector detects an alarm.