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