Search in sources :

Example 1 with NoChangeDetectorVO

use of com.serotonin.m2m2.vo.event.detector.NoChangeDetectorVO in project ma-core-public by infiniteautomation.

the class DataPointEditDwr method updateNoChangeDetector.

@DwrPermission(user = true)
public void updateNoChangeDetector(int pedId, String xid, String alias, int duration, int durationType, int alarmLevel) {
    NoChangeDetectorVO ped = (NoChangeDetectorVO) getEventDetector(pedId);
    ped.setXid(xid);
    ped.setName(alias);
    ped.setDuration(duration);
    ped.setDurationType(durationType);
    ped.setAlarmLevel(alarmLevel);
}
Also used : NoChangeDetectorVO(com.serotonin.m2m2.vo.event.detector.NoChangeDetectorVO) DwrPermission(com.serotonin.m2m2.web.dwr.util.DwrPermission)

Aggregations

NoChangeDetectorVO (com.serotonin.m2m2.vo.event.detector.NoChangeDetectorVO)1 DwrPermission (com.serotonin.m2m2.web.dwr.util.DwrPermission)1