use of com.serotonin.m2m2.vo.event.detector.NegativeCusumDetectorVO in project ma-core-public by infiniteautomation.
the class DataPointEditDwr method updateNegativeCusumDetector.
@DwrPermission(user = true)
public void updateNegativeCusumDetector(int pedId, String xid, String alias, double limit, double weight, int duration, int durationType, int alarmLevel) {
NegativeCusumDetectorVO ped = (NegativeCusumDetectorVO) getEventDetector(pedId);
ped.setXid(xid);
ped.setName(alias);
ped.setLimit(limit);
ped.setWeight(weight);
ped.setDuration(duration);
ped.setDurationType(durationType);
ped.setAlarmLevel(alarmLevel);
}
Aggregations